Re: [Alsa-user] Full duplex on nForce 250Gb: solved (sort of)

2007-05-07 Thread Peter Rabbitson
stan wrote:
> On Mon, 07 May 2007 23:26:43 +0200
> Peter Rabbitson <[EMAIL PROTECTED]> wrote:
> 
>> The reason I started digging for it was that skype was extremely
>> choppy. I would be able to complete the test call as only one side
>> would speak at a time, but a real conversation was a nightmare. First
>> I suspected a duplex issue, but after your answer I tried
>> arecord/aplay combo and it worked. So I looked deeper and found some
>> references to asym. I decided to give it a try and created the
>> following .asoundrc:
>>
>> pcm.card0 {
>>   type hw
>>   card 0
>> }
>>
>> pcm.dmixer {
>>   type hw
>>   card 0
>> }
>>
>> pcm.skype {
>>   type asym
>>
>>   playback.pcm "dmixer"
>>   capture.pcm "card0"
>> }
>>
>> pcm.!default {
>>   type plug
>>   slave.pcm "skype"
>> }
>>
>> Skype started working. However I needed !default to be a different
>> card, so I just started testing different configurations of stuff and
>> all of a sudden realized that skype _still_ works, no matter what I
>> do. I removed the .asoundrc, emptied /var/lib/alsa, reordered modules
>> so the skype card becomes card1, shut down the machine completely -
>> skype still worked after everything I did. On one hand I got what I
>> wanted, on another I am really irritated since I have no idea what
>> happened, and how did the change become permanent. Could someone
>> point me in the right direction? Thanks!
> 
> When trying to get a Chaintech AV710 working I noticed that alsa seems
> to be stateful in just the way you did.  My changes would seem to have
> no effect.  I think the way I worked around it was to get things set up
> the way I wanted and then do /sbin/alsactl store  and /sbin/alsactl
> restore .  There are probably internal values stored and restored
> by default.  Just an opinion as I am no expert on this.
> 

`alsactl` holds its state in /var/lib/alsa/asound.state, which I had
explicitly deleted, and then did a quick shutdown (sysrq+u&s&b), so the
shutdown scripts would not recreate it. All volume levels were back to
their defaults, just as expected. But skype still worked basically with
the same configuration that I had when it was _not_ working.
It is almost like there is an additional place that holds the state that
I am not aware of.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Full duplex on nForce 250Gb: solved (sort of)

2007-05-07 Thread Peter Rabbitson
Lee Revell wrote:
> On 5/1/07, Peter Rabbitson <[EMAIL PROTECTED]> wrote:
>> Peter Rabbitson wrote:
>> > Hi,
>> >
>> > I have an onboard sound card that I know for a fact is full duplex.
>> Alsa
>> > picks up the card fine, and everythign works except for full duplex
>> > itself. All the info I was able to find is pre-dmix era, and looks very
>> > dated. What steps do I have to take to enable full duplex? The relevant
>> > information is included below, the kernel is vanilla 2.6.18.6, no
>> patches.
>> >
>> > 
>> >
>>
>> No one on this list uses such a card? Full duplex on NVIDIA CK8S anyone?
>> I am almost ready to just buy a 3rd(!) sound card for this machine :(
> 
> No, you didn't give enough detail.  How are you testing?  How exactly
> does it fail?  Etc.
> 

The reason I started digging for it was that skype was extremely choppy.
I would be able to complete the test call as only one side would speak
at a time, but a real conversation was a nightmare. First I suspected a
duplex issue, but after your answer I tried arecord/aplay combo and it
worked. So I looked deeper and found some references to asym. I decided
to give it a try and created the following .asoundrc:

pcm.card0 {
  type hw
  card 0
}

pcm.dmixer {
  type hw
  card 0
}

pcm.skype {
  type asym

  playback.pcm "dmixer"
  capture.pcm "card0"
}

pcm.!default {
  type plug
  slave.pcm "skype"
}

Skype started working. However I needed !default to be a different card,
so I just started testing different configurations of stuff and all of a
sudden realized that skype _still_ works, no matter what I do. I removed
the .asoundrc, emptied /var/lib/alsa, reordered modules so the skype
card becomes card1, shut down the machine completely - skype still
worked after everything I did. On one hand I got what I wanted, on
another I am really irritated since I have no idea what happened, and
how did the change become permanent. Could someone point me in the right
direction? Thanks!

Peter

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Full duplex on nForce 250Gb

2007-05-01 Thread Peter Rabbitson
Peter Rabbitson wrote:
> Hi,
> 
> I have an onboard sound card that I know for a fact is full duplex. Alsa
> picks up the card fine, and everythign works except for full duplex
> itself. All the info I was able to find is pre-dmix era, and looks very
> dated. What steps do I have to take to enable full duplex? The relevant
> information is included below, the kernel is vanilla 2.6.18.6, no patches.
> 
> 
> 

No one on this list uses such a card? Full duplex on NVIDIA CK8S anyone?
I am almost ready to just buy a 3rd(!) sound card for this machine :(

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Full duplex on nForce 250Gb

2007-04-29 Thread Peter Rabbitson
Hi,

I have an onboard sound card that I know for a fact is full duplex. Alsa
picks up the card fine, and everythign works except for full duplex
itself. All the info I was able to find is pre-dmix era, and looks very
dated. What steps do I have to take to enable full duplex? The relevant
information is included below, the kernel is vanilla 2.6.18.6, no patches.

Thanks in advance

Peter

==

lspci output:
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
AC'97 Audio Controller (rev a1)

==

[EMAIL PROTECTED]:~# cat /proc/asound/cards
 0 [CK8S   ]: NFORCE - NVidia CK8S
  NVidia CK8S with ALC850 at 0xfe02b000, irq 19
 1 [Live   ]: EMU10K1 - SB Live 5.1
  SB Live 5.1 (rev.7, serial:0x80641102) at 0x8400,
irq 21
[EMAIL PROTECTED]:~#

==

[EMAIL PROTECTED]:~# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22
13:55:50 2006 UTC).
[EMAIL PROTECTED]:~#

==

[EMAIL PROTECTED]:~# cat /proc/asound/pcm
00-02: Intel ICH - IEC958 : NVidia CK8S - IEC958 : playback 1
00-01: Intel ICH - MIC ADC : NVidia CK8S - MIC ADC : capture 1
00-00: Intel ICH : NVidia CK8S : playback 1 : capture 1
01-03: emu10k1 : Multichannel Playback : playback 1
01-02: emu10k1 efx : Multichannel Capture/PT Playback : playback 8 :
capture 1
01-01: emu10k1 mic : Mic Capture : capture 1
01-00: emu10k1 : ADC Capture/Standard PCM Playback : playback 32 : capture 1
[EMAIL PROTECTED]:~#


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user