LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Can't compile modem driver (https://www.linuxquestions.org/questions/linux-hardware-18/can%27t-compile-modem-driver-282865/)

Hungry ghost 01-27-2005 09:22 AM

Can't compile modem driver
 
Hi all. Ok, I'm trying to install a driver for a Neto Dragon 56k voice modem (a softmodem) on Fedora Core 2. I installed it previously on SuSE and worked fine. The problem on Fedora is, when I run "make" I get a long output of errors. The end of the output is:

amrmo_init.c:413: aviso: data definition has no type or storage class
/usr/src/linux/include/linux/sched.h:205: error: storage size of `mmap_sem' isn't known
/usr/src/linux/include/linux/sched.h:479: error: storage size of `pending' isn't known
/usr/src/linux/include/linux/stat.h:68: error: storage size of `atime' isn't known
/usr/src/linux/include/linux/stat.h:69: error: storage size of `mtime' isn't known
/usr/src/linux/include/linux/stat.h:70: error: storage size of `ctime' isn't known
/usr/src/linux/include/linux/pci.h:471: error: storage size of `dev' isn't known

The driver is slmdm-2.7.10. The readme file says I must set the correct path to the kernel header files, so I edited the Makefile like this:

KERNEL_INCLUDES=/usr/src/linux/include

I also tried this:

KERNEL_INCLUDES=/lib/modules/2.6.5-1.358/build/include

I get no results with any of these options.

I also tried installing the slmodem-2.9.10_netodragon driver, which is supposed to be the right driver for this modem but it didn't create the right modules on /dev (it's supposed to create ttySL0 linked to some module number inside /dev/pts but the supposed number it's linked to does not exist and neither ttySL0). I'd appreciate any help.

Thanks in advance.

Hungry ghost 01-27-2005 10:02 AM

I forgot to submit the output of /sbin/lspci, the result was:

[vicente@localhost vicente]$ /sbin/lspci
00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Controller (rev 02)
00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)
02:01.0 Modem: ALi Corporation SmartLink SmartPCI561 56K Modem
02:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
[vicente@localhost vicente]$

Yes, it detects a SmartPCI 56k Modem, I think it's because the Neto Dragon uses a Smart Link chipset, but I think the generic driver Fedora has for this modem doesn't work (at least it didn't work on SuSE and I had to install another driver).

Thanks in advance.

slacard 01-27-2005 01:49 PM

Have you been to: http://www.linmodems.org/

They have a scan modem tool that might save you time and
effort. The scan modem tool should remove any doubts about
exactly what chipset is in your winmodem.

At one time I used a winmodem with linux and it was fine except that changing versions and distros was a pain. I now use an external modem and I wouldn't go back. :)


All times are GMT -5. The time now is 07:37 AM.