Hi all,

I have been writing to the users list about usb not working on a Boser single board computer, but have got around the problem by removing the line: uhci->fsbr = 0;
in uhci.c: alloc_uhci() in the 2.4.23 kernel.


Removing the line didn't work for 2.6 kernels, but changing it to:
uhci->fsbr = 1;
in uhci-hcd.c: uhci_start() in the 2.6.2 kernel did work. Setting it to 1 also worked for the 2.4.x kernels instead of removing the line.


Without this change, the system hangs while detecting the new device.
With the change though, the usb on the board is very slow, I've been timing it at about 560Kb/s. I need ~6Mb/s -which you would expect from a full speed device?


dmesg output (2.4.24 kernel):
hub.c: new USB device 00:07.2-1, assigned address 7
usb.c: kmalloc IF ce747700, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
usb.c: USB device number 7 default language ID 0x409
Manufacturer: Texas Instruments, Inc.
Product: TMX320VC5509
usb.c: unhandled interfaces on device
usb.c: USB device 7 (vend/prod 0x451/0x9001) is not claimed by any active driver.
Length = 18
DescriptorType = 01
USB version = 1.01
Vendor:Product = 0451:9001
MaxPacketSize0 = 64
NumConfigurations = 1
Device version = 0.00
Device Class:SubClass:Protocol = 00:00:00
Per-interface classes
Configuration:
bLength = 9
bDescriptorType = 02
wTotalLength = 0019
bNumInterfaces = 01
bConfigurationValue = 01
iConfiguration = 03
bmAttributes = c0
MaxPower = 0mA


  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   01
    bInterface Class:SubClass:Protocol =   00:00:00
    iInterface          =   04
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
usb.c: kusbd: /sbin/hotplug add 7
hub.c: port 2, portstatus 300, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 103, change 0, 12 Mb/s
hub.c: port 2, portstatus 300, change 0, 1.5 Mb/s
usb.c: usbdevfs driver claimed interface ce747700
uhci.c: root-hub INT complete: port1: 48a port2: 580 data: 2
uhci.c: c400: suspend_hc
uhci.c: root-hub INT complete: port1: 48a port2: 580 data: 2
uhci.c: root-hub INT complete: port1: 48a port2: 580 data: 2
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
usb.c: USB disconnect on device 00:07.2-1 address 7
usb.c: kusbd: /sbin/hotplug remove 7
uhci.c: root-hub INT complete: port1: 488 port2: 580 data: 2
hub.c: port 2, portstatus 300, change 0, 1.5 Mb/s
hub.c: port 1, portstatus 100, change 2, 12 Mb/s
hub.c: port 1 enable change, status 100
hub.c: port 2, portstatus 300, change 0, 1.5 Mb/s

/proc/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.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=c400
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=   8 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  9 Spd=12  MxCh= 0
D:  Ver= 1.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0451 ProdID=9001 Rev= 0.00
S:  Manufacturer=Texas Instruments, Inc.
S:  Product=TMX320VC5509
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=00(>ifc ) Sub=00 Prot=00 Driver=usbdevfs
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms



Thanks,
Malcolm.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to