slmodem and FC3 (udev?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I need help with a modem driver, I assume it has to do with the change to
udev. I tried reading the udev documentation, but it's not at all clear to
me what I'm supposed to do. A websearch didn't turn up anything useful
either. Any suggestions? thanks!

Here is the problem.

Laptop with external USB modem with smartlink chipset, using slmodem-2.9.10
driver.
Previously under FC2 I just followed the instruction in the slmodem
documentation, 
starting the driver with
# /usr/sbin/slmodemd --country=UK /dev/slusb
# ln -s /dev/ttySL0 /dev/mode
and then using kppp to connect - worked perfectly.

Now under FC3
I recompiled the driver for the new kernel with make & make install, seems
to go ok, although there is one warning about "usb_endpoint_halted"
undefined! (full output see below).
Then:
[root@godzilla-pc ~]# /usr/sbin/slmodemd --country=UK /dev/slusb
error: mdm setup: cannot stat `/dev/slusb0': No such file or directory
error: cannot setup device `/dev/slusb0'

I assume that I have to set something in /etc/udev/rules.d/, but I have no
clue what.

Otherwise udev seems to working ok: for example I can synchronize a palm via
USB (after putting
KERNEL="ttyUSB1",SYMLINK="pilot" into /etc/udev/rules.d/10-local.rules as
was suggested earlier on the list.)

I tried a similar approach for the modem problem with
KERNEL="slusb0",SYMLINK="modem"
and
KERNEL="ttySL0",SYMLINK="modem"
but this didn't help.

What can I do now? Anybody using slmodem?

Thanks
Stephan

And here is the output from make & make install

[root@godzilla-pc slmodem]# make
make -C modem all
make[1]: Entering directory `/usr/src/slmodem-2.9.10/modem'
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c modem_main.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_cmdline.o -c
modem_cmdline.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem.o -c modem.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_datafile.o -c
modem_datafile.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_at.o -c modem_at.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_timer.o -c modem_timer.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_pack.o -c modem_pack.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_ec.o -c modem_ec.c
modem_ec.c:689: Warnung:t�403_timeou �definiert, aber nicht
verwendet
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_comp.o -c modem_comp.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_param.o -c modem_param.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_debug.o -c modem_debug.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o homolog_data.o -c
homolog_data.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_sinus.o -c dp_sinus.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_dummy.o -c dp_dummy.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o sysdep_common.o -c
sysdep_common.c
gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o
modem_at.o
modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o
modem_debug.o
homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_test.o -c modem_test.c
gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o
modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o
modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
make[1]: Leaving directory `/usr/src/slmodem-2.9.10/modem'
[root@godzilla-pc slmodem]# make install
make -C modem all
make[1]: Entering directory `/usr/src/slmodem-2.9.10/modem'
make[1]: Leaving directory `/usr/src/slmodem-2.9.10/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.9-1.667/build
make[1]: Entering directory `/usr/src/slmodem-2.9.10/drivers'
cc -I/lib/modules/2.6.9-1.667/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.9-1.66
make[2]: Entering directory `/usr/src/slmodem-2.9.10/drivers'
make modules -C /lib/modules/2.6.9-1.667/build
SUBDIRS=/usr/src/slmodem-2.9.10/drivers
make[3]: Entering directory `/lib/modules/2.6.9-1.667/build'
  CC [M]  /usr/src/slmodem-2.9.10/drivers/amrmo_init.o
  CC [M]  /usr/src/slmodem-2.9.10/drivers/sysdep_amr.o
  CC [M]  /usr/src/slmodem-2.9.10/drivers/st7554.o
/usr/src/slmodem-2.9.10/drivers/st7554.c: In function `st7554_init':
/usr/src/slmodem-2.9.10/drivers/st7554.c:1112: Warnung: implizite
Deklaration de
r Funktionu�sb_endpoint_halted�
  LD [M]  /usr/src/slmodem-2.9.10/drivers/slamr.o
 LD [M]  /usr/src/slmodem-2.9.10/drivers/slusb.o
  Building modules, stage 2.
  MODPOST
*** Warning: "usb_endpoint_halted"
[/usr/src/slmodem-2.9.10/drivers/slusb.ko] undefined
 !
 CC      /usr/src/slmodem-2.9.10/drivers/slamr.mod.o
  LD [M]  /usr/src/slmodem-2.9.10/drivers/slamr.ko
  CC      /usr/src/slmodem-2.9.10/drivers/slusb.mod.o
 LD [M]  /usr/src/slmodem-2.9.10/drivers/slusb.ko
make[3]: Leaving directory `/lib/modules/2.6.9-1.667/build'
make[2]: Leaving directory `/usr/src/slmodem-2.9.10/drivers'
make[1]: Leaving directory `/usr/src/slmodem-2.9.10/drivers'
make install -C drivers KERNEL_DIR=/lib/modules/2.6.9-1.667/build
make[1]: Entering directory `/usr/src/slmodem-2.9.10/drivers'
cc -I/lib/modules/2.6.9-1.667/build/include -o kernel-ver kernel-ver.c
mkdir -p /dev
mknod -m 600 /dev/slamr0 c 212 0 ;   mknod -m 600 /dev/slamr1 c 212 1 ;  
mknod-m 600 /dev/slamr2 c 212 2 ;   mknod -m 600 /dev/slamr3 c 212 3 ;  echo
-n
mknod -m 600 /dev/slusb0 c 213 0 ;   mknod -m 600 /dev/slusb1 c 213 1 ;  
mknod-m 600 /dev/slusb2 c 213 2 ;   mknod -m 600 /dev/slusb3 c 213 3 ;  echo
-n
make install KERNEL_VER=2.6.9-1.667
make[2]: Entering directory `/usr/src/slmodem-2.9.10/drivers'
install -D -m 644 slamr.ko /lib/modules/2.6.9-1.667/extra/slamr.ko
install -D -m 644 slusb.ko /lib/modules/2.6.9-1.667/extra/slusb.ko
/sbin/depmod -a
make[2]: Leaving directory `/usr/src/slmodem-2.9.10/drivers'
make[1]: Leaving directory `/usr/src/slmodem-2.9.10/drivers'
install -D -m 755 modem/slmodemd /usr/sbin/slmodemd
rm -f -rf /var/lib/slmodem
install -d -D -m 755 /var/lib/slmodem
[root@godzilla-pc slmodem]# ls /lib/modules/2.6.9-1.667/extra/
slamr.ko  slusb.ko
[root@godzilla-pc slmodem]# ls -l /dev/sl*
crw-------  1 root root 212, 0 13. Nov 12:22 /dev/slamr0
crw-------  1 root root 212, 1 13. Nov 12:22 /dev/slamr1
crw-------  1 root root 212, 2 13. Nov 12:22 /dev/slamr2
crw-------  1 root root 212, 3 13. Nov 12:22 /dev/slamr3
crw-------  1 root root 213, 0 13. Nov 12:22 /dev/slusb0
crw-------  1 root root 213, 1 13. Nov 12:22 /dev/slusb1
crw-------  1 root root 213, 2 13. Nov 12:22 /dev/slusb2
crw-------  1 root root 213, 3 13. Nov 12:22 /dev/slusb3
[root@godzilla-pc ~]# /usr/sbin/slmodemd --country=UK /dev/slusb0
error: mdm setup: cannot stat `/dev/slusb0': No such file or directory
error: cannot setup device `/dev/slusb0'

-- 
NEU +++ DSL Komplett von GMX +++ http://www.gmx.net/de/go/dsl
GMX DSL-Netzanschluss + Tarif zum supergünstigen Komplett-Preis!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux