From: Rick M. <rm...@la...> - 2006-03-28 21:34:47
|
I'm looking into the failures on Mac OS X 10.4.5. The first test to fail is descriptor_test. I modified the code a little bit, basically moved the first cout statement above the instantiation of USB:Busses, and removed everything else. Here's the code: int main(void) { cout << "bus/device idVendor/idProduct" << endl; USB::Busses buslist; return 0; } Here's the resulting output, with USB_DEBUG set to 10. Note the Bus Error at the end. Any suggestions? TIA! $ ./descriptor_test bus/device idVendor/idProduct usb_set_debug: Setting debugging level to 10 (on) usb_os_find_busses: Found 001 usb_os_find_busses: Found 002 usb_os_find_busses: Found 003 usb_os_find_busses: Found 004 usb_os_find_devices: Found USB device at location 0x1a000000 usb_os_find_devices: Found 001-05ac-8005-09-00 on 001 at location 0x1a000000 usb_os_find_devices: Found USB device at location 0x1a100000 usb_os_find_devices: Found 002-05ac-8005-09-00 on 001 at location 0x1a100000 usb_os_find_devices: Found USB device at location 0x1b000000 usb_os_find_devices: Found USB device at location 0x3b000000 usb_os_find_devices: Found USB device at location 0x3b100000 usb_os_find_devices: Found USB device at location 0x3b110000 usb_os_find_devices: Found USB device at location 0x3b120000 usb_os_find_devices: Found USB device at location 0x5b000000 usb_os_open: 05ac:8005 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 512 0 0xbffff2b8 8 1000 USB error: usb_control_msg(DeviceRequestTO): unknown error Unable to get descriptor (-1) usb_os_close: 05ac:8005 usb_os_open: 05ac:8005 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 512 0 0xbffff2b8 8 1000 usb_control_msg: 128 6 512 0 0x300dd0 27 1000 usb_os_close: 05ac:8005 usb_os_find_devices: Found USB device at location 0x1a000000 usb_os_find_devices: Found USB device at location 0x1a100000 usb_os_find_devices: Found USB device at location 0x1b000000 usb_os_find_devices: Found 001-05ac-8005-09-00 on 002 at location 0x1b000000 usb_os_find_devices: Found USB device at location 0x3b000000 usb_os_find_devices: Found USB device at location 0x3b100000 usb_os_find_devices: Found USB device at location 0x3b110000 usb_os_find_devices: Found USB device at location 0x3b120000 usb_os_find_devices: Found USB device at location 0x5b000000 usb_os_open: 05ac:8005 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 512 0 0xbffff2b8 8 1000 usb_control_msg: 128 6 512 0 0x300c80 27 1000 usb_os_close: 05ac:8005 usb_os_find_devices: Found USB device at location 0x1a000000 usb_os_find_devices: Found USB device at location 0x1a100000 usb_os_find_devices: Found USB device at location 0x1b000000 usb_os_find_devices: Found USB device at location 0x3b000000 usb_os_find_devices: Found 001-05ac-8005-09-00 on 003 at location 0x3b000000 usb_os_find_devices: Found USB device at location 0x3b100000 usb_os_find_devices: Found 002-2222-1001-09-00 on 003 at location 0x3b100000 usb_os_find_devices: Found USB device at location 0x3b110000 usb_os_find_devices: Found 003-2222-0005-00-00 on 003 at location 0x3b110000 usb_os_find_devices: Found USB device at location 0x3b120000 usb_os_find_devices: Found 004-05ac-0304-00-00 on 003 at location 0x3b120000 usb_os_find_devices: Found USB device at location 0x5b000000 usb_os_open: 05ac:0304 usb_control_msg: 128 6 512 0 0xbffff2b8 8 1000 usb_control_msg: 128 6 512 0 0x302550 34 1000 skipped 1 class/vendor specific interface descriptors usb_os_close: 05ac:0304 usb_os_open: 2222:0005 usb_control_msg: 128 6 512 0 0xbffff2b8 8 1000 usb_control_msg: 128 6 512 0 0x3029c0 59 1000 skipped 1 class/vendor specific interface descriptors skipped 1 class/vendor specific interface descriptors usb_os_close: 2222:0005 usb_os_open: 2222:1001 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 512 0 0xbffff2b8 8 1000 usb_control_msg: 128 6 512 0 0x3022b0 25 1000 usb_os_close: 2222:1001 usb_os_open: 05ac:8005 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 512 0 0xbffff2b8 8 1000 usb_control_msg: 128 6 512 0 0x302230 27 1000 usb_os_close: 05ac:8005 usb_os_find_devices: Found USB device at location 0x1a000000 usb_os_find_devices: Found USB device at location 0x1a100000 usb_os_find_devices: Found USB device at location 0x1b000000 usb_os_find_devices: Found USB device at location 0x3b000000 usb_os_find_devices: Found USB device at location 0x3b100000 usb_os_find_devices: Found USB device at location 0x3b110000 usb_os_find_devices: Found USB device at location 0x3b120000 usb_os_find_devices: Found USB device at location 0x5b000000 usb_os_find_devices: Found 001-05ac-8006-09-00 on 004 at location 0x5b000000 usb_os_open: 05ac:8006 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 512 0 0xbffff2b8 8 1000 usb_control_msg: 128 6 512 0 0x3026f0 27 1000 usb_os_close: 05ac:8006 usb_os_open: 05ac:8005 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 768 0 0xbffff268 256 1000 usb_control_msg: 128 6 768 0 0xbffff268 256 1000 usb_os_open: 05ac:8005 usb_os_open(USBDeviceOpenSeize): another process has device opened for exclusive access usb_control_msg: 128 6 768 0 0xbffff268 256 1000 USB error: usb_control_msg(DeviceRequestTO): unknown error usb_control_msg: 128 6 768 0 0xbffff268 256 1000 USB error: usb_control_msg(DeviceRequestTO): unknown error Bus error aero:~/Projects/AVR/libusb/libusb-0.1.12/tests rmann$ |