LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-27-2005, 09:22 AM   #1
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Question 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.
 
Old 01-27-2005, 10:02 AM   #2
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Original Poster
Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
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.
 
Old 01-27-2005, 01:49 PM   #3
slacard
Member
 
Registered: Sep 2003
Location: Upstate NY
Distribution: OS X, Zenwalk. Sabayon x64, Debian 4.0 x64
Posts: 93

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed to compile modem driver for Fedora Core 1 mainframer Linux - Newbie 0 07-17-2004 06:58 PM
Unable to compile modem driver mst700 Linux - Newbie 1 06-30-2004 03:18 PM
modem driver compile error in suse 9.0 archish Linux - Hardware 3 06-08-2004 10:00 AM
I cant Figure out how to compile the Driver for My BCM V90 Modem darkone66669 Linux - Newbie 1 03-22-2004 09:13 AM
modem driver compile problem junks Linux - Software 5 01-13-2003 02:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration