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