Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#56471 - usb_modeswitch no systemd service

Attached to Project: Arch Linux
Opened by Enrique (gnox) - Sunday, 26 November 2017, 19:16 GMT
Last edited by Jan de Groot (JGC) - Monday, 27 November 2017, 13:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


The shell script called by udev in /usr/lib/udev/rules.d/40-usb-modeswitch.rules, /usr/lib/udev/usb_modeswitch, tries to call a systemd service that is not included in the package : usb_modeswitch@.service, usb modems defined in .rules file are not being changed from cd/zerocd mode to modem mode, in previous version (2.5.0) it was included the .service file.

Additional info:
* Version 2.5.1-1

Steps to reproduce:
- in /etc/udev/udev.conf , udev_log='debug'
- insert a usb 3g/4g modem
- journalctl -f --unit systemd-udevd


$sudo /usr/lib/udev/usb_modeswitch -c "/etc/usb_modeswitch.d/12d1:1f01"
Failed to start usb_modeswitch@-c.service: Unit usb_modeswitch@-c.service not found

Content of 12d1:1f01 file:
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 27 November 2017, 13:54 GMT
Reason for closing:  Duplicate
Additional comments about closing: