← Back to team overview

desktop-packages team mailing list archive

[Bug 1441694] [NEW] usb-modeswitch not working since last upgrade to 2.2.0

 

Public bug reported:

USB Modem was working fine before
And now, I need to launch manually the command "usb_modeswitch -v 19d2 -p 2000 -c /etc/usb_modeswitch.d/19dé\:2000" in order for USB device to switch to modem mode.

When looking to /usr/share/usb_modeswitch, only file configPack.tar.gz is present, and /etc/usb_modeswitch.d is empty.
Decompacting my specific device file (19d2:2000) in both directories, launching "usb_modeswitch -v 19d2 -p 2000" doesn't work.

But my device is well handled by udev rules definition as seen in syslog :
Apr  8 16:59:59 PC-G1013226 kernel: [  189.113529] scsi host4: usb-storage 2-3:1.0
Apr  8 16:59:59 PC-G1013226 kernel: [  189.113682] usbcore: registered new interface driver usb-storage
Apr  8 17:00:00 PC-G1013226 kernel: [  190.115472] scsi 4:0:0:0: CD-ROM            ZTE      USB SCSI CD-ROM  2.31 PQ: 0 ANSI: 0
Apr  8 17:00:00 PC-G1013226 kernel: [  190.129066] sr 4:0:0:0: [sr0] scsi3-mmc drive: 0x/52x cd/rw xa/form2 cdda tray
Apr  8 17:00:00 PC-G1013226 kernel: [  190.129080] cdrom: Uniform CD-ROM driver Revision: 3.20
Apr  8 17:00:00 PC-G1013226 kernel: [  190.129583] sr 4:0:0:0: Attached scsi CD-ROM sr0
Apr  8 17:00:00 PC-G1013226 kernel: [  190.130850] sr 4:0:0:0: Attached scsi generic sg1 type 5
Apr  8 17:01:04 PC-G1013226 sudo: pam_ecryptfs: pam_sm_authenticate: /home/thomas is already mounted
Apr  8 17:06:56 PC-G1013226 kernel: [  606.226290] usb 2-3: USB disconnect, device number 2
Apr  8 17:06:56 PC-G1013226 kernel: [  606.230616] cdrom: issuing MRW background format suspend
Apr  8 17:07:15 PC-G1013226 kernel: [  625.040083] usb 2-3: new high-speed USB device number 3 using ehci-pci
Apr  8 17:07:15 PC-G1013226 kernel: [  625.183357] usb 2-3: New USB device found, idVendor=19d2, idProduct=2000
Apr  8 17:07:15 PC-G1013226 kernel: [  625.183365] usb 2-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
Apr  8 17:07:15 PC-G1013226 kernel: [  625.183369] usb 2-3: Product: ZTE CDMA Technologies MSM
Apr  8 17:07:15 PC-G1013226 kernel: [  625.183371] usb 2-3: Manufacturer: ZTE, Incorporated
Apr  8 17:07:15 PC-G1013226 kernel: [  625.185172] usb-storage 2-3:1.0: USB Mass Storage device detected
Apr  8 17:07:15 PC-G1013226 kernel: [  625.185352] scsi host5: usb-storage 2-3:1.0
Apr  8 17:07:15 PC-G1013226 mtp-probe: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:13.2/usb2/2-3"
Apr  8 17:07:15 PC-G1013226 mtp-probe: bus: 2, device: 3 was not an MTP device
Apr  8 17:07:15 PC-G1013226 systemd[1]: Starting USB_ModeSwitch...
Apr  8 17:07:15 PC-G1013226 systemd[1]: usb_modeswitch@-2-3.service: main process exited, code=exited, status=1/FAILURE
Apr  8 17:07:15 PC-G1013226 systemd[1]: Failed to start USB_ModeSwitch.
Apr  8 17:07:15 PC-G1013226 systemd[1]: Unit usb_modeswitch@-2-3.service entered failed state.
Apr  8 17:07:15 PC-G1013226 systemd[1]: usb_modeswitch@-2-3.service failed.
Apr  8 17:07:16 PC-G1013226 kernel: [  626.187568] scsi 5:0:0:0: CD-ROM            ZTE      USB SCSI CD-ROM  2.31 PQ: 0 ANSI: 0
Apr  8 17:07:16 PC-G1013226 kernel: [  626.204411] sr 5:0:0:0: [sr0] scsi3-mmc drive: 0x/52x cd/rw xa/form2 cdda tray
Apr  8 17:07:16 PC-G1013226 kernel: [  626.204944] sr 5:0:0:0: Attached scsi CD-ROM sr0
Apr  8 17:07:16 PC-G1013226 kernel: [  626.205263] sr 5:0:0:0: Attached scsi generic sg1 type 5

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: usb-modeswitch 2.2.0+repack0-2ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-11.11-generic 3.19.3
Uname: Linux 3.19.0-11-generic x86_64
ApportVersion: 2.17-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Apr  8 17:15:57 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-01-27 (71 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: usb-modeswitch
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: usb-modeswitch (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug vivid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to usb-modeswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1441694

Title:
  usb-modeswitch not working since last upgrade to 2.2.0

Status in usb-modeswitch package in Ubuntu:
  New

Bug description:
  USB Modem was working fine before
  And now, I need to launch manually the command "usb_modeswitch -v 19d2 -p 2000 -c /etc/usb_modeswitch.d/19dé\:2000" in order for USB device to switch to modem mode.

  When looking to /usr/share/usb_modeswitch, only file configPack.tar.gz is present, and /etc/usb_modeswitch.d is empty.
  Decompacting my specific device file (19d2:2000) in both directories, launching "usb_modeswitch -v 19d2 -p 2000" doesn't work.

  But my device is well handled by udev rules definition as seen in syslog :
  Apr  8 16:59:59 PC-G1013226 kernel: [  189.113529] scsi host4: usb-storage 2-3:1.0
  Apr  8 16:59:59 PC-G1013226 kernel: [  189.113682] usbcore: registered new interface driver usb-storage
  Apr  8 17:00:00 PC-G1013226 kernel: [  190.115472] scsi 4:0:0:0: CD-ROM            ZTE      USB SCSI CD-ROM  2.31 PQ: 0 ANSI: 0
  Apr  8 17:00:00 PC-G1013226 kernel: [  190.129066] sr 4:0:0:0: [sr0] scsi3-mmc drive: 0x/52x cd/rw xa/form2 cdda tray
  Apr  8 17:00:00 PC-G1013226 kernel: [  190.129080] cdrom: Uniform CD-ROM driver Revision: 3.20
  Apr  8 17:00:00 PC-G1013226 kernel: [  190.129583] sr 4:0:0:0: Attached scsi CD-ROM sr0
  Apr  8 17:00:00 PC-G1013226 kernel: [  190.130850] sr 4:0:0:0: Attached scsi generic sg1 type 5
  Apr  8 17:01:04 PC-G1013226 sudo: pam_ecryptfs: pam_sm_authenticate: /home/thomas is already mounted
  Apr  8 17:06:56 PC-G1013226 kernel: [  606.226290] usb 2-3: USB disconnect, device number 2
  Apr  8 17:06:56 PC-G1013226 kernel: [  606.230616] cdrom: issuing MRW background format suspend
  Apr  8 17:07:15 PC-G1013226 kernel: [  625.040083] usb 2-3: new high-speed USB device number 3 using ehci-pci
  Apr  8 17:07:15 PC-G1013226 kernel: [  625.183357] usb 2-3: New USB device found, idVendor=19d2, idProduct=2000
  Apr  8 17:07:15 PC-G1013226 kernel: [  625.183365] usb 2-3: New USB device strings: Mfr=2, Product=1, SerialNumber=0
  Apr  8 17:07:15 PC-G1013226 kernel: [  625.183369] usb 2-3: Product: ZTE CDMA Technologies MSM
  Apr  8 17:07:15 PC-G1013226 kernel: [  625.183371] usb 2-3: Manufacturer: ZTE, Incorporated
  Apr  8 17:07:15 PC-G1013226 kernel: [  625.185172] usb-storage 2-3:1.0: USB Mass Storage device detected
  Apr  8 17:07:15 PC-G1013226 kernel: [  625.185352] scsi host5: usb-storage 2-3:1.0
  Apr  8 17:07:15 PC-G1013226 mtp-probe: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:13.2/usb2/2-3"
  Apr  8 17:07:15 PC-G1013226 mtp-probe: bus: 2, device: 3 was not an MTP device
  Apr  8 17:07:15 PC-G1013226 systemd[1]: Starting USB_ModeSwitch...
  Apr  8 17:07:15 PC-G1013226 systemd[1]: usb_modeswitch@-2-3.service: main process exited, code=exited, status=1/FAILURE
  Apr  8 17:07:15 PC-G1013226 systemd[1]: Failed to start USB_ModeSwitch.
  Apr  8 17:07:15 PC-G1013226 systemd[1]: Unit usb_modeswitch@-2-3.service entered failed state.
  Apr  8 17:07:15 PC-G1013226 systemd[1]: usb_modeswitch@-2-3.service failed.
  Apr  8 17:07:16 PC-G1013226 kernel: [  626.187568] scsi 5:0:0:0: CD-ROM            ZTE      USB SCSI CD-ROM  2.31 PQ: 0 ANSI: 0
  Apr  8 17:07:16 PC-G1013226 kernel: [  626.204411] sr 5:0:0:0: [sr0] scsi3-mmc drive: 0x/52x cd/rw xa/form2 cdda tray
  Apr  8 17:07:16 PC-G1013226 kernel: [  626.204944] sr 5:0:0:0: Attached scsi CD-ROM sr0
  Apr  8 17:07:16 PC-G1013226 kernel: [  626.205263] sr 5:0:0:0: Attached scsi generic sg1 type 5

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: usb-modeswitch 2.2.0+repack0-2ubuntu1
  ProcVersionSignature: Ubuntu 3.19.0-11.11-generic 3.19.3
  Uname: Linux 3.19.0-11-generic x86_64
  ApportVersion: 2.17-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Apr  8 17:15:57 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-01-27 (71 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  SourcePackage: usb-modeswitch
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1441694/+subscriptions


Follow ups

References