Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197696 - net-dialup/hsfmodem: proposal for including a fully functional Dell OEM driver
Summary: net-dialup/hsfmodem: proposal for including a fully functional Dell OEM driver
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 22:34 UTC by Paul Fertser
Modified: 2009-09-12 03:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild and patches (hsfmodem-oem-ebuild.tar.gz,6.28 KB, application/octet-stream)
2007-12-16 17:21 UTC, Preston Crow
Details
hsfmodem-oem-7.68.00.09 (hsfmodem-oem.tar.bz2,2.60 KB, application/octet-stream)
2008-06-21 08:44 UTC, Arne Flagge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Fertser 2007-10-31 22:34:43 UTC
As the existing package is downloaded from the official Linuxant's site, it is somewhat restricted in functionality -- no speeds over 14400 and no FAX support. The full version is available for about $20 afaik.

However, Dell distributes another version from their support site that has no restrictions.
It can be found here: http://ftp.us.dell.com/comm/hsfmodem_7.60.00.06oem_i386.deb

The only clause in the license supplied with this packet related to distributing is:
"6.   Redistribution. Permission to redistribute this software without
modification is granted, without prejudice to Linuxant's ability to obtain
reparation for any unauthorized distribution of previous versions of this
software released under prior LICENSE terms. Modification or redistribution
of this software under different terms requires explicit written approval
signed by an authorized Linuxant officer."

So i suppose it'd be ok to make an ebuild for that.

I tried to use it with 2.6.23-gentoo #2 PREEMPT and it seems to be working somewhat though i would suggest masking it as it is unstable. I.e. when answering a fax while nobody's calling (so modem picks up and hears dial tone) i've seen kernel oops and was unable to reload the driver. The same happened when i tried to answer a data call and connect failed. Proprietary crap, that is it.

Reproducible: Always

Steps to Reproduce:




I use an integrated HDA modem on Acer Travelmate 2493 laptop,
"ttySHSF0 at MMIO 0x0 (irq = 1) is a Conexant HSF softmodem (HDA-14f12bfa:1025007f-1)".
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2007-11-05 23:19:30 UTC
WONTFIX for the same reasons as in bug 65235.
Comment 2 Paul Fertser 2007-11-06 17:01:07 UTC
> WONTFIX for the same reasons as in bug 6523566.

Sorry, Alin, but i can't agree with you. The reason you mention is downloading binary packages from untrusted sources. Moreover the version suggested was really outdated.

My case is different because (in my opinion) Dell can be considered even more reputable than Linuxant. Remember, it was Linuxant who was cheating with GPL\0 trick (  http://lkml.org/lkml/2006/10/27/233 ). And it is Dell who is going towards wider acceptance of free software.

Moreover, the version i suggest is fairly recent and unlimited in functionality. I suppose many users of that modem would be glad to download full-speed fax-enabled driver from Dell. Please, take that into account.

Comment 3 Alin Năstac (RETIRED) gentoo-dev 2007-11-06 19:57:14 UTC
(In reply to comment #2)

> My case is different because (in my opinion) Dell can be considered even more
> reputable than Linuxant. Remember, it was Linuxant who was cheating with GPL\0
> trick (  http://lkml.org/lkml/2006/10/27/233 ). And it is Dell who is going
> towards wider acceptance of free software.

hsfmodem is made by Linuxant under a closed-source kind of license and I suspect Dell has payed Linuxant for that unlocked version, prolly necessary for their Linux offerings.

> Moreover, the version i suggest is fairly recent and unlimited in
> functionality. I suppose many users of that modem would be glad to download
> full-speed fax-enabled driver from Dell. Please, take that into account.

And how will it be after 6 months? Who will maintain such package when the new kernel changes will break the hsfmodem?

If someone else makes a hsfmodem replacement, I will add it to the tree without hesitation... Just don't ask me to circumvent upstream's intentions by adding an old unlocked binary version to the official tree (ask yourself why no other major distro do what you request). 
Comment 4 Preston Crow 2007-12-16 17:21:19 UTC
Created attachment 138635 [details]
ebuild and patches

I modified the net-dialup/hsfmodem ebuild to use the Dell driver.  While I know that it won't be included, I'm posting it here for people who want to use it.  Note that this is incompatible with alsa-driver-1.0.15, as Conextant hasn't synced their code.
Comment 5 Arne Flagge 2008-06-21 08:44:41 UTC
Created attachment 157869 [details]
hsfmodem-oem-7.68.00.09

Updated the tarball by Preston Crow to hsfmodem-oem-7.68.00.09. ALSA version is now 1.0.16_rc2. For instructions see http://gentoo-wiki.com/HOWTO_Setup_a_Dialup_Connection#HSF_Modem .
Comment 6 Willard Dawson 2009-09-12 03:48:02 UTC
Can someone update the OEM ebuild for Dell for a current kernel?  I tried it now with 2.6.30-gentoo-r6, and got this error...

...or is hsfmodem OEM for Dell a dead horse?

# cat /tmp/hsfconfig-buildlog.txt                   
Makefile:20: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver package is for i386, this is likely to fail... ***                                           
(cd /lib/modules/2.6.30-gentoo-r6/build && make "CNXT_KERNELSRC=/lib/modules/2.6.30-gentoo-r6/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" clean)                                                              
make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r6'                                           
/usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver package is for i386, this is likely to fail... ***                 
make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r6'                                            
(cd /lib/modules/2.6.30-gentoo-r6/build && make "CNXT_KERNELSRC=/lib/modules/2.6.30-gentoo-r6/build" "M=/usr/lib/hsfmodem/modules/GPL/hda" "CC=gcc" "HDA_CFLAGS=-DFOUND_KZALLOC  -DFOUND_TLV   -DFOUND_IRQ_HANDLER_T -DFOUND_DELAYED_WORK  -DFOUND_NO_CTL_ELEM_RW" clean)                                               
make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r6'                                           
make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r6'                                            
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions  /lib/modules/2.6.30-gentoo-r6/build/.tmp_versions/hsfosspec.mod  /lib/modules/2.6.30-gentoo-r6/build/.tmp_versions/hsfserial.mod  /lib/modules/2.6.30-gentoo-r6/build/.tmp_versions/hsfengine.mod  /lib/modules/2.6.30-gentoo-r6/build/.tmp_versions/hsfpcibasic2.mod  /lib/modules/2.6.30-gentoo-r6/build/.tmp_versions/hsfpcibasic3.mod  /lib/modules/2.6.30-gentoo-r6/build/.tmp_versions/hsfmc97ich.mod  /lib/modules/2.6.30-gentoo-r6/build/.tmp_versions/hsfmc97via.mod  /lib/modules/2.6.30-gentoo-r6/build/.tmp_versions/hsfmc97ali.mod  /lib/modules/2.6.30-gentoo-r6/build/.tmp_versions/hsfmc97ati.mod  /lib/modules/2.6.30-gentoo-r6/build/.tmp_versions/hsfmc97sis.mod  /lib/modules/2.6.30-gentoo-r6/build/.tmp_versions/hsfsoar.mod Modules.symvers GPL/hda/Modules.symvers
(cd /lib/modules/2.6.30-gentoo-r6/build && make "CNXT_KERNELSRC=/lib/modules/2.6.30-gentoo-r6/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" modules)
make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r6'
/usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver package is for i386, this is likely to fail... ***
  CC [M]  /usr/lib/hsfmodem/modules/mod_engine.o
In file included from /usr/lib/hsfmodem/modules/mod_engine.c:9:
/usr/lib/hsfmodem/modules/GPL/oscompat.h:95:34: error: linux/byteorder/swab.h: No such file or directory
In file included from /usr/lib/hsfmodem/modules/mod_engine.c:10:
/usr/lib/hsfmodem/modules/imported/include/osservices.h:356:20: error: string.h: No such file or directory
make[2]: *** [/usr/lib/hsfmodem/modules/mod_engine.o] Error 1
make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r6'
make: *** [all] Error 2