ts-7000
[Top] [All Lists]

Re: [ts-7000] libusb

To:
Subject: Re: [ts-7000] libusb
From: Eko Didik Widianto <>
Date: Thu, 6 Jul 2006 19:23:33 +0700
Can you post log message just before that error appears?

i've porting libusb, ccid driver & libmusclecard, logitech/ibm webcam to 
ts7200 using buildroot (using uclibc library, instead of glibc). if you want 
to build apps & libs using this buildroot, i can help you.

On Thursday 06 July 2006 14:58, Anand S Madhusoodanan wrote:
> Hi  Dino,
>
> I tried out the things you had mentioned in your previoue email. They
> worked until I typed in the make command.
>
> At the make command it gave me an error saying it could not read the
> .so file.
>
> "libusb.so: could not read symbols: File in wrong format"
>
> The exact mesage is pasted above.
>
> Is there is a problem with the version of software that I am using? I had
> downloaded the Linux Crosstool gcc-3.3.4-glibc-2.3.2 -- 0.28rc39
> (11-3-2004) from the website.
>
> I look forward to your comments.
>
> Regards
> Anand S Madhusoodanan
>
>
>
>
>
> Dino Sbrocca <> wrote:    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:                
>             Hi,
>
> Has anyone used libusb on the TS7260? Any comments on how to go about using
> that package on the board would be greatly appreciated.
>
> Regards
> Anand S Madhusoodanan
>
>  __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has  the best spam protection around
> http://mail.yahoo.com
>
>
>
>
>
> ---------------------------------
> Yahoo! Music Unlimited - Access over 1 million songs.Try it free.

-- 
eko didik widianto

lab. desain pusat mikroelektronika ITB
jl. ganesha 10 
bandung 40132

pt. clarisense digital media
jl. bukit dago utara II no. 27
bandung 40135
indonesia


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



<Prev in Thread] Current Thread [Next in Thread>
Admin

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