Re: [pulseaudio-discuss] Auto switching outputs

2010-08-07 Thread David Henningsson
2010-08-05 05:00, Erik de Castro Lopo skrev:
 Hi all,
 
 I've acquired a pair of wireless headphones; the type that has a USB
 dongle that plugs into my machine and uses analog FM to communicate
 with the headphones.
 
 These JustWorked(tm) under linux, but now I'd like to have audio
 (either PulseAudio or ALSA) auto switch to the headphones whenever
 they are plugged in.
 
 Is this doable? Any hints?
 
 Cheers,
 Erik

There is also module-switch-on-connect (see ticket
http://pulseaudio.org/ticket/706 ). I'm a little hesitant to whether it
actually does the right thing in all cases though, and Colin's work in
progress is probably a more complete solution, once it is easily
accessible, but I think it does what you want for now.

Michael, will you update the ticket with the changes you did yesterday?

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


[pulseaudio-discuss] Audio will stutter unless Volume Control is running

2010-08-07 Thread Tako Schotanus
I have this strange problem where in some applications (for example Penumbra
Overture or Chromium) audio will stutter unless I have the Volume Control
running.
I run it and the stuttering goes away, I close it and it comes back again.

Any ideas? Is this a bug that should be reported?

0.9.21 on Fedora 13

Cheers,
-Tako
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Auto switching outputs

2010-08-07 Thread Tako Schotanus
I was reading the ticket description and I can indeed say that in my case it
wouldn't do the correct thing.
I agree that plugging in head phones (bluetooth or not) means that you want
to use them.
But for HDMI I'm not so sure, at in my case it wouldn't work: I have my TV
connected permanently to my computer in case I want to watch a movie, but
normally the TV is switched off. So what happens if suddenly my GF wants to
watch tele and switches it on? If I understand correctly pulseaudio would
automatically switch over to HDMI, wouldn't it?

So I'm not sure if it should depend on the type of device being connected?
(maybe configurable: yes, switch on headset, no on HDMI) But I don't know if
that's even possible.

Cheers,
-Tako


On Sat, Aug 7, 2010 at 13:04, David Henningsson 
david.hennings...@canonical.com wrote:

 2010-08-05 05:00, Erik de Castro Lopo skrev:
  Hi all,
 
  I've acquired a pair of wireless headphones; the type that has a USB
  dongle that plugs into my machine and uses analog FM to communicate
  with the headphones.
 
  These JustWorked(tm) under linux, but now I'd like to have audio
  (either PulseAudio or ALSA) auto switch to the headphones whenever
  they are plugged in.
 
  Is this doable? Any hints?
 
  Cheers,
  Erik

 There is also module-switch-on-connect (see ticket
 http://pulseaudio.org/ticket/706 ). I'm a little hesitant to whether it
 actually does the right thing in all cases though, and Colin's work in
 progress is probably a more complete solution, once it is easily
 accessible, but I think it does what you want for now.

 Michael, will you update the ticket with the changes you did yesterday?

 --
 David Henningsson, Canonical Ltd.
 http://launchpad.net/~diwic
 ___
 pulseaudio-discuss mailing list
 pulseaudio-discuss@mail.0pointer.de
 https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


[pulseaudio-discuss] ACLs for USB devices on Debian GNU/Linux Squeeze/testing

2010-08-07 Thread Frode Severin Hatlevik
First of all, I will like to say thank you for a great piece of
software. PulseAudio makes sound a mor pleasant experinence.

Now to my problem. It is not with PA itself, but rather a matter of
setting up my system to make things work. I have several USB devices;
all from Logitech, incidently; that I want to use with my laptop. I am
using Debian GNU/Linux Squeeze/testing on an i686 kernel.

Before using PA I had my users in the audio group. After using PA
for a while I removed all users from the audio group, and this
solved all issues with user switching. I will try to reflect this in
the Debian Wiki after successfully sorting out my present issue. The
Debian wiki page for sound seems rather dated; it does not mention PA
at all.

After purging users from the audio group I am no longer able to use
my USB sound devices; nether my headset nor the mic on my webcam works
anymore, they simlly disappeared form the PA subsystem. The devices
worked befor the purge. I have been advised that this is due to the
lack of ACLs for the device nodes in /dev/snd, but I am at a loss in
how to set this up in Debian. I understand that configuring the
devicenodes is a task for the hotplug system together with udev and
ConsoleKit, but I have little experience with setting theese up.

Here are some snippets from the setup of my system:

I use KDE and xine-backend for Phonon.

fr...@reepicheep:~$ uname -a
Linux reepicheep 2.6.32-5-686 #1 SMP Sat Jul 24 02:27:10 UTC 2010 i686 GNU/Linux

When no USB device is plugged in:
fr...@reepicheep:~$ ls -l /dev/snd
totalt 0
drwxr-xr-x  2 root root   60 aug.   7 23:51 by-path
crw-rw+ 1 root audio 116, 10 aug.   6 23:43 controlC0
crw-rw+ 1 root audio 116,  9 aug.   6 23:43 hwC0D0
crw-rw+ 1 root audio 116,  8 aug.   6 23:43 hwC0D1
crw-rw+ 1 root audio 116,  7 aug.   7 23:51 pcmC0D0c
crw-rw+ 1 root audio 116,  6 aug.   7 23:51 pcmC0D0p
crw-rw+ 1 root audio 116,  5 aug.   7 21:47 pcmC0D1p
crw-rw+ 1 root audio 116,  4 aug.   6 23:43 pcmC0D2c
crw-rw+ 1 root audio 116,  3 aug.   6 23:43 seq
crw-rw+ 1 root audio 116,  2 aug.   6 23:43 timer

After pluging in my Logitech USB headset:
fr...@reepicheep:~$ ls -l /dev/snd
totalt 0
drwxr-xr-x  2 root root   60 aug.   7 23:57 by-id
drwxr-xr-x  2 root root   80 aug.   7 23:57 by-path
crw-rw+ 1 root audio 116, 10 aug.   6 23:43 controlC0
crw-rw  1 root audio 116, 13 aug.   7 23:57 controlC1
crw-rw+ 1 root audio 116,  9 aug.   6 23:43 hwC0D0
crw-rw+ 1 root audio 116,  8 aug.   6 23:43 hwC0D1
crw-rw+ 1 root audio 116,  7 aug.   7 23:51 pcmC0D0c
crw-rw+ 1 root audio 116,  6 aug.   7 23:51 pcmC0D0p
crw-rw+ 1 root audio 116,  5 aug.   7 21:47 pcmC0D1p
crw-rw+ 1 root audio 116,  4 aug.   6 23:43 pcmC0D2c
crw-rw  1 root audio 116, 12 aug.   7 23:57 pcmC1D0c
crw-rw  1 root audio 116, 11 aug.   7 23:57 pcmC1D0p
crw-rw+ 1 root audio 116,  3 aug.   6 23:43 seq
crw-rw+ 1 root audio 116,  2 aug.   6 23:43 timer

fr...@reepicheep:~$ mount |grep udev
udev on /dev type tmpfs (rw,mode=0755)


I need some help in figuring out how to set this up on my system.
Please also see
http://pulseaudio.org/ticket/824#comment:10
for some background information.

Please let me know if more information about my system setup is required.

Regards
;)Frode

-- 
Da sa Gud: Det bli lys!
Og det ble lys.
                      1. Mosebok 1.3

And God said, Let there be light,
and there was light.
                      Genesis 1:3, NIV
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] Audio will stutter unless Volume Control is running

2010-08-07 Thread Mads Kiilerich

 Tako Schotanus wrote, On 08/07/2010 01:06 PM:
I have this strange problem where in some applications (for example 
Penumbra Overture or Chromium) audio will stutter unless I have the 
Volume Control running.

I run it and the stuttering goes away, I close it and it comes back again.


That is probably because the volume control enforces frequent wake-ups 
of PA and a low buffer size - and that do for some reason make your 
audio applications work. If the applications uses PA correctly then it 
is probably a ALSA driver issue.


(I have seen a similar issue with the OSS emulation in PA.)

/Mads
___
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss