It is currently Tue May 23, 2017 10:29 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Huawei E353 apparently not recognized?
PostPosted: Sat Nov 10, 2012 8:24 pm 
Offline

Joined: Thu Apr 19, 2012 2:10 pm
Posts: 23
Hi!

I'm trying to get a Huawei E353 stick to work, but all I get is a "--> Cannot open /dev/ttyUSB0: No such file or directory" message.

I'm on antiX-M11 running the 3.5.0-antix.2-486 kernel.


Top
 Profile  
 
 Post subject: Re: Huawei E353 apparently not recognized?
PostPosted: Sat Nov 10, 2012 8:29 pm 
Offline

Joined: Thu Apr 19, 2012 2:10 pm
Posts: 23
I might try to find a used older modem too. The E160E I have works fine, but I need a second connection and this new stick came with it.


Top
 Profile  
 
 Post subject: Re: Huawei E353 apparently not recognized?
PostPosted: Sat Nov 10, 2012 9:31 pm 
Offline

Joined: Thu Jan 21, 2010 12:36 am
Posts: 1040
is usb modeswitch installed? i use to have a stick that did not require usb modeswitch, but the new one also had a data partition, thus requiring usb modeswitch to determine it is a modem not a jump drive

_________________
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown


Top
 Profile  
 
 Post subject: Re: Huawei E353 apparently not recognized?
PostPosted: Sat Nov 10, 2012 10:32 pm 
Offline

Joined: Thu Apr 19, 2012 2:10 pm
Posts: 23
Hi,

Yes, usb modeswitch is installed. GnomePPP setup detects the E160E modem when it's plugged in, but nothing when I plug in this new thing. The old modem's windows software is found in media/cdrom and the new one's in media/cdrom1.

lsusb lists both devices. Old:
Bus 001 Device 031: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem

And new:
Bus 001 Device 032: ID 12d1:151a Huawei Technologies Co., Ltd.

I've dabbled with usb_modeswitch (copying and pasting found "solutions" online), but lsusb always seems to list the device as above. Like so:

Code:
usb_modeswitch -b2 -v 12d1 -p 151a -n -message-content 555342437f0000000002000080000a11062000000000000100000000000000

Looking for default devices ...
   found matching product ID
   adding device
Found device in default mode, class or configuration (1)
Accessing device 041 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x0e (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
No driver found. Either detached before or never attached
Could not send INQUIRY message (error -2)

USB description data (for identification)
-------------------------
Manufacturer: Huawei Technologies
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Warning: no switching method given.
-> Run lsusb to note any changes. Bye.

[email protected]:/home/username# lsusb
Bus 001 Device 041: ID 12d1:151a Huawei Technologies Co., Ltd.
Bus 002 Device 002: ID 09da:000a A4 Tech Co., Ltd Optical Mouse Opto 510D
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


Here I'm trying to reset the modem, which gives a somewhat different output:
Code:
[email protected]:/home/username# usb_modeswitch -R -b1 -v 12d1 -p 151a

Looking for default devices ...
   found matching product ID
   adding device
Found device in default mode, class or configuration (1)
Accessing device 041 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
No driver found. Either detached before or never attached

SCSI inquiry data (for identification)
-------------------------
  Vendor String: HUAWEI 
   Model String: Mass Storage   
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: Huawei Technologies
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Warning: no switching method given.
Resetting usb device .
OK, device was reset
-> Run lsusb to note any changes. Bye.


Thanks!


Top
 Profile  
 
 Post subject: Re: Huawei E353 apparently not recognized?
PostPosted: Sat Nov 10, 2012 10:42 pm 
Offline

Joined: Thu Apr 19, 2012 2:10 pm
Posts: 23
Usb_modeswitch is version 1.2.3+repack0-1


Top
 Profile  
 
 Post subject: Re: Huawei E353 apparently not recognized?
PostPosted: Sat Nov 10, 2012 10:56 pm 
Offline

Joined: Thu Apr 19, 2012 2:10 pm
Posts: 23
Got it!

This one did the trick:
Code:
[email protected]:/home/username# usb_modeswitch -v 12d1 -p 151a -V 012d1 -P 014db -M "55534243123456780000000000000a11062000000000000100000000000000"

Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
   found matching product ID
   adding device
Found device in default mode, class or configuration (1)
Accessing device 043 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached

SCSI inquiry data (for identification)
-------------------------
  Vendor String: HUAWEI 
   Model String: Mass Storage   
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: Huawei Technologies
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
Device seems to have vanished right after sending. Good.
Device is gone, skipping any further commands
-> Run lsusb to note any changes. Bye.

[email protected]:/home/username# lsusb
Bus 001 Device 045: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem
Bus 001 Device 046: ID 12d1:14ac Huawei Technologies Co., Ltd.
Bus 002 Device 002: ID 09da:000a A4 Tech Co., Ltd Optical Mouse Opto 510D
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


I'm a bit baffled why that worked. I tried forcing the output with "-P 014db" before without results, and I tried with the above "message" in place of the one I posted earlier, but didn't try the exact command (because it was for -p 1446 originally).

Now, do I have to run this command in shell every time I start up the computer?


Top
 Profile  
 
 Post subject: Re: Huawei E353 apparently not recognized?
PostPosted: Sat Nov 10, 2012 11:54 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5803
Location: Greece
It might work by adding that line to etc/rc.local

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred