To: | |
---|---|
Subject: | Re: [ts-7000] libusb |
From: | Dino Sbrocca <> |
Date: | Wed, 5 Jul 2006 10:30:30 -0400 (EDT) |
I use libusb to communicate with a USB interface chip to a 1-Wire network. I'm certainly not a linux expert but, the following may help. To install libusb on the TS7260 I downloaded the source to libusb to a host linux machine and cross compiled it using the following commands: CC=arm-linux-gcc ./configure --prefix=/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux --program-prefix=arm-linux- --host=arm-pc-linux-gnu make make install I then ftp'ed the .so file to the TS7260 and set the proper authorities. To run a test program, I first load the USB modules on the TS7260 with TS's /usr/bin/loadUSBModules.sh script and then mount the USB file system with the following command: mount -t usbdevfs none /proc/bus/usb The test program was cross compiled on the host and then ftp'ed to the TS7260. The test program just reads through the buses and devices recognized by the kernal and dumps them to the console. It's a reasonably good test that you've loaded all the software properly. Send me an e-mail if you want the source. Dino Anand S Madhusoodanan <> wrote:
__._,_.___
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] Re: problem with SSP : spi format + Slave Mode, suptouch |
---|---|
Next by Date: | Re: [ts-7000] Re: Modules for 2.4.26-ts11, Jim Jackson |
Previous by Thread: | Re: [ts-7000] libusb, Michael Surran |
Next by Thread: | Re: [ts-7000] libusb, Anand S Madhusoodanan |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU