Re: .ioctl search Re: no dial-up: hsfmodem and alsa-driver-linuxant problem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marv, in addition to the three earlier substitutions, I substituted .compat_ioctl = snd_pcm_lib_ioctl for .ioctl = snd_pcm_lib_ioctl in modules/GPL/hda/hda_intel.c (I confirmed that I had already done the .ioctl in osdiag.c), but unfortunately I get the same error when running hsfconfig.

Using grep -rs, I confirmed that in the hsfmodem folder there were no more instances of .ioctl and only two of .compat_ioctl in the right places, and only the two instances of DEFINE_SEMAPHORE that I had entered myself. But there are four more instances of DECLARE_MUTEX: two in GPL/oscompat.h and two in GPL/serial_core.c ... should this make a difference.

In response to suggestions by you and Antonio,
I did NOT run
$ sudo make clean
$ sudo make install

Or reboot after making the change
or run hsfdump or diagnostic tools provided by linuxant

I could give you a new copy of ModemData.txt
and the latest buildlog.txt made before the manual substitutions, which says
"/usr/lib/hsfmodem/modules/osnvm.c:408:8: error: 'MUTEX' undeclared here (not in a function)" (again, this was generated BEFORE I substituted DEFINE_SEMAPHORE in that particular file.)

 I did "hsfconfig --dumpdiag" and could send you the huge file if you want.

There we have it for the evening! I'll be back with you tomorrow. Until then,

Jeff



On 08/27/2011 10:08 PM, Marvin Stodolsky wrote:
Worked out the search procedure for .ioctl
In the hsfmodem base folder,
$ grep -rs ioctl *
.ioctl humt solved
-----------------
In the hsfmodem base folder, a search through all the subfolders:
$ grep -rs ioctl *
returns To Many hiys to parse through easily. BUT
$ grep -rs ioctl * | grep .ioctl
greatly reduces the returns, giving only those which have some symbol
before .ioctl , Some 30 lines to be examined.

The TWO cogent lines are in:
  modules/osdiag.c:     .ioctl= diag_ioctl
  modules/GPL/hda/hda_intel.c:    .ioctl = snd_pcm_lib_ioctl
AND the 2nd instance was missed in the guidance
of/http://ubuntuforums.org/showthread.php?t=1781268
This likely explains Jeff's failure.

Using
$ sudo gedit
these TWO .ioctl were replaced with .compat_ioctl

Per below, the compilation and installation was then successful.
Not than Jeff will likely need the ALSA support.
So if the modules fail to serve, the compile and installation should
be done again after installation of the alsa-linuxant package.
I cannot test further without the Conexant hardware.

Jeff,
     After you test, we should update the Ubuntu etc. guidance.

MarvS
===============
After first running the
$ sudo make clean
$ sudo make install

/Desktop/hsfmodem-7.80.02.06full$ sudo hsfconfig
Conexant HSF softmodem driver, version 7.80.02.06full

If you need license keys, 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: Ubuntu-11.04 linux-2.6.38-11-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/2.6.38-11-generic/build]

Building modules for kernel 2.6.38-11-generic, using source directory
/lib/modules/2.6.38-11-generic/build. Please wait...
done.

Warning: no device detected by hsf driver - HDA modems may require reboot

Note: HDA support not compiled in the driver

Note: kernel module snd-via82xx-modem overridden by hsfmc97via
Note: kernel module snd-intel8x0m overridden by hsfmc97ich hsfmc97sis
Note: kernel module snd-atiixp-modem overridden by hsfmc97ati
=====

Searching for the installed modules confirmed the success:
$ find /lib/modules -name hsf*.ko
/lib/modules/2.6.38-11-generic/extra/hsfmc97ich.ko
/lib/modules/2.6.38-11-generic/extra/hsfosspec.ko
/lib/modules/2.6.38-11-generic/extra/hsfmc97ati.ko
/lib/modules/2.6.38-11-generic/extra/hsfsoar.ko
/lib/modules/2.6.38-11-generic/extra/hsfusbcd2.ko
/lib/modules/2.6.38-11-generic/extra/hsfpcibasic3.ko
/lib/modules/2.6.38-11-generic/extra/hsfserial.ko
/lib/modules/2.6.38-11-generic/extra/hsfmc97via.ko
/lib/modules/2.6.38-11-generic/extra/hsfengine.ko
/lib/modules/2.6.38-11-generic/extra/hsfmc97sis.ko
/lib/modules/2.6.38-11-generic/extra/hsfpcibasic2.ko
/lib/modules/2.6.38-11-generic/extra/hsfmc97ali.ko
/lib/modules/2.6.38-11-generic/extra/hsfhda.ko





On Sun, Aug 28, 2011 at 12:06 AM, Marvin Stodolsky
<marvin.stodolsky@xxxxxxxxx>  wrote:
Some progress here:
make all
or
make install
unlike other code packages DOES NOT compile the drivers. It only does
some setups.
The drivers.ko  are only compiled during the
$ sudo hsfconfig
during which I get the same errors as Jeff reported.

The first code fix in a few files, replacing DECLARE_MUTEX with
DEFINE_SEMAPHORE
is easy

However the 2nd involving a replacement for .ioctl is difficult.
The problem is the that the common search tools are not effective with
the "."  which stands for ANY SINGLE CHARACTER ins grep implemented
searchs.  One can search for ioctl, but it is too abundantly used.
Thus it is too easy to miss a .ioctl among the abundant ioctl.   Thus
the round about perscription in
http://ubuntuforums.org/showthread.php?t=1781268c

I'll try to work out something better tomorrow.
It anyone know how do do a clean search for .ioctl
DO inform us

MarvS

On Sat, Aug 27, 2011 at 10:52 PM, Antonio Olivares
<olivares14031@xxxxxxxxx>  wrote:
Jeffrey,

On Sat, Aug 27, 2011 at 9:43 PM, Jeffrey Cohan<cohanjeffrey@xxxxxxx>  wrote:
Hi Antonio!

Indeed, dgcmodem_1.13_i386.deb seemed to install fine without USB modem, and
I'll gladly go buy me one! (which one though/!?)

I don't quite understand the first part - do you still think I should try
another hsfmodem package?? I'd love to wrestle with/get some response out of
that softmodem chip, but haven't we exhausted all options as the
HowToConexant 11.04 link didn't do the trick? Thanks much,

No, don't try another package, but at least post the error messages or
the build.log that comes out so that Jonathan(Linuxant support) can
make suggestions or let you know the status of the driver.

I don't have a conexant modem, if not I would try a little harder to
try and get it to work at least.  Other users are also encountering
the same issues as you have, and along with them a fix could be in the
way.

If you have a cell phone, you may use it for dialup too in the
meantime :)  Don't give up yet.

Regards,

Antonio

Jeff




On 08/27/2011 07:21 PM, Antonio Olivares wrote:
Jeffrey,

You installed this on the VAIO with

Codec: Conexant ID 2c06
Address: 1
MFG Function Id: 0x2 (unsol 1)
Vendor Id: 0x14f12c06
Subsystem Id: 0x104d1700
Revision Id: 0x100000
Modem Function Group: 0x2

  The audio card hosts a softmodem chip:  0x14f12c06

  14f1 is the Conexant Vendor ID, and 0x14f12c06 a softmodem chipset.
  Get a hsfmodem package through http://www.linuxant.com

