Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

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!
Tasklist

FS#4612 - [ltmodem-utils-8.31-25] udev rules don't work

Attached to Project: Arch Linux
Opened by Jens Adam (byte) - Wednesday, 10 May 2006, 02:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After booting ltmodem and ltserial modules are loaded and /dev/ttyLTM0 has correct permission, but there is no /dev/modem symlink and no ppp module.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 22 May 2006, 21:49 GMT
Reason for closing:  Fixed
Comment by Tobias Powalowski (tpowa) - Thursday, 11 May 2006, 06:03 GMT
KERNEL=="ttyLTM[0-9]", NAME=="%k", MODE=="0660", GROUP=="tty", SYMLINK+="modem"
change that to:
KERNEL=="ttyLTM[0-9]", NAME="%k", MODE=="0660", GROUP=="tty", SYMLINK+="modem"
in slmodem.rules
and report if it helps
Comment by Jens Adam (byte) - Thursday, 11 May 2006, 13:05 GMT
Yes, that works for the symlink. When is ppp_generic supposed to load?
When you release a new package don't forget about intel-53*-utils and slmodem-utils.
Comment by Tobias Powalowski (tpowa) - Thursday, 11 May 2006, 14:35 GMT
try to remove one = from DRIVER== perhaps that helps too :)
Comment by Jens Adam (byte) - Sunday, 14 May 2006, 21:36 GMT
Indeed, that's it. Two bytes less and everything works fine. ;]
Comment by Tobias Powalowski (tpowa) - Monday, 15 May 2006, 07:30 GMT
hmm could you try to add the = again and run udevtest /dev/<yourmodemnode>, to see what udev dislikes, on 092 i got errors if using DRIVER=, DRIVER== is needed on 092 udev
Comment by Jens Adam (byte) - Tuesday, 16 May 2006, 21:28 GMT
$ udevtest /dev/ttyLTM0
main: unable to open '/dev/ttyLTM0'

...with DRIVER= and DRIVER==
Comment by Jens Adam (byte) - Monday, 22 May 2006, 17:40 GMT
So, a quick update with udev 092-3:

KERNEL=="ttyLTM[0-9]", NAME="%k", MODE="0660", GROUP="tty", SYMLINK+="modem"
No problem with this.

ACTION=="add", DRIVER=="ltserial", RUN+="/lib/udev/load-modules.sh ppp-generic"
Doesn't work, except with udev 091 and DRIVER=.

(wonder if this one reaches 18 comments as well...)
Comment by Tobias Powalowski (tpowa) - Monday, 22 May 2006, 18:55 GMT
please try this rule:
ACTION=="add", KERNEL=="ttyLTM[0-9]", MODE=="0660", GROUP=="tty", SYMLINK+="modem", RUN+="/lib/udev/load-modules.sh ppp-generic"
and remove the 2 others in ltmodem.rules

Loading...