LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-17-2008, 01:43 PM   #1
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
Connecting and firing up a USB HSDPA modem on Fedora 9


Hey there..

I have an Opticon iCon 225 USB modem (GPRS/HSDPA) which I'm currently trying to get running on my laptop.
Running Fedora 9 on a 2.6.26.5-45.fc9.i686 kernel.

From what I've read, after plugging in, a new type of connection should appear in NetworkManager. Nothing like that happens, all I get is a window displaying the contents of the modem's built-in memory. Dmesg output is a mystery to me:
Code:
usb 2-1: new full speed USB device using ohci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
usb 2-1: New USB device found, idVendor=0af0, idProduct=6971
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: Globetrotter HSDPA Modem  
usb 2-1: Manufacturer: Option N.V.
usb 2-1: SerialNumber: Serial Number
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 3:0:0:0: CD-ROM            ZCOPTION HSDPA Modem      3.00 PQ: 0 ANSI: 2
sr1: scsi-1 drive
sr 3:0:0:0: Attached scsi CD-ROM sr1
sr 3:0:0:0: Attached scsi generic sg2 type 5
ISO 9660 Extensions: Microsoft Joliet Level 1
ISOFS: changing to secondary root
SELinux: initialized (dev sr1, type iso9660), uses genfs_contexts
I have read about people having trouble with Linux recognizing and setting up the modem as a flash drive only, but here, dmesg seems to correctly recognize it as a modem. Still, NetworkManager shows only wlan networks. How should I get this modem up and running?

I have to admit I'm completely new to this stuff, never had to set up any modem at all - since my whole life was wlan/wired based

I hope you guys help me out a bit, thanks in advance!
 
Old 10-18-2008, 03:29 AM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
When you run lsmod do USB _SERIAL_OPTION and USB _SERIAL show up;
http://snippets.aktagon.com/snippets...Max-7-2-ready-
 
Old 10-18-2008, 04:51 AM   #3
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
See if the usb_storage driver is also running (lsmod | grep storage)
If the storage driver is running and hijacks the modem, you will not be able to get it to work. In principle this is a hardware design fault of the modem (it does not comply with the USB spec); unfortunately we're cursed with such things because the manufacturers happen to be able to get their stuff running under winduhs.

If the storage driver is running, try:
rmmod option usb_serial usb_storage

Then try:
modprobe option

There may be a race between the usb_storage taking control and usb_serial+option taking control. There's a lot of bad history in there too; these modems were meant to provide a little flash storage which retailers could use to load up their software to set up your connection and stuff like that. (Well, it's more like hijack your browsers really - so I don't complain that ISPs don't support Linux.) Of 4 different retailers I've seen, they all say DON'T use the software on that storage device - so the point seems to be to annoy end-users. There is also the danger that the device is preloaded with malware (aside from the ISPs usual malware). Now why do things go horribly wrong in Linux? When the device is attached and probed it responds with "I'm a serial port" and soon after "I'm a storage device". Well, a device can't be both if you follow the USB spec. The exception (at least one example) would be if you advertise as a HID, then you can be probed to see which HID features you support. What the devices *should* have done is advertise as a USB hub, then the serial port and storage device could be individually probed. The alternative is to let two drivers control a single USB device - apparently you can do that on winduhs. I can't see anyone convincing Linus that it's an acceptable design.
 
Old 10-18-2008, 11:12 AM   #4
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231

Original Poster
Blog Entries: 1

Rep: Reputation: 42
Thank you both for your replies, the problem is solved now thanks to this guide.

pinniped, thanks for all that insightful information, I really like to get the idea of what is actually going on. That's exactly what had been happening when I plugged in the modem - the usbstorage module was being automatically loaded into the kernel and the whole procedure would just stop there. Before I found HSOconnect I blacklisted the usbstorage module, added an appropriate "options" entry for usb_serial (vendor= & product=) in modprobe.conf. Apart from getting the modem the be recognized properly (that's not really the right word since it is both a modem and flash drive..) and mounted on /dev/ttyUSB0 I couldn't get wvdial or comgt to communicate with it - the former would just spit out a "cannot communicate with modem" error, while the latter would try to scare me with a faulty SIM card..

Thanks again.
 
  


Reply



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
ADSL USB Modem / Router connecting ( through USB ) but cannot connect to internet DJ Shaji Linux - Networking 1 03-28-2008 03:24 AM
E220 HSDPA USB Modem driver alrawab Linux - Hardware 1 03-08-2008 11:00 PM
Haldaemon causing problems with my Huawei E220 USB HSDPA modem. redarrow Linux - General 3 01-06-2008 08:45 AM
Installing ZTE MF620 HSDPA USB Modem melinda_sayang Linux - Hardware 0 10-18-2007 10:37 PM
Need help on data cards connecting 3G, HSDPA, GPRS depam Linux - Software 5 10-11-2006 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:50 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
Open Source Consulting | Domain Registration