Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hsflinmodem Conexant driver config question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
roldan
n00b
n00b


Joined: 03 May 2004
Posts: 7

PostPosted: Mon May 03, 2004 8:02 pm    Post subject: hsflinmodem Conexant driver config question Reply with quote

Hi,

I'm trying to configure my Conexant softmodem in a Dell Inspiron 5100. I've read several times that, for this specific model, configuring the driver sould be easy, just do

emerge hsflinmodem
hsfconfig

After emerging hsflinmodem, I'm having problems with hsfconfig. Specifically, the modem is not automatically detected, and when I try to configure it by hand, I get the following compile error. It's odd, because I remember installing the driver (for Debian, but anyway) some time ago, and I didn't have any problem.

This is probably not a Gentoo-related problem, but any help will be appreciated.

Code:

tux root # hsfconfig
Linux HSF softmodem drivers, version 5.03.27mbsibeta02122600
 
WARNING: this is an EXPERIMENTAL BETA VERSION of the HSF drivers for Linux.
USE AT YOUR OWN RISK! See the file /usr/lib/hsf/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]
 
No supported modem device found.
Is the modem presently installed in your system? [yes]
 
Sorry, no communication controllers were found.
 
 
Please enter your modem's PCI Vendor ID []: 14f1
 
Please enter your modem's PCI Device ID []: 5422
 
1) /etc/hsf/inf/linux_ali_smartmc.inf
2) /etc/hsf/inf/linux_athens.inf
3) /etc/hsf/inf/linux_hsf.inf
4) /etc/hsf/inf/linux_hsfi.inf
5) /etc/hsf/inf/linux_intel_smartmc.inf
6) /etc/hsf/inf/linux_smarthsf.inf
7) /etc/hsf/inf/linux_via_smartmc.inf
8) None of the above
 
Which INF file would you like to use with your HSF modem? (1-8) 3
 
Selected PCI VendorID=14f1 DeviceID=5422
and INF file /etc/hsf/inf/linux_hsf.inf
 
Supported countries:
 
ARGENTINA, AUSTRALIA, AUSTRIA, BANGLADESH,
BELGIUM, BOLIVIA, BRAZIL, BRUNEI, BULGARIA,
CANADA, CHILE, CHINA, COLOMBIA, COSTA_RICA,
CROATIA, CYPRUS, CZECH_REPUBLIC, DENMARK, DOMINICAN_REPUBLIC,
ECUADOR, EGYPT, EL_SALVADOR, FINLAND, FRANCE,
GERMANY, GREECE, GUATEMALA, HAITI, HONDURAS,
HONG-KONG, HUNGARY, ICELAND, INDIA, INDONESIA,
IRELAND, ISRAEL, ITALY, JAPAN, KOREA,
KUWAIT, LAOS, LATVIA, LIECHTENSTEIN, LUXEMBOURG,
MALAYSIA, MALTA, MEXICO, MYANMAR, NETHERLANDS,
NEW_ZEALAND, NORWAY, PAKISTAN, PANAMA, PARAGUAY,
PERU, PHILIPPINES, POLAND, PORTUGAL, ROMANIA,
RUSSIA, SAUDI_ARABIA, SINGAPORE, SLOVAKIA, SLOVENIA,
SOUTH_AFRICA, SPAIN, SRI_LANKA, SWEDEN, SWITZERLAND,
TAIWAN, THAILAND, TURKEY, UK, UKRAINE,
UNITED_ARAB_EMIRATES, URUGUAY, USA, VENEZUELA, VIETNAM
 
Please enter your country name [USA]:
 
Configuring modem for country: "USA"
You can change this setting later with the command "hsfconfig --country"
 
This package does not contain pre-built modules suitable for your system:
        Distribution: unknown-unknown
        Kernel arch: i686
        Kernel version: linux-2.4.25-gentoo-r1
 
Trying to automatically re-compile the 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/2.4.25-gentoo-r1/build]
 
Re-compiling HSF modules for kernel 2.4.25-gentoo-r1, using source directory
/lib/modules/2.4.25-gentoo-r1/build. Please wait..
 
ERROR: Module re-compilation and installation failed!
Please examine the log file "/tmp/hsfconfig-buildlog.txt" to determine why.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54850
Location: 56N 3W

PostPosted: Mon May 03, 2004 8:08 pm    Post subject: Reply with quote

roldan,

This is wrong :-
Quote:
Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.4.25-gentoo-r1/build]

the modules get installed here but the sources this is looking for will be in /usr/src/<kernel_version>, possibly on the end of the /usr/src/linux symbolic link.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
roldan
n00b
n00b


Joined: 03 May 2004
Posts: 7

PostPosted: Tue May 04, 2004 12:23 am    Post subject: Reply with quote

Thanks for your e-mail.
Actually, it looks like /lib/modules/2.4.25-gentoo-r1/build points to the same directory as /usr/src/linux, I think they are links to the same dir.

However, I managed to install it using the latest version of the driver from linuxant.com. It looks like the hsflinmodem ebuild is not up-to-date.
Back to top
View user's profile Send private message
Shelbie
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 92
Location: Brisbane, Australia

PostPosted: Tue May 11, 2004 9:48 pm    Post subject: Reply with quote

It looks like I am havin the same problem (I did point to /usr/src/linux). Is someone looking into this ebuild problem?
Back to top
View user's profile Send private message
roldan
n00b
n00b


Joined: 03 May 2004
Posts: 7

PostPosted: Wed May 12, 2004 2:55 pm    Post subject: Reply with quote

Hi,

I didn't notify anybody about the ebuild.

I fixed the problem by downloading the latest driver sources from linuxant.com, compiling and running hsfconfig. It automatically detected the modem. Apparently, it is a bandwidth-limited version, which sucks big time. Maybe Gentoo is keeping an outdated ebuild in order to stick to the not limited code.

Also, I was using wrong PCI vendor/device ID numbers, because there are two sets of those, if I remember well: device and sub-device. Maybe giving the right numbers to the gentoo hsfconfig script would make it work, I haven't tried.

I have the right numbers somewhere, I can post them here later on if you need.

Pau
Back to top
View user's profile Send private message
klarnox
Guru
Guru


Joined: 28 Jan 2003
Posts: 350
Location: Wisconsin, USA

PostPosted: Wed May 12, 2004 4:18 pm    Post subject: Reply with quote

roldan wrote:
Hi,
Apparently, it is a bandwidth-limited version, which sucks big time. Maybe Gentoo is keeping an outdated ebuild in order to stick to the not limited code.


If you purchase a license from linuxant for $20 you get a key to unlock the driver so you have full 56k speeds with your modem.

If I remember correctly the ebuild has not been updated with the new drivers because there was some issue with distributing the software anywhere but from the linuxant website. :roll:
Back to top
View user's profile Send private message
roldan
n00b
n00b


Joined: 03 May 2004
Posts: 7

PostPosted: Wed May 12, 2004 4:27 pm    Post subject: Reply with quote

Quote:
If I remember correctly the ebuild has not been updated with the new drivers because there was some issue with distributing the software anywhere but from the linuxant website.

So then the ebuild has the old but non-speed-limited version of the driver? :twisted:
Back to top
View user's profile Send private message
klarnox
Guru
Guru


Joined: 28 Jan 2003
Posts: 350
Location: Wisconsin, USA

PostPosted: Wed May 12, 2004 4:34 pm    Post subject: Reply with quote

roldan wrote:
So then the ebuild has the old but non-speed-limited version of the driver? :twisted:


Right, but there were lots of bugs in that driver (like not working with the 2.6 series kernel at all). If it works for you though, I'd stick with the version in portage.
Back to top
View user's profile Send private message
roldan
n00b
n00b


Joined: 03 May 2004
Posts: 7

PostPosted: Wed May 12, 2004 5:06 pm    Post subject: Reply with quote

