HSF/HCF softmodem dotpup packages

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

HSF/HCF softmodem dotpup packages

#1 Post by jcoder24 »

2006/10/06 Added Puppy 2 info
2005/11/05 Updated drivers

HSF Driver | HCF Driver | Download Page


Installation instructions

0] Determine if HCF/HSF
For puppy 1.0.7 or older users type grep -i 14f1 /proc/pci in a console and hit enter. In the output either you should see HCF or HSF in the output.

If you are running Puppy version 1.0.8 or newer (including version 2.xx), you can download the scanmodem.gz file, gunzip it and run the script to see which modem you have. This scanmodem program should also work versions of puppy.

1a] For Puppy 2.xx
See http://www.murga.org/~puppy/viewtopic.php?p=69034#69034

1b] For Puppy 1.0.8 & 1.0.9
The version of lspci in these versions of puppy changed (I think) and the autodetection of the modem now proceeds correctly. However, if it fails to autodetect your modem you can determine the settings as follows:

For PCI Vendor ID, use 14f1
For PCI Device ID, type grep -i 14f1 /proc/pci in a console and use the four characters after the 14f1:

1c] For Puppy 1.0.7 & older
For PCI Vendor ID and PCI Device ID, use the information determined by the configuration script cnxtcfg.

2] Install the dotpup package and restart puppy.

3] In a console window run cnxtcfg and answer the presented questions accordingly. Use the sample output below as a guide.

Sample output

The bolded text are the values I entered. The text highlighted in green can be ignored completely.

******************************************************
** PCI Vendor ID = 14f1 PCI Device ID = 1033 **
******************************************************

Linux HCF controllerless modem drivers, version 0.99mbsibeta02123100

WARNING: this is an EXPERIMENTAL BETA VERSION of the HCF drivers for Linux.
USE AT YOUR OWN RISK! See the file /usr/lib/hcfpci/LICENSE for details.

Conexant Systems neither distributes nor maintains this package.
PLEASE DO NOT CONTACT CONEXANT REGARDING THIS SOFTWARE!!!
If you require assistance or need more information, go to:
http://www.mbsi.ca/cnxtlindrv

Should we attempt to automatically configure your hardware? [yes] n
Is the modem presently installed in your system? [yes] n


Please enter your modem's PCI Vendor ID []: 14f1

Please enter your modem's PCI Device ID []: 1033

1) /etc/hcfpci/inf/hcfv90_lan_linux.inf
2) /etc/hcfpci/inf/hcfv90_linux.inf
3) /etc/hcfpci/inf/hcfv92_linux.inf
4) /etc/hcfpci/inf/hcfv92_riptide_linux.inf
5) None of the above

Which INF file would you like to use with your HCF modem? (1-5) 2

Selected PCI VendorID=14f1 DeviceID=1033
and INF file /etc/hcfpci/inf/hcfv90_linux.inf

Unable to determine country, defaulting to "USA"

Configuring modem for country: "USA"
You can change this setting later with the command "hcfpciconfig --country"

This package does not contain pre-built modules suitable for your system:
Distribution: unknown-unknown
Kernel arch: i686
Kernel version: linux-2.4.29

Please obtain the appropriate variant of this package for your system
or try the generic RPM or tar version.

Using /lib/modules/2.4.29/hsfmodem/hcfpciosspec.o.gz
Warning: loading /lib/modules/2.4.29/hsfmodem/hcfpciosspec.o.gz will taint the k ernel: non-GPL license - Copyright (C) 1996-2002 Conexant Systems Inc. All Right s Reserved.
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module hcfpciosspec loaded, with warnings
Using /lib/modules/2.4.29/hsfmodem/hcfpciengine.o.gz
Warning: loading /lib/modules/2.4.29/hsfmodem/hcfpciengine.o.gz will taint the kernel: non-GPL license - Copyright (C) 1996-2002 Conexant Systems Inc. All Rights Reserved.
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module hcfpciengine loaded, with warnings
Using /lib/modules/2.4.29/hsfmodem/hcfpciserial.o.gz
Linux HCF controllerless modem drivers, version 0.99mbsibeta02123100

WARNING: this is an EXPERIMENTAL BETA VERSION of the HCF drivers for Linux.
USE AT YOUR OWN RISK! See the file /usr/lib/hcfpci/LICENSE for details.

