Linuxant hsfmodem Driver Instructions please (LM13 Mate)

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read this

Linuxant hsfmodem Driver Instructions please (LM13 Mate)

Postby gene on Sun Dec 23, 2012 9:02 pm

Hi,
I have a USB 56k Dialup Modem which I want to use on LM13.
ProductID : VendorID is 1300:0572.
This means that it is a softmodem, and is supported by Linuxant's hsfmodem driver limited to 14k.
I am trying to get this modem connected at 14kb.

I thought I installed the hsfmodem driver by installing the .deb file from Linuxant, but there is no further information, and no logical plan about what to do when the .deb pkg is installed.

I read something about 'you have to do sudo hsfconfig'. I
did this, and It tried to make the driver, but not successfully it seems.

Latter hallf of Error message follows...

make[1]: Entering directory `/usr/src/linux-headers-3.2.0-23-generic'
CC [M] /usr/lib/hsfmodem/modules/mod_engine.o
CC [M] /usr/lib/hsfmodem/modules/mod_hda.o
CC [M] /usr/lib/hsfmodem/modules/mod_mc97ali.o
CC [M] /usr/lib/hsfmodem/modules/mod_mc97ati.o
CC [M] /usr/lib/hsfmodem/modules/mod_mc97ich.o
CC [M] /usr/lib/hsfmodem/modules/mod_mc97sis.o
CC [M] /usr/lib/hsfmodem/modules/mod_mc97via.o
CC [M] /usr/lib/hsfmodem/modules/mod_osspec.o
CC [M] /usr/lib/hsfmodem/modules/osservices.o
In file included from /usr/lib/hsfmodem/modules/osservices.c:20:0:
/usr/lib/hsfmodem/modules/GPL/oscompat.h:201:57: error: 'SPIN_LOCK_UNLOCKED' undeclared here (not in a function)
/usr/lib/hsfmodem/modules/osservices.c:51:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[2]: *** [/usr/lib/hsfmodem/modules/osservices.o] Error 1
make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic'
make: *** [all] Error 2

Qu: Has anyone here done this, and can advise the process from start to finish, from fresh install of LM, to working internet using dialup USB modem.?

Anyone?

thanks G
gene
Level 1
Level 1
 
Posts: 25
Joined: Mon Oct 22, 2012 1:27 am

Linux Mint is funded by ads and donations.
 

Re: Linuxant hsfmodem Driver Instructions please (LM13 Mate)

Postby gene on Fri Dec 28, 2012 8:09 pm

Hi,

Still trying to get driver installed to connect to and use USB 56k modem...

I have done a sudo make install on hsfmodem-7.80.02.05-DiacoEdition
This seemed to go well ... (though the actual driver created seemed to be 7.68.00.09oem)
The next instruction was to run hsfconfig from the hsf folder.
hsfconfig application was located in sbin folder, so I ran hsfconfig from there.

I need advice now on building a "kernel source tree" as indicated in the Terminal output pasted below.
Can anyone advise at this point?

Thanks G

. . . . . . . . . . . . . . . . .

gene@gene-desktop /usr/sbin $ sudo hsfconfig

Conexant HSF softmodem driver, version 7.68.00.09oem

If you need assistance or more information, please go to:
http://www.linuxant.com/

When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".

No pre-built modules for: Debian-wheezy/sid linux-3.2.0-23-generic i686-SMP

Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel?
[/lib/modules/3.2.0-23-generic/build]

WARNING: missing file /lib/modules/3.2.0-23-generic/build/include/linux/autoconf.h
The cause of this is usually a missing or unconfigured
kernel source tree
(and sometimes an incorrect directory or symbolic link).

However, proper /boot/config-3.2.0-23-generic was found.
Would you like to try using it (in a temporary kernel tree)? [yes] yes

Unable to prepare temporary kernel tree

First, ensure that the proper kernel source and compiler packages
from your distribution vendor and/or the community are installed.

The Linux kernel can then be reconfigured by running "make menuconfig"
under the kernel source directory (usually /usr/src/linux).

Verify that the proper options for your system are selected.

Then compile and install your new kernel (for more information about
this procedure, see the README file under the kernel source directory),
reboot the system using the new kernel, and re-run "hsfconfig".
gene@gene-desktop /usr/sbin $
gene
Level 1
Level 1
 
Posts: 25
Joined: Mon Oct 22, 2012 1:27 am

Re: Linuxant hsfmodem Driver Instructions please (LM13 Mate)

Postby gene on Thu Jan 10, 2013 8:11 am

So the terminal output from trying to install a modem driver, suggests that I need to do a Kernel rebuild.
I have done a ...

sudo apt-get git-core kernel-package fakeroot build-essential ncurses-dev,
since I read that these were required to make a new kernel.

The terminal output then says...
"The Linux kernel can then be reconfigured by running "make menuconfig"
under the kernel source directory (usually /usr/src/linux)."

Okay so, there's no /usr/src/linux, so I went to ...
/usr/src/linux-headers-3.2.0.23-generic, and then...
$ sudo make menuconfig. ( as per the instructions), and then I need to

"Verify that the proper options for your system are selected."
Can some one tell me what options I need to select to rebuild a kernel to make a modem driver.
( I need to select from multiple menu and submenus that follow.)

. . . . .

Is this cutting-edge stuff?
Am I pushing the limits of normal linux use?
Surely someone has done this before??
Anyone?

Screenshot1.png
Screenshot1.png (76.64 KiB) Viewed 648 times
gene
Level 1
Level 1
 
Posts: 25
Joined: Mon Oct 22, 2012 1:27 am

Re: Linuxant hsfmodem Driver Instructions please (LM13 Mate)

Postby patey on Tue Jan 22, 2013 12:54 pm

Hi,

Compiling a kernel to install a modem driver does seem a bit extreme :)

There are some instructions for the Conexant driver here, but they are based on installing a pre-compiled .deb

http://www.thinkwiki.org/wiki/Conexant_HSF_modem_drivers#The_Linuxant_hsf_driver

Debian: run # dpkg -i hsfblablabla.deb. When asked you for the code, enter "FREE" for the 14.4kbps evaluation.
patey
Level 1
Level 1
 
Posts: 14
Joined: Mon Jul 23, 2012 8:17 am


Return to Other networking topics

Who is online

Users browsing this forum: No registered users and 4 guests