Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
jodel
Posts: 2
Joined: 09 Nov 2012, 01:48

Raspberry Pi and Huawei E353

Post by jodel » 09 Nov 2012, 02:29

Hi,
I have a Raspberry Pi computer running Raspbian (a version of Debian). I have installed usb_modeswitch and it works perfectly provided I have the E353 modem powered up before I boot the computer. It also works if I reboot the computer. However if I start both the computer and the E353 at the same time, as I normally do, usb_modeswitch does not switch the E353. Lsusb lists it as usb storage. It does however work if I plug in and out the E353.

I would like to have it work on the first boot as the computer is at a different location and there is no one there to switch on the E353 first, or to reboot it or to plug in and out the E353.

I think it may be related to the E353 not being ready at the time modeswitch is called at boot up.
When it fails to switch on boot, I subsequently tried to run usb_modeswitch from the command line. I have attached the file containing the output.

Any suggestions as to how I might get it to work on first boot?
Thanks,
Jodel
Attachments
error.txt
(1.69 KiB) Downloaded 756 times

jodel
Posts: 2
Joined: 09 Nov 2012, 01:48

Re: Raspberry Pi and Huawei E353

Post by jodel » 09 Nov 2012, 20:48

I managed to resolve the problem using the code at this link to reset all the usb devices after boot.
http://plopez.nfshost.com/usbreset

Jodel

Post Reply