Hello!

I'm trying to develop an driver for the TUSB3410-Serial To USB-Converter-IC. But I'm still having problems developing the firmware for the IC. I always get the following message:
usb-uhci.c: interrupt, status 2, frame# 962
Where 962 can be any number.
I'd don't know what's the reason for this message. I've search the net for an explaination, but nearly all sites where this message appears are bugreports. Is there any list with the interrupt status codes of the USB controller? Or can somebody give me a hint what I am doing wrong?


I've attached a logfile with the messages generated by the usb-module. I'll explain the way the TUSB3410-IC is working a little bit, so you understand why there are two device connects:
1. The device connects to the USB with a predefined bootloader (in ROM).
2. It wait's for its firmware being sent to OEP1
3. It disconnects from USB by disabling the pullup.
4. My firmware starts, initializes the registers and the connects to the USB again.
And here I'm getting the interrupt message.
BTW: All the descriptors listed by the usb module are correct(=as defined in my firmware)!


If it helps you I can also post the firmware.

Thank you in advance,

Hermann Kraus
<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 103, change 0, 12 Mb/s
<6>hub.c: USB new device connect on bus1/1, assigned device number 15
<7>usb.c: kmalloc IF c294fc60, numif 1
<7>usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
<7>usb.c: USB device number 15 default language ID 0x409
<6>Manufacturer: Texas Instruments
<6>Product: TUSB3410 Boot Device
<6>SerialNumber: TUSB3410        
<7>usb.c: unhandled interfaces on device
<4>usb.c: USB device 15 (vend/prod 0x451/0x3410) is not claimed by any active driver.
<4>  Length              = 18
<4>  DescriptorType      = 01
<4>  USB version         = 1.10
<4>  Vendor:Product      = 0451:3410
<4>  MaxPacketSize0      = 8
<4>  NumConfigurations   = 1
<4>  Device version      = 1.00
<4>  Device Class:SubClass:Protocol = ff:00:00
<4>    Vendor class
<4>Configuration:
<4>  bLength             =    9
<4>  bDescriptorType     =   02
<4>  wTotalLength        = 0019
<4>  bNumInterfaces      =   01
<4>  bConfigurationValue =   01
<4>  iConfiguration      =   00
<4>  bmAttributes        =   80
<4>  MaxPower            =  100mA
<4>
<4>  Interface: 0
<4>  Alternate Setting:  0
<4>    bLength             =    9
<4>    bDescriptorType     =   04
<4>    bInterfaceNumber    =   00
<4>    bAlternateSetting   =   00
<4>    bNumEndpoints       =   01
<4>    bInterface Class:SubClass:Protocol =   ff:00:00
<4>    iInterface          =   00
<4>    Endpoint:
<4>      bLength             =    7
<4>      bDescriptorType     =   05
<4>      bEndpointAddress    =   01 (out)
<4>      bmAttributes        =   02 (Bulk)
<4>      wMaxPacketSize      = 0040
<4>      bInterval           =   00
<7>usb.c: kusbd: /sbin/hotplug add 15
<7>hub.c: port 2, portstatus 100, change 0, 12 Mb/s
<7>hub.c: port 1, portstatus 103, change 0, 12 Mb/s
<7>hub.c: port 2, portstatus 100, change 0, 12 Mb/s
<7>usb.c: usbdevfs driver claimed interface c294fc60
<7>hub.c: port 1, portstatus 101, change 3, 12 Mb/s
<7>hub.c: port 1 connection change
<7>hub.c: port 1, portstatus 101, change 3, 12 Mb/s
<6>usb.c: USB disconnect on device 15
---------------------------------------------------------------------------------------------------
Here my firmware takes over controll
---------------------------------------------------------------------------------------------------
<7>usb.c: kusbd: /sbin/hotplug remove 15
<7>hub.c: port 1, portstatus 101, change 2, 12 Mb/s
<7>hub.c: port 1, portstatus 103, change 0, 12 Mb/s
<6>hub.c: USB new device connect on bus1/1, assigned device number 16
<7>usb.c: kmalloc IF c294fca0, numif 1
<7>usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
<7>usb.c: USB device number 16 default language ID 0x409
<6>Manufacturer: Hermann Kraus
<4>usb-uhci.c: interrupt, status 2, frame# 962
---------------------------------------------------------------------------------------------------
And here the problem occurs
---------------------------------------------------------------------------------------------------
<6>Product: USB to Serial Converter
<6>SerialNumber: TESTPROGRAM     
<7>usb.c: unhandled interfaces on device
<4>usb.c: USB device 16 (vend/prod 0x451/0xa2d2) is not claimed by any active driver.
<4>  Length              = 18
<4>  DescriptorType      = 01
<4>  USB version         = 1.10
<4>  Vendor:Product      = 0451:a2d2
<4>  MaxPacketSize0      = 8
<4>  NumConfigurations   = 1
<4>  Device version      = 0.03
<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      =   04
<4>  bmAttributes        =   80
<4>  MaxPower            =  100mA
<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 =   ff:00:00
<4>    iInterface          =   05
<4>    Endpoint:
<4>      bLength             =    7
<4>      bDescriptorType     =   05
<4>      bEndpointAddress    =   01 (out)
<4>      bmAttributes        =   02 (Bulk)
<4>      wMaxPacketSize      = 0040
<4>      bInterval           =   00
<4>    Endpoint:
<4>      bLength             =    7
<4>      bDescriptorType     =   05
<4>      bEndpointAddress    =   81 (in)
<4>      bmAttributes        =   02 (Bulk)
<4>      wMaxPacketSize      = 0040
<4>      bInterval           =   00
<7>usb.c: kusbd: /sbin/hotplug add 16
<7>hub.c: port 2, portstatus 100, change 0, 12 Mb/s
<7>hub.c: port 1, portstatus 103, change 0, 12 Mb/s
<7>hub.c: port 2, portstatus 100, change 0, 12 Mb/s

Reply via email to