2005/10/30, Eduard Bloch <[EMAIL PROTECTED]>: > #include <hallo.h> > * André Bertelli Araújo [Sat, Oct 29 2005, 07:46:45PM]: > > 2005/10/28, Eduard Bloch <[EMAIL PROTECTED]>: > > > #include <hallo.h> > > > * André Bertelli Araújo [Thu, Oct 27 2005, 11:49:35PM]: > > > > 2005/10/24, Eduard Bloch <[EMAIL PROTECTED]>: > > > > > #include <hallo.h> > > > > > * André Bertelli Araújo [Mon, Oct 24 2005, 09:48:56PM]: > > > > > > - Restarted with /etc/init.d/slmodemd restart > > > > > > - then the following message appeared: > > > > > > > > > > > > Loading SmartLink Modem driver into kernel ... failed. > > > > > > FATAL: Could not open '/lib/modules/2.6.11-1-686/misc/slamr.ko': No > > > > > > such file or directory > > > > > > FATAL: Could not open '/lib/modules/2.6.11-1-686/misc/slamr.ko': No > > > > > > such file or directory > > > > > > > > > > Args. Do "depmod -a" or reboot. > > > > > > > > Well, since I rebooted the machine since the last time I read this, I > > > > just did "depmod -a". No problems. > > > > > > > > Then I did: "/etc/init.d/sl-modem-daemon restart". This was pritned on > > > > the console: > > > > Shutting down SmartLink Modem driver normally ... no slmodemd daemon > > > > running. > > > > Loading ALSA modem driver into kernel ... done. > > > > Starting SmartLink Modem driver for: . > > > > Creating /dev/modem symlink, pointing to: /dev/ttySL0. > > > > > > > > So it appears it loaded the ALSA driver instead of the slmodemd, as > > > > expected. Problem now is... there is no device /dev/ttySL*. So pon > > > > refuses dialing. > > > > > > Interesting. Sounds like no ALSA driver has been found for your modem > > > interface. Please send me your /proc/asound/cards contents and output of > > > "lspci" (just for interest). > > > > /proc/asound/cards : > > > > 0 [CK8S ]: NFORCE - NVidia CK8S > > NVidia CK8S with ALC850 at 0xfebfb000, irq 201 > > Weird. Your modem should have been there when one of the ALSA modules > has loaded successfully, but apparently something broke. Can you load > snd-intel8x0m snd-via82xx-modem manually?
Yes - in fact, snd-intel8x0m were already loaded. > > > lspci : > > > > 0000:02:07.0 Modem: Smart Link Ltd.: Unknown device 8800 (rev 02) > > For the alternative (SmartLink driver), could you try the latest upstream > version 2.9.10 from http://www.smlink.com/ ? I guess you will need to > unload ALSA modules before trying that. Ok - downloaded that, unloaded all alsa drivers (everything starting with snd) before doing anything. Compiled with: make KERNEL_DIR=/usr/src/kernel-headers-2.6.11-1-686/ make -C modem all make[1]: Entering directory `/root/slmodem-2.9.10/modem' gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c make[1]: Leaving directory `/root/slmodem-2.9.10/modem' modem.c: In function 'modem_reset': modem.c:1701: error: invalid storage class for function 'sregs_init' modem.c:1713: warning: implicit declaration of function 'sregs_init' modem.c: At top level: modem.c:1727: error: static declaration of 'sregs_init' follows non-static declaration modem.c:1713: error: previous implicit declaration of 'sregs_init' was here make[1]: *** [modem.o] Error 1 make: *** [modem] Error 2 So I had to correct that by hand; basically I cutted the line 1701 (declares the function sregs_init inside of function modem_reset) and pasted it two lines above (outside of modem_reset). Then it compiled. Followed the instructions on the README, did a 'make install'... then a 'modprobe slamr' and got this: slamr: version magic '2.6.11-1-686 686 gcc-4.0' should be '2.6.11-1-686 686 gcc-3.3' FATAL: Error inserting slamr (/lib/modules/2.6.11-1-686/extra/slamr.ko): Invalid module format This is the output of uname -a , in case you're wondering: Linux rhinox 2.6.12-1-686 #1 Tue Sep 27 12:52:50 JST 2005 i686 GNU/Linux -- .o. -=- Arkanoid -=- ..o http://bertelli.endofinternet.net <>< ooo Debian GNU/Linux