LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-22-2005, 07:05 AM   #1
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
slmodem driver in new 2.6.13.2 kernel


I've just upgraded to Slackware 10.2, then installed the new 2.6.13.2 kernel. Everything is fine, except for my modem driver. I have a USB 56K modem that uses the smartlink drivers. I have the 2.9.10 version of the slmodem driver and it worked perfectly with my 2.6.11 kernel. With the new kernel I get errors during make about undefined symbols. These are the errors:

*** Warning: "class_simple_create" [/usr/local/src/slmodem-2.9.10/drivers/slusb.ko] undefined!
*** Warning: "class_simple_device_remove" [/usr/local/src/slmodem-2.9.10/drivers/slusb.ko] undefined!
*** Warning: "class_simple_destroy" [/usr/local/src/slmodem-2.9.10/drivers/slusb.ko] undefined!
*** Warning: "class_simple_device_add" [/usr/local/src/slmodem-2.9.10/drivers/slusb.ko] undefined!
*** Warning: "class_simple_create" [/usr/local/src/slmodem-2.9.10/drivers/slamr.ko] undefined!
*** Warning: "class_simple_device_remove" [/usr/local/src/slmodem-2.9.10/drivers/slamr.ko] undefined!
*** Warning: "class_simple_destroy" [/usr/local/src/slmodem-2.9.10/drivers/slamr.ko] undefined!
*** Warning: "class_simple_device_add" [/usr/local/src/slmodem-2.9.10/drivers/slamr.ko] undefined!

It still creates and installs the .ko files, but when I try to run the daemon I get this:

error: mdm setup: cannot open dev `/dev/slusb0': No such device or address
error: cannot setup device `/dev/slusb0'

After browsing the posts here last night I tried the 2.9.9e driver as someone suggested, but that turned out to be for amr modems. That didn't help since mine's usb.
 
Old 09-22-2005, 03:39 PM   #2
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Maybe you need the ungrab-winmodem module since newer 2.6 kernels refuse to accept proprietary drivers. You can find the module here . Note that after installing the module you must load it before loading slusb with
Code:
modprobe ungrab-winmodem
If you have already tried to load slusb, you must run 'modprobe -r slusb' before loading ungrab-winmodem (in my case, for some reason, I must run '/sbin/modprobe -r slamr' everytime I boot, so I added a few lines to my /etc/rc.d/rc.local to do it all automatically at boot).

Last edited by Hungry ghost; 09-22-2005 at 03:43 PM.
 
Old 09-24-2005, 07:59 AM   #3
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Original Poster
Rep: Reputation: 63
I tried the ungrab-winmodem module. It segfaults when it's modprobed. I don't understand what's wrong. There were no problems when running the same version on my 2.6.11 kernel. When setting up the new 2.6.13.2 I imported the config from the .11 and skimmed through it to make sure everything still looks correct. I was having the same problem with class errors while building the linuxant module for my 56k modem. They provided a patch to fix that. Does anyone know of a similar patch for the slmodem driver?
 
Old 09-24-2005, 09:47 AM   #4
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Sorry, I don't know what might be wrong, but you still can run the scanModem tool to see what's wrong. You can find it here . After you run it you can send the required files to discuss@linmodems.org to see what they have to tell you. I hope it works.
 
Old 10-10-2005, 11:49 PM   #5
conall
LQ Newbie
 
Registered: Oct 2005
Posts: 1
Blog Entries: 1

Rep: Reputation: 0
not tested

dracolich, i got the same problem when compiling the drivers using the 2.6.13 kernel. take a look at this links:

http://linmodems.technion.ac.il/pack...lusb.patch.doc
http://linmodems.technion.ac.il/pack...slusb.patch.gz

I have not tested it, because my modem is AMR. Hope it help you.

Sorry for the horrible English XD
 
  


Reply



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
Where I find driver slmodem-2.9.6.tar.gz ? caneca Linux - Newbie 2 10-25-2005 08:25 AM
Slacware, slmodem driver; no slamr in /dev SuSE 1983. Linux - Networking 1 08-04-2005 04:49 AM
Problems with slmodem driver Hungry ghost Linux - Hardware 0 06-25-2005 10:55 AM
need help compiling slmodem-2.9.10 driver on Knoppix 3.9 Joseph Schiller Debian 3 06-13-2005 03:05 PM
slmodem on startup chestnut Fedora 7 04-18-2005 06:27 AM

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

All times are GMT -5. The time now is 04:06 AM.

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