If not a Conexant modem, the driver hsfmodem-drivers with its dependent
drivers:

and how about the one with the usb modem:

have you tried install dgcmodem_1.13_i386.deb?

Regards,

Antonio

On Sat, Aug 27, 2011 at 9:00 PM, Jeffrey Cohan<cohanjeffrey@xxxxxxx>
  wrote:
Hi Marv,

1)
installing hsfmodem_7.80.02.06full_i386.deb with dpkg, I get
"ERROR: Module build failed!
Please examine the log file
"/etc/hsfmodem/log/buildlog-20110827173945.txt"
to determine why."

2)
I clicked on the .deb file and reinstalled it through synaptic package
manager, and it gave me no eror message, but hsfconfig gave me the error
as
above. (Module build failed)

3)
so I went to the Ubuntu Conexant link. They start by confirming that his
HSF
modem (USB in this case) is recognized b the system. But how can I do
that????

...and after making the substitutions they recommend and running
hsfconfig I
got the familiar:
"Warning: no device detected by hsf driver - HDA modems may require
reboot
Note: HDA support not compiled in the driver"

Can I help it find my device somehow, as ScanModem finds it? Is it
certain
that this last process can be effective? or might it work only for USB
modems? What kind?

Many thanks,

Jeff


-----Original Message-----
From: Jeffrey Cohan<cohanjeffrey@xxxxxxx>
To: marvin.stodolsky@xxxxxxxxx
Cc: discuss@xxxxxxxxxxxxx; olivares14031@xxxxxxxxx
Sent: Sat, Aug 27, 2011 3:29 pm
Subject: Re: no dial-up: hsfmodem and alsa-driver-linuxant problem?

Hi Marv,

I actually never had a
/usr/lib/hcfpcimodem/
folder on my system. I misled you by giving in my email the list of
substitutions that Jonathan gave, instead of the ones I ACTUALLY did for
which I substituted  /hsfmodem/  (the same files existed in this folder).
Sorry. But perhaps it is a good idea to clean up - I'll do so and
reinstall!
Should I follow the substitution advice from the 11.04 link on the
DialupModemHowtoConexant page as before? If I don't hear from you I'll
try
installing it before and then after these fixes.
Thanks,
Jeff

(and I could reinstall Ubuntu if you think I might have corrupted
something)


-----Original Message-----
From: Marvin Stodolsky<marvin.stodolsky@xxxxxxxxx>
To: Jeffrey Cohan<cohanjeffrey@xxxxxxx>
Cc: discuss@xxxxxxxxxxxxx; olivares14031@xxxxxxxxx
Sent: Sat, Aug 27, 2011 2:56 pm
Subject: Re: no dial-up: hsfmodem and alsa-driver-linuxant problem?

Jeff

Installing the hsfmodem on my System, there was not created a folder
  /usr/lib/hcfpcimodem/
So some odd remnants seem to be on your System

I suggest doing uninstalls on all your modem packages , just to clean up
To get the Names for the uninstalls, do
$ sudo apt-cache search hsf
which will display the installaled package Name
Then
$ sudo apt-get remove Name
will uninstall it.

Repeat with:
$ sudo apt-cache search hcf
etc.

Then please again try the install of the  hsfmodem package

MarvS

On Sat, Aug 27, 2011 at 5:31 PM, Jeffrey Cohan<cohanjeffrey@xxxxxxx>
  wrote:
Hi Marv,

Actually the HP is the 64-bit machine withthe 11c11040 chip. On the VAIO
I
did use
hsfmodem-7.80.02.06full.tar.gz
which I'm guessing is correct for the 32-bit Vaio, and I followed
exactly
the instructions on the "for Ubuntu 11.04" link on the
DialupModemHowtoConexant page, making substitutions called for, and got
"Warning: no device detected by hsf driver - HDA modems may require
reboot"
and "Note: HDA support not compiled in the driver"
  - exactly as when I had previously followed Jonathan's slightly
different
substitutions. Ah, you were confused as I did in fact make these changes
in
the hsfmodem folder and not an hcfmodem folder, which I did not have.

But perhaps I did successfully install the USB modem package? (see last
email) Hope so...

Jeff


-----Original Message-----
From: Marvin Stodolsky<marvin.stodolsky@xxxxxxxxx>
To: Jeffrey Cohan<cohanjeffrey@xxxxxxx>; Linmodems
<discuss@xxxxxxxxxxxxx>
Sent: Sat, Aug 27, 2011 1:58 pm
Subject: Re: no dial-up: hsfmodem and alsa-driver-linuxant problem?

Jeff

Let's summarize and clarify some issues.
With respect to the VIAO PC x86_64 , with the 11c11040 modem chip
there is no support. If you want to install the 32 bit Ubuntu variant on
this PC
there may be support.  We haven't had a clean test since Antonio did a
code update,
but compilng is OK on Ubuntu Natty 32 bit

With respect to the HP PC with the the Conexant chip modem,
the code package which you should be using is
hsfmodem-7.80.02.06x86_64full.tar.gz,
obtained from the bottom of
http://www.linuxant.com/drivers/hsf/full/downloads.php

Is this the package on which you are having the compile problems?

I am confused about your description of the attempted fixes,
because they were done on files like
- /usr/lib/hcfpcimodem/modules/osnvm.c
but that is hcfpcimodem code, while cogent changes if any should be on
a hsfmodem code

MarvS


On Sat, Aug 27, 2011 at 4:43 PM, Jeffrey Cohan<cohanjeffrey@xxxxxxx>
wrote:
Hi Antonio!

in response I get
GNU grep 2.6.3
License GPLv3+: GNU GPL version 3 or later

...so all is ok?  I'm trying to install dgcmodem_1.13_i386.deb which I
have
unzipped but can't yet get dpkg to work (I get "dpkg: error: need an
action
option") and will let you know how it goes. Again, I'd be happy to
re-install Ubuntu if necessary.

Jeff


-----Original Message-----
From: Antonio Olivares<olivares14031@xxxxxxxxx>
To: Jeffrey Cohan<cohanjeffrey@xxxxxxx>
Cc: discuss@xxxxxxxxxxxxx; marvin.stodolsky@xxxxxxxxx;
support@xxxxxxxxxxxx
Sent: Sat, Aug 27, 2011 1:20 pm
Subject: Re: no dial-up: hsfmodem and alsa-driver-linuxant problem?

Jeffrey,

I made a BOO-BOO(mistake), instead of uname -a , dmesg | grep 'gcc'
hen gcc --version like

[olivares@acer-aspire-1 ~]$ dmesg | grep 'gcc'
[    0.000000] Linux version 2.6.40-4.fc15.i686
(mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.6.0 20110530
(Red Hat 4.6.0-9) (GCC) ) #1 SMP Fri Jul 29 18:54:39 UTC 2011
[olivares@acer-aspire-1 ~]$ gcc --version
gcc (GCC) 4.6.0 20110603 (Red Hat 4.6.0-10)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

[olivares@acer-aspire-1 ~]$

Notice that the gcc versions do match :)

You may pursue to try Marv's suggestion linuxant's usb drivers and see
if they work.

Regards,

Antonio

On Sat, Aug 27, 2011 at 1:47 PM, Jeffrey Cohan<cohanjeffrey@xxxxxxx>
wrote:
Antonio, here's what I get - do these correspond?

uname -a
Linux whiskeybisquit-VGN-N130G 2.6.38-11-generic #48-Ubuntu SMP Fri
Jul
29
19:05:14 UTC 2011 i686 i686 i386 GNU/Linux

gcc --version
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.

I'll gladly reinstall anything! and will look at your other options as
well.
Thanks,

Jeffrey
- - - - - -

Jeffrey,

On Sat, Aug 27, 2011 at 11:42 AM, Jeffrey Cohan<cohanjeffrey@xxxxxxx>
wrote:

Good morning Antonio! I found something from you about the USRobotics
USR5637 USB modem, and I'm assuming that DIDN'T work out on Ubuntu
11.04?
I
don't find anything on the web that confirms that any other USB modem
does
work. Or a replacement internal one for the VAIO?

I'm reluctant to install an older Ubuntu version as you suggest Marv
as
sooner or later it would not be supported, because it would take so
much
time to go back and forth unless one version can be accessed within
another
(at home I have only dial-up and use it many times each day) and
because
of
a potential problem with Thunderbird: due to family needs I go
between
the
2
laptops (I can check email via wifi when not at home), must keep my
Thunderbird profile on an external drive, and the profile has been
severely
compromised when accessed through different systems/versions (I'd
like
to
have the latest Ubuntu on both machines, and do need to use both to
run
ALL
of my software). If it were for the occasional fax, this option would
be
fine.

Maybe you can install an older kernel, for the meantime to give some
time for a fix.

So I'll assume that the message:
no device detected by hsf driver - HDA modems may require reboot
Note: HDA support not compiled in the driver

...leads me too a dead end. On both computers, alas.

On this page:
https://help.ubuntu.com/community/DialupModemHowto/Conexant
shouldn't this link:
For Ubuntu 11.04 (Natty Narwhal): You can follow the steps on this
thread.
:
http://ubuntuforums.org/showthread.php?t=1781268
be removed? or why would it not work in my case?

Might be due to some kernel problem* , kernel devel package/kernel
headers, some type of mismatch when I see the errors in the messages
that you have sent us:

<quote>
    alsa-driver-linuxant_1.0.23.1_all.deb:
----in terminal:
Building modules for the 2.6.38-11-generic kernel, please wait...
done.
ERROR: Build failed. Please review the build log at
/tmp/alsa-driver-linuxant.26528.log
dpkg: error processing alsa-driver-linuxant (--install):
  subprocess installed post-installation script returned error exit
status
2
----in log file:
checking for GCC version... Kernel compiler:  Used compiler: gcc
(Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system
compiler.
*** Please make sure that the same compiler version was used for
building kernel.
and later...
/usr/lib/alsa-driver-linuxant/acore/pcm_native.c: In function
‘snd_pcm_hw_params’:
/usr/lib/alsa-driver-linuxant/acore/pcm_native.c:489:2: error:
implicit declaration of function ‘pm_qos_remove_requirement’
/usr/lib/alsa-driver-linuxant/acore/pcm_native.c:492:3: error:
implicit declaration of function ‘pm_qos_add_requirement’
make[3]: *** [/usr/lib/alsa-driver-linuxant/acore/pcm_native.o] Error
1
make[2]: *** [/usr/lib/alsa-driver-linuxant/acore] Error 2
make[1]: *** [_module_/usr/lib/alsa-driver-linuxant] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic'
make: *** [compile] Error 2
</quote>

This line ``*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system
compiler.
*** Please make sure that the same compiler version was used for
building kernel.
'' is the one that makes me believe that the running kernel is not the
same gcc as the one in the system.  In this case and in others it is
important that the running kernel and the gcc be the same so that no
errors occurs.  If you can you can confirm

run
$ uname -a
and
$ gcc --version

and that may tell us why things are not working.  To get it working,
the kernel and the gcc must be the same.

If you want and have access to a livecd like
Knoppix/Slax/Porteus/Puppy/..., you can use some of these at least to
get a connection to internet via dialup.  Puppy in many cases has out
of box support for many winmodems.  In porteus I have successfully
built some buildscripts to build a module that will make the modems
work.  Some modems except the hsf/hcf modems since these are
proprietary, except for the 14 kbps one but that one many people would
get mad in the case that it is built(they would want full speed, and
it is a difficult to accomodate to many people*).  One person built
such a module for slax, but I have no status for it as Slax has not
been updated for a while.  Without screwing up your running system
and/or installing again you may try out one livecd(if you can get one)
and try the driver and see if you can make the modem work and connect
via dialup or install a kernel that matches gcc and try the fixes
again.

* unless you have a Dell machine, then you can use the oem drivers and
you can get full speed on the modem.

If you have a cell phone, you may also use it as a modem to connect to
internet.  In ModemData.txt, there is a report you can see :

If a cellphone is not detected, see
http://ubuntuforums.org/archive/index.php/t-878554.html
A sample report is:
http://linmodems.technion.ac.il/bigarch/archive-nineth/msg00578.html

Don't get discouraged, a little bit of patience can go a long way.  I
almost forgot, you can also virtualize a version of linux and with an
older kernel you can run an older installation along with your current
one and have a working dialup connection on that one with a working
driver.  These are things you can take a look at.

When there were no fixes for smartlink modem after kernel 2.6.30/31, I
used Slax livecd with older kernel to access the internet and then
later the fixes came along thanks to a person that figured things out.
  You may try to do something similar and not be left without internet
for a fix to come in the meantime.  Hang in there!  You can do it.

Regards,



Antonio

I've much appreciated your advice - thanks!

Jeff



-----Original Message-----
From: cohanjeffrey@xxxxxxx
To: olivares14031@xxxxxxxxx; marvin.stodolsky@xxxxxxxxx;
discuss@xxxxxxxxxxxxx; support@xxxxxxxxxxxx
Sent: Fri, Aug 26, 2011 7:23 pm
Subject: Re: no dial-up: hsfmodem and alsa-driver-linuxant problem?

Thank you Antonio and Marv - really appreciate it!

After another full day I'll try to take your advice tomorrow Marv,
and
it
seems from Ganton at
http://ubuntuforums.org/showthread.php?t=1597605&page=4
that the most recent kernel that will work will be Ubuntu 10.10. Or
could
I
buy an external modem on ebay that is said to work on Linux? If you
have
further ideas after reading what follows (especially, re "Warning: no
device
detected by hsf driver - HDA modems may require reboot" and "Note:
HDA
support not compiled in the driver"), I would be most grateful!

Today I removed alsa-driver-linuxant and installed
hsfmodem-7.80.02.06full,
and got code similar to yours Antonio.

But an "hsfconfig" resulted in (excerpts):
Conexant HSF softmodem driver, version 7.80.02.06full
When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".
No pre-built modules for: Ubuntu-11.04 linux-2.6.38-11-generic
i686-SMP
...and the punchline:
ERROR: Module build failed!
- - -
buildlog excerpts:
/usr/lib/hsfmodem/modules/osnvm.c:408:8: error: 'MUTEX' undeclared
here
(not
in a function)
make[2]: *** [/usr/lib/hsfmodem/modules/osnvm.o] Error 1
make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2

so I again did this:
replace DECLARE_MUTEX with DEFINE_SEMAPHORE in:
- /usr/lib/hcfpcimodem/modules/osnvm.c
- /usr/lib/hcfpcimodem/modules/GPL/serial_cnxt.c
replace .ioctl with .compat_ioctl in:
- /usr/lib/hcfpcimodem/modules/osdiag.c

and "hsfconfig" got...
Warning: no device detected by hsf driver - HDA modems may require
reboot
Note: HDA support not compiled in the driver

then I ran everything (whew!) from "Ganton's Avatar" at
http://ubuntuforums.org/showthread.php?t=1781268
and again got exactly the same message with "hsfconfig"
(issue not [SOLVED] as stated)

with another hsfconfig, it asked
Warning: existing driver modules found under:
     /lib/modules/2.6.38-11-generic/
Would you like to keep using them? [no]
...and I pressed [enter]
but got similar results
-  -  - (end of exploits for the day, besides a little blackberry
picking)-
- - - - -

Thanks again for helping,

Jeff



-----Original Message-----
From: Antonio Olivares<olivares14031@xxxxxxxxx>
To: cohanjeffrey@xxxxxxx
Cc: discuss@xxxxxxxxxxxxx; Linuxant support (Jonathan)
<support@xxxxxxxxxxxx>; Marvin Stodolsky<marvin.stodolsky@xxxxxxxxx>
Sent: Thu, Aug 25, 2011 6:56 pm
Subject: Re: no dial-up: hsfmodem and alsa-driver-linuxant problem?




Jeffrey,







Something is strange.  I try the package (hsf) and it runs for me, I



can't find errors:







[olivares@acer-aspire-1 hsfmodem-7.80.02.06full]$ su -c 'make
install'



Password:



make[1]: Entering directory



`/home/olivares/Downloads/hsfmodem-7.80.02.06full/nvm'



mkdir -m 755 -p cvt



sed -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g' -e



's!@CNXTTARGET@!hsf!g' -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'<



inf/hsfpcibasic2.inf | ./cvtinf.pl cvt/hsfpcibasic2; if [ -n



"inf/hsf.cty" ]; then ./cvtinf.pl cvt/hsfpcibasic2<    "inf/hsf.cty";



else true; fi



(cd cvt/hsfpcibasic2/Region&&    grep -v -l '*' *NAME | sed -e 's/^0//'



-e 's/^0//' -e 's/_NAME$//' | tr '
' ',' | sed -e 's/,$//' -e



's/^/"/' -e 's/$/"/' ; echo "")>    cvt/hsfpcibasic2/COUNTRY_CODE_LIST



sed -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g' -e



's!@CNXTTARGET@!hsf!g' -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'<



inf/hsfpcibasic2smart.inf | ./cvtinf.pl cvt/hsfpcibasic2smart; if [
-n



"" ]; then ./cvtinf.pl cvt/hsfpcibasic2smart<    ""; else true; fi



if [ -d cvt/hsfpcibasic2/Profile ]; then ln -sf



../hsfpcibasic2/Profile cvt/hsfpcibasic2smart/.; else true; fi



ln -sf ../hsfpcibasic2/Region cvt/hsfpcibasic2smart/.



(cd cvt/hsfpcibasic2smart/Region&&    grep -v -l '*' *NAME | sed -e



's/^0//' -e 's/^0//' -e 's/_NAME$//' | tr'
' ',' | sed -e 's/,$//'



-e 's/^/"/' -e 's/$/"/' ; echo "")>



cvt/hsfpcibasic2smart/COUNTRY_CODE_LIST



sed -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g' -e



's!@CNXTTARGET@!hsf!g' -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'<



inf/hsfpcibasic2hsfi.inf | ./cvtinf.pl cvt/hsfpcibasic2hsfi; if [ -n



"inf/hsf.cty" ]; then ./cvtinf.pl cvt/hsfpcibasic2hsfi<



"inf/hsf.cty"; else true; fi



rm -rf cvt/hsfpcibasic2hsfi/Region



ln -sf ../hsfpcibasic2/Region cvt/hsfpcibasic2hsfi/.



(cd cvt/hsfpcibasic2hsfi/Region&&    grep -v -l '*' *NAME | sed -e



's/^0//' -e 's/^0//' -e 's/_NAME$//' | tr'
' ',' | sed -e 's/,$//'



-e 's/^/"/' -e 's/$/"/' ; echo "")>



cvt/hsfpcibasic2hsfi/COUNTRY_CODE_LIST



sed -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g' -e



's!@CNXTTARGET@!hsf!g' -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'<



inf/hsfpcibasic2bry.inf | ./cvtinf.pl cvt/hsfpcibasic2bry; if [ -n



"inf/hsf.cty" ]; then ./cvtinf.pl cvt/hsfpcibasic2bry<
  "inf/hsf.cty";



else true; fi



rm -rf cvt/hsfpcibasic2bry/Region



ln -sf ../hsfpcibasic2/Region cvt/hsfpcibasic2bry/.



(cd cvt/hsfpcibasic2bry/Region&&    grep -v -l '*' *NAME | sed -e



's/^0//' -e 's/^0//' -e 's/_NAME$//' | tr'
' ',' | sed -e 's/,$//'



-e 's/^/"/' -e 's/$/"/' ; echo "")>



cvt/hsfpcibasic2bry/COUNTRY_CODE_LIST



sed -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g' -e



's!@CNXTTARGET@!hsf!g' -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'<



inf/hsfpcibasic3.inf | ./cvtinf.pl cvt/hsfpcibasic3; if [ -n



"inf/hsf.cty" ]; then ./cvtinf.pl cvt/hsfpcibasic3<    "inf/hsf.cty";



else true; fi



rm -rf cvt/hsfpcibasic3/Region



ln -sf ../hsfpcibasic2/Region cvt/hsfpcibasic3/.



(cd cvt/hsfpcibasic3/Region&&    grep -v -l '*' *NAME | sed -e 's/^0//'



-e 's/^0//' -e 's/_NAME$//' | tr '
' ',' | sed -e 's/,$//' -e



's/^/"/' -e 's/$/"/' ; echo "")>    cvt/hsfpcibasic3/COUNTRY_CODE_LIST



sed -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g' -e



's!@CNXTTARGET@!hsf!g' -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'<



inf/hsfmc97ich.inf | ./cvtinf.pl cvt/hsfmc97; if [ -n "" ]; then



./cvtinf.pl cvt/hsfmc97<    ""; else true; fi



rm -f mc97/HW_ADAPTER_TYPE



ln -sf ../hsfpcibasic2smart/Profile cvt/hsfmc97/.



ln -sf ../hsfpcibasic2smart/Region cvt/hsfmc97/.



(cd cvt/hsfmc97/Region&&    grep -v -l '*' *NAME | sed -e 's/^0//' -e



's/^0//' -e 's/_NAME$//' | tr'
' ',' | sed -e 's/,$//' -e 's/^/"/'



-e 's/$/"/' ; echo "")>    cvt/hsfmc97/COUNTRY_CODE_LIST



ln -sf `basename cvt/hsfmc97` cvt/hsfmc97ali



ln -sf `basename cvt/hsfmc97` cvt/hsfmc97ati



ln -sf `basename cvt/hsfmc97` cvt/hsfmc97ich



ln -sf `basename cvt/hsfmc97` cvt/hsfmc97sis



ln -sf `basename cvt/hsfmc97` cvt/hsfmc97via



sed -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g' -e



's!@CNXTTARGET@!hsf!g' -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'<



inf/hsfcadmus2.inf | ./cvtinf.pl cvt/hsfcadmus2; if [ -n "" ]; then



./cvtinf.pl cvt/hsfcadmus2<    ""; else true; fi



rm -f cadmus2/HW_ADAPTER_TYPE



ln -sf ../hsfpcibasic2/Profile cvt/hsfcadmus2/.



ln -sf ../hsfpcibasic2/Region cvt/hsfcadmus2/.



(cd cvt/hsfcadmus2/Region&&    grep -v -l '*' *NAME | sed -e 's/^0//'



-e 's/^0//' -e 's/_NAME$//' | tr '
' ',' | sed -e 's/,$//' -e



's/^/"/' -e 's/$/"/' ; echo "")>    cvt/hsfcadmus2/COUNTRY_CODE_LIST



sed -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g' -e



's!@CNXTTARGET@!hsf!g' -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'<



inf/hsfcadmus2smart.inf | ./cvtinf.pl cvt/hsfcadmus2smart; if [ -n ""



]; then ./cvtinf.pl cvt/hsfcadmus2smart<    ""; else true; fi



rm -f cadmus2smart/HW_ADAPTER_TYPE



ln -sf ../hsfpcibasic2smart/Profile cvt/hsfcadmus2smart/.



ln -sf ../hsfpcibasic2smart/Region cvt/hsfcadmus2smart/.



(cd cvt/hsfcadmus2smart/Region&&    grep -v -l '*' *NAME | sed -e



's/^0//' -e 's/^0//' -e 's/_NAME$//' | tr'
' ',' | sed -e 's/,$//'



-e 's/^/"/' -e 's/$/"/' ; echo "")>



cvt/hsfcadmus2smart/COUNTRY_CODE_LIST



sed -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g' -e



's!@CNXTTARGET@!hsf!g' -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'<



inf/hsfhda.inf | ./cvtinf.pl cvt/hsfhda; if [ -n "" ]; then



./cvtinf.pl cvt/hsfhda<    ""; else true; fi



rm -f hda/HW_ADAPTER_TYPE



ln -sf ../hsfpcibasic2smart/Profile cvt/hsfhda/.



ln -sf ../hsfpcibasic2smart/Region cvt/hsfhda/.



(cd cvt/hsfhda/Region&&    grep -v -l '*' *NAME | sed -e 's/^0//' -e



's/^0//' -e 's/_NAME$//' | tr'
' ',' | sed -e 's/,$//' -e 's/^/"/'



-e 's/$/"/' ; echo "")>    cvt/hsfhda/COUNTRY_CODE_LIST



cd cvt&&    find . -type f ! -empty -exec md5sum {} ';' | sort |



while read sum file ; do



     if [ "$sum" = "$prevsum" ]&&    cmp -s "$file" "$prevfile"; then



         rm -f "$file";



         if ! ln "$prevfile" "$file"; then



             echo 2>&1 "$0: ln FAILED - recreate $file based on
$prevfile";



             exit 1;



         fi;



     else



         prevsum="$sum";



         prevfile="$file";



     fi;



done



touch cvt/.linksame



mkdir -m 755 -p /etc/hsfmodem/nvm



cd cvt&&    (find  hsfpcibasic2  hsfpcibasic2smart  hsfpcibasic2hsfi



hsfpcibasic2bry  hsfpcibasic3  hsfmc97  hsfmc97ali  hsfmc97ati



hsfmc97ich  hsfmc97sis  hsfmc97via  hsfcadmus2  hsfcadmus2smart



hsfhda | cpio -pdmu /etc/hsfmodem/nvm)



127 blocks



make[1]: Leaving directory



`/home/olivares/Downloads/hsfmodem-7.80.02.06full/nvm'



make[1]: Entering directory



`/home/olivares/Downloads/hsfmodem-7.80.02.06full/scripts'



sed



     -e "s!@DATE@!`date "+%a, %d %b %Y %T %z"`!g"



     -e 's!@CNXTDRIVER@!hsf!g'



     -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'



     -e 's!@CNXTTARGET@!hsf!g'



     -e 's!@CNXTARCH@!i386!g'



     -e 's!@CNXTSERDEV@!HSF!g'



     -e 's!@CNXTMAXMDM@!8!g'



     -e 's!@CNXTETCDIR@!/etc/hsfmodem!g'



     -e 's!@CNXTLIBDIR@!/usr/lib/hsfmodem!g'



     -e 's!@CNXTSERIALMAJOR@!240!g'



     -e 's!@CNXTCALOUTMAJOR@!241!g'



     -e 's!@CNXTSERIALMINOR@!64!g'



     -e 's!@CNXTDCPMAJOR@!242!g'



     -e 's!@CNXTDIAGMAJOR@!243!g'



     -e 's!@CNXTDIAGDMPMINOR@!255!g'



     -e 's!@CNXTSCRMAJOR@!244!g'



     -e 's!@CNXTSBINDIR@!/usr/sbin!g'



     -e 's!@CNXTNVMDIR@!/etc/hsfmodem/nvm!g'



     -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g'



     -e 's!@CNXTLINUX_REL@!1!g'



     -e 's!@CNXTLINUXRPM_REL@!1!g'



     -e 's!@CNXTLINUXDEB_REL@!1!g'



     -e 's!@CNXTMODS@!hsfpcibasic2 hsfpcibasic3 hsfmc97ich hsfmc97via



hsfmc97ali hsfmc97ati hsfmc97sis hsfusbcd2 snd_hda_codec_hsfmodem



hsfhda hsfsoar hsfserial hsfengine hsfosspec!g'



     -e





's!@PATCHERURL@!http://www.linuxant.com/drivers/hsf/full/archive/patches!g'







     -e





's!@PATCHERURLUSER@!http://www.linuxant.com/drivers/hsf/downloads-patches.php!g'







     -e "s!@BLAM_SUPPORT@!`test ! "" = yes; echo $?`!g"



     -e "s!@SCR_SUPPORT@!`test ! "" = yes; echo $?`!g"



     -e "s!@DMP_SUPPORT@!`test -z ""; echo $?`!g"



     <    patcher.in>    patcher



chmod --reference=patcher.in patcher



ln -s cnxtconfig.in hsfconfig.in



sed



     -e "s!@DATE@!`date "+%a, %d %b %Y %T %z"`!g"



     -e 's!@CNXTDRIVER@!hsf!g'



     -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'



     -e 's!@CNXTTARGET@!hsf!g'



     -e 's!@CNXTARCH@!i386!g'



     -e 's!@CNXTSERDEV@!HSF!g'



     -e 's!@CNXTMAXMDM@!8!g'



     -e 's!@CNXTETCDIR@!/etc/hsfmodem!g'



     -e 's!@CNXTLIBDIR@!/usr/lib/hsfmodem!g'



     -e 's!@CNXTSERIALMAJOR@!240!g'



     -e 's!@CNXTCALOUTMAJOR@!241!g'



     -e 's!@CNXTSERIALMINOR@!64!g'



     -e 's!@CNXTDCPMAJOR@!242!g'



     -e 's!@CNXTDIAGMAJOR@!243!g'



     -e 's!@CNXTDIAGDMPMINOR@!255!g'



     -e 's!@CNXTSCRMAJOR@!244!g'



     -e 's!@CNXTSBINDIR@!/usr/sbin!g'



     -e 's!@CNXTNVMDIR@!/etc/hsfmodem/nvm!g'



     -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g'



     -e 's!@CNXTLINUX_REL@!1!g'



     -e 's!@CNXTLINUXRPM_REL@!1!g'



     -e 's!@CNXTLINUXDEB_REL@!1!g'



     -e 's!@CNXTMODS@!hsfpcibasic2 hsfpcibasic3 hsfmc97ich hsfmc97via



hsfmc97ali hsfmc97ati hsfmc97sis hsfusbcd2 snd_hda_codec_hsfmodem



hsfhda hsfsoar hsfserial hsfengine hsfosspec!g'



     -e





's!@PATCHERURL@!http://www.linuxant.com/drivers/hsf/full/archive/patches!g'







     -e





's!@PATCHERURLUSER@!http://www.linuxant.com/drivers/hsf/downloads-patches.php!g'







     -e "s!@BLAM_SUPPORT@!`test ! "" = yes; echo $?`!g"



     -e "s!@SCR_SUPPORT@!`test ! "" = yes; echo $?`!g"



     -e "s!@DMP_SUPPORT@!`test -z ""; echo $?`!g"



     <    hsfconfig.in>    hsfconfig



chmod --reference=hsfconfig.in hsfconfig



ln -s cnxtstop.in hsfstop.in



sed



     -e "s!@DATE@!`date "+%a, %d %b %Y %T %z"`!g"



     -e 's!@CNXTDRIVER@!hsf!g'



     -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'



     -e 's!@CNXTTARGET@!hsf!g'



     -e 's!@CNXTARCH@!i386!g'



     -e 's!@CNXTSERDEV@!HSF!g'



     -e 's!@CNXTMAXMDM@!8!g'



     -e 's!@CNXTETCDIR@!/etc/hsfmodem!g'



     -e 's!@CNXTLIBDIR@!/usr/lib/hsfmodem!g'



     -e 's!@CNXTSERIALMAJOR@!240!g'



     -e 's!@CNXTCALOUTMAJOR@!241!g'



     -e 's!@CNXTSERIALMINOR@!64!g'



     -e 's!@CNXTDCPMAJOR@!242!g'



     -e 's!@CNXTDIAGMAJOR@!243!g'



     -e 's!@CNXTDIAGDMPMINOR@!255!g'



     -e 's!@CNXTSCRMAJOR@!244!g'



     -e 's!@CNXTSBINDIR@!/usr/sbin!g'



     -e 's!@CNXTNVMDIR@!/etc/hsfmodem/nvm!g'



     -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g'



     -e 's!@CNXTLINUX_REL@!1!g'



     -e 's!@CNXTLINUXRPM_REL@!1!g'



     -e 's!@CNXTLINUXDEB_REL@!1!g'



     -e 's!@CNXTMODS@!hsfpcibasic2 hsfpcibasic3 hsfmc97ich hsfmc97via



hsfmc97ali hsfmc97ati hsfmc97sis hsfusbcd2 snd_hda_codec_hsfmodem



hsfhda hsfsoar hsfserial hsfengine hsfosspec!g'



     -e





's!@PATCHERURL@!http://www.linuxant.com/drivers/hsf/full/archive/patches!g'







     -e





's!@PATCHERURLUSER@!http://www.linuxant.com/drivers/hsf/downloads-patches.php!g'







     -e "s!@BLAM_SUPPORT@!`test ! "" = yes; echo $?`!g"



     -e "s!@SCR_SUPPORT@!`test ! "" = yes; echo $?`!g"



     -e "s!@DMP_SUPPORT@!`test -z ""; echo $?`!g"



     <    hsfstop.in>    hsfstop



chmod --reference=hsfstop.in hsfstop



ln -s cnxtmodconflicts.in hsfmodconflicts.in



sed



     -e "s!@DATE@!`date "+%a, %d %b %Y %T %z"`!g"



     -e 's!@CNXTDRIVER@!hsf!g'



     -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'



     -e 's!@CNXTTARGET@!hsf!g'



     -e 's!@CNXTARCH@!i386!g'



     -e 's!@CNXTSERDEV@!HSF!g'



     -e 's!@CNXTMAXMDM@!8!g'



     -e 's!@CNXTETCDIR@!/etc/hsfmodem!g'



     -e 's!@CNXTLIBDIR@!/usr/lib/hsfmodem!g'



     -e 's!@CNXTSERIALMAJOR@!240!g'



     -e 's!@CNXTCALOUTMAJOR@!241!g'



     -e 's!@CNXTSERIALMINOR@!64!g'



     -e 's!@CNXTDCPMAJOR@!242!g'



     -e 's!@CNXTDIAGMAJOR@!243!g'



     -e 's!@CNXTDIAGDMPMINOR@!255!g'



     -e 's!@CNXTSCRMAJOR@!244!g'



     -e 's!@CNXTSBINDIR@!/usr/sbin!g'



     -e 's!@CNXTNVMDIR@!/etc/hsfmodem/nvm!g'



     -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g'



     -e 's!@CNXTLINUX_REL@!1!g'



     -e 's!@CNXTLINUXRPM_REL@!1!g'



     -e 's!@CNXTLINUXDEB_REL@!1!g'



     -e 's!@CNXTMODS@!hsfpcibasic2 hsfpcibasic3 hsfmc97ich hsfmc97via



hsfmc97ali hsfmc97ati hsfmc97sis hsfusbcd2 snd_hda_codec_hsfmodem



hsfhda hsfsoar hsfserial hsfengine hsfosspec!g'



     -e





's!@PATCHERURL@!http://www.linuxant.com/drivers/hsf/full/archive/patches!g'







     -e





's!@PATCHERURLUSER@!http://www.linuxant.com/drivers/hsf/downloads-patches.php!g'







     -e "s!@BLAM_SUPPORT@!`test ! "" = yes; echo $?`!g"



     -e "s!@SCR_SUPPORT@!`test ! "" = yes; echo $?`!g"



     -e "s!@DMP_SUPPORT@!`test -z ""; echo $?`!g"



     <    hsfmodconflicts.in>    hsfmodconflicts



chmod --reference=hsfmodconflicts.in hsfmodconflicts



ln -s cnxtdcpd.in hsfdcpd.in



sed



     -e "s!@DATE@!`date "+%a, %d %b %Y %T %z"`!g"



     -e 's!@CNXTDRIVER@!hsf!g'



     -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'



     -e 's!@CNXTTARGET@!hsf!g'



     -e 's!@CNXTARCH@!i386!g'



     -e 's!@CNXTSERDEV@!HSF!g'



     -e 's!@CNXTMAXMDM@!8!g'



     -e 's!@CNXTETCDIR@!/etc/hsfmodem!g'



     -e 's!@CNXTLIBDIR@!/usr/lib/hsfmodem!g'



     -e 's!@CNXTSERIALMAJOR@!240!g'



     -e 's!@CNXTCALOUTMAJOR@!241!g'



     -e 's!@CNXTSERIALMINOR@!64!g'



     -e 's!@CNXTDCPMAJOR@!242!g'



     -e 's!@CNXTDIAGMAJOR@!243!g'



     -e 's!@CNXTDIAGDMPMINOR@!255!g'



     -e 's!@CNXTSCRMAJOR@!244!g'



     -e 's!@CNXTSBINDIR@!/usr/sbin!g'



     -e 's!@CNXTNVMDIR@!/etc/hsfmodem/nvm!g'



     -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g'



     -e 's!@CNXTLINUX_REL@!1!g'



     -e 's!@CNXTLINUXRPM_REL@!1!g'



     -e 's!@CNXTLINUXDEB_REL@!1!g'



     -e 's!@CNXTMODS@!hsfpcibasic2 hsfpcibasic3 hsfmc97ich hsfmc97via



hsfmc97ali hsfmc97ati hsfmc97sis hsfusbcd2 snd_hda_codec_hsfmodem



hsfhda hsfsoar hsfserial hsfengine hsfosspec!g'



     -e





's!@PATCHERURL@!http://www.linuxant.com/drivers/hsf/full/archive/patches!g'







     -e





's!@PATCHERURLUSER@!http://www.linuxant.com/drivers/hsf/downloads-patches.php!g'







     -e "s!@BLAM_SUPPORT@!`test ! "" = yes; echo $?`!g"



     -e "s!@SCR_SUPPORT@!`test ! "" = yes; echo $?`!g"



     -e "s!@DMP_SUPPORT@!`test -z ""; echo $?`!g"



     <    hsfdcpd.in>    hsfdcpd



chmod --reference=hsfdcpd.in hsfdcpd



install -m 700 hsfconfig hsfstop hsfmodconflicts hsfdcpd /usr/sbin



ln -s rccnxt.in rchsf.in



sed



     -e "s!@DATE@!`date "+%a, %d %b %Y %T %z"`!g"



     -e 's!@CNXTDRIVER@!hsf!g'



     -e 's!@CNXTDRVDSC@!Conexant HSF softmodem!g'



     -e 's!@CNXTTARGET@!hsf!g'



     -e 's!@CNXTARCH@!i386!g'



     -e 's!@CNXTSERDEV@!HSF!g'



     -e 's!@CNXTMAXMDM@!8!g'



     -e 's!@CNXTETCDIR@!/etc/hsfmodem!g'



     -e 's!@CNXTLIBDIR@!/usr/lib/hsfmodem!g'



     -e 's!@CNXTSERIALMAJOR@!240!g'



     -e 's!@CNXTCALOUTMAJOR@!241!g'



     -e 's!@CNXTSERIALMINOR@!64!g'



     -e 's!@CNXTDCPMAJOR@!242!g'



     -e 's!@CNXTDIAGMAJOR@!243!g'



     -e 's!@CNXTDIAGDMPMINOR@!255!g'



     -e 's!@CNXTSCRMAJOR@!244!g'



     -e 's!@CNXTSBINDIR@!/usr/sbin!g'



     -e 's!@CNXTNVMDIR@!/etc/hsfmodem/nvm!g'



     -e 's!@CNXTLINUXVERSION@!7.80.02.06full!g'



     -e 's!@CNXTLINUX_REL@!1!g'



     -e 's!@CNXTLINUXRPM_REL@!1!g'



     -e 's!@CNXTLINUXDEB_REL@!1!g'



     -e 's!@CNXTMODS@!hsfpcibasic2 hsfpcibasic3 hsfmc97ich hsfmc97via



hsfmc97ali hsfmc97ati hsfmc97sis hsfusbcd2 snd_hda_codec_hsfmodem



hsfhda hsfsoar hsfserial hsfengine hsfosspec!g'



     -e





's!@PATCHERURL@!http://www.linuxant.com/drivers/hsf/full/archive/patches!g'







     -e





's!@PATCHERURLUSER@!http://www.linuxant.com/drivers/hsf/downloads-patches.php!g'







     -e "s!@BLAM_SUPPORT@!`test ! "" = yes; echo $?`!g"



     -e "s!@SCR_SUPPORT@!`test ! "" = yes; echo $?`!g"



     -e "s!@DMP_SUPPORT@!`test -z ""; echo $?`!g"



     <    rchsf.in>    rchsf



chmod --reference=rchsf.in rchsf



mkdir -m 755 -p /usr/lib/hsfmodem



install -m 700 rchsf /usr/lib/hsfmodem



make[1]: Leaving directory



`/home/olivares/Downloads/hsfmodem-7.80.02.06full/scripts'



make[1]: Entering directory



`/home/olivares/Downloads/hsfmodem-7.80.02.06full/modules'



rm -rf "/usr/lib/hsfmodem/config.mak"



"/usr/lib/hsfmodem/modules/imported" "/usr/lib/hsfmodem/modules"



mkdir -m 755 -p /usr/lib/hsfmodem/modules



(cd ..&&    find config.mak modules/imported -depth -print | cpio -pdmu



/usr/lib/hsfmodem)



5892 blocks



find . ( -name COPYING -o -name '*.sh' -o -name '*.[ch]' -o -name



'*.mak' -o -name '[Mm]akefile' ) -print | cpio -pdmu



/usr/lib/hsfmodem/modules



3712 blocks



find binaries -depth -print | cpio -pdmu /usr/lib/hsfmodem/modules



0 blocks



make[1]: Leaving directory



`/home/olivares/Downloads/hsfmodem-7.80.02.06full/modules'



make[1]: Entering directory



`/home/olivares/Downloads/hsfmodem-7.80.02.06full/diag'



make[1]: Nothing to be done for `install'.



make[1]: Leaving directory



`/home/olivares/Downloads/hsfmodem-7.80.02.06full/diag'



mkdir -p /etc/hsfmodem/log



install -m 444 LICENSE /usr/lib/hsfmodem







To complete the installation and configuration of your modem,



please run "hsfconfig" (or "/usr/sbin/hsfconfig")











Might it be with Ubuntu?  I used generic package with



[olivares@acer-aspire-1 hsfmodem-7.80.02.06full]$ uname -a



Linux acer-aspire-1 2.6.40-4.fc15.i686 #1 SMP Fri Jul 29 18:54:39 UTC



2011 i686 i686 i386 GNU/Linux







Maybe Marv can test to find out what could be wrong?







Regards,







Antonio







On Thu, Aug 25, 2011 at 8:02 PM, Antonio Olivares



<olivares14031@xxxxxxxxx>    wrote:



Jeffrey,



In the case you provided, you installed/tried to install the

alsa-linuxant package?



You may not have needed this package.



You do have kernel sources and compiler ready.  However, the

replacements on the hsfmodem would differ with the ones suggested by

Jonathan(Linuxant support), DECLARE_MUTEX, with DEFINE_SEMAPHORE
after

you have detected where it bombs out or wait a bit till
they(Linuxant)

patch up the code and make it ready to work.



If someone has suggestions, please forward them to Jeffrey.



Regards,



Antonio





On Thu, Aug 25, 2011 at 5:15 PM,<cohanjeffrey@xxxxxxx>    wrote:

Great to hear from you Antonio. I'm working only with the Sony
32-bit
VAIO

VGN-N130G and will attach ModemData.txt again.



1) I did this BUT substituted /hsfmodem/ for /hcfpcimodem/ and
wvdial
does

not find a modem:



replace DECLARE_MUTEX with DEFINE_SEMAPHORE in:

- /usr/lib/hcfpcimodem/modules/osnvm.c

- /usr/lib/hcfpcimodem/modules/GPL/serial_cnxt.c

replace .ioctl with .compat_ioctl in:

- /usr/lib/hcfpcimodem/modules/osdiag.c



2) ERRORS: Both alsa-driver-linuxant and hfsmodem packages install
with

errors, even when I remove them and re-install. Here are excerpts:



     alsa-driver-linuxant_1.0.23.1_all.deb:

----in terminal:

Building modules for the 2.6.38-11-generic kernel, please wait...
done.

ERROR: Build failed. Please review the build log at

/tmp/alsa-driver-linuxant.26528.log

dpkg: error processing alsa-driver-linuxant (--install):

  subprocess installed post-installation script returned error exit
status
2

----in log file:

checking for GCC version... Kernel compiler:  Used compiler: gcc

(Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2

*** NO PREDEFINED KERNEL COMPILER IS DETECTED

*** Assuming the same compiler is used with the current system
compiler.

*** Please make sure that the same compiler version was used for
building

kernel.

and later...

/usr/lib/alsa-driver-linuxant/acore/pcm_native.c: In function

‘snd_pcm_hw_params’:

/usr/lib/alsa-driver-linuxant/acore/pcm_native.c:489:2: error:
implicit

declaration of function ‘pm_qos_remove_requirement’

/usr/lib/alsa-driver-linuxant/acore/pcm_native.c:492:3: error:
implicit

declaration of function ‘pm_qos_add_requirement’

make[3]: *** [/usr/lib/alsa-driver-linuxant/acore/pcm_native.o]
Error
1

make[2]: *** [/usr/lib/alsa-driver-linuxant/acore] Error 2

make[1]: *** [_module_/usr/lib/alsa-driver-linuxant] Error 2

make[1]: Leaving directory
`/usr/src/linux-headers-2.6.38-11-generic'

make: *** [compile] Error 2



     hsfmodem_7.80.02.06full_i386.deb:

/usr/lib/hsfmodem/modules/osservices.c:1396:1: warning: the frame
size
of

1028 bytes is larger than 1024 bytes

   CC [M]  /usr/lib/hsfmodem/modules/osstdio.o

   CC [M]  /usr/lib/hsfmodem/modules/osnvm.o

/usr/lib/hsfmodem/modules/osnvm.c:408:8: error: 'MUTEX' undeclared
here
(not

in a function)

make[2]: *** [/usr/lib/hsfmodem/modules/osnvm.o] Error 1

make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2

make[1]: Leaving directory
`/usr/src/linux-headers-2.6.38-11-generic'

make: *** [all] Error 2

----I have the long hsfdiag.txt file from "hsfconfig --dumpdiag"
and
the

buildlog files



3) $ uname -a (Jonathan had asked someone for this) gets:

Linux whiskeybisquit-VGN-N130G 2.6.38-11-generic #48-Ubuntu SMP Fri
Jul
29

19:05:14 UTC 2011 i68



4) I had the modem working perfectly in Ubuntu 9.04, but don't
remember
how

I did it. Is it possible that it CAN'T be done in 11.04?!



I'm not sure if any of this will be of use to you, but am
particularly

interested in 4); and is it correct to substitute hsfmodem in 1)?
Is
2)
an

issue? Also would it have been important to reboot at certain
points?
Should

I install a new modem in either beast? I so depend on dial-up! Many
thanks!



Jeffrey



-----Original Message-----

From: Antonio Olivares<olivares14031@xxxxxxxxx>

To: Jeffrey Cohan<cohanjeffrey@xxxxxxx>

Cc: discuss@xxxxxxxxxxxxx

Sent: Wed, Aug 24, 2011 7:17 pm

Subject: Re: no dial-up: hsfmodem and alsa-driver-linuxant problem?









Jeffrey,







In the x86_64 bit machine, if you had 32 bit linux installed, it
would



be a nice opportunity for you to check the modified driver *to see
if



it would work*, but since it is 64 bit you get the message directly



from ModemData.txt







There is no agrsm software support for x86_64 systems, through the
modem
may

be



  supported on Intel/i386 installations, which do more slowly servce



x86_64 processors.







* driver







http://linmodems.technion.ac.il/packages/ltmodem/11c11040/agrsm-11c11040_20110811_i386.deb



+ new agrsm tools







For the other modem, Jonathan at Linuxant has posted ways to



circumvent the errors:











http://linmodems.org/cgi-bin/ezmlm-cgi?1:sss:37710:201108:dpmgnpddbcjlkfmlpmin#b



<quote>



Hi,







this is a known build issue with recent kernels, even with the
latest



release of the driver. A used provided the following workaround to



solve it:







---



replace DECLARE_MUTEX with DEFINE_SEMAPHORE in:



- /usr/lib/hcfpcimodem/modules/osnvm.c



- /usr/lib/hcfpcimodem/modules/GPL/serial_cnxt.c







replace .ioctl with .compat_ioctl in:



- /usr/lib/hcfpcimodem/modules/osdiag.c



---







This build problem will be fixed in a future release of the driver.







Regards,











Jonathan



Technical specialist / Linuxant



www.linuxant.com



support@xxxxxxxxxxxx



</quote>







So you may try the fixes suggested by Jonathan in the meantime.  Or



you have the option to try the driver 11c11040 but on 32 bit linux.



Hopefully you can get one of these modems to work.







Regards,







Antonio







On Wed, Aug 24, 2011 at 8:56 PM, Jeffrey
Cohan<cohanjeffrey@xxxxxxx>
wrote:



I have spent many many hours trying to get dial-up working on two
laptops



and would so appreciate your help. Dial-up on either one would be
just

fine.







I'm assuming it will be impossible on the HP laptop (64-bit) as I
found



this:



"Current support for the 11c11040 modem does NOT exist on a
non-x86
system



(e.g. AMD, or x86_64.) This is because there is a proprietary core
in
the



code compiled for x86 systems."







On the VAIO (32-bit) it worked perfectly in an earlier version of
Ubuntu



before upgrading.







I can't seem to find an appropriate driver at www.linuxant.com for
my

Linux



version 2.6.38-11-generic.







Alsa-driver-linuxant doesn't seem to be properly installed.







I get this error message:



ERROR: Module build failed!



Please examine the log file

"/etc/hsfmodem/log/buildlog-20110824182445.txt"



to determine why.



dpkg: error processing alsa-driver-linuxant (--configure):



  subprocess installed post-installation script returned error exit
status

2



Errors were encountered while processing:



  alsa-driver-linuxant



E: Sub-process /usr/bin/dpkg returned an error code (1)



===============







Thanks much!







Jeff






























[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux