Steven Palm
2003-12-15 19:10:53 UTC
Hi Roger,
I am still working on the libusb issue... I thought I'd see if you had
any insight on this one.
Here is what I get as a dump from `python usb.py` (relevant section to
the VX6000 only):
usb_os_open: 0410:0060
usb_os_open: device opened
usb_control_msg: 128 6 512 0 0xbffff568 8 1000
usb_control_msg: 128 6 512 0 0x510e60 90 1000
skipped 4 class/vendor specific interface descriptors
usb_os_close: 0410:0060
I've managed to stop the system (for now) from loading it's own device
driver on the port, and therefore allowing libusb to access it.
Eventually, I will want to have the workaround in place so both can
co-exist, but for troubleshooting this may be easier.
I'm just perplexed as to why libusb is skipping the interfaces on the
device. Here is a dump from libusb's `testlibusb` application:
059/002 0410/0060
- Unable to fetch manufacturer string
- Unable to fetch product string
wTotalLength: 90
bNumInterfaces: 3
bConfigurationValue: 1
iConfiguration: 0
bmAttributes: e0h
MaxPower: 50
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 1
bInterfaceClass: 2
bInterfaceSubClass: 2
bInterfaceProtocol: 1
iInterface: 0
bEndpointAddress: 81h
bmAttributes: 03h
wMaxPacketSize: 16
bInterval: 32
bRefresh: 0
bSynchAddress: 0
bInterfaceNumber: 1
bAlternateSetting: 0
bNumEndpoints: 2
bInterfaceClass: 10
bInterfaceSubClass: 0
bInterfaceProtocol: 0
iInterface: 4
bEndpointAddress: 8ah
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
bEndpointAddress: 0bh
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
bInterfaceNumber: 2
bAlternateSetting: 0
bNumEndpoints: 2
bInterfaceClass: 255
bInterfaceSubClass: 255
bInterfaceProtocol: 0
iInterface: 0
bEndpointAddress: 83h
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
bEndpointAddress: 06h
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
Does this look normal to you, or is something not quite right in the
base darwin libusb stuff?
Thanks,
Steve
-. ----. -.-- - -.--
Steve Palm - ***@n9yty.com
-. ----. -.-- - -.--
I am still working on the libusb issue... I thought I'd see if you had
any insight on this one.
Here is what I get as a dump from `python usb.py` (relevant section to
the VX6000 only):
usb_os_open: 0410:0060
usb_os_open: device opened
usb_control_msg: 128 6 512 0 0xbffff568 8 1000
usb_control_msg: 128 6 512 0 0x510e60 90 1000
skipped 4 class/vendor specific interface descriptors
usb_os_close: 0410:0060
I've managed to stop the system (for now) from loading it's own device
driver on the port, and therefore allowing libusb to access it.
Eventually, I will want to have the workaround in place so both can
co-exist, but for troubleshooting this may be easier.
I'm just perplexed as to why libusb is skipping the interfaces on the
device. Here is a dump from libusb's `testlibusb` application:
059/002 0410/0060
- Unable to fetch manufacturer string
- Unable to fetch product string
wTotalLength: 90
bNumInterfaces: 3
bConfigurationValue: 1
iConfiguration: 0
bmAttributes: e0h
MaxPower: 50
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 1
bInterfaceClass: 2
bInterfaceSubClass: 2
bInterfaceProtocol: 1
iInterface: 0
bEndpointAddress: 81h
bmAttributes: 03h
wMaxPacketSize: 16
bInterval: 32
bRefresh: 0
bSynchAddress: 0
bInterfaceNumber: 1
bAlternateSetting: 0
bNumEndpoints: 2
bInterfaceClass: 10
bInterfaceSubClass: 0
bInterfaceProtocol: 0
iInterface: 4
bEndpointAddress: 8ah
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
bEndpointAddress: 0bh
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
bInterfaceNumber: 2
bAlternateSetting: 0
bNumEndpoints: 2
bInterfaceClass: 255
bInterfaceSubClass: 255
bInterfaceProtocol: 0
iInterface: 0
bEndpointAddress: 83h
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
bEndpointAddress: 06h
bmAttributes: 02h
wMaxPacketSize: 64
bInterval: 0
bRefresh: 0
bSynchAddress: 0
Does this look normal to you, or is something not quite right in the
base darwin libusb stuff?
Thanks,
Steve
-. ----. -.-- - -.--
Steve Palm - ***@n9yty.com
-. ----. -.-- - -.--