I'm using the 2.4 kernel. I'll try to install the portage version using the right PCI vendor/device ID when I get back home Saturday (I'm away right now) and keep you posted...

Has anybody succeeded in installing the portage version of the driver for the Conexant modem that comes with the Inspiron 8100?

:!: BTW, I just bumped into this very recent claim (from http://oboc.ucdavis.edu/Marik/inspiron/):

Quote:
Update 5/12/2004 kernel 2.6.6:
The internal Broadcom modem works with ALSA module and Smartlink driver slmodem-2.9.6. Follow the instruction for ALSA supported modems and 2.6.x kernels. Modules:
snd_intel8x0m


This may be worth trying...
Back to top
View user's profile Send private message
klarnox
Guru
Guru


Joined: 28 Jan 2003
Posts: 350
Location: Wisconsin, USA

PostPosted: Wed May 12, 2004 5:30 pm    Post subject: Reply with quote

roldan wrote:
I'm using the 2.4 kernel. I'll try to install the portage version using the right PCI vendor/device ID when I get back home Saturday (I'm away right now) and keep you posted...

Has anybody succeeded in installing the portage version of the driver for the Conexant modem that comes with the Inspiron 8100?

:!: BTW, I just bumped into this very recent claim (from http://oboc.ucdavis.edu/Marik/inspiron/):

Quote:
Update 5/12/2004 kernel 2.6.6:
The internal Broadcom modem works with ALSA module and Smartlink driver slmodem-2.9.6. Follow the instruction for ALSA supported modems and 2.6.x kernels. Modules:
snd_intel8x0m


This may be worth trying...


I've also seen this claim elsewhere. Apparently for the broadcom modems this does work.

Dell used two different modems in the Inspiron 5100 laptops. I happen to have a Conexant chipset in my modem, others have the broadcom chipset.
Back to top
View user's profile Send private message
Shelbie
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 92
Location: Brisbane, Australia

PostPosted: Wed May 12, 2004 9:56 pm    Post subject: Reply with quote

roldan wrote:
I'm using the 2.4 kernel. I'll try to install the portage version using the right PCI vendor/device ID when I get back home Saturday (I'm away right now) and keep you posted...

:?: How do you specify PCI vendor/device ID in hsfconfig? Is that what you mean here?

I am sure I have the Conexant (not Broadcom) softmodem in my Inspiron 8100.

klarnox wrote:
Right, but there were lots of bugs in that driver (like not working with the 2.6 series kernel at all). If it works for you though, I'd stick with the version in portage.

:?: I have the 2004.0 (which is 2.4.24 I believe) so the non-speed-limited version could work for me?
Back to top
View user's profile Send private message
klarnox
Guru
Guru


Joined: 28 Jan 2003
Posts: 350
Location: Wisconsin, USA

PostPosted: Thu May 13, 2004 12:53 pm    Post subject: Reply with quote

Shelbie wrote:
:?: I have the 2004.0 (which is 2.4.24 I believe) so the non-speed-limited version could work for me?


If you're using a 2.4 series kernel the ebuild in Portage should work for you.
Back to top
View user's profile Send private message
roldan
n00b
n00b


Joined: 03 May 2004
Posts: 7

PostPosted: Thu May 13, 2004 4:03 pm    Post subject: Reply with quote

Quote:
How do you specify PCI vendor/device ID in hsfconfig? Is that what you mean here?


Well, the script does not detect my hardware automatically (probably, the Vendor/Device ID's corresponding to my hard have simply not been included in the script), so the script asks me if I want to configure it manually, and then asks me for the ID's.

I tried to extract the ID's by looking at /proc/pci or using lspci, or using scanmodem (http://linmodems.technion.ac.il/packages/scanModem.gz). The right numbers are:

Vendor ID : 8086
Device ID : 24C6
*Sub* Vendor ID : 14F1
*Sub* Device ID : 5422

The hsfconfig script asks for the first two. I was incorrectly feeding it the last two instead.
Back to top
View user's profile Send private message
Shelbie
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 92
Location: Brisbane, Australia

PostPosted: Thu May 13, 2004 9:59 pm    Post subject: Reply with quote

klarnox wrote:
Shelbie wrote:
:?: I have the 2004.0 (which is 2.4.24 I believe) so the non-speed-limited version could work for me?


If you're using a 2.4 series kernel the ebuild in Portage should work for you.


I don't have my laptop with Gentoo at hand at the moment but the hsfconfig starts, asks me the automatic thing, country and then fails and tells me to look in some log file.
I really want to get to the bottom of this, because I've been stuck on this bloody modem problem for almost a week now so its driving me insane :?
Before I switched to Gentoo I was using Mandrake, and my modem worked back then using the linuxant driver, so I wonder what I'm doing wrong?
:?: Silly question maybe but where does the ebuild install the hsf driver?
Back to top
View user's profile Send private message
klarnox
Guru
Guru


Joined: 28 Jan 2003
Posts: 350
Location: Wisconsin, USA

PostPosted: Fri May 14, 2004 1:16 am    Post subject: Reply with quote

Shelbie wrote:
klarnox wrote:
Shelbie wrote:
:?: I have the 2004.0 (which is 2.4.24 I believe) so the non-speed-limited version could work for me?


If you're using a 2.4 series kernel the ebuild in Portage should work for you.


I don't have my laptop with Gentoo at hand at the moment but the hsfconfig starts, asks me the automatic thing, country and then fails and tells me to look in some log file.
I really want to get to the bottom of this, because I've been stuck on this bloody modem problem for almost a week now so its driving me insane :?
Before I switched to Gentoo I was using Mandrake, and my modem worked back then using the linuxant driver, so I wonder what I'm doing wrong?
:?: Silly question maybe but where does the ebuild install the hsf driver?


I just noticed that you said you used 2004.0 to install, that doesn't necessarily mean you installed the 2.4 series kernel. if you type:
Code:
ls -l /usr/src/linux

it should tell you which dir it's linked to (which will be named after the kernel you have installed).
Back to top
View user's profile Send private message
roldan
n00b
n00b


Joined: 03 May 2004
Posts: 7

PostPosted: Sun May 23, 2004 3:45 pm    Post subject: Reply with quote

I finally managed to solve the problem. There are two different builds available:

/usr/portage/net-dialup/hsflinmodem/hsflinmodem-5.03.27.02122600.ebuild
/usr/portage/net-dialup/hsflinmodem/hsflinmodem-5.03.27.03042700.ebuild

By default, when I did
Code:
emerge hsflinmodem

, it emerged the first ebuild, so I only had to specify
Code:
emerge hsflinmodem-5.03.27.03042700.ebuild

to get the slightly more recent version of the driver.

It turns out that this second version does automatically detect the Conexant modem. Finally, I have a 5.0.3 driver with no speed limitations.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum