Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] usb_modeswitch issues
@ 2016-03-03  9:49 Yegor Yefremov
  2016-03-03 11:01 ` Gustavo Zacarias
  0 siblings, 1 reply; 2+ messages in thread
From: Yegor Yefremov @ 2016-03-03  9:49 UTC (permalink / raw)
  To: buildroot

Hi Gustavo, all,

I experience strange Segmentation faults with usb_modeswitch 2.3.0
(didn't really used if earlier, so I know nothing about earlier
versions):

http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=2489&p=16378#p16378

Do you understand, what LOM means saying:

"You have forgotten to build the wrapper (usb_modeswitch.tcl) "

I've looked at usb_modeswitch Makefile and I cannot see
usb_modeswitch.tcl in install target.

Yegor

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

* [Buildroot] usb_modeswitch issues
  2016-03-03  9:49 [Buildroot] usb_modeswitch issues Yegor Yefremov
@ 2016-03-03 11:01 ` Gustavo Zacarias
  0 siblings, 0 replies; 2+ messages in thread
From: Gustavo Zacarias @ 2016-03-03 11:01 UTC (permalink / raw)
  To: buildroot

On 03/03/16 06:49, Yegor Yefremov wrote:

> Hi Gustavo, all,
>
> I experience strange Segmentation faults with usb_modeswitch 2.3.0
> (didn't really used if earlier, so I know nothing about earlier
> versions):
>
> http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=2489&p=16378#p16378
>
> Do you understand, what LOM means saying:
>
> "You have forgotten to build the wrapper (usb_modeswitch.tcl)"
>
> I've looked at usb_modeswitch Makefile and I cannot see
> usb_modeswitch.tcl in install target.
>
> Yegor

Hi Yegor.
There are a couple of usage forms for it, namely manual (you call 
usb_modeswitch with the appropiate parameters) or automatic (via udev 
provider).
Assuming you're using the second option, which is where the dispatcher 
is used, there's a rule installed in /lib/udev/usb_modeswitch that's in 
charge of calling the dispatcher (/usr/sbin/usb_modeswitch_dispatcher).
usb_modeswitch_dispatcher is built based on 
usb_modeswitch_dispatcher.tcl based on two options - if you've got tcl 
on your target it will be a tcl script with the appropiate shebang, or 
otherwise it will create a binary based on the bundled jimtcl if not.
So if you have /usr/sbin/usb_modeswitch_dispatcher (which should be) 
then things are failing for some other reason.
If you don't have tcl you can switch to it to see if jimtcl is breaking 
things.
I normally use this on armv5 without issues, however i don't have an 
mbim modem so YMMV.
Regards.

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

end of thread, other threads:[~2016-03-03 11:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-03  9:49 [Buildroot] usb_modeswitch issues Yegor Yefremov
2016-03-03 11:01 ` Gustavo Zacarias

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