Re: [alsa-devel] [pulseaudio-discuss] Problem with timing and USB scanning...
Howdy! I have a situation where PulseAudio is "grabbing" a usb headset
before
fully initialized, thus not all features are being recognized.
More details here:
https://askubuntu.com/questions/537166/usb%2daudio%2ddevice%2dnot%2dfully%2d...
You have to post output of alsa-info.sh and pactl list before and after the hot plug
This look like priority issue if you have usb web cam mic and hotplug usb headset
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/us...
Another issue is some usb devices only obtained dB scale at a later time after the control is created
This may need some delay for pulseaudio to get dB scale
You can add printk statement to find out how much time you need
and a related, I think, bug here:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/841433
Anyone have a pointer to a udev rule I could create (or a PulseAudio
config I
could tweak) that would case a delay before the device is scanned by PulseAudio?
I'm pretty sure it's a timing issue, because:
Works OK: Cold boot (or reboot) Resume from hibernate Resume (or hotplug) -> killall/restart pulseaudio
Fails to work: Hotplug Resume from sleep
Any tips?
On Wednesday, October 22, 2014 12:10:46 Raymond Yau wrote:
Howdy! I have a situation where PulseAudio is "grabbing" a usb headset
before
fully initialized, thus not all features are being recognized.
More details here:
https://askubuntu.com/questions/537166/usb%2daudio%2ddevice%2dnot%2dfully%2d working%2dafter%2dhotplug
You have to post output of alsa-info.sh and pactl list before and after the hot plug
This does not have my web cam attached.
Files attached. I also did a pulse restart, and captured the pactl list output after that too.
This look like priority issue if you have usb web cam mic and hotplug usb headset
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/us...
This happens even without the USB web cam plugged in.
Another issue is some usb devices only obtained dB scale at a later time after the control is created
This may need some delay for pulseaudio to get dB scale
You can add printk statement to find out how much time you need
I've done zero kernel hacking, so can't really help there, sorry!
j
Howdy! I have a situation where PulseAudio is "grabbing" a usb headset
before
fully initialized, thus not all features are being recognized.
More details here:
https://askubuntu.com/questions/537166/usb%2daudio%2ddevice%2dnot%2dfully%2d
working%2dafter%2dhotplug
You have to post output of alsa-info.sh and pactl list before and after
the
hot plug
This does not have my web cam attached.
Files attached. I also did a pulse restart, and captured the pactl list
output
after that too.
This look like priority issue if you have usb web cam mic and hotplug
usb
headset
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/us...
This happens even without the USB web cam plugged in.
Another issue is some usb devices only obtained dB scale at a later time after the control is created
This may need some delay for pulseaudio to get dB scale
You can add printk statement to find out how much time you need
I've done zero kernel hacking, so can't really help there, sorry!
Unfotunately, you need to fix many things in kernel
Is this a notebook with internal 5.1 speakers with three jacks at rear panel (headphone , mic and line in) ?
1) large volume range of mic capture Volume and speaker playback volume
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/us...
2) your 5.1 internal speaker have same priority
On Thursday, October 23, 2014 13:13:19 Raymond Yau wrote:
Unfotunately, you need to fix many things in kernel
Well, I'm an end user, not a kernel hacker, so I don't see it getting fixed any time soon. :)
Is this a notebook with internal 5.1 speakers with three jacks at rear panel (headphone , mic and line in) ?
Notebook: yes Internal 5.1? I don't believe so. Headphone, mic, line in? Yes.
- large volume range of mic capture
Volume and speaker playback volume
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/us...
Are you saying there is a large range on the internal mic? or on the USB mic?
- your 5.1 internal speaker have same priority
Which priority are we discussing? Somewhere in udev? In pulse audio? Or in the KDE audio setup? And this original thread wasn't about speakers. The USB out works fine, every time. My issue is this: when I try to hotplug the USB headset, it comes up as a *output* device only, instead of also detecting the mic.
Also, this worked flawlessly in Ubuntu 12.04 (pulse-audio 1.1, kernel 3.2-3.8). It is only since upgrading to pulse-audio 4.0 and kernel 3.13.x that i have a problem.
j
participants (2)
-
Joshua J. Kugler
-
Raymond Yau