ti_usb_3410_5052 driver doesn't load some devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Stefan Bader | ||
Hardy |
Fix Released
|
Medium
|
Stefan Bader | ||
Intrepid |
Fix Released
|
Medium
|
Stefan Bader |
Bug Description
SRU justification:
Impact: The driver just looks for the wrong files.
Fix: Simply change the string of the files to load. This has been buried for so long (and nobody tested it in the bug) that it has been fixed upstream[1] (with a bigger change).
Testcase: Driver load asks for .bin files instead of .fw.
[1] commit 05a3d9050ad7bb7
Author: Chris Adams <email address hidden>
Date: Sun Jan 11 19:48:53 2009 +0000
ti_
Binary package hint: linux-source-2.6.24
The ti_usb_3410_5052 driver fails to recognize a very popular JTAG emulator made by TI (MSP FET430).
This appears to be a new bug in Hardy, it worked fine in Gutsy.
I downloaded the 2.6.24 vanilla source from kernel.org and compiled just this driver. The vanilla driver does work with this device.
I downloaded the linux-source-2.6.24 package and pulled the driver out of this. I confirmed that this ubuntu specific version of the driver fails to load the device in question.
There are only a couple lines different between the vanilla driver and the ubuntu version. The problem lines seem to be:
267,268c267,268
< .num_interrupt_in = 1,
< .num_bulk_in = 1,
---
> .num_interrupt_in = NUM_DONT_CARE,
> .num_bulk_in = NUM_DONT_CARE,
I'm not sure what the reasoning was behind changing the standard driver, but this is one case in which it broke a popular device which had previously worked.
Thanks,
Steve
Changed in linux: | |
assignee: | nobody → ubuntu-kernel-team |
importance: | Undecided → Medium |
status: | Incomplete → Triaged |
Changed in linux: | |
assignee: | ubuntu-kernel-team → stefan-bader-canonical |
status: | Triaged → In Progress |
description: | updated |
tags: | added: hw-specific |
I'm posting to corroborate Steve's findings and to advocate for a fix in Ubuntu.
I've experienced the same issues with the ti_usb_3410_5052 driver under Hardy(kernel 2.6.24-16 through -19, thus far). Texas Instruments' MSP-FET430UIF and EZ430 programmer/ emulators are broken with the current Hardy ti_usb_3410_5052 driver. Applying a driver (made available by Steve) from the vanilla kernel I was able to get my programmers working again. It breaks every time I upgrade my kernel package and I must re-apply the driver fix.
This is going to cause a lot of heartache and frustration for MSP430 developers. Getting a development system up and going for MSP430 is already a tough exercise. This problem had my development shut down until I ran across a news list post by Steve explaining his findings and a fix.