[Bug 1431179] Re: usb_modeswitch@.service fails
"sudo /usr/sbin/usb_modeswitch --default-vendor 0x12d1 --default-product 0x1446 -J" worked for Huawei E1550 on Ubuntu 16.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails
@pitti, whilst you have a fix released as noted in the latest comment - and the duplicate there is a class of modems (Huawei, which I also have) where this still continues to fail. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails
I have the same problem in Ubuntu 16.04 with an Huawei E122. My workaround is to execute manually the switch using "Huawei newmode" parameter: /usr/sbin/usb_modeswitch --default-vendor 0x12d1 --default-product 0x1446 -J -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails
I'm having the same issue. Ubuntu tries to start service usb_modeswitch@1-1.4-1-1.4:1.0 -- this fails. If I start service: usb_modeswitch@1-1.4:1.0 manually, running systemctl start usb_modeswitch@1-1.4:1.0 - that works fine and my 3g modem starts working. Anyone have a permanent solution? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails
I wonder if this is related? https://bugs.launchpad.net/linuxmint/+bug/1444717 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails
BTW, It's Ubuntu Server 15.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails
Still not working for me too for Huawei E1550 on Ubuntu 15.04. bla@bla-bla:~$ dpkg -s usb-modeswitch Package: usb-modeswitch Status: install ok installed Priority: extra Section: comm Installed-Size: 202 Maintainer: Ubuntu Developers Architecture: amd64 Version: 2.2.0+repack0-2ubuntu2 Depends: libc6 (>= 2.14), libpipeline1 (>= 1.0.0), libusb-1.0-0 (>= 2:1.0.8), usb-modeswitch-data (>= 20140529) Suggests: comgt, wvdial Breaks: usb-modeswitch-data (<< 20100127) Conffiles: /etc/init/usb-modeswitch-upstart.conf 8972963f876f7717c4c0f267de97b278 /etc/usb_modeswitch.conf b8fcd7f4e9e0173139b36cb56469377f Description: mode switching tool for controlling "flip flop" USB devices Several new USB devices have their proprietary Windows drivers onboard, especially WAN dongles. When plugged in for the first time, they act like a flash storage and start installing the driver from there. If the driver is already installed, the storage device vanishes and a new device, such as an USB modem, shows up. This is called the "ZeroCD" feature. . On Debian, this is not needed, since the driver is included as a Linux kernel module, such as "usbserial". However, the device still shows up as "usb-storage" by default. usb-modeswitch solves that issue by sending the command which actually performs the switching of the device from "usb-storage" to "usbserial". . This package contains the binaries and the brother scripts. Homepage: http://www.draisberghof.de/usb_modeswitch/ Original-Maintainer: Didier Raboud syslog: Sep 25 22:45:40 sr-server kernel: [ 9318.686831] usb 1-7.4: new high-speed USB device number 9 using xhci_hcd Sep 25 22:45:40 sr-server kernel: [ 9318.786227] usb 1-7.4: New USB device found, idVendor=12d1, idProduct=1446 Sep 25 22:45:40 sr-server kernel: [ 9318.786232] usb 1-7.4: New USB device strings: Mfr=2, Product=1, SerialNumber=0 Sep 25 22:45:40 sr-server kernel: [ 9318.786234] usb 1-7.4: Product: HUAWEI Mobile Sep 25 22:45:40 sr-server kernel: [ 9318.786236] usb 1-7.4: Manufacturer: HUAWEI Technology Sep 25 22:45:40 sr-server kernel: [ 9318.790650] usb-storage 1-7.4:1.0: USB Mass Storage device detected Sep 25 22:45:40 sr-server kernel: [ 9318.790755] scsi host14: usb-storage 1-7.4:1.0 Sep 25 22:45:40 sr-server kernel: [ 9318.790984] usb-storage 1-7.4:1.1: USB Mass Storage device detected Sep 25 22:45:40 sr-server kernel: [ 9318.791387] scsi host15: usb-storage 1-7.4:1.1 Sep 25 22:45:40 sr-server systemd[1]: Starting USB_ModeSwitch... Sep 25 22:45:40 sr-server systemd[1]: usb_modeswitch@1-7.4-1-7.4:1.0.service: main process exited, code=exited, status=1/FAILURE Sep 25 22:45:40 sr-server systemd[1]: Failed to start USB_ModeSwitch. Sep 25 22:45:40 sr-server systemd[1]: Unit usb_modeswitch@1-7.4-1-7.4:1.0.service entered failed state. Sep 25 22:45:40 sr-server systemd[1]: usb_modeswitch@1-7.4-1-7.4:1.0.service failed. Sep 25 22:45:41 sr-server kernel: [ 9319.796060] scsi 14:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 Sep 25 22:45:41 sr-server kernel: [ 9319.798274] scsi 15:0:0:0: Direct-Access HUAWEI MMC Storage 2.31 PQ: 0 ANSI: 2 Sep 25 22:45:41 sr-server kernel: [ 9319.808438] sr 14:0:0:0: [sr0] scsi-1 drive Sep 25 22:45:41 sr-server kernel: [ 9319.808643] sr 14:0:0:0: Attached scsi CD-ROM sr0 Sep 25 22:45:41 sr-server kernel: [ 9319.808759] sr 14:0:0:0: Attached scsi generic sg2 type 5 Sep 25 22:45:41 sr-server kernel: [ 9319.809049] sd 15:0:0:0: Attached scsi generic sg3 type 0 Sep 25 22:45:41 sr-server kernel: [ 9319.818478] sd 15:0:0:0: [sdc] Attached SCSI removable disk Sep 25 22:45:41 sr-server systemd-udevd[257]: error: /dev/sdc: No medium found Sep 25 22:45:41 sr-server kernel: [ 9319.937684] xhci_hcd :00:14.0: WARN Event TRB for slot 8 ep 2 with no TDs queued? Sep 25 22:45:52 sr-server kernel: [ 9330.702518] xhci_hcd :00:14.0: WARN Event TRB for slot 8 ep 2 with no TDs queued? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails
BTW, usb_modeswitch@3-3-3-3:1.0.service seems to me erroneus The propper should look like usb_modeswitch@3-3:1.0.service -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails
usb-modeswitch version^ root@m-api2:~# dpkg -s usb-modeswitch Package: usb-modeswitch Status: install ok installed Priority: extra Section: comm Installed-Size: 202 Maintainer: Ubuntu Developers Architecture: amd64 Version: 2.2.0+repack0-2ubuntu2 Depends: libc6 (>= 2.14), libpipeline1 (>= 1.0.0), libusb-1.0-0 (>= 2:1.0.8), usb-modeswitch-data (>= 20140529) Suggests: comgt, wvdial Breaks: usb-modeswitch-data (<< 20100127) Conffiles: /etc/init/usb-modeswitch-upstart.conf 8972963f876f7717c4c0f267de97b278 /etc/usb_modeswitch.conf b8fcd7f4e9e0173139b36cb56469377f Description: mode switching tool for controlling "flip flop" USB devices Several new USB devices have their proprietary Windows drivers onboard, especially WAN dongles. When plugged in for the first time, they act like a flash storage and start installing the driver from there. If the driver is already installed, the storage device vanishes and a new device, such as an USB modem, shows up. This is called the "ZeroCD" feature. . On Debian, this is not needed, since the driver is included as a Linux kernel module, such as "usbserial". However, the device still shows up as "usb-storage" by default. usb-modeswitch solves that issue by sending the command which actually performs the switching of the device from "usb-storage" to "usbserial". . This package contains the binaries and the brother scripts. Homepage: http://www.draisberghof.de/usb_modeswitch/ Original-Maintainer: Didier Raboud -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails
Still not working with Huawei E3372: Jul 30 16:35:11 m-api2 kernel: [ 1472.901499] usb 3-3: new high-speed USB device number 4 using ehci-pci Jul 30 16:35:11 m-api2 kernel: [ 1473.034553] usb 3-3: New USB device found, idVendor=12d1, idProduct=1f01 Jul 30 16:35:11 m-api2 kernel: [ 1473.034564] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Jul 30 16:35:11 m-api2 kernel: [ 1473.034569] usb 3-3: Product: HUAWEI_MOBILE Jul 30 16:35:11 m-api2 kernel: [ 1473.034573] usb 3-3: Manufacturer: HUAWEI_MOBILE Jul 30 16:35:11 m-api2 kernel: [ 1473.034577] usb 3-3: SerialNumber: 0123456789ABCDEF Jul 30 16:35:11 m-api2 kernel: [ 1473.035513] usb-storage 3-3:1.0: USB Mass Storage device detected Jul 30 16:35:11 m-api2 kernel: [ 1473.038949] scsi host8: usb-storage 3-3:1.0 Jul 30 16:35:11 m-api2 systemd[1]: Starting USB_ModeSwitch... Jul 30 16:35:11 m-api2 systemd[1]: usb_modeswitch@3-3-3-3:1.0.service: main process exited, code=exited, status=1/FAILURE Jul 30 16:35:11 m-api2 systemd[1]: Failed to start USB_ModeSwitch. Jul 30 16:35:11 m-api2 systemd[1]: Unit usb_modeswitch@3-3-3-3:1.0.service entered failed state. Jul 30 16:35:11 m-api2 systemd[1]: usb_modeswitch@3-3-3-3:1.0.service failed. Jul 30 16:35:12 m-api2 kernel: [ 1474.037905] scsi 8:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 Jul 30 16:35:12 m-api2 kernel: [ 1474.038365] scsi 8:0:0:1: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2 Jul 30 16:35:12 m-api2 kernel: [ 1474.044459] sr 8:0:0:0: [sr0] scsi-1 drive Jul 30 16:35:12 m-api2 kernel: [ 1474.045757] sr 8:0:0:0: Attached scsi CD-ROM sr0 Jul 30 16:35:12 m-api2 kernel: [ 1474.045987] sr 8:0:0:0: Attached scsi generic sg1 type 5 Jul 30 16:35:12 m-api2 kernel: [ 1474.046975] sd 8:0:0:1: Attached scsi generic sg2 type 0 Jul 30 16:35:12 m-api2 kernel: [ 1474.053341] sd 8:0:0:1: [sdb] Attached SCSI removable disk Jul 30 16:35:12 m-api2 systemd-udevd[258]: error: /dev/sdb: No medium found Jul 30 16:35:12 m-api2 kernel: [ 1474.763724] sr 8:0:0:0: [sr0] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE Jul 30 16:35:12 m-api2 kernel: [ 1474.763746] sr 8:0:0:0: [sr0] Sense Key : Medium Error [current] Jul 30 16:35:12 m-api2 kernel: [ 1474.763757] sr 8:0:0:0: [sr0] Add. Sense: Unrecovered read error Jul 30 16:35:12 m-api2 kernel: [ 1474.763765] sr 8:0:0:0: [sr0] CDB: Jul 30 16:35:12 m-api2 kernel: [ 1474.763772] Read(10): 28 00 00 00 0f fe 00 00 02 00 Jul 30 16:35:12 m-api2 kernel: [ 1474.763798] blk_update_request: critical medium error, dev sr0, sector 16376 Jul 30 16:35:12 m-api2 kernel: [ 1474.774706] sr 8:0:0:0: [sr0] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE Jul 30 16:35:12 m-api2 kernel: [ 1474.774721] sr 8:0:0:0: [sr0] Sense Key : Medium Error [current] Jul 30 16:35:12 m-api2 kernel: [ 1474.774727] sr 8:0:0:0: [sr0] Add. Sense: Unrecovered read error Jul 30 16:35:12 m-api2 kernel: [ 1474.774730] sr 8:0:0:0: [sr0] CDB: Jul 30 16:35:12 m-api2 kernel: [ 1474.774735] Read(10): 28 00 00 00 0f fe 00 00 02 00 Jul 30 16:35:12 m-api2 kernel: [ 1474.774749] blk_update_request: critical medium error, dev sr0, sector 16376 Jul 30 16:35:12 m-api2 kernel: [ 1474.774838] Buffer I/O error on dev sr0, logical block 2047, async page read Jul 30 16:35:13 m-api2 kernel: [ 1474.857014] sr 8:0:0:0: [sr0] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE Jul 30 16:35:13 m-api2 kernel: [ 1474.857036] sr 8:0:0:0: [sr0] Sense Key : Medium Error [current] Jul 30 16:35:13 m-api2 kernel: [ 1474.857047] sr 8:0:0:0: [sr0] Add. Sense: Unrecovered read error Jul 30 16:35:13 m-api2 kernel: [ 1474.857054] sr 8:0:0:0: [sr0] CDB: Jul 30 16:35:13 m-api2 kernel: [ 1474.857062] Read(10): 28 00 00 00 0f fc 00 00 02 00 Jul 30 16:35:13 m-api2 kernel: [ 1474.857089] blk_update_request: critical medium error, dev sr0, sector 16368 Jul 30 16:35:13 m-api2 kernel: [ 1474.858249] sr 8:0:0:0: [sr0] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE Jul 30 16:35:13 m-api2 kernel: [ 1474.858260] sr 8:0:0:0: [sr0] Sense Key : Medium Error [current] Jul 30 16:35:13 m-api2 kernel: [ 1474.858269] sr 8:0:0:0: [sr0] Add. Sense: Unrecovered read error Jul 30 16:35:13 m-api2 kernel: [ 1474.858276] sr 8:0:0:0: [sr0] CDB: Jul 30 16:35:13 m-api2 kernel: [ 1474.858280] Read(10): 28 00 00 00 0f fc 00 00 02 00 Jul 30 16:35:13 m-api2 kernel: [ 1474.858303] blk_update_request: critical medium error, dev sr0, sector 16368 Jul 30 16:35:13 m-api2 kernel: [ 1474.858447] Buffer I/O error on dev sr0, logical block 2046, async page read But manually calling usb_modeswitch works: root@m-api2:~# usb_modeswitch -v 0x12d1 -p 0x1f01 -J Look for default devices ... product ID matched Found devices in default mode (1) Access device 004 on bus 003 Current configuration number is 1 Use interface number 0 Use endpoints 0x01 (out) and 0x81 (in) USB description data (for identification) - Manufacturer: HUAWEI_MOBILE Product: HUAWEI_MOBILE
[Bug 1431179] Re: usb_modeswitch@.service fails
My Huawei E220 works if I do not insert a microSD card in the stick. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails sometimes
I found an USB 3G stick and can reproduce this. ** Changed in: usb-modeswitch (Ubuntu) Importance: Undecided => Medium ** Changed in: usb-modeswitch (Ubuntu) Status: Incomplete => In Progress ** Changed in: usb-modeswitch (Ubuntu) Assignee: (unassigned) => Martin Pitt (pitti) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails sometimes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails sometimes
** Attachment added: "udev_before_manual_switch.txt" https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4370385/+files/udev_before_manual_switch.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails sometimes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails sometimes
Hi! Same problem on Ubuntu 14.10 with kernel 3.19.3 (64-bit). All system packages are up-to-date, and I'm able to switch my device manually, but automatically doesn't work. ** Attachment added: "systemctl_all_grep_usb_modeswitch.txt" https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4370381/+files/systemctl_all_grep_usb_modeswitch.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails sometimes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails sometimes
** Attachment added: "systemctl_status_service2.txt" https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4370383/+files/systemctl_status_service2.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails sometimes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails sometimes
** Attachment added: "usb_modeswitch.log" https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4370388/+files/usb_modeswitch.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails sometimes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails sometimes
** Attachment added: "udev_after_manual_switch.txt" https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4370384/+files/udev_after_manual_switch.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails sometimes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails sometimes
** Attachment added: "systemctl_status_service1.txt" https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4370382/+files/systemctl_status_service1.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails sometimes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails sometimes
FWIW: I have the same problem. Running the usb_modeswitch_dispatcher results in the following: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd "%I" *** buffer overflow detected ***: /usr/sbin/usb_modeswitch_dispatcher terminated === Backtrace: = /lib/x86_64-linux-gnu/libc.so.6(+0x7879f)[0x7fbac2f0c79f] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7fbac2fa02fc] /lib/x86_64-linux-gnu/libc.so.6(+0x10a350)[0x7fbac2f9e350] /lib/x86_64-linux-gnu/libc.so.6(__stpncpy_chk+0x0)[0x7fbac2f9d7b0] /usr/sbin/usb_modeswitch_dispatcher[0x401af5] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fbac2eb5ec5] /usr/sbin/usb_modeswitch_dispatcher[0x40310b] === Memory map: 0040-0040a000 r-xp fc:01 1058264 /usr/sbin/usb_modeswitch_dispatcher 00609000-0060a000 r--p 9000 fc:01 1058264 /usr/sbin/usb_modeswitch_dispatcher 0060a000-0060b000 rw-p a000 fc:01 1058264 /usr/sbin/usb_modeswitch_dispatcher 01278000-01299000 rw-p 00:00 0 [heap] 7fbac2c7e000-7fbac2c94000 r-xp fc:01 11796495 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fbac2c94000-7fbac2e93000 ---p 00016000 fc:01 11796495 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fbac2e93000-7fbac2e94000 rw-p 00015000 fc:01 11796495 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fbac2e94000-7fbac304e000 r-xp fc:01 11800995 /lib/x86_64-linux-gnu/libc-2.19.so 7fbac304e000-7fbac324e000 ---p 001ba000 fc:01 11800995 /lib/x86_64-linux-gnu/libc-2.19.so 7fbac324e000-7fbac3252000 r--p 001ba000 fc:01 11800995 /lib/x86_64-linux-gnu/libc-2.19.so 7fbac3252000-7fbac3254000 rw-p 001be000 fc:01 11800995 /lib/x86_64-linux-gnu/libc-2.19.so 7fbac3254000-7fbac3259000 rw-p 00:00 0 7fbac3259000-7fbac3266000 r-xp fc:01 1057734 /usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0 7fbac3266000-7fbac3465000 ---p d000 fc:01 1057734 /usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0 7fbac3465000-7fbac3466000 r--p c000 fc:01 1057734 /usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0 7fbac3466000-7fbac3467000 rw-p d000 fc:01 1057734 /usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0 7fbac3467000-7fbac348a000 r-xp fc:01 11800682 /lib/x86_64-linux-gnu/ld-2.19.so 7fbac366a000-7fbac366d000 rw-p 00:00 0 7fbac3686000-7fbac3689000 rw-p 00:00 0 7fbac3689000-7fbac368a000 r--p 00022000 fc:01 11800682 /lib/x86_64-linux-gnu/ld-2.19.so 7fbac368a000-7fbac368b000 rw-p 00023000 fc:01 11800682 /lib/x86_64-linux-gnu/ld-2.19.so 7fbac368b000-7fbac368c000 rw-p 00:00 0 7fff2c09a000-7fff2c0bb000 rw-p 00:00 0 [stack] 7fff2c13-7fff2c132000 r--p 00:00 0 [vvar] 7fff2c132000-7fff2c134000 r-xp 00:00 0 [vdso] ff60-ff601000 r-xp 00:00 0 [vsyscall] fish: Job 1, “/usr/sbin/usb_modeswitch_dispatcher --switch-systemd "%I"” terminated by signal SIGABRT (Abort) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails sometimes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails sometimes
Muelli, did you literally call it with "%I"? In a unit that gets replaced with the unescaped instance name, i. e. something like "3-1.2:1.0". I. e. did you get this backtrace from the journal or so, or did you call usb_modeswitch_dispatcher on the command line? In that case it needs a proper argument, not literally "%I". Thanks for investigating! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails sometimes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails sometimes
FWIW: I have the same problem. Running the usb_modeswitch_dispatcher results in the following: /usr/sbin/usb_modeswitch_dispatcher --switch-systemd "%I" *** buffer overflow detected ***: /usr/sbin/usb_modeswitch_dispatcher terminated === Backtrace: = /lib/x86_64-linux-gnu/libc.so.6(+0x7879f)[0x7fbac2f0c79f] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7fbac2fa02fc] /lib/x86_64-linux-gnu/libc.so.6(+0x10a350)[0x7fbac2f9e350] /lib/x86_64-linux-gnu/libc.so.6(__stpncpy_chk+0x0)[0x7fbac2f9d7b0] /usr/sbin/usb_modeswitch_dispatcher[0x401af5] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fbac2eb5ec5] /usr/sbin/usb_modeswitch_dispatcher[0x40310b] === Memory map: 0040-0040a000 r-xp fc:01 1058264 /usr/sbin/usb_modeswitch_dispatcher 00609000-0060a000 r--p 9000 fc:01 1058264 /usr/sbin/usb_modeswitch_dispatcher 0060a000-0060b000 rw-p a000 fc:01 1058264 /usr/sbin/usb_modeswitch_dispatcher 01278000-01299000 rw-p 00:00 0 [heap] 7fbac2c7e000-7fbac2c94000 r-xp fc:01 11796495 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fbac2c94000-7fbac2e93000 ---p 00016000 fc:01 11796495 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fbac2e93000-7fbac2e94000 rw-p 00015000 fc:01 11796495 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fbac2e94000-7fbac304e000 r-xp fc:01 11800995 /lib/x86_64-linux-gnu/libc-2.19.so 7fbac304e000-7fbac324e000 ---p 001ba000 fc:01 11800995 /lib/x86_64-linux-gnu/libc-2.19.so 7fbac324e000-7fbac3252000 r--p 001ba000 fc:01 11800995 /lib/x86_64-linux-gnu/libc-2.19.so 7fbac3252000-7fbac3254000 rw-p 001be000 fc:01 11800995 /lib/x86_64-linux-gnu/libc-2.19.so 7fbac3254000-7fbac3259000 rw-p 00:00 0 7fbac3259000-7fbac3266000 r-xp fc:01 1057734 /usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0 7fbac3266000-7fbac3465000 ---p d000 fc:01 1057734 /usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0 7fbac3465000-7fbac3466000 r--p c000 fc:01 1057734 /usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0 7fbac3466000-7fbac3467000 rw-p d000 fc:01 1057734 /usr/lib/x86_64-linux-gnu/libpipeline.so.1.4.0 7fbac3467000-7fbac348a000 r-xp fc:01 11800682 /lib/x86_64-linux-gnu/ld-2.19.so 7fbac366a000-7fbac366d000 rw-p 00:00 0 7fbac3686000-7fbac3689000 rw-p 00:00 0 7fbac3689000-7fbac368a000 r--p 00022000 fc:01 11800682 /lib/x86_64-linux-gnu/ld-2.19.so 7fbac368a000-7fbac368b000 rw-p 00023000 fc:01 11800682 /lib/x86_64-linux-gnu/ld-2.19.so 7fbac368b000-7fbac368c000 rw-p 00:00 0 7fff2c09a000-7fff2c0bb000 rw-p 00:00 0 [stack] 7fff2c13-7fff2c132000 r--p 00:00 0 [vvar] 7fff2c132000-7fff2c134000 r-xp 00:00 0 [vdso] ff60-ff601000 r-xp 00:00 0 [vsyscall] fish: Job 1, “/usr/sbin/usb_modeswitch_dispatcher --switch-systemd "%I"” terminated by signal SIGABRT (Abort) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails sometimes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails sometimes
OK, it was a stab in the dark, thanks for trying. I'm afraid I need someone familiar with usb-modeswitch to explain how this is supposed to work.. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails sometimes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails sometimes
@pitti command output as requested ** Attachment added: "usb_modeswitch_output.txt" https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+attachment/4342405/+files/usb_modeswitch_output.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails sometimes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1431179] Re: usb_modeswitch@.service fails sometimes
@OdyX, do you know what's going on here? I'm afraid I'm not familiar with usb-modeswitch at all.. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1431179 Title: usb_modeswitch@.service fails sometimes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch/+bug/1431179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs