[coldfire-gnu-discuss] CodeSourcery sprite + usbdevfs

Maxim Kuvyrkov maxim at codesourcery.com
Sun Oct 3 16:18:23 UTC 2010


On 10/3/10 7:36 PM, Wilbur, Matt wrote:
>> The sprite uses libosbdmJM.so to communicate with the OSBDM probe,
>> it does not use USB interface directly.  AFAIK, the OSBDM driver
>> uses libusb for low-level USB interface, so, possibly, this
>> segfault is due to mismatch between the kernel and libusb
>> versions.
>
> Can you either point to or provide sources for the linux version of
> libosbdm you are using?  As far as I can tell, Freescale supplies
> Windows DLL code and others have made necessary patches to compile
> under linux.

I don't have libosbdm for Linux; I assumed Freescale might have released 
OSBDM driver for Linux and you were using it.

>  My suspicion about usbfs may have been a red herring,
> as adding some printfs to the linux port of libosbdm finds the
> device, so queries for the VID/PID seem to be fine.  See printf
> output below.
>
> Not sure I can research much more without violating the EULA.

IIRC, libosbdm is under LGPL, so you can add debug output to it without 
violating EULA.  We would only welcome efforts to get Linux OSBDM driver 
into usable state.  BTW, adding '-vvv' to sprite command line will 
increase verbosity of sprite output.

Regards,

-- 
Maxim Kuvyrkov
CodeSourcery
maxim at codesourcery.com
(650) 331-3385 x724



More information about the coldfire-gnu-discuss mailing list