Fedora Linux Support Community & Resources Center
  #1  
Old 11th June 2012, 06:38 PM
arunpk Offline
Registered User
 
Join Date: Jun 2012
Location: India
Posts: 7
linuxchrome
3G modem @ Fedora 17

My modem (D-Link DWM 156) sometime detect as modem,and some times as storage device.
It will detect as modem only if I reset usb_modeswitch.Please help.

Here is the link to my modem details,like lsusb,modeswitch..etc
http://paste.ubuntu.com/1035846/

Last edited by arunpk; 11th June 2012 at 06:46 PM.
Reply With Quote
  #2  
Old 11th June 2012, 06:45 PM
arunpk Offline
Registered User
 
Join Date: Jun 2012
Location: India
Posts: 7
linuxchrome
Re: 3G modem @ Fedora 17

This is the link to my usb_modeswitch details.
http://paste.ubuntu.com/1035847/
Reply With Quote
  #3  
Old 11th June 2012, 06:45 PM
arunpk Offline
Registered User
 
Join Date: Jun 2012
Location: India
Posts: 7
linuxchrome
Re: 3G modem @ Fedora 17

This is the link to my usb_modeswitch details.
http://paste.ubuntu.com/1035847/
Reply With Quote
  #4  
Old 11th June 2012, 07:44 PM
droidhacker Offline
Registered User
 
Join Date: Oct 2009
Posts: 824
linuxfirefox
Re: 3G modem @ Fedora 17

What's your point/question?
It does that because MORONS might want balmer virus drivers, hence its default state is to provide moron/balmer drivers for a virus that often masquerades as an operating system.
Reply With Quote
  #5  
Old 12th June 2012, 07:06 AM
arunpk Offline
Registered User
 
Join Date: Jun 2012
Location: India
Posts: 7
linuxchrome
Re: 3G modem @ Fedora 17

I want detect my modem,always as modem.NOT as storage device.
Reply With Quote
  #6  
Old 12th June 2012, 08:12 AM
anishjp's Avatar
anishjp Offline
Registered User
 
Join Date: Sep 2009
Location: Johannesburg, South Africa
Posts: 219
windows_7firefox
Re: 3G modem @ Fedora 17

Quote:
Originally Posted by arunpk View Post
I want detect my modem,always as modem.NOT as storage device.
I guess it is not possible! I also have a usb modem that supports storage. Everytime I connect it, it is detected as a storage device first!
__________________
Host Machine
OS: Fedora 18, Desktop: Gnome, Kernel: 3.9.fc18.x86_64, Processor: Intel i3-2100 @ 3.10GHz, RAM: 8GB
Motherboard: ASUS P8H61-M LE/USB3, Display: Mecer LCD 1280x1024, Benq LCD 1280x1024, Hisense LCD 1920x Graphics: ATI Radeon HD 5450
Reply With Quote
  #7  
Old 12th June 2012, 01:07 PM
arunpk Offline
Registered User
 
Join Date: Jun 2012
Location: India
Posts: 7
linuxchrome
Re: 3G modem @ Fedora 17

@ anishjp,in your case it detect as storage device first,then work as modem next.
But,here it is just a storage device,it will not work as modem.It work as modem only after I manually reset usb_modeswitch,using usb_modeswitch -v <device id> -p product id> -R
i want detect it as modem,
Reply With Quote
  #8  
Old 12th June 2012, 02:56 PM
droidhacker Offline
Registered User
 
Join Date: Oct 2009
Posts: 824
linuxfirefox
Re: 3G modem @ Fedora 17

You are missing the point.
Unless you reprogram it (which the manufacturer is sure to have locked you out of), IT will always first present itself as a STORAGE device.
Maybe what you ought to do is write yourself a UDEV rule to unmount it and execute the command to tell it to become a modem....
Reply With Quote
  #9  
Old 12th June 2012, 05:15 PM
bijoyfranco Offline
Registered User
 
Join Date: Jun 2012
Location: India
Posts: 6
linuxfirefox
Re: 3G modem @ Fedora 17

I have bought the same modem. and I am using fedora 16. In my system, it never detect as modem. it always detect as usb storage only. How do i use it as a modem?
Reply With Quote
  #10  
Old 12th June 2012, 06:26 PM
arunpk Offline
Registered User
 
Join Date: Jun 2012
Location: India
Posts: 7
linuxchrome
Re: 3G modem @ Fedora 17

@droidhacker,how can i solve mu issue ? do u have any solution ? [it worked fine for the first 4-5 days,then only it shows problems]

---------- Post added at 10:56 PM ---------- Previous post was at 10:54 PM ----------

@ bijoyfranco.
what is your 'lsusb' output ?? Upgrading will be a solution.[for me it worked fine for the 4-5 days,now only it have problems]
Reply With Quote
  #11  
Old 12th June 2012, 06:49 PM
bijoyfranco Offline
Registered User
 
Join Date: Jun 2012
Location: India
Posts: 6
linuxfirefox
Re: 3G modem @ Fedora 17

my lsusb output is

Bus 002 Device 004: ID 2001:a80b D-Link Corp.
Reply With Quote
  #12  
Old 12th June 2012, 08:47 PM
droidhacker Offline
Registered User
 
Join Date: Oct 2009
Posts: 824
linuxfirefox
Re: 3G modem @ Fedora 17

Quote:
Originally Posted by arunpk View Post
@droidhacker,how can i solve mu issue ? do u have any solution ? [it worked fine for the first 4-5 days,then only it shows problems]

---------- Post added at 10:56 PM ---------- Previous post was at 10:54 PM ----------

@ bijoyfranco.
what is your 'lsusb' output ?? Upgrading will be a solution.[for me it worked fine for the 4-5 days,now only it have problems]
As I suggested, create a udev rule. I suggest looking at the contents of the files located at /etc/udev/rules.d to figure out how.
Reply With Quote
  #13  
Old 12th June 2012, 09:03 PM
arunpk Offline
Registered User
 
Join Date: Jun 2012
Location: India
Posts: 7
linuxchrome
Re: 3G modem @ Fedora 17

@droidhacker

60-fprintautosuspend.rules


SUBSYSTEM=="usb", ATTRS{idVendor}=="147e", ATTRS{idProduct}=="2016", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="08ff", ATTRS{idProduct}=="5501", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="08ff", ATTRS{idProduct}=="2500", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="08ff", ATTRS{idProduct}=="2580", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="00bb", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="00bc", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="00bd", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="00ca", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="05ba", ATTRS{idProduct}=="0007", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="05ba", ATTRS{idProduct}=="0008", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="05ba", ATTRS{idProduct}=="000a", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="061a", ATTRS{idProduct}=="0110", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="147e", ATTRS{idProduct}=="2016", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="147e", ATTRS{idProduct}=="1000", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="08ff", ATTRS{idProduct}=="1600", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="138a", ATTRS{idProduct}=="0001", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="08ff", ATTRS{idProduct}=="2810", ATTRS{dev}=="*", ATTR{power/level}="auto"

90-alsa-tools-firmware.rules

# TASCAM US-428 usb sound card.
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8000", RUN+="/lib/udev/tascam_fw"
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8001", RUN+="/lib/udev/tascam_fpga"

# TASCAM US-224 usb sound card.
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8004", RUN+="/lib/udev/tascam_fw"
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8005", RUN+="/lib/udev/tascam_fpga"

# TASCAM US-122 usb sound card.
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8006", RUN+="/lib/udev/tascam_fw"
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8007", RUN+="/lib/udev/tascam_fpga"
What shoul I do with this ?
Reply With Quote
  #14  
Old 13th June 2012, 06:22 AM
bijoyfranco Offline
Registered User
 
Join Date: Jun 2012
Location: India
Posts: 6
linuxfirefox
Re: 3G modem @ Fedora 17

@droidhacker

Following is my usb_modeswitch.conf file content. It doesnot have any product ID. Do i need to set up usb_modeswitch, first?

================================================== =================
# Configuration for the usb_modeswitch package, a mode switching tool for
# USB devices providing multiple states or modes
#
# This file is evaluated by the wrapper script "usb_modeswitch_dispatcher"
# in /usr/sbin
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
# Everything else counts as "disable"


# Disable automatic mode switching globally (e.g. to access the original
# install storage)

DisableSwitching=0


# Enable logging (results in a extensive report file in /var/log, named
# "usb_modeswitch_<interface-name>" (and probably others)

EnableLogging=0
================================================== ===========

Bijoy
Reply With Quote
  #15  
Old 13th June 2012, 02:50 PM
droidhacker Offline
Registered User
 
Join Date: Oct 2009
Posts: 824
linuxfirefox
Re: 3G modem @ Fedora 17

Quote:
Originally Posted by arunpk View Post
@droidhacker

60-fprintautosuspend.rules


SUBSYSTEM=="usb", ATTRS{idVendor}=="147e", ATTRS{idProduct}=="2016", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="08ff", ATTRS{idProduct}=="5501", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="08ff", ATTRS{idProduct}=="2500", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="08ff", ATTRS{idProduct}=="2580", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="00bb", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="00bc", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="00bd", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="00ca", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="05ba", ATTRS{idProduct}=="0007", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="05ba", ATTRS{idProduct}=="0008", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="05ba", ATTRS{idProduct}=="000a", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="061a", ATTRS{idProduct}=="0110", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="147e", ATTRS{idProduct}=="2016", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="147e", ATTRS{idProduct}=="1000", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="08ff", ATTRS{idProduct}=="1600", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="138a", ATTRS{idProduct}=="0001", ATTRS{dev}=="*", ATTR{power/level}="auto"
SUBSYSTEM=="usb", ATTRS{idVendor}=="08ff", ATTRS{idProduct}=="2810", ATTRS{dev}=="*", ATTR{power/level}="auto"

90-alsa-tools-firmware.rules

# TASCAM US-428 usb sound card.
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8000", RUN+="/lib/udev/tascam_fw"
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8001", RUN+="/lib/udev/tascam_fpga"

# TASCAM US-224 usb sound card.
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8004", RUN+="/lib/udev/tascam_fw"
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8005", RUN+="/lib/udev/tascam_fpga"

# TASCAM US-122 usb sound card.
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8006", RUN+="/lib/udev/tascam_fw"
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="1604", ATTRS{idProduct}=="8007", RUN+="/lib/udev/tascam_fpga"
What shoul I do with this ?
What do you THINK you should do? READ AND UNDERSTAND what those are doing, and write a UDEV rule.
Reply With Quote
Reply

Tags
fedora, modem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora doesn't like my modem velcrosnap Servers & Networking 12 3rd July 2009 10:02 PM
Lucent Win Modem Problem (Sorry guys, another guy with a Win Modem) Linoman Hardware & Laptops 3 13th November 2005 10:45 AM
56k modem and network not dropping when modem switched off Motor Servers & Networking 1 14th September 2005 05:06 PM
FC 64 bit modem driver for smart link modem bhoosuran Using Fedora 3 5th March 2005 01:24 PM


Current GMT-time: 01:39 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat