| Author |
Message |
jcoder24

Joined: 06 May 2005 Posts: 601 Location: Barbados
|
Posted: 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.  |
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
|
|
 |
psr1

Joined: 29 Sep 2005 Posts: 12 Location: North Carolina
|
Posted: Sat 01 Oct 2005, 18:15 Post subject:
HCF works great |
|
Greetings:
I have a Conexant HCF 56k Data/Fax/Voice Modem (Worldwide) (rev 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
|
|
 |
syzygy
Joined: 03 Jul 2005 Posts: 76 Location: wollongong
|
Posted: 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
|
|
 |
jcoder24

Joined: 06 May 2005 Posts: 601 Location: Barbados
|
Posted: 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
|
|
 |
jcoder24

Joined: 06 May 2005 Posts: 601 Location: Barbados
|
Posted: 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
|
|
 |
syzygy
Joined: 03 Jul 2005 Posts: 76 Location: wollongong
|
Posted: 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
|
|
 |
jcoder24

Joined: 06 May 2005 Posts: 601 Location: Barbados
|
Posted: 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
|
|
 |
syzygy
Joined: 03 Jul 2005 Posts: 76 Location: wollongong
|
Posted: 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
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9845 Location: Arizona USA
|
Posted: 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
|
|
 |
jcoder24

Joined: 06 May 2005 Posts: 601 Location: Barbados
|
Posted: Wed 26 Oct 2005, 12:50 Post subject:
|
|
Agreed. I've update the subject line.
|
|
Back to top
|
|
 |
jcoder24

Joined: 06 May 2005 Posts: 601 Location: Barbados
|
Posted: 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
| Description |
|

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

Download |
| Filename |
start_modem.pup |
| Filesize |
6.16 KB |
| Downloaded |
731 Time(s) |
| Description |
|

Download |
| Filename |
hcfmodem-1105.pup |
| Filesize |
530.45 KB |
| Downloaded |
1298 Time(s) |
Last edited by jcoder24 on Sat 05 Nov 2005, 23:23; edited 1 time in total
|
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Sat 05 Nov 2005, 22:25 Post subject:
SPAAAAAAAM |
|
THIS IS SPAM, ADMIN PLEASE REMOVE
I could not agree with you more.
|
|
Back to top
|
|
 |
gamfa
Joined: 26 Oct 2005 Posts: 113 Location: So. Central Indiana, USA
|
Posted: 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
|
|
 |
mouldy

Joined: 04 May 2005 Posts: 479
|
Posted: 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
|
|
 |
jcoder24

Joined: 06 May 2005 Posts: 601 Location: Barbados
|
Posted: 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
|
|
 |
|