usb modeswitch [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Post Reply
rbrick49
Simple Hen
Posts: 90
Joined: Sun Apr 08, 2012 13:46
Location: Thailand

usb modeswitch [Solved]

Post by rbrick49 » Mon Feb 02, 2015 7:56

hello folks today I updated my sabayon from 14.07 gnome to sabayon15-02.1 kde today when I plug in my huawei usb dongle usb_modeswitch is not switching the dongle from storage to modem -mode any ideas howto fix this
regards Ron
Last edited by rbrick49 on Tue Feb 03, 2015 2:07, edited 1 time in total.
Host: sabayon.local Kernel: 4.14.0-sabayon x86_64 bits: 64
Desktop: KDE Plasma 5.12.4 Distro: Sabayon Linux amd64 18.04
Machine: Device: desktop Mobo: ASRock model: Z270 Taichi serial: N/A
https://www.linuxcounter.net/cert/621932.png

rbrick49
Simple Hen
Posts: 90
Joined: Sun Apr 08, 2012 13:46
Location: Thailand

Re: usb modeswitch

Post by rbrick49 » Tue Feb 03, 2015 2:06

it appears to be fixed by doing this
usb_modeswitch -c /usr/share/usb_modeswitch/12d1:1446 -v 12d1 -p 1446 > /dev/null
Host: sabayon.local Kernel: 4.14.0-sabayon x86_64 bits: 64
Desktop: KDE Plasma 5.12.4 Distro: Sabayon Linux amd64 18.04
Machine: Device: desktop Mobo: ASRock model: Z270 Taichi serial: N/A
https://www.linuxcounter.net/cert/621932.png

rbrick49
Simple Hen
Posts: 90
Joined: Sun Apr 08, 2012 13:46
Location: Thailand

missing from /usr/share/usb_modeswitch

Post by rbrick49 » Tue Feb 03, 2015 3:40

Hello folks just been doing some looking around /usr/share/usb_modeswitch and I see this model no is not included for my huawei usb modem
Bus 001 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd. E173 3G Modem (modem-mode)
is there anyway I can edit usb_modeswitch to include this
regards Ron
in my previous post I said my problem was solved but only partially because the fix is not permanent I have to put in via terminal every reboot this was the fix
usb_modeswitch -c /usr/share/usb_modeswitch/12d1:1446 -v 12d1 -p 1446 > /dev/null
any help much appreciated
regards ron
Host: sabayon.local Kernel: 4.14.0-sabayon x86_64 bits: 64
Desktop: KDE Plasma 5.12.4 Distro: Sabayon Linux amd64 18.04
Machine: Device: desktop Mobo: ASRock model: Z270 Taichi serial: N/A
https://www.linuxcounter.net/cert/621932.png

rbrick49
Simple Hen
Posts: 90
Joined: Sun Apr 08, 2012 13:46
Location: Thailand

Re: missing from /usr/share/usb_modeswitch

Post by rbrick49 » Tue Feb 03, 2015 9:46

since I have put this in terminal as root it seems to be working ok.I have done six shutdowns restart and it is still working so maybe ok
Host: sabayon.local Kernel: 4.14.0-sabayon x86_64 bits: 64
Desktop: KDE Plasma 5.12.4 Distro: Sabayon Linux amd64 18.04
Machine: Device: desktop Mobo: ASRock model: Z270 Taichi serial: N/A
https://www.linuxcounter.net/cert/621932.png

User avatar
Fitzcarraldo
Sagely Hen
Posts: 8096
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: usb modeswitch [Solved]

Post by Fitzcarraldo » Tue Feb 03, 2015 12:40

Merged the two topics.

rbrick49
Simple Hen
Posts: 90
Joined: Sun Apr 08, 2012 13:46
Location: Thailand

Re: usb modeswitch [Solved]

Post by rbrick49 » Tue Feb 03, 2015 13:25

this fix was supplied by Lupo Alberto way back in 2013 and it still works,thank you Lupo you are my saviour
regards Ron
and thanks fitz for merging
Host: sabayon.local Kernel: 4.14.0-sabayon x86_64 bits: 64
Desktop: KDE Plasma 5.12.4 Distro: Sabayon Linux amd64 18.04
Machine: Device: desktop Mobo: ASRock model: Z270 Taichi serial: N/A
https://www.linuxcounter.net/cert/621932.png

Post Reply