You are not logged in.
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 ), 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
try
# modprobe usbserial
Offline
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
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
Offline
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
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
PS: although I dont have udev in /etc/rc.d ?
Last edited by Kirodema (2010-02-18 17:02:30)
Offline
Hi guys,
I reinstalled Arch and learned a valueable lesson in "Never touch a running system"
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
Really no suggestions?
Offline
What is the output of the following:
pacman -Qi udev
Offline
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
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
Ahhh, just installing usb_modeswitch did the trick (probably because of the udev-rules ). What does this strangely long number do?
Offline