Re: SLMODEMD_gcc4.4_alsa1.0.21.tar.gz, Re: Claudio, Italy kernel 2.6.31-15-generic

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

 



Claudio,

What happens when you try
$ sudo slmodemd --alsa -c ITALY modem:1

and try from the recently compiled slmodemd in
slmodem-2.9.11-20090222/modem folder?

Regards,


Antonio

On Thu, Dec 3, 2009 at 8:01 AM, Claudio Mantegazza <ermante@xxxxxxxxxxx> wrote:
>
> Antonio,
> i'm very sorry but it didn't run...
>
> i made all that you told me but at the last command:
>
> =========
> # make SUPPORT_ALSA=1
> rebuild profile...
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem_main.o -c modem_main.c
> modem_main.c: In function ‘setup_stream’:
> modem_main.c:429: warning: ‘snd_pcm_sw_params_set_xfer_align’ is deprecated (declared at /usr/include/alsa/pcm.h:1116)
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem_cmdline.o -c modem_cmdline.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem.o -c modem.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem_datafile.o -c modem_datafile.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem_at.o -c modem_at.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem_timer.o -c modem_timer.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem_pack.o -c modem_pack.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem_ec.o -c modem_ec.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem_comp.o -c modem_comp.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem_param.o -c modem_param.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem_debug.o -c modem_debug.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o homolog_data.o -c homolog_data.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o dp_sinus.o -c dp_sinus.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o dp_dummy.o -c dp_dummy.c
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o sysdep_common.o -c sysdep_common.c
> gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o  /usr/lib/libasound.so
> gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -DSUPPORT_ALSA=1   -o modem_test.o -c modem_test.c
> modem_test.c: In function ‘modem_test_start’:
> modem_test.c:110: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
> gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o  /usr/lib/libasound.so
>
>
> =========
>
>
> # cp slmodemd /usr/sbin
>
> =========
> #  slmodemd -c ITALY modem:1
> error: mdm setup: cannot stat `modem:1': No such file or directory
> error: cannot setup device `modem:1'
> =========
> # wvdial
> --> WvDial: Internet dialer version 1.60
> --> Cannot open /dev/ttySL0: No such file or directory
> --> Cannot open /dev/ttySL0: No such file or directory
> --> Cannot open /dev/ttySL0: No such file or directory
> =========
>
> it seems not like it...
>
> And now?
> what can i do?
>
> Claudio.
>
> ...............................................................................................................
>
> ----------------------------------------
>> Date: Thu, 3 Dec 2009 07:11:57 -0600
>> Subject: Re: SLMODEMD_gcc4.4_alsa1.0.21.tar.gz, Re: Claudio, Italy kernel 2.6.31-15-generic
>> From: olivares14031@xxxxxxxxx
>> To: ermante@xxxxxxxxxxx
>> CC: marvin.stodolsky@xxxxxxxxx; jacques.goldberg@xxxxxxx
>>
>> Claudio,
>>
>> If you want to build SLMODEMD on your own for your system, Please do
>> the following:
>>
>> Download:
>>
>> http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20090222.tar.gz
>> Copy it to your linux partition/working directory, untar it with
>> $ tar -zxvf slmodem-2.9.11-20090222.tar.gz
>> $ cd slmodem-2.9.11-20090222
>> $ cd modem
>> $ make SUPPORT_ALSA=1
>>
>> as show in README
>>
>> ====================
>> 3. Build application 'slmodemd' with ALSA support. For this in
>> slmodem-2.9.x dir:
>>
>> $ cd modem
>> $ make SUPPORT_ALSA=1
>> ====================
>>
>> After this is successfull, then there will be a slmodemd file in that
>> directory, copy it over to /usr/sbin
>>
>> and try the
>> $ sudo slmodemd -c ITALY modem:1
>>
>> command again and hopefully it works this time around.
>>
>> Regards,
>>
>>
>> Antonio
>>
>> PS.
>> I hope that the "NO CARRIER" error shows up like it did for me with
>> 2.6.31.X kernels but slamr module.
>>
>> On 12/3/09, Claudio Mantegazza  wrote:
>>>
>>> I untar the new one you sent me.
>>> i exec the command:
>>>
>>> ===============
>>> # ./slmodemd --alsa -c ITALY modem:1
>>> ALSA support is not compiled in (see README for howto).
>>> ===============
>>>
>>> Now. how can i compile the ALSA support?
>>>
>>> P.s. i just installed the package libasound2-dev
>>>
>>> Thanks...
>>>
>>>
>>>
>>> ----------------------------------------
>>>> Date: Wed, 2 Dec 2009 14:18:11 -0500
>>>> Subject: SLMODEMD_gcc4.4_alsa1.0.21.tar.gz, Re: Claudio, Italy kernel
>>>> 2.6.31-15-generic
>>>> From: marvin.stodolsky@xxxxxxxxx
>>>> To: ermante@xxxxxxxxxxx; Jacques.Goldberg@xxxxxxx; olivares14031@xxxxxxxxx
>>>>
>>>> Claudio,
>>>>
>>>> Used the attached SLMODEMD_gcc4.4_alsa1.0.21.tar.gz
>>>>
>>>> Jacques
>>>> for the smartlink/ folder
>>>>
>>>> MarvS
>>>>
>>>> On Wed, Dec 2, 2009 at 8:52 AM, Claudio Mantegazza wrote:
>>>>>
>>>>> because i didn't find which u told me... and this one is the last one...
>>>>>
>>>>> =======================================================
>>>>> Not Found
>>>>> The requested URL /packages/smartlink/SLMODEMD.gcc4.4.tar.gz was not
>>>>> found on this server.
>>>>>
>>>>> Apache/2.0.52 (Red Hat) Server at linmodems.technion.ac.il Port 80
>>>>> =======================================================
>>>>>
>>>>> Maybe i don't understand something?
>>>>> Can you tell me better where i can download the right file, please?
>>>>> give me the correct link....
>>>>>
>>>>> Thanks.
>>>>> Claudio.
>>>>>
>>>>>
>>>>>
>>>>> ----------------------------------------
>>>>>> Date: Wed, 2 Dec 2009 07:15:13 -0600
>>>>>> Subject: Re: Claudio, Italy kernel 2.6.31-15-generic
>>>>>> From: olivares14031@xxxxxxxxx
>>>>>> To: ermante@xxxxxxxxxxx
>>>>>> CC: discuss@xxxxxxxxxxxxx
>>>>>>
>>>>>> Claudio,
>>>>>>
>>>>>> I downloaded
>>>>>> http://linmodems.technion.ac.il/packages/smartlink/SLMODEMD_gcc4.4_alsa1.0.18.tar.gz
>>>>>> but the install doesn't go: have a look...
>>>>>> =================================================
>>>>>> mant@mant-laptop:~$ sudo slmodemd -c ITALY --alsa modem:1
>>>>>> [sudo] password for mant:
>>>>>> error: mixer setup: attach hw:1 error: No such file or directory
>>>>>> ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 1
>>>>>> ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM modem:1
>>>>>> error: alsa setup: cannot open playback device 'modem:1': Invalid
>>>>>> argument
>>>>>> error: cannot setup device `modem:1'
>>>>>>
>>>>>>
>>>>>> why did you get the SLMODEMD_gcc4.4_alsa1.0.18.tar.gz?
>>>>>> If your alsa verion is 1.0.20?
>>>>>>
>>>>>>
>>>>>> ===== Advanced Linux Sound Architecture (ALSA) diagnostics =====
>>>>>> The ALSA packages provide audio support and also drivers for some
>>>>>> modems.
>>>>>> ALSA diagnostics are written during bootup to /proc/asound/ folders.
>>>>>>
>>>>>> The ALSA verion is 1.0.20
>>>>>> The modem cards detected by "aplay -l" are: None
>>>>>>
>>>>>>
>>>>>> The /proc/asound/pcm file reports:
>>>>>> -----------------------
>>>>>> 00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1
>>>>>> 00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1
>>>>>> 00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1
>>>>>> 00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1
>>>>>> 00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1
>>>>>>
>>>>>> about /proc/asound/cards:
>>>>>> ------------------------
>>>>>> 0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
>>>>>> Intel 82801DB-ICH4 with ALC202 at irq 5
>>>>>> ===== Advanced Linux Sound Architecture (ALSA) diagnostics =====
>>>>>> The ALSA packages provide audio support and also drivers for some
>>>>>> modems.
>>>>>> ALSA diagnostics are written during bootup to /proc/asound/ folders.
>>>>>>
>>>>>> The ALSA verion is 1.0.20
>>>>>> The modem cards detected by "aplay -l" are: None
>>>>>>
>>>>>>
>>>>>> The /proc/asound/pcm file reports:
>>>>>> -----------------------
>>>>>> 00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1
>>>>>> 00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1
>>>>>> 00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1
>>>>>> 00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1
>>>>>> 00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1
>>>>>>
>>>>>> about /proc/asound/cards:
>>>>>> ------------------------
>>>>>> 0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
>>>>>> Intel 82801DB-ICH4 with ALC202 at irq 5
>>>>>> ===== Advanced Linux Sound Architecture (ALSA) diagnostics =====
>>>>>> The ALSA packages provide audio support and also drivers for some
>>>>>> modems.
>>>>>> ALSA diagnostics are written during bootup to /proc/asound/ folders.
>>>>>>
>>>>>> The ALSA verion is 1.0.20
>>>>>> The modem cards detected by "aplay -l" are:
>>>>>> scheda 1: Modem [Intel 82801DB-ICH4 Modem], dispositivo 0: Intel ICH -
>>>>>> Modem [Intel 82801DB-ICH4 Modem - Modem]
>>>>>>
>>>>>> The /proc/asound/pcm file reports:
>>>>>> -----------------------
>>>>>> 00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1
>>>>>> 00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1
>>>>>> 00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1
>>>>>> 00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1
>>>>>> 00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1
>>>>>> 01-00: Intel ICH - Modem : Intel 82801DB-ICH4 Modem - Modem : playback
>>>>>> 1 : capture 1
>>>>>>
>>>>>> about /proc/asound/cards:
>>>>>> ------------------------
>>>>>> 0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
>>>>>> Intel 82801DB-ICH4 with ALC202 at irq 5
>>>>>> 1 [Modem ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
>>>>>> Intel 82801DB-ICH4 Modem at irq 5
>>>>>>
>>>>>>
>>>>>> If you have downloaded the recommended SLMODEMD: the package
>>>>>> SLMODEMD.gcc4.4.tar.gz
>>>>>>
>>>>>> Does the same thing happen?
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Antonio
>>>>>>
>>>>>> On 12/2/09, Claudio Mantegazza wrote:
>>>>>>>
>>>>>>> I downloaded
>>>>>>> http://linmodems.technion.ac.il/packages/smartlink/SLMODEMD_gcc4.4_alsa1.0.18.tar.gz
>>>>>>> but the install doesn't go: have a look...
>>>>>>> =================================================
>>>>>>> mant@mant-laptop:~$ sudo slmodemd -c ITALY --alsa modem:1
>>>>>>> [sudo] password for mant:
>>>>>>> error: mixer setup: attach hw:1 error: No such file or directory
>>>>>>> ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 1
>>>>>>> ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM modem:1
>>>>>>> error: alsa setup: cannot open playback device 'modem:1': Invalid
>>>>>>> argument
>>>>>>> error: cannot setup device `modem:1'
>>>>>>> =================================================
>>>>>>> mant@mant-laptop:~/Scaricati$ wvdial
>>>>>>> --> WvDial: Internet dialer version 1.60
>>>>>>> --> Cannot open /dev/ttySL0: No such file or directory
>>>>>>> --> Cannot open /dev/ttySL0: No such file or directory
>>>>>>> --> Cannot open /dev/ttySL0: No such file or directory
>>>>>>> =================================================
>>>>>>> It doen't work!
>>>>>>> the drivers doesn't load fine!
>>>>>>> ....
>>>>>>> Claudio.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Date: Tue, 1 Dec 2009 07:10:24 -0600
>>>>>>>> Subject: Re: Claudio, Italy kernel 2.6.31-15-generic
>>>>>>>> From: olivares14031@xxxxxxxxx
>>>>>>>> To: ermante@xxxxxxxxxxx
>>>>>>>> CC: marvin.stodolsky@xxxxxxxxx; stephenpinker79@xxxxxxxxx;
>>>>>>>> discuss@xxxxxxxxxxxxx
>>>>>>>>
>>>>>>>> Claudio,
>>>>>>>>
>>>>>>>> scanModem reports that your modem is supported via
>>>>>>>> SLMODEMD.gcc4.4.tar.gz
>>>>>>>> :
>>>>>>>>
>>>>>>>> For candidate modem in: 00:1f.6
>>>>>>>> 0703 Modem: Intel Corporation 82801DB/DBL/DBM
>>>>>>>> Primary device ID: 8086:24c6
>>>>>>>> Subsystem PCI_id 1631:d005
>>>>>>>> Softmodem codec or chipset from diagnostics: SIL22, a Smartlink type
>>>>>>>> from Archives:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> This is a NEW softmodem case! Please send the output ModemData.txt
>>>>>>>> to DISCUSS@xxxxxxxxxxxxx to enrich the Archive and help others!
>>>>>>>> If further assistance is not needed, please use email Subject:
>>>>>>>> New Case Only
>>>>>>>> -------------------------------------------
>>>>>>>> Support type needed or chipset: slmodemd
>>>>>>>>
>>>>>>>> An ALSA (Advanced Linux Sound Architecture) modem driver:
>>>>>>>> snd-intel8x0m
>>>>>>>> provides Low Level support enabling contact with the modem hardware.
>>>>>>>> For all BUT Conexant chip soft modems (using hsfmodem software)
>>>>>>>> complementary High Level support is through a Smartlink utility:
>>>>>>>> slmodemd
>>>>>>>>
>>>>>>>> Download from http://linmodems.technion.ac.il/packages/smartlink/
>>>>>>>> the package SLMODEMD.gcc4.4.tar.gz having a compiled slmodemd. Unpack
>>>>>>>> under Linux with:
>>>>>>>> $ tar zxf SLMODEMD.gcc4.4.tar.gz
>>>>>>>> and read instructions therein. But briefly, the modem is setup with
>>>>>>>> command:
>>>>>>>> sudo slmodemd -c YOUR_COUNTRY --alsa modem:1
>>>>>>>> reporting dynamic creation of ports:
>>>>>>>> /dev/ttySL0 --> /dev/pts/N , with N some number
>>>>>>>> Read DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow
>>>>>>>> through guidance.
>>>>>>>>
>>>>>>>>
>>>>>>>> If you have downloaded the package SLMODEMD.gcc4.4.tar.gz and tried
>>>>>>>> the above instructions and are not getting anywhere/(modem does not
>>>>>>>> respond) it could be because of
>>>>>>>>
>>>>>>>> For candidate card in slot 00:1f.6, firmware information and bootup
>>>>>>>> diagnostics are:
>>>>>>>> PCI slot PCI ID SubsystemID Name
>>>>>>>> ---------- --------- --------- --------------
>>>>>>>> 00:1f.6 8086:24c6 1631:d005 Modem: Intel Corporation 82801DB/DBL/DBM
>>>>>>>>
>>>>>>>> Modem interrupt assignment and sharing:
>>>>>>>> 5: 137 XT-PIC-XT yenta, Intel 82801DB-ICH4, Intel
>>>>>>>> 82801DB-ICH4 Modem
>>>>>>>> --- Bootup diagnostics for card in PCI slot 00:1f.6 ----
>>>>>>>> [ 0.071472] pci 0000:00:1f.6: reg 10 io port: [0xe300-0xe3ff]
>>>>>>>> [ 0.071480] pci 0000:00:1f.6: reg 14 io port: [0xe400-0xe47f]
>>>>>>>> [ 0.071521] pci 0000:00:1f.6: PME# supported from D0 D3hot D3cold
>>>>>>>> [ 0.071525] pci 0000:00:1f.6: PME# disabled
>>>>>>>> [ 0.956536] serial 0000:00:1f.6: PCI INT B -> Link[LNKB] -> GSI 5
>>>>>>>> (level, low) -> IRQ 5
>>>>>>>> [ 0.956547] serial 0000:00:1f.6: PCI INT B disabled
>>>>>>>> [ 3186.856643] Intel ICH Modem 0000:00:1f.6: PCI INT B -> Link[LNKB]
>>>>>>>> -> GSI 5 (level, low) -> IRQ 5
>>>>>>>> [ 3186.856669] Intel ICH Modem 0000:00:1f.6: setting latency timer to
>>>>>>>> 64
>>>>>>>>
>>>>>>>> The PCI slot 00:1f.6 of the modem card may be disabled early in
>>>>>>>> a bootup process, but then enabled later. If modem drivers load
>>>>>>>> but the modem is not responsive, read DOCs/Bootup.txt about possible
>>>>>>>> fixes.
>>>>>>>> Send dmesg.txt along with ModemData.txt to discuss@xxxxxxxxxxxxx
>>>>>>>> if help is needed.
>>>>>>>>
>>>>>>>> Let us know if the package SLMODEMD.gcc4.4.tar.gz works or not, and if
>>>>>>>> the driver loads fine but does not respond, follow the above
>>>>>>>> instructions to see if it can work or not.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Antonio
>>>>>>>
>>>>>>> _________________________________________________________________
>>>>>>> Giochi, radio, TV... E tutti i tuoi amici. Cercali su Messenger
>>>>>>> http://www.messenger.it/home_comunica.aspx
>>>>>
>>>>> _________________________________________________________________
>>>>> Giochi, radio, TV... E tutti i tuoi amici. Cercali su Messenger
>>>>> http://www.messenger.it/home_comunica.aspx
>>>
>>> _________________________________________________________________
>>> 25 Gigabyte per le tue foto online
>>> http://www.windowslive.it/foto.aspx
>
> _________________________________________________________________
> 25 Gigabyte per le tue foto online
> http://www.windowslive.it/foto.aspx


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

  Powered by Linux