Author Message

<  Setup Discussion  ~  Link /dev/gsmmodem not created anymore

PostPosted: Sun Apr 02, 2017 3:52 pm Reply with quote
Posts: 3 Joined: Sun Apr 02, 2017 3:34 pm

similar as described in other posts, /dev/gsmmodem is not created (Raspbian Jessie/USB_modeswitch 2.5).
Logfile /var/log/usb_modeswitch_1-1.4 I tells me:
USB_ModeSwitch log from Sun Apr 02 15:12:07 CEST 2017

Use global config file: /etc/usb_modeswitch.conf
Raw parameters: --switch-mode 1-1.4:1.0
Top device directory not found (/sys/bus/usb/devices/1-1.4)! Exit

ls /sys/bus/usb/devices/1-1.4/
1-1.4:1.0   avoid_reset_quirk    bDeviceSubClass     bNumInterfaces  devnum     idVendor      power      serial     version
1-1.4:1.1   bcdDevice            bmAttributes        busnum          devpath    ltm_capable   product    speed
1-1.4:1.2   bConfigurationValue  bMaxPacketSize0     configuration   driver     manufacturer  quirks     subsystem
1-1.4:1.3   bDeviceClass         bMaxPower           descriptors     ep_00      maxchild      removable  uevent
authorized  bDeviceProtocol      bNumConfigurations  dev             idProduct  port          remove     urbnum

That means, folder /sys/bus/usb/devices/1-1.4 exists.

Bus 001 Device 005: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Why is gsmmodem missing?

Is there a solution for this?

Thank you,

PostPosted: Wed Apr 12, 2017 7:59 pm Reply with quote
Site Admin Posts: 6440 Joined: Sat Nov 03, 2007 12:30 am
Regarding that first problem (non-existent folder "/sys/bus/usb/devices/1-1.4"):

It's possible that this modem is mode-switched by the kernel. So at the moment usb_modeswitch tries to handle it, it is already gone and in 'transition' to modem mode. It obviously appears as "12d1:1001" which is the modem mode, so something has succeeded in mode-switching it.

If that assumption is correct, you should get the modem mode even if usb_modeswitch is globally disabled (in /etc/usb_modeswitch.conf).

You can follow the process by calling "dmesg" often after you insert the modem. The mode switch is indicated by a hint of "disconnect" in the output, followed by the discovery of a new USB device.


Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
2 posts
Users browsing this forum: Bing [Bot] 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