Bug 148503 - net-dialup/slmodem changed device node
|
Bug#:
148503
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: net-dialup@gentoo.org
|
Reported By: gpopac@gmail.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: net-dialup/slmodem changed device node
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-09-21 06:29 0000
|
In file /usr/portage/net-dialup/slmodem/files/slmodem-2.9.11.init
if [ ! -c "${MDEV}" ]; then mknod ${MDEV} c 242 0; fi
should now be:
if [ ! -c "${MDEV}" ]; then mknod ${MDEV} c 243 0; fi
Why? Who changed the device? What's your problem exactly?
/dev/slusb0 was not well created, and I was digging for possibile problem, and
found:
Gentoo ~ # cat /proc/devices
Character devices:
1 mem
2 pty
3 ttyp
4 /dev/vc/0
4 tty
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
7 vcs
10 misc
13 input
14 sound
21 sg
29 fb
81 video4linux
108 ppp
116 alsa
128 ptm
136 pts
180 usb
189 usb_device
195 nvidia
243 slusb
mknod was useing 242 an major number, but I found that it is 243, and edit my
/etc/init.d/slmodem file. Later, in Changelog for slmodem I found:
* Version 2.9.11
- Off-hook with mixer (ALSA mode)
- device major numbers change, (212 -> 242, 213 -> 243)
- support for HSP1688 PCI modem
- misc compatibility fixes
- misc improvements
So device major number should be 243 from now on. I am sory about my shortness,
and bad english...
To be exact, the device major number depend on the module:
242 -> slamr
243 -> slusb
But, isn't the device created by the udev the moment you load slusb module?
Works fine. Don't know about slamr.
fixed in cvs and bumped to slmodem-2.9.11_pre20051101-r2.