Hi,
I have embedded arm custom board with yocto linux, when system is booting with inserted usb modem huawei 3531 HiLink, modem
is not switched because usb_modeswitch_dispatcher got SIGABRT. After removed and insert modem again it is switching.
I modified file 12d1:1f01 and switch it with message 55534243123456780000000000000011063000000100010000000000000000.
Strace log attached.
usb_modeswitch_dispatcher SIGABRT - usb_modeswitch 2.2.0
- Attachments
-
- trace_um_abort.log
- (11.42 KiB) Downloaded 545 times
Re: usb_modeswitch_dispatcher SIGABRT - usb_modeswitch 2.2.0
usb_modeswitch 2.2.0 is 5 years old, there has been 11 update releases since then.
Get back if you have any problems with the current version which is 2.5.2 and which you can find here http://www.draisberghof.de/usb_modeswitch/
Oh, and please tell the maintainers of yacto linux that they are way behind and should update the version of usb_modeswitch they are using.
Get back if you have any problems with the current version which is 2.5.2 and which you can find here http://www.draisberghof.de/usb_modeswitch/
Oh, and please tell the maintainers of yacto linux that they are way behind and should update the version of usb_modeswitch they are using.
Re: usb_modeswitch_dispatcher SIGABRT - usb_modeswitch 2.2.0
I updated to newest version 2.5.2 and I have the same problem. Logs only show:
Code: Select all
USB_ModeSwitch log from Wed May 08 10:33:54 UTC 2019
- Attachments
-
- trace_um_2.5.2.log
- (7.41 KiB) Downloaded 528 times
Re: usb_modeswitch_dispatcher SIGABRT - usb_modeswitch 2.2.0
The usb_modeswitch_dispatcher can be one of these:
- pure TCL script, started with tclsh, a TCL interpreter
- TCL script wrapped with a small-footprint interpreter, so runs stand-alone
- Ubuntu fork of the script version, implemented in C
You would have to find out which variant is used in Yocto. Can you point to a source package or something in that respect? Maybe you can ask the Yocto community for help about finding it.
- pure TCL script, started with tclsh, a TCL interpreter
- TCL script wrapped with a small-footprint interpreter, so runs stand-alone
- Ubuntu fork of the script version, implemented in C
You would have to find out which variant is used in Yocto. Can you point to a source package or something in that respect? Maybe you can ask the Yocto community for help about finding it.
Re: usb_modeswitch_dispatcher SIGABRT - usb_modeswitch 2.2.0
yocto is using builtin jimtcl, so it seems to be the same problem.
Re: usb_modeswitch_dispatcher SIGABRT - usb_modeswitch 2.2.0
I'm about to drop the inclusion of jimtcl altogether.
There should be a libjim on the respective distribution which can be maintained and kept current independently of usb_modeswitch.
There should be a libjim on the respective distribution which can be maintained and kept current independently of usb_modeswitch.