LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mobile getting switched off by USB (https://www.linuxquestions.org/questions/linux-newbie-8/mobile-getting-switched-off-by-usb-674723/)

abhishekkumar 10-06-2008 11:29 PM

mobile getting switched off by USB
 
I've samsung SCH N191 mobile which acts as modem also. As soon as I connect my mobile with the P.C. running linux (Opensuse 11.0 or Mandriva Spring 2008), it gets switched off. When I switch it on again, the same thing happens. Plz help me as I'm not able to connect to internet through my mobile in linux.

GlennsPref 10-07-2008 06:48 PM

Hi, sounds like you need to switch modes for the usb modem.

usb_storage or usbserial

Check this out...
Code:

# /etc/usb_modeswitch.conf
#
# Last modified: 2008-05-06
#
# Configuration for usb_modeswitch, a mode switching tool for controlling
# flip flop (multiple device) USB gear
#
# Triggers the switching of several known UMTS modems from storage device mode
# ("ZeroCD TM" for use with MS Windows) to modem (serial) device mode
#
# Detailed instructions and a friendly forum on the homepage:
# http://www.draisberghof.de/usb_modeswitch

# Note: Timing of execution might be an issue (less so with recent
# versions of the tool). See homepage!

# What it all means:
#
# * DefaultVendor
# * DefaultProduct
#
# This is the ID the USB device shows after having been plugged in.
# The tool looks for this; if not found -> no action.
#

There is also a command rmmod, but you'll have to check on it's modern-day usage.

I use a huawei e220 usb 3g modem and had similar problems at first.
I have an example somewhere...(as soon as I find my reference, I will post it here.)

<edit> Check the module usage configs here...
https://www.blogger.com/comment.g?bl...59927774&pli=1
</edit>

For now, Glenn

Try this, rmmod -w usb_storage

The -w , allows all using the module to continue, but no new modules.

if the module is using usb_storage and not usbserial power management.

Hope this helps, remember to read up on the rmmod command first!

Also, lsusb and lspci may give more details.

Cheers, Glenn


All times are GMT -5. The time now is 08:42 PM.