Re: snd-hda-intel problem Re: ANKUR,INDIA kernel 2.6.28-15-generic

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

 



Ahmed,
   Please read below on daemon mode.

Ankur

Typically you should not be able to successively use in the same console:
$  sudo slmodemd  -c INDIA --alsa  hw:0,6
$  sudo wvdial

If fact it just shouldn't work, unless you started slmodemd in daemon
mode which requires a terminal &, as in:
$  sudo slmodemd  -c INDIA --alsa  hw:0,6  &
The & sets a command to keep running in the background, and allow
another use of the Command prompt.

The potential problem is that we do (rarely) encounted a System in
which slmodemd fails to work effectively in the background/daemon
mode.  The original slmodemd writer Sasha Khapyosky warned us of this
occassional problem which is very much System specific and not
predictable.

This is another reason that disablement/removal of the sl-modem-daemon
package is recommended, when a problem of slmodemd usage is
encountered.  Once solved, effects of restoring the  scan-modem-daemon
package  can be evaluated.

MarvS


On Mon, Sep 21, 2009 at 8:33 PM, Marvin Stodolsky
<marvin.stodolsky@xxxxxxxxx> wrote:
> Ankur,
>
> Please us different consoles or TABS
>
> Marvin
>
> 2009/9/21 Ankur Joshi <pharmankur@xxxxxxxxx>:
>> Marvin,
>> You have mentioned that $ sudo slmodemd -c INDIA --alsa hw:0,6
>> and in a 2nd console (or TAB on the same console) $ sudo wvdial
>>
>>>>>>> but i used both the commands in same console ... in the same tab; one below the other ... just like i have mentioned in my earlier mail... still it is working !!! inspite sudo slmodemd -c INDIA --alsa hw:0,6 is failing ....
>>
>> Regards,
>> Ankur Joshi
>>
>>
>>
>> On Mon, Sep 21, 2009 at 4:50 AM, Marvin Stodolsky
>> <marvin.stodolsky@xxxxxxxxx> wrote:
>>> Ankur
>>>
>>> To stop a dial out session begun with wvdial, just
>>> $ Cntr- C
>>> Meaning the Control key + C key simultaneously
>>>
>>> To stop slmodemd, also
>>> $ Cntr- C
>>> in the console in which it was activated.
>>>
>>> Then without a reboot, you should  be able to again:
>>> $ sudo slmodemd -c INDIA --alsa hw:0,6
>>> and in a 2nd console (or TAB on the same console,
>>> $ sudo wvdial
>>>
>>> The sl-modem-daemon package which Ahmed now beneficially maintains
>>> provides an slmodemd of version 2.9.11, and additionally scripts. They
>>> are very useful for loading the correct modem driver, and running the
>>> slmodemd activation command on bootup.
>>> There are several drivers that slmodemd works with depending upon the
>>> modem hardware: slusb, slamr, snd-intel8x0m, snd-atiixp-modem,
>>> snd-via82xx-modem, and snd-hda-intel (combined audio + modem driver).
>>>
>>> The snd-hda-intel driver is autoloaded to support audio, so this role
>>> of the sl-modem-daemon is not necessary.  The only potential
>>> troublesome issue is that the correct N for hw:0,N  of the modem
>>> device may not always be chosen correctly.  This is the only reason
>>> why I asked you to uninstall sl-modem-daemon, at least until function
>>> was achieved with manual commands.
>>>
>>> Now that we know the modem is basically OK, you can install it again.
>>> If all is OK, after bootup, it will suffice to:
>>> $ sudo ifconfig eth0 down
>>> $ sudo ifconfig eth1 down
>>> This is avoid failure of DNS service under the forthcoming PPP service,
>>> as DNS defaults to the eth specifications, if they are active.
>>>
>>> The slmodemd setup command will already have been run.
>>> So all that will be necessary to dial out is:
>>> $ sudo wvdial
>>>
>>> The
>>> error: alsa setup: cannot open playback device 'hw:0,6': Device or resource
>>>
>>> remains puzzling, and Ahmed may ask you to run further tests about it.
>>>
>>> MarvS
>>>
>>>
>>>
>>>
>>>
>>> 2009/9/20 Ankur Joshi <pharmankur@xxxxxxxxx>:
>>>> Hi all,
>>>>
>>>> this is 2nd time now i am online with dialup in ubuntu
>>>>
>>>> but unlike with your above discussion, this time i have not touched
>>>> any sl-modem-daemon or something for connecting
>>>>
>>>> i followed following steps
>>>> 1) ifconfig
>>>> 2) sudo ifconfig eth0 down
>>>> 3) sudo ifconfig eth1 down
>>>> 4) ifconfig - to check only lo is working
>>>> 5) then, (this is still showing error ... but i do it without knowing reason)
>>>> ankur@ankur:~$ sudo slmodemd -c INDIA --alsa hw:0,6
>>>> error: alsa setup: cannot open playback device 'hw:0,6': Device or resource busy
>>>> error: cannot setup device `hw:0,6'
>>>> 6) sudo wvdial
>>>>
>>>> then after waiting for 1 min i get connected ...
>>>>
>>>> but also find little issues ...
>>>> 1) i do not know how to disconnect (i just closed terminal window ....
>>>> is it ok ??)
>>>>
>>>> 2) if i get disconnected in between, then doing sudo wvdial again is
>>>> not working ... also repeating the entire thing again is not working
>>>> neither logout & login again is working  ... for that i have to
>>>> restart the laptop ... then repeating entire 6 steps above is
>>>> conneting me to net.
>>>>
>>>> 3)Before this thing i tried with genome PPP ... I added the username
>>>> password etc everything to it but this is not working for me.
>>>>
>>>>
>>>> Ahmed -->
>>>> ankur@ankur:~$ cat /proc/version_signature
>>>> Ubuntu 2.6.28-15.49-generic
>>>>
>>>> All others,
>>>> I will certainly do the diagnostics tests whatever you want ... but
>>>> just tell me the things to do in a dumbo's language ... i am really
>>>> new to linux & even by profession i am nowhere near to softwares ...
>>>> so i may not understand your language ... so something like this is
>>>> going above my head --->
>>>>
>>>> " I understand from this that there is a problem with sl-modem-daemon
>>>>  package that comes with jaunty, and that you have used a package for
>>>>  somewhere else, may I know the problem with the sl-modem-daemon
>>>>  package that comes with Jaunty ?"
>>>>
>>>>
>>>> Regards,
>>>> Ankur Joshi
>>>>
>>>>
>>>>
>>>> On Sun, Sep 20, 2009 at 10:07 PM, أحمد المحمودي
>>>> <aelmahmoudy@xxxxxxxxxxxxxxxxxxxxx> wrote:
>>>>> On Sun, Sep 20, 2009 at 10:40:28AM -0400, Marvin Stodolsky wrote:
>>>>>> Yours is the first reported success under a Ubuntu 2.6.28,
>>>>>>  kernel 2.6.28-11-generic of the HDA card hosted modem
>>>>>> Codec: Motorola Si3054
>>>>>> Vendor Id: 0x10573055
>>>>> ---end quoted text---
>>>>>
>>>>> Please send the output of this command:
>>>>>
>>>>> cat /proc/version_signature
>>>>>
>>>>> --
>>>>>  ‎أحمد المحمودي (Ahmed El-Mahmoudy)
>>>>>  Digital design engineer
>>>>>  GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
>>>>>  GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7
>>>>>
>>>>
>>>
>>
>


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

  Powered by Linux