Re: Wine and USB 2.0 Support
First off I have noticed that alot of people cannot get samsungs pc studio working in wine. I have it working it says pc studio 3 everything seems to work however i cannot connect to the phone due to you guessed it no usb support in wine. i tried the above all all went well till make this is the error i get
make[2]: Entering directory `/home/joe/wine-git/dlls/usbhub.sys'
gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith -g -O2 -o usbhub.o usbhub.c
usbhub.c:26:20: error: libusb.h: No such file or directory
usbhub.c:74: error: expected specifier-qualifier-list before ‘libusb_device’
usbhub.c: In function ‘usbhub_ioctl’:
usbhub.c:139: error: ‘uint8_t’ undeclared (first use in this function)
usbhub.c:139: error: (Each undeclared identifier is reported only once
usbhub.c:139: error: for each function it appears in.)
usbhub.c:139: error: expected ‘;’ before ‘bus_number’
usbhub.c:158: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:158: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:158: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:159: warning: implicit declaration of function ‘libusb_get_bus_number’
usbhub.c:159: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:159: error: ‘bus_number’ undeclared (first use in this function)
usbhub.c:162: error: storage size of ‘desc’ isn’t known
usbhub.c:164: warning: implicit declaration of function ‘libusb_get_device_descriptor’
usbhub.c:164: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:162: warning: unused variable ‘desc’
usbhub.c:196: error: expected ‘;’ before ‘bus_number’
usbhub.c:210: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:210: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:210: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:211: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c: In function ‘usbhub_internal_ioctl’:
usbhub.c:327: error: ‘libusb_device_handle’ undeclared (first use in this function)
usbhub.c:327: error: ‘husb’ undeclared (first use in this function)
usbhub.c:331: warning: implicit declaration of function ‘libusb_open’
usbhub.c:331: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:338: warning: implicit declaration of function ‘libusb_set_configuration’
usbhub.c:344: warning: implicit declaration of function ‘libusb_get_active_config_descriptor’
usbhub.c:344: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:354: error: dereferencing pointer to incomplete type
usbhub.c:355: error: dereferencing pointer to incomplete type
usbhub.c:356: error: dereferencing pointer to incomplete type
usbhub.c:357: error: dereferencing pointer to incomplete type
usbhub.c:359: error: dereferencing pointer to incomplete type
usbhub.c:363: error: dereferencing pointer to incomplete type
usbhub.c:365: error: dereferencing pointer to incomplete type
usbhub.c:367: error: dereferencing pointer to incomplete type
usbhub.c:369: error: dereferencing pointer to incomplete type
usbhub.c:371: error: dereferencing pointer to incomplete type
usbhub.c:372: error: dereferencing pointer to incomplete type
usbhub.c:377: warning: implicit declaration of function ‘libusb_free_config_descriptor’
usbhub.c:380: warning: implicit declaration of function ‘libusb_close’
usbhub.c:392: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:396: warning: implicit declaration of function ‘libusb_claim_interface’
usbhub.c:400: warning: implicit declaration of function ‘libusb_set_interface_alt_setting’
usbhub.c:403: warning: implicit declaration of function ‘libusb_release_interface’
usbhub.c:422: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:431: warning: implicit declaration of function ‘libusb_bulk_transfer’
usbhub.c:473: error: storage size of ‘desc’ isn’t known
usbhub.c:475: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:473: warning: unused variable ‘desc’
usbhub.c:492: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:496: error: dereferencing pointer to incomplete type
usbhub.c:497: error: dereferencing pointer to incomplete type
usbhub.c:497: error: dereferencing pointer to incomplete type
usbhub.c:498: error: dereferencing pointer to incomplete type
usbhub.c:500: error: dereferencing pointer to incomplete type
usbhub.c:504: error: dereferencing pointer to incomplete type
usbhub.c:505: error: dereferencing pointer to incomplete type
usbhub.c:505: error: dereferencing pointer to incomplete type
usbhub.c:506: error: dereferencing pointer to incomplete type
usbhub.c:508: error: dereferencing pointer to incomplete type
usbhub.c:512: error: dereferencing pointer to incomplete type
usbhub.c:513: error: dereferencing pointer to incomplete type
usbhub.c:514: error: dereferencing pointer to incomplete type
usbhub.c:525: warning: ISO C90 forbids mixed declarations and code
usbhub.c:527: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:529: warning: implicit declaration of function ‘libusb_get_string_descriptor’
usbhub.c:545: warning: ISO C90 forbids mixed declarations and code
usbhub.c:556: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:558: warning: implicit declaration of function ‘libusb_control_transfer’
usbhub.c:559: error: ‘LIBUSB_REQUEST_GET_STATUS’ undeclared (first use in this function)
usbhub.c:575: warning: ISO C90 forbids mixed declarations and code
usbhub.c:589: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c: In function ‘create_root_hub_device’:
usbhub.c:1226: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c: In function ‘enum_reg_usb_devices’:
usbhub.c:1316: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c: In function ‘register_usb_device’:
usbhub.c:1406: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c: In function ‘start_device_drivers’:
usbhub.c:1442: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c: In function ‘enum_usb_devices’:
usbhub.c:1464: error: ‘libusb_device’ undeclared (first use in this function)
usbhub.c:1464: error: ‘devs’ undeclared (first use in this function)
usbhub.c:1464: error: ‘dev’ undeclared (first use in this function)
usbhub.c:1464: warning: left-hand operand of comma expression has no effect
usbhub.c:1465: error: storage size of ‘desc’ isn’t known
usbhub.c:1465: warning: ISO C90 forbids mixed declarations and code
usbhub.c:1483: warning: implicit declaration of function ‘libusb_init’
usbhub.c:1488: warning: implicit declaration of function ‘libusb_get_device_list’
usbhub.c:1490: warning: implicit declaration of function ‘libusb_exit’
usbhub.c:1500: warning: implicit declaration of function ‘libusb_ref_device’
usbhub.c:1501: warning: implicit declaration of function ‘libusb_get_device_address’
usbhub.c:1509: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:1512: error: ‘struct DeviceInstance’ has no member named ‘dev’
usbhub.c:1520: warning: implicit declaration of function ‘libusb_free_device_list’
usbhub.c:1465: warning: unused variable ‘desc’
make[2]: *** [usbhub.o] Error 1
make[2]: Leaving directory `/home/joe/wine-git/dlls/usbhub.sys'
make[1]: *** [usbhub.sys] Error 2
make[1]: Leaving directory `/home/joe/wine-git/dlls'
make: *** [dlls] Error 2
now i had a look around and i noticed the first error libusb.h someone mentioned that it is usb.h is the file it is looking for. I am still a newbie so sorry for any newbie errors i have made but could someone please help me out here i was exstaic to learn the program works when you make sure you download the one for xp it would be perfect if i could get usb support working in wine and delete winblows altogether this is the only thing stopping me. I still cannot get the sph-m540 working in linux but if the t456 works i can just transfer the memory card. thanks in advance.
Gigabyte GA-M61PME-S2P
MD Athlon(tm) 64 X2 Dual Core Processor 5200+, 2700 MHz
nVidia GeForce 8400 GS
Hitachi HDT72101 1tb hdd
Bookmarks