LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2003, 01:52 AM   #1
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Rep: Reputation: 15
motorola sm56


where ca i get the drivres for my motorola sm56 speaker phone modem.i have installed redhat 8 with kernel 2.4.18-14.i have already got the driver from www.motorola.com but when i do
#insmod sm56
but it says "this is compiled in gcc2 but u have gcc3 so this may not work"(approx).
can any one say the exact URL for my modem driver.
thanx
 
Old 05-09-2003, 03:39 AM   #2
geharvey
LQ Newbie
 
Registered: Aug 2001
Location: High Wycombe
Distribution: Redhat
Posts: 18

Rep: Reputation: 0
I have spent days trying to get either, a Pctel HSP56 micromodem or an SM56 modem to work on my RH7.3 machine. The pctel modem nearly works, I can send it AT commands and it responds, but will not dial and stays on-line all the time. So I gave up on that one. The SM56 drivers were only working, at the time with RH7.2 and not 7.3. So it was looking pretty bad for Winmodems under Linux. Then I discovered the following website. I downloaded the sm56-gcc3.tar file and compiled it with gcc2.96, linked it into the kernel and it worked straight away! My kernel version is 2.4.18-3.

http://www.sm56.tk/
 
Old 05-09-2003, 05:27 AM   #3
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
i have downloaded the driver from the above site.but now when i do query modem
it doesnt show any error message but the kppp closes completely.and i get this when i run
kpp in terminal.


# kppp
Opener: received
SetSecret
Opener: received
SetSecret
Opener: received
OpenLock

Opener: received
OpenDevice

Segmentation fault.


i first did "make" then "makeinstall"

then "insmod sm56" then "depmod -a" it says some "unresolved symbols....."

what should i do?
 
Old 05-09-2003, 05:59 AM   #4
geharvey
LQ Newbie
 
Registered: Aug 2001
Location: High Wycombe
Distribution: Redhat
Posts: 18

Rep: Reputation: 0
If you have any unrsolved symbols, there is a script file in the download, called 'fixscript' If you run fixscript on the object file sm56.o and give it an output file name, I used sm56a.o. Then insmod sm56a, it should remove these errors.

I think there was something in the website that mentioned that there were some known errors when installing sm56 in /etc/modules.conf and then using depmod -a. But, it went on to say that insmod should work OK. Try typing lsmod to see the loaded modules, if sm56a is in the list, then it had been loaded successfully.

I have not used kppp, so I can't advise you about that. I used minicom to test the modem and wvdial to access the internet.

Good luck!
 
Old 05-10-2003, 12:58 AM   #5
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
i have done lsmod but sm56 is listed there as


sm56 1383628 1 (autoclean)


but when i do wvdial it says

wvdial
--> WvDial: Internet dialer version 1.53

--> Warning: section [Dialer Defaults] does not exist in wvdial.conf.

--> Initializing modem.

--> Sending: ATZ


--> Sending: ATQ0


--> Re-Sending: ATZ


--> Modem not responding.

Segmentation fault


what should i do now??
 
Old 05-10-2003, 12:43 PM   #6
geharvey
LQ Newbie
 
Registered: Aug 2001
Location: High Wycombe
Distribution: Redhat
Posts: 18

Rep: Reputation: 0
Did you manage to run the fixscript OK? can you check the modem is installed properly by typing lspci and see it listed. Also check the memory address and irq. You may have a conflict with another device. Make sure wvdial.conf is looking at /dev/sm56 or that /dev/modem is a symbolic link to /dev/sm56. Not sure what else to suggest, if the package has compiled without errors and it will insmod OK then it should work.
 
Old 05-11-2003, 06:11 AM   #7
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
when i run fixscript it says command not found.i have even done chmod +x fixscript.what should i do now?
 
Old 05-11-2003, 12:17 PM   #8
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
everything gets compiled right.when i do lspci it says

01:01.0 Communication controller: Analog Devices SM56 PCI modem

and many other things.......

but when i do insmod this is the stuff i get.

# insmod sm56
Using /lib/modules/2.4.18-14/kernel/drivers/char/sm56

Warning: loading /lib/modules/2.4.18-14/kernel/drivers/char/sm56 will taint the kernel: no
license

See http://www.tux.org/lkml/#export-tainted for information about tainted modules

Module sm56 loaded, with warnings.


and again when i do wvdial i get only the error message which i have specified in my previous
post.in wvdial.conf also the device is pointed to /dev/modem i have tried even /dev/sm56.but
nothing worked.
what could be the solution for this?
 
Old 05-12-2003, 03:32 AM   #9
geharvey
LQ Newbie
 
Registered: Aug 2001
Location: High Wycombe
Distribution: Redhat
Posts: 18

Rep: Reputation: 0
When you run fixscript and it says command not found, are you running the srcipt from the current directory, if so, you need to place a ./ in front of the command, because it's not in a directory specified in the system $PATH. If the file is made executable then it should be able to run

The tainted kernel warning is nothing to worry about, it won't cause a problem.

I notice that from the lspci command, your modem is analog devices SM56. On my system, it says motorola SM56. you may have a modem using the motorola chipset, but is not actually an SM56. What are the identification numbers on the chips fitted to the modem board? I am at work at the moment so I can't look at my own modem. My modem was sold as a "magic modem" with no other markings and came with only Windows drivers, I discoverered that it was an SM56 by looking-up the chipset.

try minicom for testing the moden. You will be able to send the modem AT commands. Even if the modem will not dial correctly, you may still be able to check if there is a connection to the modem.

Also try statserial /dev/sm56 and see what it says. It should display the hardware status of the serial port.
 
Old 05-12-2003, 05:53 AM   #10
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
i tried kpp
i am also exp problems in that
it says modem is not responding after installing driver from sm56.tk
 
Old 05-13-2003, 12:21 AM   #11
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
in my modem only these numbers are printed...



MOTOTROLA

62412-51
U51031.2-0.6

00005


then from the box of my modem i discovered that it is


MOTOROLA
V.90

FAX MODEM


but in my windows OS my modem is taken as motorala sm56 pci speakerphone modem.

i cant type anytnihg in minicom.it's always offline.
the driver i downloaded is from www.sm56.tk.
when i do statserial it says


Device: /dev/sm56


Signal Pin Pin Direction Status Full


Name (25) (9) (computer)
name



----- --- --- --------- ------ -----



FG 1 - - - Frame Ground



TxD 2 3 out - Transmit Data



RxD 3 2 in - Receive Data



RTS 4 7 out 1 Request To Send



CTS 5 8 in 1 Clear To Send



DSR 6 6 in 1 Data Set Ready



GND 7 5 - - Signal Ground



DCD 8 1 in 0 Data Carrier Detect



DTR 20 4 out 1 Data Terminal Ready



RI 22 9 in 0 Ring Indicator
 
Old 05-13-2003, 09:41 AM   #12
zeppelin
Member
 
Registered: Apr 2003
Location: Athens, Greece
Distribution: Arch
Posts: 182

Rep: Reputation: 30
pctel is not working you say?
cause i have 2 winmodems :P
sm56 and pctel and i want to build a new pc.
i dl the drivers from http://linmodems.technion.ac.il/pctel-linux/ but i haven't tried them. i want to work in rh 8 or 9 with PCtel. will it work?
 
Old 05-13-2003, 12:29 PM   #13
geharvey
LQ Newbie
 
Registered: Aug 2001
Location: High Wycombe
Distribution: Redhat
Posts: 18

Rep: Reputation: 0
The output from statserial confirms that the driver is loaded and working; it looks like a hardware serial device. The chip number that you have given is probably the key to the problem. My SM56 that is working with this driver uses a motorola 62802-51 your's is a different type which does not work with this driver. I suggest that you try some other versions of the motorola modem drivers and see if you can find one that is compatible.

I never got my Pctel modem to work with any of the drivers from Pctel. I contacted Pctel and explained the probem I was having. They said that they only make the chipset for the modem and not the modem itself and that I should contact the modem manufacturer directly. However I don't know who made the modem, it doesn't even have an FCC number to look up. Many people use these drivers successfully with Pctel modems. Give it a try.
 
Old 05-14-2003, 02:31 AM   #14
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
is there any other way instead of searching for matching drivers?but when i downloaded drivers from www.mototrola.com and tried it for mandrake 8.2 it worked perfectly?
 
Old 05-14-2003, 03:08 AM   #15
geharvey
LQ Newbie
 
Registered: Aug 2001
Location: High Wycombe
Distribution: Redhat
Posts: 18

Rep: Reputation: 0
The best way is not to use a Winmodem, but use a real harware serial modem; then it will just work.

Did you have your current modem working with Mandrake 8.2 with the motorola drivers?

When you compile the drivers, some of the kernel source files and header files are included in the program for the modem driver, any difference in these files between RH and Mandrake will result in a different driver being compiled. One may work and the other not. It's not guaranteed.
 
  


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
Motorola SM56 softmodem hhegab Linux - Hardware 3 04-26-2004 09:25 AM
motorola sm56 :( morghen Linux - Hardware 9 05-11-2003 12:52 PM
RH7.3 and motorola sm56 ?? SADANA Linux - Hardware 0 09-22-2002 07:24 AM
motorola sm56 driver hamada Linux - General 1 10-24-2001 09:23 PM
motorola sm56 modem m_schumacher Linux - Newbie 0 09-15-2001 08:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration