[karmic] Option iCON 505 3G/HSDPA/UMTS USB modem not recognized

Bug #450997 reported by Magnus Helander
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
modemmanager (Ubuntu)
In Progress
Medium
Unassigned

Bug Description

Binary package hint: udev

Option iCON 505 is not recognized by Karmic / 9.10 Beta
The ICON 505 is a HSUPA/HSDPA/UMTS modem.
http://www.option.com/en/products/products/usb-modems/icon505/specifications/

As I am unable to connect through Ubuntu/Karmic this bug is files from winXP.

- The USB CD-volume on the modem does not mount in Karmic.
- I am unable to "eject sr0"
- I can not get the darn thing to modeswitch

-----------------------
Vendor ID is 0af0
Product ID d055
----------------------------------

-----------------------------------------------------------------
Oct 12 20:37:22 magnus-ubuntu kernel: [ 113.904208] usb 1-3: new high speed USB device using ehci_hcd and address 5
Oct 12 20:37:22 magnus-ubuntu kernel: [ 114.037784] usb 1-3: configuration #1 chosen from 1 choice
Oct 12 20:37:22 magnus-ubuntu kernel: [ 114.126684] hso: /build/buildd/linux-2.6.31/drivers/net/usb/hso.c: 1.2 Option Wireless
Oct 12 20:37:22 magnus-ubuntu kernel: [ 114.127012] usbcore: registered new interface driver hso
Oct 12 20:37:22 magnus-ubuntu kernel: [ 114.156239] Initializing USB Mass Storage driver...
Oct 12 20:37:22 magnus-ubuntu kernel: [ 114.157252] scsi6 : SCSI emulation for USB Mass Storage devices
Oct 12 20:37:22 magnus-ubuntu kernel: [ 114.157977] usbcore: registered new interface driver usb-storage
Oct 12 20:37:22 magnus-ubuntu kernel: [ 114.160017] USB Mass Storage support registered.
Oct 12 20:37:27 magnus-ubuntu kernel: [ 119.157294] scsi 6:0:0:0: CD-ROM ZCOPTION Icon 505 1.00 PQ: 0 ANSI: 4
Oct 12 20:37:27 magnus-ubuntu kernel: [ 119.175914] sr0: scsi-1 drive
Oct 12 20:37:27 magnus-ubuntu kernel: [ 119.175926] Uniform CD-ROM driver Revision: 3.20
Oct 12 20:37:27 magnus-ubuntu kernel: [ 119.180203] sr 6:0:0:0: Attached scsi generic sg1 type 5
Oct 12 20:37:27 magnus-ubuntu kernel: [ 119.353529] sr 6:0:0:0: [sr0] Unhandled error code
Oct 12 20:37:27 magnus-ubuntu kernel: [ 119.353544] sr 6:0:0:0: [sr0] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Oct 12 20:37:28 magnus-ubuntu kernel: [ 119.478244] sr 6:0:0:0: [sr0] Unhandled error code
Oct 12 20:37:28 magnus-ubuntu kernel: [ 119.478260] sr 6:0:0:0: [sr0] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Oct 12 20:37:28 magnus-ubuntu kernel: [ 119.669183] usb 1-3: reset high speed USB device using ehci_hcd and address 5
Oct 12 20:37:28 magnus-ubuntu kernel: [ 119.817888] sr: Sense Key : No Sense [current]
Oct 12 20:37:28 magnus-ubuntu kernel: [ 119.817900] sr: Add. Sense: No additional sense information
Oct 12 20:37:28 magnus-ubuntu kernel: [ 119.819538] sr 6:0:0:0: ioctl_internal_command return code = 8000002
Oct 12 20:37:28 magnus-ubuntu kernel: [ 119.819546] : Sense Key : No Sense [current]
Oct 12 20:37:28 magnus-ubuntu kernel: [ 119.819555] : Add. Sense: No additional sense information
Oct 12 20:37:28 magnus-ubuntu kernel: [ 119.877512] usb 1-3: USB disconnect, address 5
Oct 12 20:37:39 magnus-ubuntu kernel: [ 125.568225] usb 1-3: new high speed USB device using ehci_hcd and address 6
Oct 12 20:37:39 magnus-ubuntu kernel: [ 125.701770] usb 1-3: configuration #1 chosen from 1 choice
Oct 12 20:37:39 magnus-ubuntu kernel: [ 125.706172] scsi7 : SCSI emulation for USB Mass Storage devices
Oct 12 20:37:39 magnus-ubuntu kernel: [ 130.704993] scsi 7:0:0:0: CD-ROM ZCOPTION Icon 505 1.00 PQ: 0 ANSI: 4
Oct 12 20:37:39 magnus-ubuntu kernel: [ 130.715976] sr0: scsi-1 drive
Oct 12 20:37:39 magnus-ubuntu kernel: [ 130.716510] sr 7:0:0:0: Attached scsi generic sg1 type 5
Oct 12 20:37:39 magnus-ubuntu kernel: [ 130.869594] sr 7:0:0:0: [sr0] Unhandled error code
Oct 12 20:37:39 magnus-ubuntu kernel: [ 130.869605] sr 7:0:0:0: [sr0] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Oct 12 20:37:39 magnus-ubuntu kernel: [ 130.869629] __ratelimit: 246 callbacks suppressed
Oct 12 20:37:39 magnus-ubuntu kernel: [ 130.997710] sr 7:0:0:0: [sr0] Unhandled error code
Oct 12 20:37:39 magnus-ubuntu kernel: [ 130.997721] sr 7:0:0:0: [sr0] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Oct 12 20:37:39 magnus-ubuntu kernel: [ 131.156107] usb 1-3: reset high speed USB device using ehci_hcd and address 6
Oct 12 20:37:39 magnus-ubuntu kernel: [ 131.292824] sr 7:0:0:0: ioctl_internal_command return code = 8000002
Oct 12 20:37:45 magnus-ubuntu kernel: [ 131.292832] : Sense Key : No Sense [current]
Oct 12 20:37:45 magnus-ubuntu kernel: [ 131.292841] : Add. Sense: No additional sense information
Oct 12 20:37:45 magnus-ubuntu kernel: [ 131.364737] usb 1-3: USB disconnect, address 6
etc etc etc for address 7, address 8, address 9, address 10.....

------------------------------------------------ /etc/udev/rules.d/70-persistent-cd.rules --------------------------------------
# Icon_505 (pci-0000:00:1d.7-usb-0:3:1.0-scsi-0:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="ZCOPTION_Icon_505-0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1"

# Icon_505 (pci-0000:00:1d.7-usb-0:3:1.0-scsi-0:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="ZCOPTION_Icon_505-0:0", SYMLINK+="cdrom2", ENV{GENERATED}="1"

etc etc etc for cdrom3, cdrom4, cdrom5, cdrom6,

------------------- Debug -----------------------------------------------------------------------------
Oct 12 19:56:06 magnus-ubuntu kernel: [ 957.826706] usb-storage: device found at 5
Oct 12 19:56:06 magnus-ubuntu kernel: [ 957.826720] usb-storage: waiting for device to settle before scanning
Oct 12 19:56:06 magnus-ubuntu kernel: [ 962.824577] usb-storage: device scan complete
Oct 12 19:58:26 magnus-ubuntu kernel: [ 964.431618] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
Oct 12 19:58:31 magnus-ubuntu kernel: [ 1104.184910] usb-storage: device found at 6
Oct 12 19:58:31 magnus-ubuntu kernel: [ 1104.184924] usb-storage: waiting for device to settle before scanning
Oct 12 19:58:31 magnus-ubuntu kernel: [ 1109.184586] usb-storage: device scan complete
Oct 12 19:58:31 magnus-ubuntu kernel: [ 1109.202566] sr 7:0:0:0: Attached scsi CD-ROM sr0
Oct 12 19:58:42 magnus-ubuntu kernel: [ 1115.617431] usb-storage: device found at 7
Oct 12 19:58:42 magnus-ubuntu kernel: [ 1115.617447] usb-storage: waiting for device to settle before scanning
Oct 12 19:58:42 magnus-ubuntu kernel: [ 1120.616550] usb-storage: device scan complete
Oct 12 19:58:43 magnus-ubuntu kernel: [ 1120.632941] sr 8:0:0:0: Attached scsi CD-ROM sr0
etc etc etc forever...

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

This looks like either a kernel issue or hardware issue
(you have the device node, udev has done the right thing)

affects: udev (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Magnus Helander (mhelander) wrote :

I have now made a proper bug report with the reporting tool - that report is available as 452460

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/452460

/magnus

Revision history for this message
richardbraddock (rbraddock-gmail) wrote :

My instructions for 9.04 (2.6.28) should still be relevant -
http://www.up-stream.co.uk/wwanhspamobile-broadband/option-icon-505-under-ubuntu-9-04

We have a few problems here. I've not tested 9.10 personally, but to be honest I'm not overly confident about the hso driver currently in Kernels .31 and above. I had tremendous issues with .31 at least and didn't see a changelog that leads me to believe .32 has made a difference. Using younger kernels is advantageous with this adapter because it is then possible to compile the driver over at Pharscape.

Remember you don't want the CD partition to mount. If it does, then the modem will never be detected. Install Ozerocdoff and set the appropriate udev rules to allow the device to be picked up as a modem. Do not use usb_modeswitch for Option devices like this.

Revision history for this message
Brian R (brian-rardin-deactivatedaccount-deactivatedaccount) wrote :

This symptoms look similar to Bug #448292

Revision history for this message
richardbraddock (rbraddock-gmail) wrote :

Brian - I can't see a major similarity to be honest. The bug you listed is to do with a modem being detected correctly, but simply not being recognised properly past that (see syslog for ttyUSB messages)

In this case the device is being claimed by usb-storage, thus it never gets 'seen' as a modem.

The user needs to follow the instructions I have posted to use ozerocdoff (Option provided package with functionality similar to usb_modeswitch) to throw the device into modem mode, and let it be detected by the system as that particular type of device. Then the Option High Speed Driver (HSO) will claim and mount as ttyHSx.

The bigger problem is that HSO is broken in Kernels 2.6.31 & 2.6.32, and the working driver under <2.6.31 cannot be compiled on newer kernels. That problem is discussed here - http://www.pharscape.org/forum/index.php/topic,784.0.html

Revision history for this message
Magnus Helander (mhelander) wrote :
Download full text (7.8 KiB)

- I installed Ozerocdoff and the modem is now successfully mouted to the system.
- I also installed HSO driver 1.12.
- The ICON Option 505 modem now shows up in Network Connections and I can enter a connection.
- I have successfully used minicom and opened up a serial connection to the modem, and with AT commands established a 3G connection.
- The modem-manager, however, does not want to talk to this modem....

How can I script the modem manager to talk to the Option Icon505?

---------------------------
DEBUG LOG

Nov 9 20:28:02 magnus-ubuntu modem-manager: (ttyHS3): probe requested by plugin 'Option High-Speed'
Nov 9 20:28:02 magnus-ubuntu modem-manager: (ttyHS1): probe requested by plugin 'Option High-Speed'
Nov 9 20:28:02 magnus-ubuntu modem-manager: (ttyHS0): probe requested by plugin 'Option High-Speed'
Nov 9 20:28:02 magnus-ubuntu modem-manager: (ttyHS2): probe requested by plugin 'Option High-Speed'
Nov 9 20:28:02 magnus-ubuntu modem-manager: Added modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1
Nov 9 20:28:03 magnus-ubuntu modem-manager: Got failure code 100: Unknown error
Nov 9 20:28:06 magnus-ubuntu modem-manager: Got failure code 100: Unknown error
Nov 9 20:28:06 magnus-ubuntu modem-manager: Exported modem /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1 as /org/freedesktop/ModemManager/Modems/0
Nov 9 20:28:07 magnus-ubuntu modem-manager: Got failure code 100: Unknown error
Nov 9 20:28:08 magnus-ubuntu modem-manager: Got failure code 100: Unknown error

KERN.LOG
Nov 9 20:27:59 magnus-ubuntu kernel: [ 121.732207] usb 1-1: new high speed USB device using ehci_hcd and address 4
Nov 9 20:28:00 magnus-ubuntu kernel: [ 121.865899] usb 1-1: configuration #1 chosen from 1 choice
Nov 9 20:28:01 magnus-ubuntu kernel: [ 123.013773] usb 1-1: USB disconnect, address 4
Nov 9 20:28:01 magnus-ubuntu kernel: [ 123.288170] usb 1-1: new high speed USB device using ehci_hcd and address 5
Nov 9 20:28:01 magnus-ubuntu kernel: [ 123.421899] usb 1-1: configuration #1 chosen from 1 choice
Nov 9 20:28:02 magnus-ubuntu kernel: [ 124.164493] hso: /build/buildd/linux-2.6.31/drivers/net/usb/hso.c: 1.2 Option Wireless
Nov 9 20:28:02 magnus-ubuntu kernel: [ 124.169952] hso0: Disabled Privacy Extensions
Nov 9 20:28:02 magnus-ubuntu kernel: [ 124.172986] usbcore: registered new interface driver hso
Nov 9 20:28:02 magnus-ubuntu kernel: [ 124.279140] Initializing USB Mass Storage driver...
Nov 9 20:28:02 magnus-ubuntu kernel: [ 124.279618] usbcore: registered new interface driver usb-storage
Nov 9 20:28:02 magnus-ubuntu kernel: [ 124.279643] USB Mass Storage support registered.

SYSLOG
Nov 9 20:28:02 magnus-ubuntu kernel: [ 124.164493] hso: /build/buildd/linux-2.6.31/drivers/net/usb/hso.c: 1.2 Option Wireless
Nov 9 20:28:02 magnus-ubuntu kernel: [ 124.169952] hso0: Disabled Privacy Extensions
Nov 9 20:28:02 magnus-ubuntu kernel: [ 124.172986] usbcore: registered new interface driver hso
Nov 9 20:28:02 magnus-ubuntu kernel: [ 124.279140] Initializing USB Mass Storage driver...
Nov 9 20:28:02 magnus-ubuntu kernel: [ 124.279618] usbcore: registered new interface driver usb-storage
Nov 9 20:28:02 magnus-ubuntu kernel: [ 1...

Read more...

Revision history for this message
Magnus Helander (mhelander) wrote :

With Ozerocdoff the modem is mounted correctly, and with the HSO drive it is available as ttyHS0, ttyHS1 and tyytHS2. The modem manager can not talk to the modem..

affects: linux (Ubuntu) → modemmanager (Ubuntu)
Revision history for this message
phillamg (me-phillg) wrote :

As the other bug is listed as incomplete, I'll re-post my comment here too:

I have a cleaner solution working under lucid and the latest kernel (2.3.32-19) that has the modem recognised and connect via the Network Manager applet.

I need to install ozerocdoff and hsolink (but not the one from lucid) and add the two entries to udev.rules, all from this post:
http://ubuntuforums.org/showpost.php?p=8533114&postcount=6

Wouldn't this suggest that udev is at fault as it is not recognising the device without the additional lines being added?

Also for some reason beyond me, the version of hsolink in lucid (1.0.118-3) doesn't seem to work and I have to use the deb from the link above (1.0.118-1). Not sure why, sorry!

piotr zimoch (ebytyes)
Changed in modemmanager (Ubuntu):
status: Triaged → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.