[hsflinux] Compaq Presario 2535QV Conexant 56K ACLink Modem is working fine!

Joseval Viana josevalviana at hotmail.com
Mon Aug 25 16:00:04 EDT 2003


Well, after two days of suffering I've got my modem working with Knoppix. 
That's it guys. The linuxant driver works. Just download the source package 
and compile it following this sequence (based on EPS sequence at 
http://www.knoppix.net/forum/viewtopic.php?t=2557 thanks EPS):

1. Get a copy of the Linuxant HSF source distribution onto the machine

2. Unpack tarball
cd /ramdisk
tar xvpzf /PATH/TO/hsflinmodem-%current version%.tar.gz

3. Start at the top
cd hs*

4. Edit config.mak
(old line 23) HOME=
(new line 23) HOME=/ramdisk
(old line 31) HSFETCDIR=$(ETCDIR)/hsf
(new line 31) HSFETCDIR=/etc/hsf
(old line 32) HSFINFDIR=$(HSFETCDIR)/inf
(new line 32) HSFINFDIR=$(ETCDIR)/hsf/inf

5. Edit modules/common.mak
(old line 22) KMODS_DIR= /lib/modules/$(KERNELVER)
(new line 22) KMODS_DIR= /ramdisk/lib/modules/$(KERNELVER)

6. Edit scripts/hsfconfig.in
(old line 1118) depmod -e -a
(new line 1118) depmod -e -a -b /ramdisk
(old line 1495) 
PATH=/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin
(new line 1495) 
PATH=/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin:/ramdisk/usr/sbin

7. Compile stuff
make install

8. Run the configurator
/ramdisk/usr/sbin/hsfconfig -a

You'll get a warning:
depmod: Can't open /lib/modules/2.4.21-xfs/modules.dep for writing

Ignore it!

9. Gather the few pieces actually needed for this particular model
cd /ramdisk
mkdir -p hsf/etc.hsf hsf/modules/misc
cp -p /etc/hsf/nvram.bin hsf/etc.hsf
cd lib/modules/2.4.20-xfs/misc
mv *.* /ramdisk/hsf/modules/misc
cd /ramdisk
tar cvzf hsf.tgz hsf

10. Make a customization script
cp /etc/modutils/hsf knoppix.sh
chmod 755 knoppix.sh

11. Edit your knoppix.sh file like this:

#!/bin/sh
(cd /ramdisk;exec /bin/tar xpzf $1/hsf.tgz)
/bin/ln -s /ramdisk/hsf/etc.hsf /etc/hsf
HSFPATH=/ramdisk/hsf/modules
export HSFPATH
/bin/cat << EOF > /etc/modutils/hsf
path[misc]=$HSFPATH
depfile=$HSFPATH/modules.dep
generic_stringfile=$HSFPATH/modules.generic_string
pcimapfile=$HSFPATH/modules.pcimap
isapnpmapfile=$HSFPATH/modules.isapnpmap
usbmapfile=$HSFPATH/modules.usbmap
parportmapfile=$HSFPATH/modules.parportmap
ieee1394mapfile=$HSFPATH/modules.ieee1394map
pnpbiosmapfile=$HSFPATH/modules.pnpbiosmap
alias /dev/ttySHSF* hsfserial
alias char-major-241 hsfserial
alias /dev/ttyCUA* hsfserial
alias char-major-242 hsfserial
alias /dev/modem hsfserial
options hsfserial serialmajor=241 calloutmajor=242
EOF
unset HSFPATH
/bin/rm -f /etc/modules.conf
/sbin/update-modules
/bin/rm -f /dev/modem /dev/cuaHSF0 /dev/ttySHSF0
/bin/mknod -m 666 /dev/ttySHSF0 c 241 64
/bin/mknod -m 666 /dev/cuaHSF0 c 242 64
/bin/ln -s /dev/ttySHSF0 /dev/modem

12. Put the files on a blank/formatted floppy
cp -p hsf.tgz knoppix.sh /mnt/floppy
sync

13. Reboot you machine:
shutdown -r now

You'll get a warning:
insmod: Note: /etc/modules.conf is more recent than 
/lib/modules/2.4.20-xfs/modules.dep

Ignore it!

14. Boot:

knoppix floppyconfig

15. Now your Conexant 56K ACLink Modem should work

_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com




More information about the hsflinux mailing list