[Bug 31699] Re: Can't use other than default sound card

2006-05-05 Thread Martin Pitt
Daniel, thanks a lot for your detailled explanation. This requires some
more changes, asoundconf currently always uses a '!' for strings, so I
should teach it not to, and instead specify the ! in the argument given
to it.

** Changed in: alsa-utils (Ubuntu)
   Status: Confirmed => In Progress

** Changed in: alsa-utils (Ubuntu)
 Assignee: (unassigned) => Martin Pitt

** Also affects: control-center (Ubuntu)
 Severity: Normal
 Priority: (none set)
   Status: Unconfirmed

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-05 Thread Martin Pitt
Actual configuration changes have to happen in control-center.

** Changed in: control-center (Ubuntu)
 Assignee: (unassigned) => Martin Pitt
   Status: Unconfirmed => Confirmed
   Target: None => ubuntu-6.06

** Changed in: control-center (Ubuntu)
   Status: Confirmed => In Progress

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-05 Thread Andrew Jorgensen
If those changes are never going to change, shouldn't they be in the
global configuration rather than in .asoundrc.aoundconf?  Or will they
break something if !defaults.pcm.card and !defaults.ctl.card are not
set?

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-05 Thread .t.
I alsa filed a duplicate of this bug (bug 42214). The mail sent out
recently by Mr. Chen was very extensive and seems to provide a solution
to the problems. I'd be very grateful if this could soon be resolved.
Thanks to Mr. Chen for explaining the situation so expertly.

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-06 Thread .t.
I now have two problems:
1) I cannot hear any sound outputted through ALSA with the Audigy2 card.
2) I have set the values as Mr. Chen suggested. However, if I strip the "!" 
from defaults.ctl.card, I get errors:
ALSA lib conf.c:1592:(snd_config_load1) 
/home/toby/.asoundrc.asoundconf:8:0:Invalid argument
ALSA lib conf.c:2837:(snd_config_hook_load) /home/toby/.asoundrc may be old or 
corrupted: consider to remove or fix it
ALSA lib conf.c:2700:(snd_config_hooks_call) function snd_config_hook_load 
returned error: Invalid argument
ALSA lib conf.c:3066:(snd_config_update_r) hooks failed, removing configuration
amixer: Mixer attach hw:1 error: Invalid argument
ALSA lib conf.c:974:(parse_value) card is not a string

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-06 Thread .t.
Regarding point 1).
I cannot hear the "sound outputted through ALSA with the Audigy2 card" as the 
system still seems to route it to the ICH6. You can probably tell, also, that I 
have two cards; an ICH6 (0) and an Audigy2 (1).

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-06 Thread .t.
Now, I have it working so that sound comes through the Audigy, with these 
values:
!defaults.pcm.card Audigy2
defaults.ctl.card Audigy2
defaults.pcm.device 0 
defaults.pcm.subdevice -1

However, the Master channel no longer seems to affect the output volume. I have 
to use PCM instead. It's no bother, I'm just curious. The issue where the 
Audigy2 was outputting no sound seems to have fixed by me completely 
reconfiguring ALSA, so it's safe to say that it can be ignored, I think.

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-06 Thread Daniel T Chen
@.t.: Yes, the values that you currently have in ~/.asoundrc.asoundconf
are correct for a multi-card configuration. It is essentially identical
to what I tested and described above, save I have USB for the string.
Martin's making the necessary changes to gnome-control-center (and alsa-
utils).

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-07 Thread Daniel T Chen
** Bug 40864 has been marked a duplicate of this bug

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-09 Thread Martin Pitt
g-v-m needs to be adapted as well for handling the removal of the
default sound device.

** Also affects: gnome-volume-manager (Ubuntu)
 Severity: Normal
 Priority: (none set)
   Status: Unconfirmed

** Changed in: gnome-volume-manager (Ubuntu)
 Assignee: (unassigned) => Martin Pitt
   Status: Unconfirmed => In Progress
   Target: None => ubuntu-6.06

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-09 Thread Martin Pitt
 alsa-utils (1.0.10-1ubuntu10) dapper; urgency=low
 .
   * debian/asoundconf:
 - Remove the automatic prepending of '!' for non-numeric parameter values;
   this approach is flawed (see lengthy explanation in LP#31699).
 - Add two convenience functions set-default-card and reset-default-card
   which care for the correct handling of !defaults.pcm.card,
   defaults.ctl.card, defaults.pcm.device, and defaults.pcm.subdevice.
   Doing it here in python is way easier and less error prone than handling
   this in C in control-center. Closes: LP#31699
   * debian/asoundconf.1: Describe set-default-card and reset-default-card.


** Changed in: alsa-utils (Ubuntu)
   Status: In Progress => Fix Released

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-09 Thread Martin Pitt
 control-center (1:2.14.1-0ubuntu7) dapper; urgency=low
 .
   * debian/patches/23_default_soundcard_selector.patch:
 - Use new asoundconf's set-default-card command instead of setting the set
   of required parameters ourselves. Closes: LP#31699
   * debian/control.in: Depend on alsa-utils >= 1.0.10-1ubuntu10 which provides
 set-default-card.


** Changed in: control-center (Ubuntu)
   Status: In Progress => Fix Released

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-09 Thread Martin Pitt
 gnome-volume-manager (1.5.15-0ubuntu8) dapper; urgency=low
 .
   * debian/patches/91_ubuntu-remove_default_audio_dev.patch:
 - Use asoundconf reset-sound-card instead of manually resetting the
   various parameters.
 - Closes: LP#31699


** Changed in: gnome-volume-manager (Ubuntu)
   Status: In Progress => Fix Released

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-09 Thread Martin Pitt
> - Use asoundconf reset-sound-card instead of manually resetting the

This should be reset-default-card, of course. The code is correct, just the 
changelog is wrong. Will fix in next upload.

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-16 Thread Pecisk
Maybe in general bug is solved, but I have run into two errors again:

* Can't record anything with arecord -Dhw:0, plug:hw:0 works. Recording with 
former (hw:0) gives such error:
[EMAIL PROTECTED]:~$ arecord -D hw:0 --rate=48000 -c 2 test.wav
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 48000 Hz, Stereo
arecord: set_params:896: Sample format non available

* My Terratech EWS88MT (ice1712 chipset) sound card plays all music in
the way lower frequency as it should do it (Feels like 22000), as it
comes out slower. Movies does just fine. It certainly could be different
issue, bet where to fill it then?

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-16 Thread Pecisk
Post scriptum for comment above: --rate=48000 is just for example, for
this card such rate is aviable, it gives the same error with -f cd or
--rate=44000 too, so there is no difference.

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: Can't use other than default sound card

2006-05-16 Thread Andrew Jorgensen
Pecisk, I doubt that this is any other issue than that your device does
not support the S16_LE, nor the U8 sample format.  See the -f, --format
option in the arecord manpage.  I don't recall at the moment how to
determine which formats a particular card supports but there are a great
many formats to choose from.

After googling a little I think the correct format for your card is
S32_LE.  Try the same command you did before except with -f S32_LE and
let us know if it works.  If that doesn't help please open a new bug
report.

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: [Bug 31699] Re: Can't use other than default sound card

2006-05-05 Thread Daniel T Chen
On Fri, May 05, 2006 at 02:34:15PM -, Andrew Jorgensen wrote:
> If those changes are never going to change, shouldn't they be in the
> global configuration rather than in .asoundrc.aoundconf?  Or will they
> break something if !defaults.pcm.card and !defaults.ctl.card are not
> set?

Those variables are already in the global configuration file(s) [0],
but the presence of ~/.asoundrc overrides them. So yes,
!defaults.pcm.card, defaults.ctl.card, defaults.pcm.device, and
defaults.pcm.subdevice should always be specified given our usage.

[0] /usr/share/alsa/alsa.conf

Thanks,
-- 
Daniel T. Chen[EMAIL PROTECTED]
GPG key:   www.sh.nu/~crimsun/pubkey.gpg.asc

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 31699] Re: [Bug 31699] Re: Can't use other than default sound card

2006-05-07 Thread .t.
That's very good. Send him my thanks.

On 06/05/06, Daniel T Chen <[EMAIL PROTECTED]> wrote:
>
> @.t.: Yes, the values that you currently have in ~/.asoundrc.asoundconf
> are correct for a multi-card configuration. It is essentially identical
> to what I tested and described above, save I have USB for the string.
> Martin's making the necessary changes to gnome-control-center (and alsa-
> utils).
>
> --
> Can't use other than default sound card
> https://launchpad.net/bugs/31699
>

-- 
Can't use other than default sound card
https://launchpad.net/bugs/31699

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs