Devuan bug report logs - #333
usb-modeswitch no longer creates /dev/gsmmodem symlink

Package: usb-modeswitch-data; Maintainer for usb-modeswitch-data is (unknown); Source for usb-modeswitch-data is src:usb-modeswitch-data.

Reported by: Guenther Brunthaler <gb_about_gnu@gmx.net>

Date: Thu, 13 Jun 2019 21:03:02 UTC

Severity: normal

Done: Svante Signell <svante.signell@gmail.com>

Full log


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: svante.signell@gmail.com
Subject: bug#333: marked as done (usb-modeswitch no longer creates
 /dev/gsmmodem symlink)
Message-ID: <handler.333.D333.157900745912999.ackdone@bugs.devuan.org>
References: <334806d634b193e1642c1de2b5c07178d6508494.camel@gmail.com>
 <843f52bb-ffbf-9129-b5fb-3ee5834d99f5@gmx.net>
X-Devuan-PR-Message: closed 333
X-Devuan-PR-Package: usb-modeswitch-data
Reply-To: 333@bugs.devuan.org
Date: Tue, 14 Jan 2020 13:12:23 +0000
Content-Type: multipart/mixed; boundary="----------=_1579007543-13102-0"
[Message part 1 (text/plain, inline)]
Your message dated Sat, 04 Jan 2020 11:30:56 +0100
with message-id <334806d634b193e1642c1de2b5c07178d6508494.camel@gmail.com>
and subject line Closing this bug due to #334 being filed.
has caused the Devuan bug report #333,
regarding usb-modeswitch no longer creates /dev/gsmmodem symlink
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.devuan.org
immediately.)


-- 
333: debbugs.devuan.dev//cgi/bugreport.cgi?bug=333
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: Guenther Brunthaler <gb_about_gnu@gmx.net>
To: submit@bugs.devuan.org
Subject: usb-modeswitch no longer creates /dev/gsmmodem symlink
Date: Thu, 13 Jun 2019 22:53:54 +0200
Package: usb-modeswitch-data
Version: 20170120-1

The /dev/gsmmodem symlink is very useful as the device specified in
/etc/ppp/peers/* configurations, because it works no matter what modem
has actually been connected to the computer.

The eudev-rule from the the beforementioned package invokes the
usb_modeswitch binary with the --symlink-name which used to create the
/dev/gsmmodem symlink:

$ grep -A2 gsmmodem /lib/udev/rules.d/40-usb_modeswitch.rules
# Adds a symlink "gsmmodem[n]" to the lowest ttyUSB port with interrupt
# transfer; checked against a list of known modems, or else no action
KERNEL=="ttyUSB*", ATTRS{bNumConfigurations}=="*",
PROGRAM="usb_modeswitch --symlink-name %p %s{idVendor} %s{idProduct}
%E{PRODUCT}", SYMLINK+="%c"

The binary ignores the option, and hence no symlink is created.

I think the udev rule is incorrect and should invoke the
/lib/udev/usb_modeswitch shell script rather than the
/usr/sbin/usb_modeswitch binary, because only the shell script supports
the --symlink-name option.

This is at least the case in the current version 2.5.0+repack0-1 of the
usb-modeswitch package.

I am using Devuan GNU/Linux 2.0 (ascii)
on branch stretch
with kernel
Linux xeeepc 4.9.0-9-686 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13)
i686 GNU/Linux
[Message part 3 (message/rfc822, inline)]
From: Svante Signell <svante.signell@gmail.com>
To: 333-close@bugs.devuan.org
Subject: Closing this bug due to #334 being filed.
Date: Sat, 04 Jan 2020 11:30:56 +0100


Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri Apr 19 09:16:10 2024;