Author Message

<  Everything Coding  ~  usb_modeswitch_dispatcher SIGABRT - usb_modeswitch 2.2.0

PostPosted: Thu May 02, 2019 1:43 pm Reply with quote
Posts: 2 Joined: Thu May 02, 2019 1:22 pm
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.
Attachments:
trace_um_abort.log [11.42 KiB]
Downloaded 3 times

Offline
PostPosted: Thu May 02, 2019 4:27 pm Reply with quote
Posts: 1236 Joined: Wed Jul 11, 2012 3:14 pm Location: Koh Samui, TH
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.


Offline
PostPosted: Wed May 08, 2019 2:04 pm Reply with quote
Posts: 2 Joined: Thu May 02, 2019 1:22 pm
I updated to newest version 2.5.2 and I have the same problem. Logs only show:
Code:
USB_ModeSwitch log from Wed May  08 10:33:54 UTC 2019
Attachments:
trace_um_2.5.2.log [7.41 KiB]
Downloaded 5 times

Offline
PostPosted: Sun May 19, 2019 11:09 pm Reply with quote
Site Admin Posts: 6496 Joined: Sat Nov 03, 2007 12:30 am
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.


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
4 posts
Users browsing this forum: No registered users and 1 guest
Search for:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum