LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-24-2015, 03:41 PM   #1
puntino
Member
 
Registered: Sep 2006
Location: Italy
Distribution: Suse 10.1
Posts: 78

Rep: Reputation: 15
Linux detaches modem unexpectedly


Hi,
I have a Siemens HC25 modem on my board on which there is the following linux version
Linux version 3.13.6-porteus (root@porteus) (gcc version 4.8.2 (GCC) ) #2 SMP PREEMPT Fri Jun 13 15:44:09 CEST 2014

This modem, when the OS boots, it's configured as a mass storage, after several attempts we managed to turn it into modem mode.
lsusb shows correctly the device:

Bus 003 Device 007: ID 0681:0047 Siemens Information and Communication Products


But, after sometime Linux recognizes it as mass storage again
(this happens pure randomly, sometimes it is minutes others is hours).
Some say this happens when the sub device is idle, in this case it is powered off. Actually, it is not powered off because I can list it with lsusb and unfortunately it's product id is the one used when in mass storage modem.

Bus 003 Device 007: ID 0681:0041 Siemens Information and Communication Products

How can I avoid that the usb device turn into a mass storage? Why it happen?
Thank you in advance.
 
Old 11-24-2015, 07:07 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
There should be a message in the kernel message buffer when that happens. Run dmesg immediately after you detect this change and look for a recent related message. Or check the system log (/var/log/messages or /var/log/syslog on most distros).
 
  


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
[SOLVED] badblocks command detaches USB HDD eternalnewbee Linux - General 1 11-08-2015 04:46 PM
Machine shutdown unexpectedly unexpectedly pinga123 Linux - Newbie 1 02-25-2011 03:48 PM
Mouse stops working fully after screen detaches Anithen Slackware 11 07-28-2008 04:54 AM
Query: connect with ex. ser. modem pppd died unexpectedly Hal Linux - Networking 2 07-03-2004 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:33 PM.

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
Open Source Consulting | Domain Registration