Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61020 - slmodem-2.9.9-r2 driver works fine, but links wrong target with /dev/modem
Summary: slmodem-2.9.9-r2 driver works fine, but links wrong target with /dev/modem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-20 05:41 UTC by Thomas Bettler
Modified: 2004-08-21 03:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/modules.d/alsa (alsa,1.14 KB, text/plain)
2004-08-20 05:41 UTC, Thomas Bettler
Details
/etc/conf.d/slmodem (slmodem,672 bytes, text/plain)
2004-08-20 05:42 UTC, Thomas Bettler
Details
/etc/devfs.d/slmodem (slmodem,786 bytes, text/plain)
2004-08-20 05:44 UTC, Thomas Bettler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bettler 2004-08-20 05:41:05 UTC
I use the kernel ALSA driver intel_8x0m driver in alsa. (see config file attached)
The alsa and slmodem scripts work fine during bootup.

The only problem is slmodem seems to link _slusb0_ instead of _ttySL0_ at startup.
* Starting slmodemd for /dev/ttySL0

After /etc/init.d/slmodem restart everything seems to be correct, even the /dev/modem link.

Reproducible: Always
Steps to Reproduce:
1. Reboot
2. Here you are
3.

Actual Results:  
Wrong link /dev/modem points to slusb0 

Expected Results:  
instead of ttySL0 

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r9+win4lin) 
================================================================= 
System uname: 2.6.7-gentoo-r9+win4lin i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz 
Gentoo Base System version 1.4.16 
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse 
-funroll-loops -fprefetch-loop-arrays -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse 
-funroll-loops -fprefetch-loop-arrays -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="/distfiles/ ftp://mirror.switch.ch/mirror/gentoo/" 
MAKEOPTS="-s -j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib acl alsa apache2 apm arts avi berkdb canna cdr crypt cscope cups curl dga directfb 
divx4linux dvd encode esd fbcon flash foomaticdb freewnn gdbm ggi gif gphoto2 gpm gstreamer gtk 
gtk2 gtkhtml guile imap imlib java jikes jpeg kde libg++ libwww mad maildir mbox mcal mikmod mmx 
motif motiv mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pcmcia pda pdflib perl png 
pnp ppds prelude python qt quicktime readline samba sdl slang slp snmp speex spell sse ssl svga tcltk 
tcpd tetex tiff truetype trusted usb video_cards_radeon wxwindows x86 xinerama xml2 xmms xosd 
xv xvid zlib"
Comment 1 Thomas Bettler 2004-08-20 05:41:57 UTC
Created attachment 37801 [details]
/etc/modules.d/alsa
Comment 2 Thomas Bettler 2004-08-20 05:42:25 UTC
Created attachment 37802 [details]
/etc/conf.d/slmodem
Comment 3 Thomas Bettler 2004-08-20 05:44:16 UTC
Created attachment 37803 [details]
/etc/devfs.d/slmodem
Comment 4 Thomas Bettler 2004-08-20 05:45:51 UTC
I think my config sould work like this. But maybe I made a mistake.

Thanx for any helping ideas
Comment 5 Thomas Bettler 2004-08-21 03:34:36 UTC
OK, Im back again.

I found the bug.
The link /dev/modem already existed using the above config. So it couln't be created.
Restarting the script deleted the link, so it worked the second time.

Anyway since I commented out /etc/devfs.d/slmodem and /etc/modules.d/slmodem everything works fine.