perazim | 2 Sep 16:53 2011
Picon

New USB 3G modem

I have a "generic" USB modem labeled "HSDPA  3.5G Wireless Modem" bought
from Deal Extreme in Hong Kong.

It works on Windows XP and installs its own drivers when plugged the
first time.

When plugged to Fedora 14, I see a CDROM detected and a USB storage
device if a microSDHC is plugged into the slot on the modem. I do not
see usb_modeswitch run and NetworkManager does not see this modem.

Using lsusb I see: ID 0685:7000 with no description whatever. There is
no file by this name in /etc/usb_modeswitch.d/

How do I add this modem to the appropriate tables so that it is
detected?

Thanks,

Perazim
Dan Williams | 8 Sep 19:42 2011
Picon

Re: New USB 3G modem

On Fri, 2011-09-02 at 15:53 +0100, perazim <at> portugalmail.pt wrote:
> I have a "generic" USB modem labeled "HSDPA  3.5G Wireless Modem" bought
> from Deal Extreme in Hong Kong.
> 
> It works on Windows XP and installs its own drivers when plugged the
> first time.
> 
> When plugged to Fedora 14, I see a CDROM detected and a USB storage
> device if a microSDHC is plugged into the slot on the modem. I do not
> see usb_modeswitch run and NetworkManager does not see this modem.

usb_modeswitch needs the right logic to flip the device to modem mode,
without that there's no change ModemManager can detect the modem,
because it's not a modem yet.  After that, we may need to implement
support for this device's specific quirks.  I usually ask users to
zip/gzip up the contents of the "fake" driver CD and email it to me so
that I can inspect the drivers and the connection manager and determine
what AT commands (and thus what firmware variant) the device uses.  Then
we can implement more than basic support for the device.

> Using lsusb I see: ID 0685:7000 with no description whatever. There is
> no file by this name in /etc/usb_modeswitch.d/
> 
> How do I add this modem to the appropriate tables so that it is
> detected?

If there is no entry for that device in usb_modeswitch's /etc directory,
then you'll need to communicate first with the usb_modeswitch project
and determine the sequence to flip the device to modem mode.  That might
include installing a USB sniffer in Windows and sniffing the command
(Continue reading)

perazim | 8 Sep 21:45 2011
Picon

Re: New USB 3G modem

Dan, I am also working with the openWRT router project to get this  
modem working.

After posting to that forum, someone came forward regarding this modem.
They stated that usb_modeswitch was NOT used for this device and the
modem was to be found on /dev/ttyUSB0. I have noticed that on windows
that the drivers are installed everytime this device is plugged and
this seems to confirm the non-use of usb_modeswitch. Also the is no evidence
of usb_modeswitch in the syslog.

On openWRT I was able to get this to connect once and pass traffic but
it seems that I messed something up later.

Shall I make a copy of the fake driver CD for you now?

Thanks,

Perazim

On Fri, 2011-09-02 at 15:53 +0100, perazim <at> portugalmail.pt wrote:
> I have a "generic" USB modem labeled "HSDPA  3.5G Wireless Modem" bought
> from Deal Extreme in Hong Kong.
>
> It works on Windows XP and installs its own drivers when plugged the
> first time.
>
> When plugged to Fedora 14, I see a CDROM detected and a USB storage
> device if a microSDHC is plugged into the slot on the modem. I do not
> see usb_modeswitch run and NetworkManager does not see this modem.

(Continue reading)

Picon

Re: New USB 3G modem

Hi Perazim,
	There's a few things you can do to get started:

try doing:
lsusb -v -d 0685:7000 # paste the log here

sudo su - # to become root, then
modprobe -a option
echo "0685 7000" > /sys/bus/usb-serial/drivers/option1/new_id
ls -l /dev/ttyUSB* # see if you have tty devices

if you have then try using 'screen' to talk to them in turn
(you might have to install it)
screen /dev/ttyUSB0
ATI3
Ctrl-A k y

screen /dev/ttyUSB1
ATI3
Ctrl-A k y

and repeat until finished, note which ports respond to ATI3, and which don't

Hope that helps,

Andrew

On Thursday 08 September 2011, perazim <at> portugalmail.pt wrote:
> Dan, I am also working with the openWRT router project to get this
> modem working.
(Continue reading)

perazim | 11 Sep 12:48 2011
Picon

Re: New USB 3G modem

Here are the results:

On Thu, 2011-09-08 at 21:40 +0100, Andrew Bird (Sphere Systems) wrote:
Hi Perazim,
> 	There's a few things you can do to get started:
>
> try doing:
> lsusb -v -d 0685:7000 # paste the log here

-->
[yossi <at> server ~]$ lsusb -v -d 0685:7000

Bus 005 Device 005: ID 0685:7000
Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               1.10
   bDeviceClass            0 (Defined at Interface level)
   bDeviceSubClass         0
   bDeviceProtocol         0
   bMaxPacketSize0        64
   idVendor           0x0685
   idProduct          0x7000
   bcdDevice            0.00
   iManufacturer           1
   iProduct                2
   iSerial                 3
   bNumConfigurations      1
   Configuration Descriptor:
     bLength                 9
(Continue reading)

Andrew Bird (Sphere Systems | 11 Sep 14:17 2011
Picon

Re: New USB 3G modem

Hi  Perazim,
	See below.

On Sunday 11 September 2011, perazim <at> portugalmail.pt wrote:
> Here are the results:
> 
> On Thu, 2011-09-08 at 21:40 +0100, Andrew Bird (Sphere Systems) wrote:
> Hi Perazim,
> 
> > 	There's a few things you can do to get started:
> > try doing:
> > lsusb -v -d 0685:7000 # paste the log here
> 
> -->
> [yossi <at> server ~]$ lsusb -v -d 0685:7000
> 
> Bus 005 Device 005: ID 0685:7000
> Device Descriptor:
>    bLength                18
>    bDescriptorType         1
>    bcdUSB               1.10
>    bDeviceClass            0 (Defined at Interface level)
>    bDeviceSubClass         0
>    bDeviceProtocol         0
>    bMaxPacketSize0        64
>    idVendor           0x0685
>    idProduct          0x7000
>    bcdDevice            0.00
>    iManufacturer           1
>    iProduct                2
(Continue reading)

perazim | 11 Sep 15:24 2011
Picon

Re: New USB 3G modem

Yes a typo. Here it is again:

[root <at> server yossi]# echo "0685 7000" >  
/sys/bus/usb-serial/drivers/option1/new_id
[root <at> server yossi]# ls -l /dev/ttyUSB*
ls: cannot access /dev/ttyUSB*: No such file or directory
[root <at> server yossi]#

Perazim
Andrew Bird (Sphere Systems | 11 Sep 16:33 2011
Picon

Re: New USB 3G modem

On Sunday 11 September 2011, perazim <at> portugalmail.pt wrote:
> Yes a typo. Here it is again:
> 
> [root <at> server yossi]# echo "0685 7000" >
> /sys/bus/usb-serial/drivers/option1/new_id
> [root <at> server yossi]# ls -l /dev/ttyUSB*
> ls: cannot access /dev/ttyUSB*: No such file or directory
Not sure why the option driver ignored those interfaces, perhaps dmesg, 
/var/log/messages or /var/log/syslog have some clues?

> [root <at> server yossi]#
> 
> 
> Perazim
> 
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list <at> gnome.org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
perazim | 11 Sep 16:48 2011
Picon

Re: New USB 3G modem

Last part of dmesg:

[369755.015037] usb 5-1: new full speed USB device using uhci_hcd and  
address 9
[369755.168183] usb 5-1: New USB device found, idVendor=0685, idProduct=7000
[369755.168189] usb 5-1: New USB device strings: Mfr=1, Product=2,  
SerialNumber=3
[369755.168193] usb 5-1: Product:  HSDPA USB Modem
[369755.168195] usb 5-1: Manufacturer:  HSDPA USB Modem
[369755.168198] usb 5-1: SerialNumber: Data Interface
[369755.199686] scsi18 : usb-storage 5-1:1.0
[369756.207213] scsi 18:0:0:0: CD-ROM            HSDPA    CDROM  
Storage    2.31 PQ: 0 ANSI: 2
[369756.210209] scsi 18:0:0:1: Direct-Access     HSDPA    MMC Storage   
     2.31 PQ: 0 ANSI: 2
[369756.263198] sr2: scsi-1 drive
[369756.264481] sr 18:0:0:0: Attached scsi CD-ROM sr2
[369756.264624] sr 18:0:0:0: Attached scsi generic sg3 type 5
[369756.269298] sd 18:0:0:1: Attached scsi generic sg4 type 0
[369756.313203] sd 18:0:0:1: [sdc] Attached SCSI removable disk
[root <at> server yossi]#

last part of /var/log/messages:

Sep 11 17:45:53 server kernel: [370239.681038] usb 5-1: new full speed  
USB device using uhci_hcd and address 11
Sep 11 17:45:54 server kernel: [370239.833081] usb 5-1: New USB device  
found, idVendor=0685, idProduct=7000
Sep 11 17:45:54 server kernel: [370239.833087] usb 5-1: New USB device  
strings: Mfr=1, Product=2, SerialNumber=3
(Continue reading)

Andrew Bird (Sphere Systems | 11 Sep 16:58 2011
Picon

Re: New USB 3G modem

On Sunday 11 September 2011, perazim <at> portugalmail.pt wrote:
> Last part of dmesg:
> 
> [369755.015037] usb 5-1: new full speed USB device using uhci_hcd and
> address 9
> [369755.168183] usb 5-1: New USB device found, idVendor=0685,
> idProduct=7000 [369755.168189] usb 5-1: New USB device strings: Mfr=1,
> Product=2, SerialNumber=3
> [369755.168193] usb 5-1: Product:  HSDPA USB Modem
> [369755.168195] usb 5-1: Manufacturer:  HSDPA USB Modem
> [369755.168198] usb 5-1: SerialNumber: Data Interface
> [369755.199686] scsi18 : usb-storage 5-1:1.0
> [369756.207213] scsi 18:0:0:0: CD-ROM            HSDPA    CDROM
> Storage    2.31 PQ: 0 ANSI: 2
> [369756.210209] scsi 18:0:0:1: Direct-Access     HSDPA    MMC Storage
>      2.31 PQ: 0 ANSI: 2
> [369756.263198] sr2: scsi-1 drive
> [369756.264481] sr 18:0:0:0: Attached scsi CD-ROM sr2
> [369756.264624] sr 18:0:0:0: Attached scsi generic sg3 type 5
> [369756.269298] sd 18:0:0:1: Attached scsi generic sg4 type 0
> [369756.313203] sd 18:0:0:1: [sdc] Attached SCSI removable disk
> [root <at> server yossi]#
> 
> 
> last part of /var/log/messages:
> 
> Sep 11 17:45:53 server kernel: [370239.681038] usb 5-1: new full speed
> USB device using uhci_hcd and address 11
> Sep 11 17:45:54 server kernel: [370239.833081] usb 5-1: New USB device
> found, idVendor=0685, idProduct=7000
(Continue reading)

perazim | 11 Sep 18:08 2011
Picon

Re: New USB 3G modem

I don't see the option module load first.  Just to make sure do a reboot, then

su -

modprobe -a option
echo "0685 7000" > /sys/bus/usb-serial/drivers/option1/new_id
ls -l /dev/ttyUSB* # see if you have tty devices

==>

[root <at> server yossi]# modprobe -s
Message from syslogd <at> server at Sep 11 18:52:01 ...
  kernel:[  211.456887] Oops: 0000 [#1] SMP

Message from syslogd <at> server at Sep 11 18:52:01 ...
  kernel:[  211.456890] last sysfs file:  
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0:0:0/evt_media_change

Message from syslogd <at> server at Sep 11 18:52:01 ...
  kernel:[  211.456972] Process udisks-daemon (pid: 3212, ti=f0be2000  
task=f0bb4bc0 task.ti=f0be2000)

Message from syslogd <at> server at Sep 11 18:52:01 ...
  kernel:[  211.456974] Stack:

Message from syslogd <at> server at Sep 11 18:52:01 ...
  kernel:[  211.456996] Call Trace:

Message from syslogd <at> server at Sep 11 18:52:01 ...
  kernel:[  211.457017] Code:  Bad EIP value.
(Continue reading)

Andrew Bird (Sphere Systems | 12 Sep 08:28 2011
Picon

Re: New USB 3G modem

On Sunday 11 September 2011, perazim <at> portugalmail.pt wrote:
> I don't see the option module load first.  Just to make sure do a reboot,
> then
> 
> su -
> 
> modprobe -a option
> echo "0685 7000" > /sys/bus/usb-serial/drivers/option1/new_id
> ls -l /dev/ttyUSB* # see if you have tty devices
> 
> ==>
> 
> [root <at> server yossi]# modprobe -s
> Message from syslogd <at> server at Sep 11 18:52:01 ...
>   kernel:[  211.456887] Oops: 0000 [#1] SMP
> 
> Message from syslogd <at> server at Sep 11 18:52:01 ...
>   kernel:[  211.456890] last sysfs file:
> /sys/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/host6/target6:0:0/6:0
> :0:0/evt_media_change
> 
> Message from syslogd <at> server at Sep 11 18:52:01 ...
>   kernel:[  211.456972] Process udisks-daemon (pid: 3212, ti=f0be2000
> task=f0bb4bc0 task.ti=f0be2000)
> 
> Message from syslogd <at> server at Sep 11 18:52:01 ...
>   kernel:[  211.456974] Stack:
> 
> Message from syslogd <at> server at Sep 11 18:52:01 ...
>   kernel:[  211.456996] Call Trace:
(Continue reading)

perazim | 12 Sep 09:16 2011
Picon

Re: New USB 3G modem


See below

> [root <at> server yossi]# screen /dev/ttyUSB0
>
> Manufacturer: HSDPA USB Modem
> Model: 209
> Revision: HSDPA_6281_V002  1  [May 30 2007 11:00:00]
> IMEI:
> +GCAP: +CGSM,+DS,+ES
>
> OK

1/ This looks good, now repeat for other devices, to determine which is the
auxilary port that can be used to command / retrieve status whilst the data
connection is up.

==>

The only other port that responded was /dev/ttyUSB2:

[root <at> server yossi]# screen /dev/ttyUSB2

Manufacturer: HSDPA USB Modem
Model: 209
Revision: HSDPA_6281_V002  1  [May 30 2007 11:00:00]
IMEI:
+GCAP: +CGSM,+DS,+ES

OK
(Continue reading)


Gmane