Re: slmodemd on FC3?

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

 



Hi
I stll have difficulty to make the modem work.
Listed below is what I did, please check it for me, and point out where it was wrong?


Thanks for any suggest

Yuandan



> make
make -C modem all
make[1]: Entering directory `/tmp/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: warning: 't403_timeout' defined but not used
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 `/tmp/slmodem-2.9.10/modem'



> make install
make -C modem all
make[1]: Entering directory `/tmp/slmodem-2.9.10/modem'
make[1]: Leaving directory `/tmp/slmodem-2.9.10/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.10-1.770_FC3/build
make[1]: Entering directory `/tmp/slmodem-2.9.10/drivers'
cc -I/lib/modules/2.6.10-1.770_FC3/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.10-1.770_FC3
make[2]: Entering directory `/tmp/slmodem-2.9.10/drivers'
make modules -C /lib/modules/2.6.10-1.770_FC3/build SUBDIRS=/tmp/slmodem-2.9.10/drivers
make[3]: Entering directory `/lib/modules/2.6.10-1.770_FC3/build'
CC [M] /tmp/slmodem-2.9.10/drivers/amrmo_init.o
/tmp/slmodem-2.9.10/drivers/amrmo_init.c: In function `amrmo_read':
/tmp/slmodem-2.9.10/drivers/amrmo_init.c:353: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result
/tmp/slmodem-2.9.10/drivers/amrmo_init.c: In function `amrmo_write':
/tmp/slmodem-2.9.10/drivers/amrmo_init.c:366: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
CC [M] /tmp/slmodem-2.9.10/drivers/sysdep_amr.o
CC [M] /tmp/slmodem-2.9.10/drivers/st7554.o
/tmp/slmodem-2.9.10/drivers/st7554.c: In function `st7554_init':
/tmp/slmodem-2.9.10/drivers/st7554.c:1112: warning: implicit declaration of function `usb_endpoint_halted'
LD [M] /tmp/slmodem-2.9.10/drivers/slamr.o
LD [M] /tmp/slmodem-2.9.10/drivers/slusb.o
Building modules, stage 2.
MODPOST
Warning: could not find /tmp/slmodem-2.9.10/drivers/.amrlibs.o.cmd for /tmp/slmodem-2.9.10/drivers/amrlibs.o
*** Warning: "usb_endpoint_halted" [/tmp/slmodem-2.9.10/drivers/slusb.ko] undefined!
CC /tmp/slmodem-2.9.10/drivers/slamr.mod.o
LD [M] /tmp/slmodem-2.9.10/drivers/slamr.ko
CC /tmp/slmodem-2.9.10/drivers/slusb.mod.o
LD [M] /tmp/slmodem-2.9.10/drivers/slusb.ko
make[3]: Leaving directory `/lib/modules/2.6.10-1.770_FC3/build'
make[2]: Leaving directory `/tmp/slmodem-2.9.10/drivers'
make[1]: Leaving directory `/tmp/slmodem-2.9.10/drivers'
make install -C drivers KERNEL_DIR=/lib/modules/2.6.10-1.770_FC3/build
make[1]: Entering directory `/tmp/slmodem-2.9.10/drivers'
cc -I/lib/modules/2.6.10-1.770_FC3/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.10-1.770_FC3
make[2]: Entering directory `/tmp/slmodem-2.9.10/drivers'
install -D -m 644 slamr.ko /lib/modules/2.6.10-1.770_FC3/extra/slamr.ko
install -D -m 644 slusb.ko /lib/modules/2.6.10-1.770_FC3/extra/slusb.ko
/sbin/depmod -a
make[2]: Leaving directory `/tmp/slmodem-2.9.10/drivers'
make[1]: Leaving directory `/tmp/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





/usr/sbin/slmodemd
error: mdm setup: cannot open dev `/dev/slamr0': No such device or address
error: cannot setup device `/dev/slamr0'
/usr/sbin/modprobe slamr
bash: /usr/sbin/modprobe: No such file or directory
/sbin/lsmod
Module                  Size  Used by
snd_intel8x0m          18309  0
vfat                   12609  1
fat                    39905  1 vfat
i915                   74821  3
vmnet                  29596  8
vmmon                 161324  0
md5                     4033  1
ipv6                  231681  8
parport_pc             26629  1
lp                     12077  0
parport                37001  2 parport_pc,lp
autofs4                23493  0
i2c_dev                10433  0
i2c_core               20801  1 i2c_dev
sunrpc                156325  1
pcmcia                 20805  4
ipt_REJECT              6593  1
ipt_state               1857  3
ip_conntrack           40309  1 ipt_state
iptable_filter          3521  1
ip_tables              16321  3 ipt_REJECT,ipt_state,iptable_filter
dm_mod                 55637  0
video                  15813  0
button                  6609  0
battery                 9285  0
ac                      4805  0
ohci1394               34777  0
ieee1394              300313  1 ohci1394
yenta_socket           19137  0
pcmcia_core            50945  2 pcmcia,yenta_socket
uhci_hcd               31449  0
ehci_hcd               32585  0
snd_intel8x0           33249  2
snd_ac97_codec         67489  2 snd_intel8x0m,snd_intel8x0
snd_pcm_oss            47989  0
snd_mixer_oss          17089  2 snd_pcm_oss
snd_pcm                93001  4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              29125  1 snd_pcm
snd                    52645  9 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10017  2 snd
snd_page_alloc          9541  3 snd_intel8x0m,snd_intel8x0,snd_pcm
b44                    23365  0
mii                     4673  1 b44
floppy                 57841  0
ext3                  116297  4
jbd                    69977  1 ext3




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

  Powered by Linux