Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
Aharon
Posts: 1
Joined: 18 May 2011, 11:53

usb device returns to original mode

Post by Aharon » 18 May 2011, 12:23

Hi

I've got my HSDPA modem running successfully with modeswitch however after several hours I lost my internet connection and discovered that the device had returned to its original mode :
lsusb gives me:
Bus 001 Device 015: ID 19d2:2000 ONDA Communication S.p.A. ZTE MF627/MF628/MF628+ HSDPA

If I unplug the device and replug it then modeswitch works again and lsusb gives me:
Bus 001 Device 017: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF636

I've got 2 questions:
1)Is this normal that after several hours the device reverts its mode?
2) Is it possible to rerun modeswitch on the existing USB devices possibly with a cronjob? I'm using this modem for an internet connection on my beagleboard Mx card and I need a way to ensure that the internet automatically reconnects for many days without administration

Thanks!
Aharon

anwmalos
Posts: 1
Joined: 18 May 2011, 11:40

Post by anwmalos » 18 May 2011, 13:39

Hello,

I seem to have the same problem but mine after several hours switches to 19d2:0016. It doesn't seem to respond to attempts to reset it (-R), and usb_modeswitch is not configured to respond to 0016. After a lot of searching I am starting to believe that it's a problem with the device and I am starting to consider to build a homemade "replugger" by cutting the power to the modem with a relay switch. Is this a known problem with these modems?

Ahron, I think you are luckier than me, because your modem reverts to a known mode (it might be a different issue). Have you tried to setup usb_modeswitch_dispatcher to automatically recognise 19d2:2000 and set it to 19d2:0031 again? If usb_modeswitch cannot reswitch it to 19d2:0031 then you could try enabling logging and checking the logs, there might be something there. (for others to see, I am new to this..... :D )

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Post by Josh » 24 May 2011, 08:09

I would say it's either a firmware problem or a power problem.

The latter may arise if the computer doesn't provide enough current - these modems usually require the full maximum power range of a native USB port (500 mA).

Don't use unpowered hubs. Check that the socket is able to provide the full power (especially when using a netbook). If you can, test with a different system.


Post Reply