LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-13-2004, 02:06 PM   #1
ras123
Member
 
Registered: Jan 2004
Posts: 33

Rep: Reputation: 15
hsfmodem installation


Hi,
I am trying to install a D-link's hsfmodem, (provided by D-Link) from a tar.gz file. I installed it by using make install after that trying to configure by running hsfconfig. The output is as follows.
--------------------------------------------------
Linux HSF softmodem drivers, version 4.06.06.02

No pre-built HSF modules are available for your exact kernel:
Linux-2.4.22-1.2115.nptl-i686-RedHat-1-MODVERS

Assuming that a C compiler and proper kernel header files are present
on your system, we will now attempt to re-compile the modules.

Where is the directory of C header files that match your running kernel?
[/usr/src/linux]
-------------------------------------------------------------------------

do you know the answer?.
Thanks
Ras
 
Old 05-13-2004, 03:34 PM   #2
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
try this link maybe to get an updated driver for ur modem. http://www.linuxant.com/drivers
check u have a compiler installed in redhat rpm -q gcc
if u r updating ur driver type rpm -e hsfmodem or make uninstall (If rpm or tar) to remove ur old driver first.

either way u can try installing the package for ur driver with the command
rpm -i hsfmodem-{version}.{arch}.rpm from the local directory u saved the package to. (if it is an rpm package)

then if necessary u can run hsfconfig to complete the installation

if its a tar package then u can run
rpmbuild -tb hsfmodem-{version}.tar.gz

When ur modem is installed u can access it as
/dev/ttySHSF0

u can also try the command hsfconfig --help

when u get connected if u r still having problems u can check out the status of ur link using
cat /proc/driver/hsf/0/lastcallstatus
 
Old 05-13-2004, 06:36 PM   #3
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
Hello ras123,
the last stage of the install asks you about you kernel source and its location, usually, /usr/src/linux

You ought to have installed of course your kernel source corresponding to your linux distribution and current kernel, if you're running red hat search on your install cds for a package called kernel-source-something.i386.rpm

Good luck!!
 
Old 05-14-2004, 01:14 AM   #4
ras123
Member
 
Registered: Jan 2004
Posts: 33

Original Poster
Rep: Reputation: 15
I haven't directory like /usr/src/linux and usr/src contains only a directory redhat and it contains the folders BUILD RPMS SOURCES SPECS SRPMS ( All are currently empty ). So is this path correct /usr/src/redhat ?. But I think that path not worked. Or Do I need to install package kernel-source-*.i386.rpm?.
I am using Fedora Core 1.


Also I tried by rpmbuild -tb hsfmodem-{version}.tar.gz to build an rpm but that also failed due to some dependecies like rpm-lib, I didn't find it anywhere in My CD's.

Last edited by ras123; 05-14-2004 at 01:16 AM.
 
Old 05-14-2004, 02:58 AM   #5
ras123
Member
 
Registered: Jan 2004
Posts: 33

Original Poster
Rep: Reputation: 15
I Instlled kernerl-source, but failed due to - Lot of errors . From the file /tmp/hsfconfig-recomp.log.3316

----------------------------------------

* Compiling mod_engine.c
cc1: warning: "-fcheck-new" is valid for C++ but not for C/ObjC
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
> Linking kernel module hsfengine.o

* Compiling serial_hsf.c
cc1: warning: "-fcheck-new" is valid for C++ but not for C/ObjC
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
serial_hsf.c: In function `hsf_rx_ready':
serial_hsf.c:161: warning: concatenation of string literals with __FUNCTION__ is deprecated
serial_hsf.c: In function `hsf_tx_free':
serial_hsf.c:223: warning: concatenation of string literals with __FUNCTION__ is deprecated
serial_hsf.c: In function `hsf_put_char':
serial_hsf.c:240: warning: concatenation of string literals with __FUNCTION__ is deprecated
serial_hsf.c: In function `hsf_control':
serial_hsf.c:327: warning: concatenation of string literals with __FUNCTION__ is deprecated
serial_hsf.c: In function `hsf_break_ctl':
serial_hsf.c:362: warning: concatenation of string literals with __FUNCTION__ is deprecated
serial_hsf.c: In function `hsf_comctrl_init':
serial_hsf.c:472: warning: concatenation of string literals with __FUNCTION__ is deprecated
serial_hsf.c:477: warning: concatenation of string literals with __FUNCTION__ is deprecated
serial_hsf.c:484: warning: concatenation of string literals with __FUNCTION__ is deprecated
serial_hsf.c: In function `hsf_request_port':
serial_hsf.c:619: warning: concatenation of string literals with __FUNCTION__ is deprecated
serial_hsf.c:624: warning: concatenation of string literals with __FUNCTION__ is deprecated
serial_hsf.c: In function `hsf_serial_init':
serial_hsf.c:737: warning: concatenation of string literals with __FUNCTION__ is deprecated
serial_hsf.c:742: warning: concatenation of string literals with __FUNCTION__ is deprecated
serial_hsf.c:747: warning: concatenation of string literals with __FUNCTION__ is deprecated
In file included from serial_hsf.c:801:
serial_core.c: In function `uart_close':
serial_core.c:1073: error: invalid operands to binary ==
make: *** [serial_hsf.o] Error 1

Last edited by ras123; 05-14-2004 at 03:00 AM.
 
Old 07-12-2004, 02:21 PM   #6
hemanthjjp
LQ Newbie
 
Registered: Jun 2004
Location: india
Distribution: Fedora core 1
Posts: 17

Rep: Reputation: 0
Hi ras,

I'm also a newbie and i face the same problem with the same error in log file.Is your problem solved?

Please pose!!!!!!!!!!1
 
Old 07-12-2004, 07:36 PM   #7
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
if thats the beta hsf driver you can try this to see if it will compile on fedora i cant give you any guaranties

> -----Original Message-----
> From: Jack Bowling [mailto:jbinpg shaw ca]
> Sent: Wednesday, December 03, 2003 8:47 AM
> To: fedora-list redhat com
> Subject: Re: conexant combo

> If you are referring to the Conexant HSF modems, I have the drivers
> working perfeectly in my Compaq Presario 2110CA laptop. Go to:
>
> http://www.linuxant.com


Aren't thet $$$??? I have the beta versions of it.. But currently with the
2.4.23 kernel, it can't seem to compile. It used to compile fine when I
patched serial_core.c at line 1073

from

[original]
down(&state->count_sem);
spin_lock_irqsave(&info->lock, flags);
if ((tty->count) == 1) && (state->count != 1)) {
/*
* Uh, oh. tty->count is 1, which means that the tty
* structure will be freed. state->count should always
[Patched]
down(&state->count_sem);
spin_lock_irqsave(&info->lock, flags);
---> if ((atomic_read(&tty->count) == 1) && (state->count != 1)) {
/*
* Uh, oh. tty->count is 1, which means that the tty
* structure will be freed. state->count should always

But now with that patch, I get this during compile..

* cimpiling (gcc) serial_hsf.c
in file included from serial_hsf.c:897
serial_core.c : In function `uart close`:
serial_core.c :1073 request for member 'counter' in something not a
structure or a union

make : ***[serial_hsf.o] Error 1

Anyone know what's the issue here.. or have the fix for it?? Serial_core.c
is actually "Free Software" as stated in the source code.

Help... Need this for my modem.. (& I need the modem cause I don't have
broadband)

Thanks
OW




[Date Prev][
 
Old 07-15-2004, 03:01 PM   #8
hemanthjjp
LQ Newbie
 
Registered: Jun 2004
Location: india
Distribution: Fedora core 1
Posts: 17

Rep: Reputation: 0
Hi BOOW,

I have the beta drvers 5.03 and I patched the serial_core.c file.
It works and now my modem is working at 56kpbs in FC1.


But the connection is dropped after a few minutes.The time in which it's disconnected varies from time to time.

Is it the problem in the patch
 
Old 07-15-2004, 04:23 PM   #9
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
can't really help you with that the beta driver works ok on my pc. you could invest 14 bucks on the regular linuxant driver or find a cheap serial external modem. software modems are cheap but they suck in linux.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linuxant hsfmodem driver key deucedlt Linux - General 2 06-16-2005 01:14 PM
Any FC1 users with a working conaxant hsfmodem driver? hemanthjjp Fedora 0 07-12-2004 02:10 PM
Mandrake 9.2 installation program crashes in the final step of the installation iqbala Mandriva 0 12-03-2003 01:59 PM
56K hsfmodem driver for free pete_bogg Red Hat 4 10-29-2003 04:24 PM
Anybody have the 56k hsfmodem driver? Viper Slackware 0 10-14-2003 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration