Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi guys.
I got Huawei HiLink e3131. Slackware 14.1 x86_64 recognizes it and switches into modem mode as you can see from dmesg:
Code:
...
[ 532.663850] usb 1-9: new high-speed USB device number 5 using xhci_hcd
[ 532.675616] usb 1-9: New USB device found, idVendor=12d1, idProduct=1f01
[ 532.675618] usb 1-9: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 532.675619] usb 1-9: Product: HUAWEI HiLink
[ 532.675620] usb 1-9: Manufacturer: HUAWEI
[ 532.721330] usb-storage 1-9:1.0: USB Mass Storage device detected
[ 532.721352] scsi8 : usb-storage 1-9:1.0
[ 532.721393] usbcore: registered new interface driver usb-storage
[ 533.456290] usb 1-9: USB disconnect, device number 5
[ 538.971017] usb 1-9: new high-speed USB device number 6 using xhci_hcd
[ 538.982877] usb 1-9: New USB device found, idVendor=12d1, idProduct=14db
[ 538.982879] usb 1-9: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 538.982881] usb 1-9: Product: HUAWEI HiLink
[ 538.982882] usb 1-9: Manufacturer: HUAWEI
[ 538.984677] cdc_ether 1-9:1.0 eth0: register 'cdc_ether' at usb-0000:00:14.0-9, CDC Ethernet Device, 58:2c:80:13:92:63
...
lsusb also shows modem:
Code:
...
Bus 002 Device 003: ID 12d1:14db Huawei Technologies Co., Ltd.
...
however there are no /dev/ttyUSB* files, so I cannot use it. What is more interesting cat /proc/tty/drivers shows:
Code:
...
usbserial /dev/ttyUSB 188 0-253 serial
...
Problem is the same on second computer with Slackware 14.0 x86 as well as Debian Jessie. Of course modem is ok - works fine under Windows 7. I've found some hints like
Hi guys.
I got Huawei HiLink e3131. Slackware 14.1 x86_64 recognizes it and switches into modem mode as you can see from dmesg:
Code:
[ 532.721330] usb-storage 1-9:1.0: USB Mass Storage device detected
No, it shows it as a CDROM/USB block storage device, and it clearly says so.
Quote:
lsusb also shows modem:
Code:
Bus 002 Device 003: ID 12d1:14db Huawei Technologies Co., Ltd.
No, that just says you have a device by that manufacturer....where does it tell you that it's a modem??
Quote:
however there are no /dev/ttyUSB* files, so I cannot use it. What is more interesting cat /proc/tty/drivers shows:
Code:
usbserial /dev/ttyUSB 188 0-253 serial
Problem is the same on second computer with Slackware 14.0 x86 as well as Debian Jessie. Of course modem is ok - works fine under Windows 7. I've found some hints like
Yes; run usb_modeswitch to actually make the device work as a modem, and the device will come up. Nothing you've shown says the device is a modem, just that it's recognized as a USB storage device. usb_modeswitch will 'flip' the device into modem mode.
Actually, the dmesg output shows that the device has been recognised and switched to CDC ethernet mode. In this mode, the device should show as an additional interface in the output of 'ifconfig -a'.
Right...it doesn't show up BECAUSE YOU HAVE NOT SWITCHED IT INTO THE RIGHT MODE. The device is identified, but hasn't been attached to anything. Again, run usb_modeswitch. Can't get more plain than that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.