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

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

 



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