From: Cole C. <col...@gm...> - 2010-09-15 02:08:23
|
I have noticed (and not solved) several problems with USB on Overo. Sometimes it just doesn't enumerate. Try to leave the ftdi device plugged in and restart the gumstix. Sometimes it works on reboot. On Tue, Sep 14, 2010 at 8:59 PM, Richard Rieber <rr...@gm...> wrote: > Gumstix-ers: > > I am trying to do a simple connection to an ftdi device and I keep > getting device not found errors. > > I'm running the basic kernel and I've installed these packages: > > opkg install gcc > opkg install gcc-symlinks > opkg install libc6-dev > opkg install binutils > opkg install make > opkg install g++ > opkg install g++-symlinks > opkg install libstdc++-dev > opkg install libstdc++6 > opkg install task-native-sdk > > opkg install libusb-0.1-4 > opkg install libusb-0.1-dev > opkg install libusb-1.0-0 > opkg install libusb-1.0-dev > opkg install libusb-1.0-static > > opkg install usbutils > opkg install usbutils-dev > > I downloaded libftdi from here: > http://www.intra2net.com/en/developer/libftdi/download.php > > and did a basic ./configure and make install > > then added this environment variable to set the library path: > export LD_LIBRARY_PATH=/usr/local/lib > > I'm running a simple test script that I copied from here: > http://www.intra2net.com/en/developer/libftdi/documentation/ > > Once I compile with: > gcc ftditest.c -lftdi -o ftditest.o > > then chmod the .o file and execute it, I get: > > unable to open ftdi device: -3 (device not found) > > If I do a simple lsusb, I get this: > > root@overo:~/ftditest# lsusb > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > It seems as if my ftdi chip isn't found. Anyone have any ideas? I'm > pretty much a noob, so feel free to consider the most basic things I > may have overlooked. > > Many thanks! > ~Rich > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |