LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2008, 11:29 PM   #1
abhishekkumar
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
Exclamation 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.
 
Old 10-07-2008, 06:48 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos slackware64 tails kali
Posts: 3,372
Blog Entries: 33

Rep: Reputation: 217Reputation: 217Reputation: 217
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

Last edited by GlennsPref; 10-07-2008 at 07:54 PM. Reason: rmmod -w usb_storage
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
use usb mobile hard disk yumener Linux - Hardware 1 12-13-2005 04:49 AM
Problem with mobile and USB Lars79 Slackware 4 11-08-2005 03:39 PM
usb port mobile phone Ipolit Linux - Hardware 1 10-14-2005 08:08 AM
mobile over usb port the_imax Linux - General 0 05-04-2005 03:50 AM
USB access from Mobile RenjithV Linux - Laptop and Netbook 1 11-29-2004 07:35 AM


All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration