Deteksi USB Modem

From OnnoWiki
Jump to navigation Jump to search

Lakukan

lsusb

Hasilnya misalnya

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Masukan USB modem, lakukan

lsusb

Hasil seperti

Bus 003 Device 013: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

Jadikan serial USB modem

sudo modprobe usbserial vendor=0x12d1 product=0x1001

Jika berjalan dengan baik akan tampak pada

dmesg

Dibagian akhgir kira-kira

usbserial_generic 1-1:1.0: generic converter detected
usb 1-1: generic converter now attached to ttyUSB0
usbcore: registered new interface driver usbserial_generic

Agar menjadi automatis bisa melakukan

vi /etc/modules

isi

usbserial vendor=0x12d1 product=0x1001



Pranala Menarik