unable to mount the ti_usb_3410 in ubuntu 8.1

Asked by Anshuman

Hi all
Im using ti_usb_3410_5052 ic in my system.
when I plug into the system and do dmesg ,
it shows this :
[ 6044.691392] usbserial: USB Serial support registered for TI USB 3410 1 port adapter
[ 6044.692861] usbserial: USB Serial support registered for TI USB 5052 2 port adapter
[ 6044.694293] ti_usb_3410_5052 4-2:1.0: TI USB 3410 1 port adapter converter detected
[ 6044.694310] firmware: requesting ti_usb-3410.bin
[ 6044.737804] usb 4-2: ti_download_firmware - firmware not found
[ 6044.738797] ti_usb_3410_5052: probe of 4-2:1.0 failed with error -5
[ 6044.740115] usbcore: registered new interface driver ti_usb_3410_5052
[ 6044.740124] ti_usb_3410_5052: TI USB 3410/5052 Serial Driver v0.9
[ 6145.608068] usb 4-2: USB disconnect, address 2

When I do the lsmod -v , it shows the following :
Bus 004 Device 005: ID 0451:3410 Texas Instruments, Inc. TUSB3410 Microcontroller
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 255 Vendor Specific Class
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor 0x0451 Texas Instruments, Inc.
  idProduct 0x3410 TUSB3410 Microcontroller
  bcdDevice 1.00
  iManufacturer 1
  iProduct 2
  iSerial 3
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x80
      (Bus Powered)
    MaxPower 100mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 0
      bInterfaceProtocol 0
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 0
cannot read device status, Operation not permitted (1)

It is downloading some .bin file , which it is not finding .

If there is any bug regarding it

Thanks and Regards

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ryno
Solved:
Last query:
Last reply:
Revision history for this message
Best Ryno (rynoprinsloo) said :
#1

Hi Anshuman,

I've seen you posted in ubuntuforums aswell. Guess both of us had a quest for this answer. Well here it is:

Just excute this: (It will place the firmware where it should be)
sudo cp /lib/firmware/$(uname -r)/ti_3410.fw /lib/firmware/ti_usb-3410.bin

This is the /etc/udev/rules.d/026_ti_usb_3410.rules:

SUBSYSTEM=="usb_device" ACTION=="add"
SYSFS{idVendor}=="0451",SYSFS{idProduct}=="3410" \
SYSFS{bNumConfigurations}=="2" \
SYSFS{bConfigurationValue}=="1" \
RUN+="/bin/sh -c 'echo 2 > /sys%p/device/bConfigurationValue'"

This is just the link that helped me find the info. It might be useful to checkout.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/236247

By the I'm just using others info haven't tried this out yet. I hope this solves your problem.
Ryno

Revision history for this message
Anshuman (eranshuman) said :
#2

Thanks Ryno, that solved my question.

Revision history for this message
Jordi Soucheiron Estruch (jordixou-gmail) said :
#3

This doesn't work for me. I'm using intrepid ibex and the 2.6.27-9 kernel.
$echo 2 > /sys/bus/usb/devices/usb1/1-2/bConfigurationValue
bash: /sys/bus/usb/devices/usb1/1-2/bConfigurationValue: Permission denied
$ ls -la /sys/bus/usb/devices/usb1/1-2/bConfigurationValue
-rw-r--r-- 1 root root 4096 2008-12-01 09:36 /sys/bus/usb/devices/usb1/1-2/bConfigurationValue

Revision history for this message
Ryno (rynoprinsloo) said :
#4

Hi Jordi,

The command you tried to run are you sure you were root? You can easily find out by executing this:

whoami

Anyway I think my previous explaination was a bit brief and could be elaborated. I will explain how I got around to get mine running for Intrepid Ibex, both the 2.6.27-7 and 2.6.27-9 kernels. And after reading this post https://bugs.launchpad.net/ubuntu/+source/linux/+bug/236247/comments/3

1st: Create a file:(execute the following in a terminal)

sudo nano /etc/udev/rules.d/026_ti_usb_3410.rules

2nd: copy and paste the following into the file:

### Start copying from here ###
SUBSYSTEM=="usb_device" ACTION=="add"
SYSFS{idVendor}=="0451",SYSFS{idProduct}=="3410" \
SYSFS{bNumConfigurations}=="2" \
SYSFS{bConfigurationValue}=="1" \
RUN+="/bin/sh -c 'echo 2 > /sys%p/device/bConfigurationValue'"

###End copying here ###

3rd: Save the file:

Ctrl+x

4th: This is the fix for the problem specific to Intrepid (2.6.27-X kernel)
Execute the following command in a terminal:

sudo cp /lib/firmware/$(uname -r)/ti_3410.fw /lib/firmware/ti_usb-3410.bin

That's it!

You can now run "dmesg" to see if it is working(It should be working)
Execute the following command in a terminal:

dmesg | grep ttyUSB0

It should give you a line looking similar to this:

[ 363.124529] usb 3-3: TI USB 3410 1 port adapter converter now attached to ttyUSB0

If it does, your're done! If not, then do the following:

1st: unplug the device from your computer

2nd: run this:

sudo dmesg -c

3rd: Plug the device into your computer

4th: run this

dmesg

5th: Post the output provided by dmesg.(I will see if I can help) ;-)

Hope it works,
Ryno