Hi Guys;
I've been using the ezdsp and msp-fet devices on several computers
running different versions of Ubuntu (7.04 and 7.10) over the last few
years with no real problems, but recently purchased a new system and
decided to load Ubuntu 8.04 on it. Here things started to get more
interesting.
When I plug in the emulator it would recognize the device and load the
ti_usb_3410_5052 driver, but I couldn't get the system to create the
/dev/ttyUSB0 file. I tried all the standard tricks of writing the value
2 to the file /sys/bus/usb/devices/xxx/bConfigurationValue, but no dice,
I couldn't get it to switch configurations.
After considerable tinkering I think I've found the problem. It seems
that the Ubuntu kernel comes with a very slightly modified version of
this driver, and this modification breaks support for these emulator
devices. I've submitted a bug report
(https://bugs.launchpad.net/bugs/231276), so hopefully this will be
resolved in a future version of the kernel. In the mean time, here's
the work around:
I downloaded the stock kernel (2.6.24.7) from kernel.org and pulled the
source for this driver out into a separate directory. I then wrote a
small makefile which allowed me to compile just this driver. If I
substitute this original driver for the one that came with the Ubuntu
system, I can now connect to the emulator and get it to generate the
/dev/ttyUSB0 file using a udev rule.
I did also have some difficulty with the udev rules that have previously
been posted to this mailing list. It seems that the /sys%p directory
isn't exactly the right location to find the bConfigurationValue file on
this version of Ubuntu. For some reason this file lives in the parent
directory. I wrote a new udev rule which seems to work.
I've packaged up the driver, makefile, udev rules and a short readme
file into a zip and posted it here:
http://www.embeddedintelligence.com/mspfet_driver.zip
Now, if I could only get the emulator to work with my 2618 device under
Linux!
Rgds,
Steve