You are not logged in.

#1 2010-02-08 10:26:12

Kirodema
Member
Registered: 2010-01-08
Posts: 81

[SOLVED] Huawei E1820 doesn't work (no /dev/ttyUSBx) .. again

Hi,

I got a new Huawei E1820 and I'm trying to get it work with Arch. On the first try (after an hour full of failures wink), it worked with NetworkManager. Now, a week later, it doesn't work anymore and I don't get any /dev/ttyUSBx devices.

dmesg after plugging in:

usb 2-1: new high speed USB device using ehci_hcd and address 12
usb 2-1: configuration #1 chosen from 1 choice
scsi24 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 12
usb-storage: waiting for device to settle before scanning
scsi25 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 12
usb-storage: waiting for device to settle before scanning
scsi 24:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
scsi 25:0:0:0: Direct-Access     HUAWEI   TF CARD Storage       PQ: 0 ANSI: 2
sd 25:0:0:0: Attached scsi generic sg2 type 0
sr1: scsi-1 drive
sr 24:0:0:0: Attached scsi CD-ROM sr1
sr 24:0:0:0: Attached scsi generic sg3 type 5
usb-storage: device scan complete
usb-storage: device scan complete
sd 25:0:0:0: [sdb] Attached SCSI removable disk
hald-probe-volu[15468]: segfault at 3c ip b77399e2 sp bff3d3f0 error 4 in libblkid.so.1.1.0[b7728000+19000]
ISO 9660 Extensions: Microsoft Joliet Level 1
ISOFS: changing to secondary root

The modules usbserial and usb-storage are both modprobed and it even worked (once). I think that its somehow the fault of hal because of the segfault error in the third line from buttom in the dmesg output.

Last edited by Kirodema (2010-09-20 03:26:26)

Offline

#2 2010-02-11 22:51:49

Nephastos
Member
From: Leiria, Portugal
Registered: 2006-06-10
Posts: 13

Re: [SOLVED] Huawei E1820 doesn't work (no /dev/ttyUSBx) .. again

try

# modprobe usbserial

Offline

#3 2010-02-12 00:35:54

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: [SOLVED] Huawei E1820 doesn't work (no /dev/ttyUSBx) .. again

I think you need to "eject" the virtual CD-rom, and then it will switch to the modem mode.

That's how my ZTE 626 worked.

But there is an AT command to make it a permanent modem:

AT+ZOPRT=5
AT+ZCDRUN=8

Those are for ZTE - they might work on your Huawei too

Last edited by damjan (2010-02-12 00:36:22)

Offline

#4 2010-02-17 09:21:55

Kirodema
Member
Registered: 2010-01-08
Posts: 81

Re: [SOLVED] Huawei E1820 doesn't work (no /dev/ttyUSBx) .. again

I tried it with usbserial several times, and it didnt work.

@damjan:
Where do I have to use these commands? Somewhere I have read that I have to do something like

echo "AT+<command>" > /dev/ttyUSBx

but I dont get any ttyUSBx devices hmm

Offline

#5 2010-02-17 20:12:27

kronfeld
Member
Registered: 2010-02-17
Posts: 2

Re: [SOLVED] Huawei E1820 doesn't work (no /dev/ttyUSBx) .. again

I think I had the same problem and solved it by creating the udev-rule from http://neildecapia.wordpress.com/2009/0 … unty-9-04/

create a file called /etc/udev/rules.d/62-option-modem-modeswitch.rules, and paste this line:
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1446", RUN+="modem-modeswitch -v 0x%s{idVendor} -p 0x%s{idProduct} -t option-zerocd"

You probably may have to edit idVendor and idProduct

Last edited by kronfeld (2010-02-17 21:48:27)

Offline

#6 2010-02-18 16:53:18

Kirodema
Member
Registered: 2010-01-08
Posts: 81

Re: [SOLVED] Huawei E1820 doesn't work (no /dev/ttyUSBx) .. again

hm, could you please tell me, how I can find out what vendor ID and what product ID I need? (Sorry, I am kinda noob at these things)

Edit: Ok, I read the blog, and lsusb told me exactly these ID's ... with the udev-rule it's working now, thanks a lot big_smile

PS: although I dont have udev in /etc/rc.d ?

Last edited by Kirodema (2010-02-18 17:02:30)

Offline

#7 2010-09-06 19:06:47

Kirodema
Member
Registered: 2010-01-08
Posts: 81

Re: [SOLVED] Huawei E1820 doesn't work (no /dev/ttyUSBx) .. again

Hi guys,

I reinstalled Arch and learned a valueable lesson in "Never touch a running system" big_smile

So I try to get my Huawei E1820 to run again, created the udev rules like lasttime, modprobed usbserial and usb-storage .. I can see the modem with lsusb but thats all. Again I get no ttyUSB* devices. But dmesg changed a little bit

usb 1-1: new high speed USB device using ehci_hcd and address 7
scsi12 : usb-storage 1-1:1.0
scsi13 : usb-storage 1-1:1.1
scsi 12:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
scsi 13:0:0:0: Direct-Access     HUAWEI   TF CARD Storage       PQ: 0 ANSI: 2
sd 13:0:0:0: Attached scsi generic sg2 type 0
sd 13:0:0:0: [sdb] Attached SCSI removable disk
sr1: scsi-1 drive
sr 12:0:0:0: Attached scsi CD-ROM sr1
sr 12:0:0:0: Attached scsi generic sg3 type 5

It seems I dont even get the cdrom device after deleting the udev-rule. Any suggestions?

Offline

#8 2010-09-14 17:02:46

Kirodema
Member
Registered: 2010-01-08
Posts: 81

Re: [SOLVED] Huawei E1820 doesn't work (no /dev/ttyUSBx) .. again

Really no suggestions?

Offline

#9 2010-09-14 19:17:49

codycarey
Member
Registered: 2009-08-21
Posts: 154

Re: [SOLVED] Huawei E1820 doesn't work (no /dev/ttyUSBx) .. again

What is the output of the following:

pacman -Qi udev

Offline

#10 2010-09-15 05:01:32

Kirodema
Member
Registered: 2010-01-08
Posts: 81

Re: [SOLVED] Huawei E1820 doesn't work (no /dev/ttyUSBx) .. again

db@kirodema ~ $ LANG="en_GB" pacman -Qi udev
Name           : udev
Version        : 162-1
URL            : http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
Licences       : GPL
Groups         : base
Provides       : None
Depends On     : glibc  coreutils  util-linux  libusb  glib2
                 module-init-tools>=3.11
Optional Deps  : None
Required By    : device-mapper  gstreamer0.10-base  hal  initscripts
                 libatasmart  lvm2  mkinitcpio  modemmanager  networkmanager
                 udisks  upower  xorg-server
Conflicts With : pcmcia-cs  hotplug  initscripts<2009.07
Replaces       : devfsd
Installed Size : 1828.00 K
Packager       : Tobias Powalowski <tpowa@archlinux.org>
Architecture   : i686
Build Date     : Sun 05 Sep 2010 10:55:02 CEST
Install Date   : Thu 09 Sep 2010 06:16:55 CEST
Install Reason : Explicitly installed
Install Script : Yes
Description    : The userspace dev tools (udev)

Offline

#11 2010-09-19 14:56:17

Ape
Member
From: Finland
Registered: 2009-10-15
Posts: 46
Website

Re: [SOLVED] Huawei E1820 doesn't work (no /dev/ttyUSBx) .. again

I have the same device. It works usually with networkmanager, but sometimes it's not recognized. Sometimes reboot helps and I believe the following command has an effect on it:

# usb_modeswitch -v 12d1 -p 14ac -W -M 55534243123456780000000000000011060000000000000000000000000000

Try installing usb_modeswitch, running that and rebooting.

I've also installed modemmanager. I'm not sure if it's needed, but you could try it.

Last edited by Ape (2010-09-19 15:01:47)

Offline

#12 2010-09-20 03:26:00

Kirodema
Member
Registered: 2010-01-08
Posts: 81

Re: [SOLVED] Huawei E1820 doesn't work (no /dev/ttyUSBx) .. again

Ahhh, just installing usb_modeswitch did the trick (probably because of the udev-rules big_smile). What does this strangely long number do?

Offline

Board footer

Powered by FluxBB