SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By hitsware
#174190
I recently bought one of these:
https://www.sparkfun.com/products/718
It is not recognized by my installed Linux
and doesn't quite work with another.
(Works with XP and TeraTerm)
Is there a way to specify (and locate) a
Linux with the drivers(?) and terminal
program to run this without hitches ?
By Valen
#174208
There is a link to the chip manufacturers website with drivers on the product page. Even linux drivers.
By hitsware
#174213
Yea ............ Thanks ...........
I'll pass on that .......... ( I'm Linux challenged :) )
That's why I specified " without hitches "
By Valen
#174217
The VCP driver page says: All FTDI devices now supported in Ubuntu 11.10, kernel 3.0.0-19

But if you want "without hitches" then linux isn't a smart OS to choose. (though Microsoft isn't that much better at it either) Users are expected to be able to help themselves a bit. At least to investigate the problem and search for documentation and solutions on the web.
By dlotton
#174218
hitsware wrote:...
It is not recognized by my installed Linux
and doesn't quite work with another.
...
What Linux distros(and versions thereof) have you tried? The FT232 has been around for a long time and has been supported in Linux for quite a while. Unless you have a very, very old distro I'd be very surprised if yours doesn't already support it.

It may just be a matter of permissions or configuration.
By hitsware
#174242
I'm currently using Slitaz.
Obviously not suited for this adaptor.
BUT !
So fast and so small !
(and w/Wine runs a WooferTester better than Windows :) )
Anyways I've just discovered KVM switches
which should make my whole situation
(MaxiMite SBC coexisting with Linux PC)
MUCH nicer.
BTW .... Mr. Sparkfun should investigate
the MicroMite and VT100 chips ...
A nifty product could be developed :)
By linuxdev
#174298
I have three similar devices (USB side of it) which work just fine. These were working out of the box for Fedora 19, and these FTDI chips are very very common. There is a second side though, as you may need other software for whatever connects through the FTDI USB chip. A UART though is something I'd expect to also just work...two of my three devices connect to this or similar UART (the third is a JTAG debugger).

Mostly it simply means you didn't run the right application to actually know it worked. First thing to know is that the USB hotplug layer will send messages to logs when a USB device is attached/detached. If your distro has /var/log/messages, just run "tail -f /var/log/messages" while pluggin in and unplugging the device. If no messages log, try "dmesg | tail" to see the end of the dmesg output...then plug in the USB...and again run "dmesg | tail" to see if the hotplug layer noticed the device.

Assuming it did work, consider that USB serial UARTS have associated files created and removed upon plugin or removal. They will be in /dev and have names starting with ttyUSB, ending in a number, e.g., ttyUSB0 through ttyUSB3. The order of plugging in such devices means the numeric listing (0 through 3 for example) will also change...if /dev/ttyUSB2 worked before, it might change to ttyUSB1 if plugged in in a different order.

You need a program to talk to a serial UART. minicom is an example, I use gtkterm a lot. Your program will not realize there is a device if the serial end has not been connected. It is easier to give an example...I have several embedded devices I work with, all of which use a serial console through a serial port...and to these I have cables with USB on one end, and a serial UART on the other...the serial communication programs will fail to see the device if I have not first powered on the other end at least once.

FYI, support for various drivers like this are pretty much available out of the box for every popular linux distro. On the other hand, they are usually in the form of a loadable module...this means you can add and remove drivers without rebooting. You don't need a new distribution to get your driver in most cases, you just need your kernel configured for the driver which just might already exist but not be loaded.

An alternate way to see what your system sees on USB is "lsusb". Try this prior to plugging in your device, and again after.

Additional note: UARTS have speed settings and your serial console program like minicom or gtkterm have to be set to the same values to work. Most common is 115200 for speed, 8 bits, no parity, and 1 stop bit (8N1).
By hitsware
#174329
Thanks,
I guess I will have to go to a more mainstream distro if I want to easily make this work.