Bonsoir,
J’ai réinstallé complétement raspbian strech lite
Le dongle Qualcomm non enfiché dans le port USB
installé gammu, gammusmsd, usb_modeswitch, wvdial
Ajouté dans /lib/udev/rules.d/40-usb_modeswitch.rules:
ATTR{idVendor}=="05c6", ATTR{idProduct}=="6000", RUN+="usb_modeswitch '%k'"
Ajouté dans /etc/udev/rules.d/99-com.rules: (pour basculer le Qualcom de storage en modem)
SUBSYSTEM =="usb", ATTR{idVendor}=="05c6", ATTR{id_product}=="1000", RUN+="/usb/sbin/usb_modeswitch -W -v 05c6 -p 1000 -K"
Cela semblait un peu mieux fonctionner j’ai reçu un sms.
Mais après reboot on retrouve le même problème de deconnextion du modem des ports USB
au bout d e30s , lsusb ne le voit plus
De plus pour qu’il apparaisse en modem il faut le débrancher rebrancher
As tu une idée ?
Ci dessous le résultat lsusb au début puis du tail au bout de 30s:
pi@raspberrypi:~ $ lsusb
Bus 001 Device 004: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 005: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 001 Device 010: ID 05c6:6000 Qualcomm, Inc. Siemens SG75
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@raspberrypi:~ $ tail -f /var/log/syslog
Nov 16 17:31:19 raspberrypi kernel: [ 940.766759] option 1-1.1.2:1.3: GSM modem (1-port) converter detected
Nov 16 17:31:19 raspberrypi kernel: [ 940.767125] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB3
Nov 16 17:31:19 raspberrypi kernel: [ 940.767581] usb-storage 1-1.1.2:1.4: USB Mass Storage device detected
Nov 16 17:31:19 raspberrypi kernel: [ 940.768201] scsi host0: usb-storage 1-1.1.2:1.4
Nov 16 17:31:19 raspberrypi mtp-probe: checking bus 1, device 14: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2"
Nov 16 17:31:19 raspberrypi mtp-probe: bus: 1, device: 14 was not an MTP device
Nov 16 17:31:19 raspberrypi systemd[1]: Started USB_ModeSwitch_1-1.1.2.
Nov 16 17:31:20 raspberrypi kernel: [ 941.835748] scsi 0:0:0:0: Direct-Access WCDMA MMC Storage 2.31 PQ: 0 ANSI: 2
Nov 16 17:31:20 raspberrypi kernel: [ 941.836815] sd 0:0:0:0: Attached scsi generic sg0 type 0
Nov 16 17:31:20 raspberrypi kernel: [ 941.840852] sd 0:0:0:0: [sda] Attached SCSI removable disk
Nov 16 17:31:37 raspberrypi gammu-smsd[856]: Starting phone communication...
Nov 16 17:31:42 raspberrypi gammu-smsd[856]: Soft reset return code: Aucune erreur. (NONE[1])
Nov 16 17:31:43 raspberrypi kernel: [ 964.645025] usb 1-1.1.2: USB disconnect, device number 14
Nov 16 17:31:43 raspberrypi kernel: [ 964.646039] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Nov 16 17:31:43 raspberrypi kernel: [ 964.646111] option 1-1.1.2:1.0: device disconnected
Nov 16 17:31:43 raspberrypi kernel: [ 964.646821] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Nov 16 17:31:43 raspberrypi kernel: [ 964.646909] option 1-1.1.2:1.1: device disconnected
Nov 16 17:31:43 raspberrypi kernel: [ 964.647544] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Nov 16 17:31:43 raspberrypi kernel: [ 964.647630] option 1-1.1.2:1.2: device disconnected
Nov 16 17:31:43 raspberrypi kernel: [ 964.648572] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Nov 16 17:31:43 raspberrypi kernel: [ 964.648727] option 1-1.1.2:1.3: device disconnected
Nov 16 17:31:51 raspberrypi gammu-smsd[856]: Error getting security status: Erreur lors de l'écriture sur le périphérique. (DEVICEWRITEERROR[11])
Nov 16 17:31:51 raspberrypi gammu-smsd[856]: You might want to set CheckSecurity = 0 to avoid checking security status
Nov 16 17:32:06 raspberrypi gammu-smsd[856]: Error getting security status: Erreur lors de l'écriture sur le périphérique. (DEVICEWRITEERROR[11])
Nov 16 17:32:06 raspberrypi gammu-smsd[856]: You might want to set CheckSecurity = 0 to avoid checking security status
^C
pi@raspberrypi:~ $ tail -f /var/log/syslog
Nov 16 17:32:21 raspberrypi gammu-smsd[856]: You might want to set CheckSecurity = 0 to avoid checking security status
Nov 16 17:32:21 raspberrypi gammu-smsd[856]: Already hit 3 errors
Nov 16 17:32:21 raspberrypi gammu-smsd[856]: Terminating communication: L'entrée est vide. (EMPTY[22])
Nov 16 17:32:21 raspberrypi gammu-smsd[856]: Going to 30 seconds sleep because of too many connection errors
Nov 16 17:32:51 raspberrypi gammu-smsd[856]: Starting phone communication...
Nov 16 17:32:51 raspberrypi gammu-smsd[856]: Error at init connection: Erreur à l'ouverture du périphérique: il n'existe pas. (DEVICENOTEXIST[4])
Nov 16 17:32:51 raspberrypi gammu-smsd[856]: Going to 30 seconds sleep because of too many connection errors
Nov 16 17:33:21 raspberrypi gammu-smsd[856]: Starting phone communication...
Nov 16 17:33:21 raspberrypi gammu-smsd[856]: Error at init connection: Erreur à l'ouverture du périphérique: il n'existe pas. (DEVICENOTEXIST[4])
Nov 16 17:33:21 raspberrypi gammu-smsd[856]: Going to 30 seconds sleep because of too many connection errors
Nov 16 17:33:33 raspberrypi kernel: [ 1075.275272] usb 1-1.1.2: new high-speed USB device number 15 using dwc_otg
Nov 16 17:33:33 raspberrypi kernel: [ 1075.407191] usb 1-1.1.2: New USB device found, idVendor=05c6, idProduct=1000, bcdDevice= 0.00
Nov 16 17:33:33 raspberrypi kernel: [ 1075.407208] usb 1-1.1.2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
Nov 16 17:33:33 raspberrypi kernel: [ 1075.407218] usb 1-1.1.2: Product: Qualcomm CDMA Technologies MSM
Nov 16 17:33:33 raspberrypi kernel: [ 1075.407227] usb 1-1.1.2: Manufacturer: Qualcomm, Incorporated
Nov 16 17:33:33 raspberrypi kernel: [ 1075.407237] usb 1-1.1.2: SerialNumber: 351602000025260
Nov 16 17:33:33 raspberrypi kernel: [ 1075.410778] usb-storage 1-1.1.2:1.0: USB Mass Storage device detected
Nov 16 17:33:33 raspberrypi kernel: [ 1075.412505] scsi host0: usb-storage 1-1.1.2:1.0
Nov 16 17:33:33 raspberrypi mtp-probe: checking bus 1, device 15: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2"
Nov 16 17:33:33 raspberrypi mtp-probe: bus: 1, device: 15 was not an MTP device
Nov 16 17:33:34 raspberrypi systemd[1]: Starting USB_ModeSwitch_1-1.1.2...
Nov 16 17:33:34 raspberrypi kernel: [ 1075.748714] usb 1-1.1.2: USB disconnect, device number 15
Nov 16 17:33:34 raspberrypi kernel: [ 1076.045146] usb 1-1.1.2: new high-speed USB device number 16 using dwc_otg
Nov 16 17:33:34 raspberrypi root: usb_modeswitch: use overriding config file /etc/usb_modeswitch.d/05c6:1000; make sure this is intended
Nov 16 17:33:34 raspberrypi root: usb_modeswitch: please report any new or corrected settings; otherwise, check for outdated files
Nov 16 17:33:34 raspberrypi kernel: [ 1076.177163] usb 1-1.1.2: New USB device found, idVendor=05c6, idProduct=6000, bcdDevice= 0.00
Nov 16 17:33:34 raspberrypi kernel: [ 1076.177172] usb 1-1.1.2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
Nov 16 17:33:34 raspberrypi kernel: [ 1076.177176] usb 1-1.1.2: Product: Qualcomm CDMA Technologies MSM
Nov 16 17:33:34 raspberrypi kernel: [ 1076.177180] usb 1-1.1.2: Manufacturer: Qualcomm, Incorporated
Nov 16 17:33:34 raspberrypi kernel: [ 1076.177184] usb 1-1.1.2: SerialNumber: 351602000025260
Nov 16 17:33:34 raspberrypi kernel: [ 1076.179761] option 1-1.1.2:1.0: GSM modem (1-port) converter detected
Nov 16 17:33:34 raspberrypi kernel: [ 1076.179977] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB0
Nov 16 17:33:34 raspberrypi kernel: [ 1076.180297] option 1-1.1.2:1.1: GSM modem (1-port) converter detected
Nov 16 17:33:34 raspberrypi kernel: [ 1076.180465] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB1
Nov 16 17:33:34 raspberrypi kernel: [ 1076.180711] option 1-1.1.2:1.2: GSM modem (1-port) converter detected
Nov 16 17:33:34 raspberrypi kernel: [ 1076.180856] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB2
Nov 16 17:33:34 raspberrypi kernel: [ 1076.181099] option 1-1.1.2:1.3: GSM modem (1-port) converter detected
Nov 16 17:33:34 raspberrypi kernel: [ 1076.181238] usb 1-1.1.2: GSM modem (1-port) converter now attached to ttyUSB3
Nov 16 17:33:34 raspberrypi kernel: [ 1076.181421] usb-storage 1-1.1.2:1.4: USB Mass Storage device detected
Nov 16 17:33:34 raspberrypi kernel: [ 1076.181712] scsi host0: usb-storage 1-1.1.2:1.4
Nov 16 17:33:34 raspberrypi mtp-probe: checking bus 1, device 16: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2"
Nov 16 17:33:34 raspberrypi mtp-probe: bus: 1, device: 16 was not an MTP device
Nov 16 17:33:35 raspberrypi systemd[1]: Started USB_ModeSwitch_1-1.1.2.
Nov 16 17:33:35 raspberrypi kernel: [ 1077.196377] scsi 0:0:0:0: Direct-Access WCDMA MMC Storage 2.31 PQ: 0 ANSI: 2
Nov 16 17:33:35 raspberrypi kernel: [ 1077.197364] sd 0:0:0:0: Attached scsi generic sg0 type 0
Nov 16 17:33:35 raspberrypi kernel: [ 1077.203343] sd 0:0:0:0: [sda] Attached SCSI removable disk
Nov 16 17:33:51 raspberrypi gammu-smsd[856]: Starting phone communication...
Nov 16 17:33:56 raspberrypi gammu-smsd[856]: Soft reset return code: Aucune erreur. (NONE[1])
Nov 16 17:33:56 raspberrypi kernel: [ 1098.533162] usb 1-1.1.2: USB disconnect, device number 16
Nov 16 17:33:56 raspberrypi kernel: [ 1098.534141] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Nov 16 17:33:56 raspberrypi kernel: [ 1098.534214] option 1-1.1.2:1.0: device disconnected
Nov 16 17:33:56 raspberrypi kernel: [ 1098.534914] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Nov 16 17:33:56 raspberrypi kernel: [ 1098.535004] option 1-1.1.2:1.1: device disconnected
Nov 16 17:33:56 raspberrypi kernel: [ 1098.536585] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Nov 16 17:33:56 raspberrypi kernel: [ 1098.536752] option 1-1.1.2:1.2: device disconnected
Nov 16 17:33:56 raspberrypi kernel: [ 1098.537680] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Nov 16 17:33:56 raspberrypi kernel: [ 1098.537776] option 1-1.1.2:1.3: device disconnected
Nov 16 17:34:05 raspberrypi gammu-smsd[856]: Error getting security status: Erreur lors de l'écriture sur le périphérique. (DEVICEWRITEERROR[11])
Nov 16 17:34:05 raspberrypi gammu-smsd[856]: You might want to set CheckSecurity = 0 to avoid checking security status
Nov 16 17:34:20 raspberrypi gammu-smsd[856]: Error getting security status: Erreur lors de l'écriture sur le périphérique. (DEVICEWRITEERROR[11])
Nov 16 17:34:20 raspberrypi gammu-smsd[856]: You might want to set CheckSecurity = 0 to avoid checking security status
Nov 16 17:34:35 raspberrypi gammu-smsd[856]: Error getting security status: Erreur lors de l'écriture sur le périphérique. (DEVICEWRITEERROR[11])
Nov 16 17:34:35 raspberrypi gammu-smsd[856]: You might want to set CheckSecurity = 0 to avoid checking security status
Nov 16 17:34:35 raspberrypi gammu-smsd[856]: Already hit 3 errors
Nov 16 17:34:35 raspberrypi gammu-smsd[856]: Terminating communication: L'entrée est vide. (EMPTY[22])
Nov 16 17:34:35 raspberrypi gammu-smsd[856]: Going to 30 seconds sleep because of too many connection errors