[Barry-devel] RE: Barry
Status: Beta
Brought to you by:
ndprojects
From: Ron G. <ron...@al...> - 2005-12-29 12:37:24
|
Chris: Dmesg shows the following at plugin of my 7290: Usb 1-1: new full speed USB device using uhci_hcd and address 2 Usb 1-1: reset full speed USB device using uhci_hcd and address 2 Usb 1-1: usbfs: interface 0 claimed by usbfs while 'btool' sets config #1 Lsmod shows the following modules loaded: Vmnet Vmmon Ehci_hcd Uhci_hcd Usbcore Joydev Evdev Vmnet and vmmon are modules associated with VMWare. I tried your changes to src/common.h and that made no difference. RON GAGE Network Administrator Wise Solutions, Inc. T > +1 734 456 2202 M > +1 248 343 2431 www.altiris.com =20 Security. Compliance. Patch management. IT service management. Altiris solves your most pressing IT issues. www.altiris.com -----Original Message----- From: Chris Frey [mailto:cd...@fo...]=20 Sent: Wednesday, December 28, 2005 4:44 PM To: Ron Gage Cc: bar...@li... Subject: Re: Barry On Wed, Dec 28, 2005 at 03:46:14PM -0500, Ron Gage wrote: > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 46 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0=20 > bmAttributes 0x80 > MaxPower 100mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 These are the same as the devices I have to test with. The "device or resource busy" error you are getting may be due to a USB module loaded in the kernel. Check lsmod and see if there is anything loaded that might conflict. libusb only needs usbcore, which might not be a module. Check dmesg too... it might have useful error messages. > bNumEndpoints 4 > bInterfaceClass 255 Vendor Specific Class > bInterfaceSubClass 255 Vendor Specific Subclass > bInterfaceProtocol 255 Vendor Specific Protocol > iInterface 0=20 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 bytes 64 once > bInterval 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x02 EP 2 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 bytes 64 once > bInterval 0 Your endpoints are different than mine, which is not really a surprise, but Barry can't handle that yet. Edit src/common.h and set the WRITE_ENDPOINT to 0x02 and READ_ENDPOINT to 0x81. - Chris |