LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   motorola sm56 (https://www.linuxquestions.org/questions/linux-software-2/motorola-sm56-58863/)

praveen_2003 05-09-2003 01:52 AM

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

geharvey 05-09-2003 03:39 AM

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/

praveen_2003 05-09-2003 05:27 AM

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?

geharvey 05-09-2003 05:59 AM

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!

praveen_2003 05-10-2003 12:58 AM

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??

geharvey 05-10-2003 12:43 PM

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.

praveen_2003 05-11-2003 06:11 AM

when i run fixscript it says command not found.i have even done chmod +x fixscript.what should i do now?

praveen_2003 05-11-2003 12:17 PM

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?

geharvey 05-12-2003 03:32 AM

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.

masand 05-12-2003 05:53 AM

i tried kpp
i am also exp problems in that
it says modem is not responding after installing driver from sm56.tk

praveen_2003 05-13-2003 12:21 AM

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

zeppelin 05-13-2003 09:41 AM

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?

geharvey 05-13-2003 12:29 PM

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.

praveen_2003 05-14-2003 02:31 AM

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?

geharvey 05-14-2003 03:08 AM

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.


All times are GMT -5. The time now is 09:57 PM.