LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 04-04-2013, 01:13 PM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
usb storage iCON 461 0af0:7a01 switched to UMTS usb modem?; howto?


I am trying to use that modem with my netbook nc10 with TinyCoreLinux 4.7.5 and kernel 3.0.21.

I made according http://www.draisberghof.de/usb_modes..._reference.txt

1. the switchicon.conf
=======
DefaultVendor= 0x0af0
DefaultProduct= 0x7a01
TargetClass= 0xff
MessageContent="55534243123456780000000000000601000000000000000000000000000000"
CheckSuccess=20
=======


2. plug in the modem


3. command "usb_modeswitch -c /etc/switchicon.conf"
.. message

Code:
=========
Looking for target devices ...
 No devices in target mode or class found
Looking for default devices ...
   found matching product ID
 Found device in default mode, class or configuration (1)
Accessing device 005 on bus 001 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
Using interface number 0
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
 OK, driver found; name unknown, limitation of libusb1
 OK, driver "unkown" detached

SCSI inquiry data (for identification)
-------------------------
  Vendor String: ZCOption
   Model String: HSUPA Modem     
Revision String:     
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: Option N.V.
     Product: Globetrotter HSUPA Modem
  Serial No.: Serial Number
-------------------------
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Resetting response endpoint 0x81
Resetting message endpoint 0x01
 Could not reset endpoint (probably harmless): -34
 Device is gone, skipping any further commands

Checking for mode switch (max. 30 times, once per second) ...
 Searching for target devices ...
   found matching product ID

Found target device, now opening
 Found correct target device

Mode switch succeeded. Bye.
=========
with the hso loaded, the dmesg end is
Code:
...
usbcore: registered new interface driver oss_usb
usb 1-1: new high speed USB device number 5 using ehci_hcd
scsi7 : usb-storage 1-1:1.0
scsi 7:0:0:0: CD-ROM            ZCOption HSUPA Modem           PQ: 0 ANSI: 2
sr0: scsi-1 drive
cdrom: Uniform CD-ROM driver Revision: 3.20
sr 7:0:0:0: Attached scsi CD-ROM sr0
sr 7:0:0:0: Attached scsi generic sg4 type 5
usb 1-1: usbfs: process 4362 (usb_modeswitch) did not claim interface 0 before use
usb 1-1: USB disconnect, device number 5
usb 1-1: new high speed USB device number 6 using ehci_hcd
scsi15 : usb-storage 1-1:1.7
hso: drivers/net/usb/hso.c: Option Wireless
usbcore: registered new interface driver hso
scsi 15:0:0:0: Direct-Access     SD       HSUPA Modem           PQ: 0 ANSI: 2
sd 15:0:0:0: Attached scsi generic sg4 type 0
sd 15:0:0:0: [sde] Attached SCSI removable disk
no ttyUSBx can be seen.. but ttyHSx are there.
So, I suppose it is switched to UMTS modem?
How to check this or how to be sure it is switched?

Last edited by floppy_stuttgart; 04-06-2013 at 05:11 PM.
 
Old 04-09-2013, 02:18 PM   #2
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
It was switched in ttyHS.
By using the "ttyHS5" in the wvdial.conf file, it works.

wvdial.conf file
=========
[Dialer Defaults]
Modem = /dev/ttyHS5
Baud = 460800
PPPD Path = /usr/local/sbin/pppd
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
[Dialer Pin]
Init3 = AT+CPIN=xxxx (xxxx is the pin code)
[Dialer Fonic]
Phone = *99#
Username = foo
Password = foo
Stupid Mode = 1
Dial Command = ATDT
Init4 = AT+CGDCONT=1,"IP","pinternet.interkom.de"
=========
 
  


Reply

Tags
icon, modem, umts, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Having difficulties to connect to the internet with a USB-UMTS-Modem markush Slackware 51 08-11-2012 03:21 AM
Howto: Get Vodafone UMTS Stick K3565 running on Ubuntu 9.10 EAI Linux - Newbie 2 08-26-2010 01:31 PM
UMTS Modem najjan83 Linux - Hardware 0 06-25-2009 01:15 PM
Getting HP 2300 UMTS modem to work Carceri Linux - Wireless Networking 3 04-02-2008 04:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 10:27 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