Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 148503
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Dialup Developers <net-dialup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Milos Popovic <gpopac@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
slmodem-2.9.11.init slmodem init script text/plain Alin Năstac 2006-09-21 12:59 0000 2.21 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 148503 depends on: Show dependency tree
Bug 148503 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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

------- Comment #1 From Jakub Moc (RETIRED) 2006-09-21 06:45:29 0000 -------
Why? Who changed the device? What's your problem exactly?

------- Comment #2 From Milos Popovic 2006-09-21 09:01:52 0000 -------
/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...

------- Comment #3 From Jakub Moc (RETIRED) 2006-09-21 10:00:45 0000 -------
Much more clear now. ;)

------- Comment #4 From Alin Năstac 2006-09-21 12:25:44 0000 -------
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?

------- Comment #5 From Alin Năstac 2006-09-21 12:59:53 0000 -------
Created an attachment (id=97689) [details]
slmodem init script

Please try this slmodem init script and tell me if it worked for you.

------- Comment #6 From Milos Popovic 2006-09-22 00:04:24 0000 -------
Works fine. Don't know about slamr.

------- Comment #7 From Alin Năstac 2006-09-22 05:33:00 0000 -------
fixed in cvs and bumped to slmodem-2.9.11_pre20051101-r2.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug