Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use a sam9-l9260-board (ARM). There i installed usb_modeswitch for the huawei e220.
I configured the usb_modeswitch.conf:
Code:
# 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>"
EnableLogging=0
# choose one of these:
#DetachStorageOnly=1
DefaultVendor=0x12d1
DefaultProduct=0x1003
#TargetClass=0xff
CheckSuccess=20
HuaweiMode=1
i tried many different configurations. nothing worked.
Looking for target devices ...
searching devices, found USB ID 12d1:1003
found matching vendor ID
found matching product ID
target class ff matching
adding device
searching devices, found USB ID 07d1:3c03
searching devices, found USB ID 0424:2514
searching devices, found USB ID 1d6b:0001
Found devices in target mode or class (1)
Looking for default devices ...
searching devices, found USB ID 12d1:1003
found matching vendor ID
found matching product ID
target class ff matching
not adding device as default
searching devices, found USB ID 07d1:3c03
searching devices, found USB ID 0424:2514
searching devices, found USB ID 1d6b:0001
No devices in default mode or class found. Nothing to do. Bye.
i searched and i searched. the answer is very easy:
i had to compile USB_SERIAL_OPTION as a module.
description:
Code:
...
Say Y here if you have a GSM or CDMA modem that's connected to USB.
This driver also supports several PCMCIA cards which have a
built-in OHCI-USB adapter and an internally-connected GSM modem.
The USB bus on these cards is not accessible externally.
Supported devices include (some of?) those made by:
Option, Huawei, Audiovox, Novatel Wireless, or Anydata.
...
i searched and i searched. the answer is very easy:
i had to compile USB_SERIAL_OPTION as a module.
description:
Code:
...
Say Y here if you have a GSM or CDMA modem that's connected to USB.
This driver also supports several PCMCIA cards which have a
built-in OHCI-USB adapter and an internally-connected GSM modem.
The USB bus on these cards is not accessible externally.
Supported devices include (some of?) those made by:
Option, Huawei, Audiovox, Novatel Wireless, or Anydata.
...
If this isn't the case for your system, you'll need to recompile your kernel with this option set. There are lots of tutorials on compiling your own kernel. It's quite fun, but I have only had to do it three times, so I have had to go and find a HOWTO every time.
If this isn't the case for your system, you'll need to recompile your kernel with this option set. There are lots of tutorials on compiling your own kernel. It's quite fun, but I have only had to do it three times, so I have had to go and find a HOWTO every time.
Oh great, I do have that installed because I got the same output that you did.
Well, I'll tell you what I'm trying to do. I'm trying to get a Cisco Valet Connector AM-10 to work. It's one of those ZeroCD USB devices. Maybe I should just start a new thread. But I followed the steps here. Mmm. I'm going to keep looking for threads. I'm running Ubuntu 11.04. Hmm, I'll look around these forums.
But you really should start a new thread, because yours is a different problem, and also threads like this one, that are marked as "solved", tend not to be read by people looking to answer questions.
For future postings, please post the Vendor:Product IDs of your USB device (these will also help you with your searches for solutions).
lsusb
Should list the device's IDs.
Welcome to LQ.
Last edited by tredegar; 07-21-2011 at 10:57 AM.
Reason: clarity
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.