Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Mandriva Linux Help
Reload this Page PCtel HSP56 MR modem in MDK10 (kernel 2.6.3-4)
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Mandriva Linux Help For help and discussion about Mandriva (formally Mandrake) Linux.

Closed Thread
 
Thread Tools Display Modes
Old 09-06-2004   #1 (permalink)
Just Joined!
 
Join Date: Aug 2004
Location: Croatia, Zagreb
Posts: 70
Send a message via ICQ to Libervisco
PCtel HSP56 MR modem in MDK10 (kernel 2.6.3-4)

Hello.

Last weekend i finally got and installed Linux Mandrake 10 Community (download version). The installation and configuration was a piece of cake. Put aside problems with dual boot which i caused by having the third OS installed (BeOS).
Anyway.. all hardware is working fine except modem and Lexmark X75 AllInOne printer with scanner.

However, what's very important to me isn't printer right now, but a modem for which i gotta make it working under my new linux so i can finally have it as my primary system. It's too beautiful not to have it as my primary OS for which internet connection is a must.

Here's my data and i hope anyone can help:

modem is:

PCtel HSP56 MR Data/Fax/Voice
it seem's it's on sis 7013 chipset or subsystem
it came with my crappy PCCHIPS M810 LMR mainboard with sis730s chipset (actually same as sis630/730) and it's located in AMR slot (Audio Modem Riser).

I googled over whole web, read the relevant pages of linmodems.org site, downloaded and tried smartlink smlmodemd (smbmdm), installed it by the book, but still getting BUSY errors.
I then tried the newest version of PCTEL driver provided and linmodem, the PCTEL v2.9.9-7, but it say's it's only for kernels 2.4.x which seems to be the main problem here.
I could probably get it working with that if it only supported the new 2.6.3 kernel.
Any help is very appreciated.
And my specific question is are there and where drivers that are compatible with linux kernel 2.6.3-4 on Mandrake 10??

Thank you very much!
Daniel
Libervisco is offline  
Old 09-07-2004   #2 (permalink)
Just Joined!
 
Join Date: Aug 2004
Location: Croatia, Zagreb
Posts: 70
Send a message via ICQ to Libervisco
Okay.. now i tried with slmodem drivers, followed the steps again, this time more carefully and understanding more.

Everything goes fine as with loading the driver with "modprobe slamr" and then running the slmodem program with "/usr/sbin/slmodem /dev/slamr0"

It then shows that it created the "/dev/ttySL0" which points to "/dev/pts/1". It also says that i should set ttySL0 at my dialing program which is kppp.
However, i looked at those directories where those files should be created and there are non of it, nor ttySL0 nor "1" file inside that pts folder. So it seems it's "lieing" or something. It said it created it, but it didn't (slmodem) which may exactly be why i cannot connect. I get the "modem is busy" on query and if trying to connect.

So, it seems that the current problem here is why the heck does it not create those files inside /dev folder?

Besides this slmodem option which seemed to work for many using similar modems as mine (as i read), there's a remaining option i would love to avoid, downgrading linux kernel 2.6.3-4 to 2.4.xx since there is a driver that supports that version, but not the new 2.6, and that has a great chances of working (it's made for these pctel modems).

Anyone knows anything that might help in this situation?

Thank you very much!
Daniel
Libervisco is offline  
Old 09-07-2004   #3 (permalink)
Just Joined!
 
Join Date: Aug 2004
Location: Croatia, Zagreb
Posts: 70
Send a message via ICQ to Libervisco
Hello!

I actually did it, slmodem driver works as i am typing this while being connected through my beautiful Linux Mandrake 10

Now, it can be my primary system.. goodbye windows!

The last remaining issue to resolve is autoloading the driver. I need it to do the following automatically at startup:
Code:
modprobe slamr (which loads the module)
/usr/sbin/slmodemd --country=SLOVENIA (re-creates the ttySL0 linking to /pts/1)
Without the autoloading script i must do that myself in konsole everytime i want to connect.

I already have this startups script:

Code:
#!/bin/sh
#
# slmodemd:    Starts the SmartLink Modem Daemon
#
# chkconfig: 345 90 10
# description: SmartLink Modem : Autoload slarm + slmodem
# processname: slmodemd
# config: /etc/sysconfig/slmodem

# Source function library.
. /etc/init.d/functions

prog=slmodemd
RETVAL=0

# Default configuration
SLMODEMD_DEVICE=slamr0
SLMODEMD_COUNTRY=SLOVENIA

# Source configuration
CONFIG=/etc/sysconfig/$prog
if [ -f $CONFIG ]; then
        . $CONFIG
fi

# uncomment this if you want this feature (if necessary edit module pattern):
# do not try to start on a kernel which does not support it
# grep -q 'slamr\.o' /lib/modules/`uname -r`/modules.dep || exit 0

start() {
	cat /proc/modules | grep 'slamr' >/dev/null || {
	  echo -n "Loading SmartLink Modem driver into kernel ... "
	  modprobe slamr && echo "done." || { 
	    echo "failed."
	    exit -1
	  }
	}
	echo -n "Starting SmartLink Modem driver for $SLMODEMD_DEVICE: "
	# if you want ALSA comment next line and uncomment last
	$prog </dev/null >/dev/null 2>/dev/null --country=$SLMODEMD_COUNTRY /dev/$SLMODEMD_DEVICE &
	# $prog </dev/null >/dev/null 2>/dev/null --country=$SLMODEMD_COUNTRY --alsa /dev/$SLMODEMD_DEVICE &
	RETVAL=$?
	[ $RETVAL -eq 0 ] && success $"$prog startup" || failure $"$prog startup"
	echo
	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
	return $RETVAL
}

stop() {
	echo -n "Shutting down SmartLink Modem driver: "
	killproc $prog
	RETVAL=$?
	modprobe -r slamr slusb
	echo
	[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog
	return $RETVAL
}

# See how we were called.
case "$1" in
  start)
	start
	;;
  stop)
	stop
	;;
  status)
	status $prog
	RETVAL=$?
	;;
  restart|reload)
	stop
	start
	RETVAL=$?
	;;
  condrestart)
        if [ -f /var/lock/subsys/$prog ]; then
		stop
		start
		RETVAL=$?
	fi
	;;
  *)
	echo "*** Usage: $prog {start|stop|status|restart|condrestart}"
	exit 1
esac

exit $RETVAL
Where should i place it for it to load on startup and is it ok to do it?
Maybe it'll be better to just configure the startup to do those modprobe and slmodemd commands as described above. (the ones that i do manually).

Thank you.
Daniel
Libervisco is offline  
Old 11-07-2004   #4 (permalink)
Just Joined!
 
Join Date: Feb 2004
Location: INDIA
Posts: 4
Send a message via MSN to explosive Send a message via Yahoo to explosive
for making something to start @ start-up we should keep it in

"rc.d" directory..in that directory there is a file "rc.local" ( or something with local word in it..)..

just paste your scripts in that file if you want to get them running @ start-up..

i hope this may help..

thanks.
__________________
The World Owes No Man A Living, But It Owes Every Man An Opportunity To Make A Living.
[http://indianinside.tk]
explosive is offline  
Old 05-22-2008   #5 (permalink)
Just Joined!
 
Join Date: May 2008
Posts: 2
Thanks anyway but I just got a linmodem and it works great. I was thinking about it and I want to try a bunch of distros, so it just made sense to get something that would be likely to work with all of them. The modem I got is supposed to be very versatile. Marc
marcson98 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 05:56 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0