Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 19 Apr 2014, 16:15
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
HSF/HCF softmodem dotpup packages
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 6 [80 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Author Message
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Fri 23 Sep 2005, 14:10    Post subject:  

gliezl wrote:
jcoder24, whenever I reboot Puppy, I always go the the HCF modem setup to install again the drivers. Can this be made permanent? I already installed Puppy in the HD. Sad


That is due to the files created in /dev not persisting across reboots. The easiest fix would be to call /usr/local/bin/cnxtcfg from one of the startup scripts prob. rc.network. Maybe someone can suggest if another rc.x file would be better. Also if anyone knows howto to make the /dev additions persistent across reboots drop me a reply.
Back to top
View user's profile Send private message 
psr1


Joined: 29 Sep 2005
Posts: 12
Location: North Carolina

PostPosted: Sat 01 Oct 2005, 18:15    Post subject: HCF works great  

Greetings:
I have a Conexant HCF 56k Data/Fax/Voice Modem (Worldwide) (rev Cool modem and the HCF drivers work great...using V.92 drivers. An excellent addition. Thank you vey much.

PSR1 - a Happy Camper.
Back to top
View user's profile Send private message 
syzygy

Joined: 03 Jul 2005
Posts: 76
Location: wollongong

PostPosted: Thu 06 Oct 2005, 06:31    Post subject: hsf modems  

hi jcoder24,

my sis's xp machine had a combo of spyware, trojans & sassa, tried eradicating them but they keep lurking, talked her into me nuking her hard drive & trying linux.

with puppy & your hsf dotpups, & puppy, could get her conexant modem working but, as mentioned previously, have to re-install on reboot.

tried doing :-
"rm /dev/modem
ln -s /dev/ttyHSFS0 /dev/modem"

in /etc/rc.d/rc.local, but no joy, then tried similar with ../cnxtcfg, but again no luck. will try something else t'morro. anyone else any success?

thanx
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Thu 06 Oct 2005, 07:47    Post subject:  

Try adding cnxtcfg or /usr/local/bin/cnxtcfg instead of ../cnxtcfg to rc.local.

The thing about creating the links manually is that there is a number of other steps which has to be done first. This means that you would have to reproduce a substantial section of the cnxtcfg script. However, I've included them below just in case you still have problems with the first suggestion. NB these commands haven't been tested from rc.local.

<------------BEGIN------------>


HSF="1"
# set to "0" if you have a hcf modem
modem="hsf"
# set to "hcf" if you have a hcf modem
mdev="HSF"
# set to "HCF" if you have a hcf modem

# Due to segmentation errors when inserting hcfpciserial we
# have to temporarily move the current.cty file until after
# the modules are inserted

if [ -f /etc/$modem/current.cty ]; then
mv /etc/$modem/current.cty /etc/$modem/current.cty.o
fi

#-----------------------------------------------------------
# Load modules for detected modem
#-----------------------------------------------------------

echo >> /etc/modules.conf
echo alias /dev/ttyS"$mdev"* "$modem"serial >> /etc/modules.conf
echo alias char-major-241 "$modem"serial >> /etc/modules.conf
echo alias /dev/ttyCUA* "$modem"serial >> /etc/modules.conf
echo alias char-major-242 "$modem"serial >> /etc/modules.conf
echo alias /dev/modem "$modem"serial >> /etc/modules.conf
#echo options "$modem"serial serialmajor=240 calloutmajor=241 >> /etc/modules.conf


if [ `lsmod | grep -ic $modem` -eq 0 ] #check if modules loaded already
then
insmod "$modem"osspec
if [ "$HSF" -gt 0 ] ; then insmod hsfbasic2 ; fi
insmod "$modem"engine
insmod "$modem"serial
fi


if [ -f /etc/$modem/current.cty.o ]; then
mv /etc/$modem/current.cty.o /etc/$modem/current.cty
fi

#-----------------------------------------------------------
# Setup required devices
#-----------------------------------------------------------

rm -f /dev/modem /dev/cua"$mdev"0 /dev/ttyS"$mdev"0 2>/dev/null
"$modem"config -serial

dialog --no-shadow --msgbox "$mdev modem successfully installed." 6 37

<------------END------------>
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Fri 07 Oct 2005, 07:05    Post subject:  

BTW after you are sure that it is working you can comment out the 'dialog' commands from the cnxtcfg script or the rc.local as entered in the previous post. In the next version of the packages I will add an option to install to rc.local.
Back to top
View user's profile Send private message 
syzygy

Joined: 03 Jul 2005
Posts: 76
Location: wollongong

PostPosted: Thu 13 Oct 2005, 04:44    Post subject:  

jcoder24,

finally got around to adding your suggested script to rc.local, but no success.upon reboot, again had to reinstall hsf modem. i'll take another look at install script & try a workaround.

cheers
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Mon 24 Oct 2005, 10:50    Post subject:  

*** Edited ***

I've tested the following successfully

edit /etc/rc.d/rc.local and add one of the following lines depending on your modem.


hsfconfig --serial #for HSF modems
or
hcfpciconfig --serial # for HCF modems

This adds approx 18 seconds to the boot time for puppy on my AMD Athlon 650 MHz.

I'll add a facilitiy to add this option to the rc.local file in the next version of dotpups and pupgets.
Back to top
View user's profile Send private message 
syzygy

Joined: 03 Jul 2005
Posts: 76
Location: wollongong

PostPosted: Wed 26 Oct 2005, 03:54    Post subject:  

well done jcoder24,

tested the rc.local script today & it works a treat.

thankyou.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10666
Location: Arizona USA

PostPosted: Wed 26 Oct 2005, 12:05    Post subject:  

jcoder, perphaps you could review and edit the subject line of this thread. Don't you think 'RC1' needs to be updated?
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Wed 26 Oct 2005, 12:50    Post subject:  

Agreed. I've update the subject line.
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Sat 05 Nov 2005, 10:16    Post subject:  

I've updated the original packages and added a dotpup to configure modem on startup for those who downloaded the previous version of the dotpups. The pupget package will be updated soon.

NB I have done limited testing of these since the changes are minor. Hopefully there shouldn't be any problems.

Changelog

Installation instructions displayed when installing dotpup and stored in /root/CNXT_INSTALL.txt for reference.

Option to setup modem on boot added to the modem setup/configuration script.

LICENSE file include in /usr/lib/hsf or /usr/lib/hcfpci depending on your modem.

minor configuration script corrections
hsfmodem-1105.pup
Description 
pup

 Download 
Filename  hsfmodem-1105.pup 
Filesize  745.86 KB 
Downloaded  1650 Time(s) 
start_modem.pup
Description  If you have downloaded the previous dotpups, download this file to have the modem auto config whilst booting.
pup

 Download 
Filename  start_modem.pup 
Filesize  6.16 KB 
Downloaded  754 Time(s) 
hcfmodem-1105.pup
Description 
pup

 Download 
Filename  hcfmodem-1105.pup 
Filesize  530.45 KB 
Downloaded  1322 Time(s) 

Last edited by jcoder24 on Sat 05 Nov 2005, 23:23; edited 1 time in total
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Sat 05 Nov 2005, 22:25    Post subject: SPAAAAAAAM  

THIS IS SPAM, ADMIN PLEASE REMOVE

Quote:


I could not agree with you more.
Back to top
gamfa

Joined: 26 Oct 2005
Posts: 113
Location: So. Central Indiana, USA

PostPosted: Tue 21 Feb 2006, 15:42    Post subject:  

I had a bit of a problem with the hcf/hsf drivers. When you cat for the terms hSF and HCF in cnxtcfg, it does not pick up my conexant modem. "cat /proc/pci" gives the following on my modem...

Bus 2, device 5, function 0:
Communication controller: PCI device 14f1:1085 (Conexant) (rev 137).
IRQ 11.
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xfeaf0000 [0xfeafffff].
I/O at 0xc400 [0xc407].

As you can see, no "hcf" in the output. Once I discovered this, I changed the grep" from "HCF" to "conexant" and things went fine from there.

Other people might have the same problem with this.
Back to top
View user's profile Send private message 
mouldy


Joined: 04 May 2005
Posts: 482

PostPosted: Tue 21 Feb 2006, 21:03    Post subject:  

Um, tried your last hcf driver. Pup file installed, I rebooted. Get quick glimpse of desktop and am thrown back to command line. Neither xwin nor startx will start xwindows again. However if I reboot, I again get quick glimpse of desktop.

Cant run dotpup uninstall from command line. What do I delete to stop driver from installing or whatever its doing to crash xwindows?
Back to top
View user's profile Send private message 
jcoder24


Joined: 06 May 2005
Posts: 601
Location: Barbados

PostPosted: Thu 23 Feb 2006, 00:20    Post subject:  

Gamfa

Thanks, I'll try to see how best I can accomodate this into the drivers packages.

mouldy

Comment out the lines referred to in this post and see what happens. You can also try testing the drivers with a new pup001 file.

http://www.murga.org/~puppy/viewtopic.php?p=37949#37949
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 6 [80 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0684s ][ Queries: 12 (0.0041s) ][ GZIP on ]