Conexant Systems neither distributes nor maintains this package.
PLEASE DO NOT CONTACT CONEXANT REGARDING THIS SOFTWARE!!!
If you require assistance or need more information, go to:
http://www.mbsi.ca/cnxtlindrv

Your HCF modem should now be accessible as /dev/ttySHCF0

or through the symbolic link /dev/modem.

HSF Driver | HCF Driver | Download Page
Last edited by jcoder24 on Fri 06 Oct 2006, 21:17, edited 17 times in total.

User avatar
Johnny Reb
Posts: 132
Joined: Fri 05 Aug 2005, 08:02
Location: The Confederate States of America (occupied)
Contact:

#2 Post by Johnny Reb »

jcoder, the HCFmodem driver works great! In fact I believe that the modem works better with this driver than it ever worked in windows. I can see no reason not to go ahead with the pupget for the HCF.
He who dares not offend cannot be honest.
~ Thomas Paine

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#3 Post by gliezl »

hi! I'm new to puppy. Will it worked with 1.0.4? I'm going to download it now. How do i install it? Any CLI commands? :) Thanks! :D

User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

#4 Post by jcoder24 »

Thanks gliezl, I forgot the instructions.

I've updated the original post above with the installation instructions.

These packages should work with any version of puppy with a 2.4.29 kernel which include 1.0.4 and 1.0.5.

alphasurfer
Posts: 4
Joined: Fri 16 Sep 2005, 05:17
Location: Local Trash-Can In Wisconsin
Contact:

#5 Post by alphasurfer »

It works great!! Thank you for the drivers......
Alphasurfer

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#6 Post by gliezl »

HCF drivers are working! Thanks for the dotpup. Will this be included in Puppy 1.0.5? :wink:

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#7 Post by gliezl »

according to linuxant, you can only use the modem up to 14kbps.
What will i put in my config file?

9600, 19200, 38400?

User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

#8 Post by jcoder24 »

gliezl wrote:according to linuxant, you can only use the modem up to 14kbps.
What will i put in my config file?

9600, 19200, 38400?
The drivers I've compiled are the last available *free* versions before linuxant took over. This is also the reason why they don't compile on the 2.6.x kernel (at least not yet).

They should connect and download at up to 56k (48k-52k). You can go to http://performance.toast.net/ and run the "shuttle+text" test and see what you get.

If you are are referring to /etc/ppp/options, that has the maximum speed of 115200 set as the default. You can leave it at that and reduce it to next lower speed if you get problems with the modem

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#9 Post by gliezl »

ok thanks, I'l try that. :)

Will this (drivers) also work with Smart Link modems, right? :D

User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

#10 Post by jcoder24 »

No, but they are smart link modem (slmodem) pupget packages available. You can add them through the menu via "Setup" -> "Pupget package Manager".

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#11 Post by gliezl »

ok. thanks again. just one more thing, can you please upload a TGZ format of this driver so i can use it with Slackware 10.2 using Kernel 2.4? is that ok? :) again, a million thanks for this driver.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#12 Post by MU »

gliezl, you can unzip a pup:
unzip xxx.pup

Or rename it to .zip

Greets, Mark

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#13 Post by gliezl »

wow! :D thanks for the info.

User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

HCF/HSF Pupget packages

#14 Post by jcoder24 »

I've compiled and tested the pupget packages for these drivers. I hope that they meet Barry's standards and can be included in unleashed 1.0.5.

Packages attached below.

User avatar
gliezl
Posts: 322
Joined: Sat 06 Aug 2005, 22:30
Location: Manila

#15 Post by gliezl »

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. :(

User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

#16 Post by jcoder24 »

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.

User avatar
psr1
Posts: 12
Joined: Thu 29 Sep 2005, 13:30
Location: North Carolina

HCF works great

#17 Post by psr1 »

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

PSR1 - a Happy Camper.

syzygy
Posts: 76
Joined: Sun 03 Jul 2005, 10:57
Location: wollongong

hsf modems

#18 Post by syzygy »

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

User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

#19 Post by jcoder24 »

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

User avatar
jcoder24
Posts: 604
Joined: Fri 06 May 2005, 12:33
Location: Barbados

#20 Post by jcoder24 »

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.

Post Reply