1. Colokan modemnya, lalu buka terminal dan ketik
dmesg
Hasilnya:
[ 4988.487211] scsi8 : usb-storage 6-1:1.0
[ 4989.489172] scsi 8:0:0:0: CD-ROM OEM AF-AirFlash 2.31 PQ: 0 ANSI: 0
[ 4989.496157] sr1: scsi3-mmc drive: 92x/322x writer dvd-ram xa/form2
[ 4989.496408] sr 8:0:0:0: Attached scsi CD-ROM sr1
[ 4989.496578] sr 8:0:0:0: Attached scsi generic sg2 type 5
[ 4989.587145] sr1: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
[ 4989.587167] sr: Sense Key : Hardware Error [current]
[ 4989.587173] sr: Add. Sense: No additional sense information
[ 4989.704127] sr1: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
[ 4989.704142] sr: Sense Key : Hardware Error [current]
[ 4989.704146] sr: Add. Sense: No additional sense information
lsusb
Hasilnya:
Bus 006 Device 004: ID 05c6:1000 Qualcomm, Inc. Mass Storage Device
Dari hasil diatas modem masih terdeteksi sebagai storage dan terletak di sr1
2. Kita lakukan eject terhadap komponen storage tersebut
sudo eject /dev/sr1
eject: unable to eject, last error: Invalid argument
lsusb
Bus 006 Device 005: ID 05c6:6000 Qualcomm, Inc. Siemens SG75
idnya sudah berubah
dmesg
[ 5054.314225] option 6-1:1.0: GSM modem (1-port) converter detected
[ 5054.314509] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 5054.317218] option 6-1:1.1: GSM modem (1-port) converter detected
[ 5054.317358] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 5054.319193] option 6-1:1.2: GSM modem (1-port) converter detected
[ 5054.319316] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 5054.321215] option 6-1:1.3: GSM modem (1-port) converter detected
[ 5054.321371] usb 6-1: GSM modem (1-port) converter now attached to ttyUSB3
[ 5054.321664] scsi9 : usb-storage 6-1:1.4
[ 5055.324313] scsi 9:0:0:0: Direct-Access OEM AF-AirFlash 2.31 PQ: 0 ANSI: 0
[ 5055.334150] sd 9:0:0:0: Attached scsi generic sg2 type 0
[ 5055.343142] sd 9:0:0:0: [sdb] Attached SCSI removable disk
sudah terdeteksi sebagai modem
tinggal konfigurasi lewat network manager, wvdial atau pppconfig
3. Supaya tidak eject manual masukan ke rules
sudo gedit /etc/udev/rules.d/78-qualcomm.rules
Copy paste baris berikut dan simpan
ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="1000", RUN+="/usr/bin/eject %k"
sudo udevadm control --reload-rules
Semoga berguna