Hi Jim;
I tackled getting this working in Ubuntu 8.04 a couple weeks ago. I
found at that time that the driver that ships with the Ubuntu kernel has
a problem with the TI FET device. At that time I put together a small
.zip file with a working driver (taken from the vanilla kernel on
kernel.org) which does work. I posted it to my web site here:
www.embeddedintelligence.com/mspfet_driver.zip
Since that time I've seen a message posted to this list indicating that
a kernel update on Ubuntu may have already fixed this problem. I
haven't played with the device since then, so I can't personally confirm
this.
Even if the driver that came with your kernel does work, you will still
need a udev rule to select the proper configuration. Until this happens
you won't get the needed /dev/ttyUSB0 device file. As a test, you can
manually perform the same action that this rule does to see if the
driver that you are currently using supports the device.
First, unplug the device and plug it back in. Then, use the dmesg
command to find the location of the device's directory that was created
under the /sys file system. What you are looking for is a file called
'bConfigurationValue' under the directory of the proper device in the
/sys directory tree. I don't have my emulator handy to check this, but
I think it should be something like:
/sys/bus/usb/devices/something/bConfigurationValue
Once you find this file, enter the following command (using the correct
file name of course):
sudo echo 2 > /sys/bus/usb/devices/something/bConfigurationValue
If the driver you have loaded supports this device, then the
/dev/ttyUSB0 file will be magically created when you enter this.
A udev rule which handles this detail is included in the .zip I
referenced above. Even if you don't need the driver included in the
.zip, you may find this handy.
Rgds,
Steve
jim bingham wrote:
OK, I know this must have been covered a billion times so far. How does
one get this working with linux. I'm running Ubuntu 8.04. I recognize
that the TI FET is plugged in, but do not get it assigned
to /dev/ttyUSB0... or the like.
Is there a simple set of tests to validate that one has this set up
correctly?
jim
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users