The device that I want to connect to is a USB-IDE controller then CDROM. SL11RIDE.
The USB ID is different then the one we tested and works. So I know the code works.
I have copied SL11RIDE struct and changed the ID in unusual_devs.h
How would I get the device to become a storage, SCSI , BULK device?
I will be studing 'hotplug' today, but I would like to kernel to detect and setup the device.
Shaun ---------------------------------------------------------------------------
<7>hub.c: port 1, portstatus 101, change 1, 12 Mb/s
<7>hub.c: port 1 connection change
<7>hub.c: port 1, portstatus 101, change 1, 12 Mb/s
<7>hub.c: port 1, portstatus 101, change 0, 12 Mb/s
<7>hub.c: port 1, portstatus 101, change 0, 12 Mb/s
<7>hub.c: port 1, portstatus 101, change 0, 12 Mb/s
<7>hub.c: port 1, portstatus 101, change 0, 12 Mb/s
<7>hub.c: port 1, portstatus 103, change 10, 12 Mb/s
<6>hub.c: new USB device builtin-1, assigned address 2
<7>host/usb-ohci.c: USB-error/status: 5 : a11bf000
<7>host/usb-ohci.c: RET URB:[ 41c] dev: 0,ep: 0-O,type:CTRL,flags: 0,len:0/0,)
<3>usb.c: USB device not accepting new address=2 (error=-145)
<5>RAMDISK: Compressed image found at block 0
<7>hub.c: port 1, portstatus 103, change 10, 12 Mb/s
<6>hub.c: new USB device builtin-1, assigned address 3
<7>host/usb-ohci.c: USB-error/status: 5 : a11bf000
<7>host/usb-ohci.c: RET URB:[ 4f8] dev: 0,ep: 0-O,type:CTRL,flags: 0,len:0/0,)
<3>usb.c: USB device not accepting new address=3 (error=-145)
<7>hub.c: port 2, portstatus 101, change 1, 12 Mb/s
<7>hub.c: port 2 connection change
<7>hub.c: port 2, portstatus 101, change 1, 12 Mb/s
<7>hub.c: port 2, portstatus 101, change 0, 12 Mb/s
<7>hub.c: port 2, portstatus 101, change 0, 12 Mb/s
<7>hub.c: port 2, portstatus 101, change 0, 12 Mb/s
<7>hub.c: port 2, portstatus 101, change 0, 12 Mb/s
<7>hub.c: port 2, portstatus 103, change 10, 12 Mb/s
<6>hub.c: new USB device builtin-2, assigned address 4
<7>usb.c: kmalloc IF 810b7ee0, numif 1
<7>usb.c: new device strings: Mfr=0, Product=0, SerialNumber=0
<7>usb.c: unhandled interfaces on device
<4>usb.c: USB device 4 (vend/prod 0x4ce/0x7d1) is not claimed by any active dri.
<4> Length = 18
<4> DescriptorType = 01
<4> USB version = 1.00
<4> Vendor:Product = 04ce:07d1
<4> MaxPacketSize0 = 8
<4> NumConfigurations = 1
<4> Device version = 1.05
<4> Device Class:SubClass:Protocol = ff:00:00
<4> Vendor class
<4>Configuration:
<4> bLength = 9
<4> bDescriptorType = 02
<4> wTotalLength = 0020
<4> bNumInterfaces = 01
<4> bConfigurationValue = 01
<4> iConfiguration = 00
<4> bmAttributes = 80
<4> MaxPower = 400mA
<4>
<4> Interface: 0
<4> Alternate Setting: 0
<4> bLength = 9
<4> bDescriptorType = 04
<4> bInterfaceNumber = 00
<4> bAlternateSetting = 00
<4> bNumEndpoints = 02
<4> bInterface Class:SubClass:Protocol = 00:00:00
<4> iInterface = 00
<4> Endpoint:
<4> bLength = 7
<4> bDescriptorType = 05
<4> bEndpointAddress = 81 (in)
<4> bmAttributes = 02 (Bulk)
<4> wMaxPacketSize = 0040
<4> bInterval = 00
<4> Endpoint:
<4> bLength = 7
<4> bDescriptorType = 05
<4> bEndpointAddress = 02 (out)
<4> bmAttributes = 02 (Bulk)
<4> wMaxPacketSize = 0040
<4> bInterval = 00
<7>usb.c: kusbd: /sbin/hotplug add 4
<7>usb.c: kusbd policy returned 0xfffffffe
<7>hub.c: port 1, portstatus 101, change 0, 12 Mb/s
<7>hub.c: port 2, portstatus 103, change 0, 12 Mb/s
<6>Freeing initrd memory: 1276k freed
<4>VFS: Mounted root (ext2 filesystem).
<4>Algorithmics/MIPS FPU Emulator v1.5
# cat bus/usb/devices T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB OHCI Root Hub S: SerialNumber=b0100000 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=04ce ProdID=07d1 Rev= 1.05 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=400mA I: If#= 0 Alt= 0 #EPs= 2 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none) E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms #
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
