Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] usb_modeswitch and lsusb yield Segmentation fault
@ 2012-12-09 23:06 Sagaert Johan
  2012-12-10  2:51 ` Gustavo Zacarias
  0 siblings, 1 reply; 8+ messages in thread
From: Sagaert Johan @ 2012-12-09 23:06 UTC (permalink / raw)
  To: buildroot

Hi
 
I am using the latest git pull of buildroot.
 
Both usb_modeswitch and lsusb fail on execute.
 
# lsusb
Segmentation fault
# usb_modeswitch
Segmentation fault
 
Can sombody verify this on a real target ?
 
(i am using a karo tx53 module running kernel 3.4.21)
 
I suspect it has something to do with libusb.
 
Looking at the makefile of usb_modeswitch, it seems to link against libusb.so
It looks this is pointing to libusb-compat-0.1.4
 
In the source code of usb_modeswitch there is a line (1896)  saying :  ....based on libusb0 (0.1.12 and above ...)
 
So something seems to be wrong (libusb-compat-0.1.4 is the latest version) , should usb_modeswitch be linked to libusb-1.0.9
instead. ?
 
I will try to link against to the other usblib, as soon as my current build finishes ...
 
I suspect the lsusb problem is similar
 

Johan

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121210/189e63c6/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-12-12 23:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-09 23:06 [Buildroot] usb_modeswitch and lsusb yield Segmentation fault Sagaert Johan
2012-12-10  2:51 ` Gustavo Zacarias
2012-12-10 10:57   ` Sagaert Johan
2012-12-10 10:59     ` Gustavo Zacarias
2012-12-12 15:26       ` Sagaert Johan
2012-12-12 15:29         ` Gustavo Zacarias
2012-12-12 19:44         ` Peter Korsgaard
2012-12-12 23:56           ` Sagaert Johan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox