Bug 1810 - Orange Icon 225 3G+ key not recognised (Option N.V. Globetrotter HSDPA Modem)
Summary: Orange Icon 225 3G+ key not recognised (Option N.V. Globetrotter HSDPA Modem)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: 1
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: http://www.mageialinux-online.org/for...
Whiteboard:
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2011-06-15 15:09 CEST by Nathalie Guillemain
Modified: 2011-10-10 09:12 CEST (History)
4 users (show)

See Also:
Source RPM: hso-rezero
CVE:
Status comment:


Attachments

Description Nathalie Guillemain 2011-06-15 15:09:25 CEST
Description of problem:
When I try to connect my Orange Icon 225 3G+ key I get in the Mageia Control Center GPRS/Edge/3G
Select the network interface to configure
hso0: Option N.V. Globetrotter HSDPA Modem 
the error message: 
Some packages (hso-rezero) are required but aren't available. 
These packages can be found in non-free, or in the official  package repository.
The following component is missing: /usr/sbin/rezero
The required files can also be installed from this URL:
http://www.pharscape.org/

Version-Release number of selected component (if applicable):
hso-rezero
In order to solve the problem as this "rpm" was missing in the sources I  installed: the Mandriva ones: hso-rezero-0.1-7mdv2010.1.i586.rpm on my Eeepc 901 and the hso-rezero-0.1-7mdv2010.1.x86_64.rpm on my desktop PC.

How reproducible:
There is a bug with the Mandriva hso-rezero-0.1-7mdv2010.1.i586.rpm and hso-rezero-0.1-7mdv2010.1.x86_64.rpm which was not corrected, I beleive, with the 2010.1 or 2010.2!
Once installed, if I try to launch my 3D+ key I get the error message in the Mageia Control Center: Can't find /dev/ttyHS
It should find: /dev/ttyHS0
A solution was proposed in the Mandriva forum :Clé 3G+ orange reconnu mais problème ttyHS
http://forum.mandriva.com/fr/viewtopic.php?f=124&t=130182&p=848107&hilit=hso+rezero#p848107
A solution consists in adding the line:
KERNEL=="ttyHS*", NAME="ttyHS"
at the end of the file /etc/udev/rules.d/49_hso-udev.rules

Steps to Reproduce:
1.Install hso-rezero-0.1-7mdv2010.1.i586.rpm or hso-rezero-0.1-7mdv2010.1.x86_64.rpm according to hardware platform
2.In the console, as administrator, add the line: KERNEL=="ttyHS*", NAME="ttyHS"
at the end of the /etc/udev/rules.d/49_hso-udev.rules file
3.Re-start the computer, return in the Mageia Control Center, select the network interface to configure, GPRS/Edge/3G, then enter key pin number, choose the net, enter parameters and it shoukd be OK an running.
Comment 1 Ahmad Samir 2011-07-09 14:43:16 CEST
hso-rezero-0.1-9.mga1 should land in the core/updates_testing repository soon, please test.
Comment 2 Nathalie Guillemain 2011-07-12 14:30:12 CEST
I've installed hso-rezero-0.1-9.mga1, but there is still the same error message in the Mageia Control Center: Can't find /dev/ttyHS

It should find: /dev/ttyHS0

Once more I had to add : KERNEL=="ttyHS*", NAME="ttyHS" at the end of the file /etc/udev/rules.d/49_hso-udev.rules to have my Orange 3D+ key working !
Comment 3 Ahmad Samir 2011-07-12 17:06:35 CEST
There is this line in the udev rule file:
KERNEL=="ttyHS?", MODE="0666", OWNER="root", GROUP="root"

could you try moving it to the bottom of the file, and remove the line you added, see if it works (this is the udev rule from the upstream website...).
Comment 4 Nathalie Guillemain 2011-07-12 19:03:47 CEST
Ahmad, as you asked me I tried :

ACTION!="add", GOTO="hso_end"

#SUBSYSTEMS=="scsi",ATTRS{vendor}=="ZCOPTION", RUN+="/sbin/modprobe sg"

SUBSYSTEM!="usb", GOTO="hso_end"

# send rezero command via usb_storage driver for all ZCOPTION devices
SUBSYSTEMS=="usb", ATTRS{idProduct}=="6971", ATTRS{idVendor}=="0af0",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="6911", ATTRS{idVendor}=="0af0",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="1000", ATTRS{idVendor}=="05c6",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="1003", ATTRS{idVendor}=="12d1",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="1001", ATTRS{idVendor}=="12d1",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"

LABEL="hso_end"
KERNEL=="ttyHS?", MODE="0666", OWNER="root", GROUP="root"

I got the error message : can't open /dev/ttyHS

I changed it again to :

ACTION!="add", GOTO="hso_end"

#SUBSYSTEMS=="scsi",ATTRS{vendor}=="ZCOPTION", RUN+="/sbin/modprobe sg"

SUBSYSTEM!="usb", GOTO="hso_end"

# send rezero command via usb_storage driver for all ZCOPTION devices
SUBSYSTEMS=="usb", ATTRS{idProduct}=="6971", ATTRS{idVendor}=="0af0",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="6911", ATTRS{idVendor}=="0af0",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="1000", ATTRS{idVendor}=="05c6",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="1003", ATTRS{idVendor}=="12d1",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="1001", ATTRS{idVendor}=="12d1",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"

LABEL="hso_end"
KERNEL=="ttyHS*", NAME="ttyHS"

and it works with my Orange 3D+ key.

Before I also tried 

KERNEL=="ttyHS*", MODE="0666", OWNER="root", GROUP="root"
 changing "ttyHS?" by "ttyHS*" which gave the error message and also

KERNEL=="ttyHS*", NAME="ttyHS", MODE="0666", OWNER="root", GROUP="root"

though I do't get the error message it blocks after the pin number !
Manuel Hiebel 2011-07-30 21:09:47 CEST

Source RPM: hso-rezero-0.1-7mdv2010.1.i586.rpm, hso-rezero-0.1-7mdv2010.1.x86_64.rpm => hso-rezero

Comment 5 Ahmad Samir 2011-07-31 08:17:56 CEST
Sorry for the delay.

Please test the next package, it adds the NAME="ttyHS" bit.

CC: (none) => ahmadsamir3891

Comment 6 Ahmad Samir 2011-07-31 08:22:33 CEST
Before testing the next package, make sure the udev rule you have locally works, then post the output of:
ls -l /dev/ttyHS*
Comment 7 Nathalie Guillemain 2011-07-31 17:44:31 CEST
Thank you for trying to solve the problem !

Before testing the new package I tried:
 
[root@localhost documents]# ls -l /dev/ttyHS*
crw-rw----1 root dialout 250, 0 juil. 31 16:35 /dev/ttyHS
crw-------1 root root    250, 0 juil. 31 16:35 /dev/ttyHS0
crw-------1 root root    250, 1 juil. 31 16:35 /dev/ttyHS1
crw-------1 root root    250, 2 juil. 31 16:35 /dev/ttyHS2
crw-------1 root root    250, 3 juil. 31 16:35 /dev/ttyHS3
[root@localhost documents]#

I distinstalled the previous version and installed the new one hso-rezero-0.1-10.mga1.x86_64.rpm

And I got :

[root@localhost documents]# ls -l /dev/ttyHS*
crw-------1 root dialout 250, 0 juil. 31 17:01 /dev/ttyHS0
crw-------1 root dialout 250, 1 juil. 31 16:35 /dev/ttyHS1
crw-------1 root dialout 250, 2 juil. 31 16:35 /dev/ttyHS2
crw-------1 root dialout 250, 3 juil. 31 16:35 /dev/ttyHS3
[root@localhost documents]#
But when I try my key again once more I got the error message : can't open /dev/ttyHS

So I move the line :

KERNEL=="ttyHS*", NAME="ttyHS", MODE="0666", OWNER="root", GROUP="root"

and it works

ACTION!="add", GOTO="hso_end"

#SUBSYSTEMS=="scsi",ATTRS{vendor}=="ZCOPTION", RUN+="/sbin/modprobe sg"

SUBSYSTEM!="usb", GOTO="hso_end"

# send rezero command via usb_storage driver for all ZCOPTION devices
SUBSYSTEMS=="usb", ATTRS{idProduct}=="6971", ATTRS{idVendor}=="0af0",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="6911", ATTRS{idVendor}=="0af0",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="1000", ATTRS{idVendor}=="05c6",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="1003", ATTRS{idVendor}=="12d1",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"
SUBSYSTEMS=="usb", ATTRS{idProduct}=="1001", ATTRS{idVendor}=="12d1",KERNEL=="sg[0-9]*", RUN+="/usr/sbin/rezero /dev/%k"

LABEL="hso_end"
KERNEL=="ttyHS*", NAME="ttyHS", MODE="0666", OWNER="root", GROUP="root"

It seems that this line must be after : LABEL="hso_end"

and this time I got:

[root@localhost documents]# ls -l /dev/ttyHS*
crw-rw-rw-1 root dialout 250, 1 juil. 31 17:25 /dev/ttyHS
crw-------1 root root    250, 0 juil. 31 17:15 /dev/ttyHS0
crw-------1 root root    250, 1 juil. 31 17:15 /dev/ttyHS1
crw-------1 root root    250, 2 juil. 31 17:15 /dev/ttyHS2
crw-------1 root root    250, 3 juil. 31 17:15 /dev/ttyHS3
[root@localhost documents]#
Comment 8 Ahmad Samir 2011-07-31 18:08:52 CEST
OK, next package moves the KERNEL line after the LABEL one.
Comment 9 Nathalie Guillemain 2011-07-31 18:27:45 CEST
OK, fine
Comment 10 Nathalie Guillemain 2011-08-06 20:11:05 CEST
I've just tried your new package hso-rezero-0.1-11.mga1.x86_64.rpm, it does work all right !
Comment 11 David GEIGER 2011-08-22 14:04:54 CEST
I confirm what Nathalie Guillemain said, I tested on Mageia release 1 (Official) for x86_64, and it works fine with my "Orange âHUAWEI Mobile 3G/3G+" key.
 
$ rpm -qa | grep hso-rezero
hso-rezero-0.1-11.mga1

So,For me it's Ok.

CC: (none) => geiger.david68210

Comment 12 Nathalie Guillemain 2011-08-22 14:36:03 CEST
Sorry Davidmy key is "Orange Icon 225 3G+" and not "Orange âHUAWEI Mobile 3G/3G+"

http://assistance.orange.fr/la-cle-3g-icon-225-2870.php

So it works fine with  my Orange Icon 225 3G+ key.

Thank you
Comment 13 Manuel Hiebel 2011-10-09 14:55:41 CEST
mh another missing for the QA :(

package: hso-rezero-0.1-11.mga1

Assignee: bugsquad => qa-bugs

Comment 14 claire robinson 2011-10-09 15:06:16 CEST
This has been well tested x86_64 but should also be tested i586 to validate.

It requires specific hardware, can either of you, David & Nathalie, test i586? 

Perhaps even with a live CD with the update applied.

Thankyou
Comment 15 Nathalie Guillemain 2011-10-09 18:21:35 CEST
Sorry,

I forgot to confirm :

I installed hso-rezero-0.1-11.mga1.i586.rpm on my EeePC and it works as well.
 
And hso-rezero-0.1-11.mga1.x86_64.rpm is installed on my Acer desktop PC !
Comment 16 claire robinson 2011-10-09 19:51:23 CEST
Thanks Nathalie!

Validating the update.

Advisory
-----------------
This update corrects an issue with the udev settings for the HUAWEI Mobile 3G/3G+ USB device.
-----------------

SRPM: hso-rezero-0.1-11.mga1.src.rpm


Could sysadmin please push from core/updates_testing to core/updates.

Thankyou!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 17 D Morgan 2011-10-10 09:12:40 CEST
update pushed.

Status: NEW => RESOLVED
CC: (none) => dmorganec
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.