Re: Sound issue in bulleye with USB Headset and Internal Audio

2021-04-07 Thread Andrei POPESCU
On Mi, 07 apr 21, 23:49:46, deloptes wrote:
> Rainer Dorsch wrote:
> 
> > I have a bullseye system with an on-board Intel sound device and a
> > Logitech USB headset. Everything works perfect, if I boot without the USB
> > headset plugged in. Both devices are detected and I can switch between
> > them as expected. If I boot with the USB headset plugged in, inxi still
> > finds both devices, but pacmd list-cards outputs only the USB headset. I
> > am wondering if that is a pulseaudio feature or a bug.
> 
> don't know if it will help but it is always a good idea to give index > 0 to
> usb audio
> 
> $ cat /etc/modprobe.d/alsa-base.conf
> options snd_hda_intel index=0
> options snd-usb-audio index=1

This is taken care of automatically for most cases:

$ grep snd-usb-audio /lib/modprobe.d/aliases.conf
options snd-usb-audio index=-2


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Sound issue in bulleye with USB Headset and Internal Audio

2021-04-07 Thread Andrei POPESCU
On Mi, 07 apr 21, 20:38:46, Rainer Dorsch wrote:
> Am Mittwoch, 7. April 2021, 19:47:47 CEST schrieb Andrei POPESCU:
> > On Mi, 07 apr 21, 18:39:21, Rainer Dorsch wrote:
> > > Hello,
> > > 
> > > I have a bullseye system with an on-board Intel sound device and a
> > > Logitech
> > > USB headset. Everything works perfect, if I boot without the USB headset
> > > plugged in. Both devices are detected and I can switch between them as
> > > expected. If I boot with the USB headset plugged in, inxi still finds both
> > > devices, but pacmd list-cards outputs only the USB headset. I am wondering
> > > if that is a pulseaudio feature or a bug.
> > 
> > Please post the output of 'aplay -l' in both cases.
> 
> For me it looks identical, but see yourself:

This is ok, at least there doesn't appear to be conflict at ALSA level.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Sound issue in bulleye with USB Headset and Internal Audio

2021-04-07 Thread Rainer Dorsch
Am Mittwoch, 7. April 2021, 20:38:46 CEST schrieb Rainer Dorsch:
> Am Mittwoch, 7. April 2021, 19:47:47 CEST schrieb Andrei POPESCU:
> > On Mi, 07 apr 21, 18:39:21, Rainer Dorsch wrote:
> > > Hello,
> > > 
> > > I have a bullseye system with an on-board Intel sound device and a
> > > Logitech
> > > USB headset. Everything works perfect, if I boot without the USB headset
> > > plugged in. Both devices are detected and I can switch between them as
> > > expected. If I boot with the USB headset plugged in, inxi still finds
> > > both
> > > devices, but pacmd list-cards outputs only the USB headset. I am
> > > wondering
> > > if that is a pulseaudio feature or a bug.
> > 
> > Please post the output of 'aplay -l' in both cases.
> 
> [...]

Small update: I cannot really repro anymore that the on-board sound works, 
even if I boot w/o a headset, I saw this correlation several times in the 
past, but right now, pulseaudio always seems to be unhappy with on-board 
sound, e.g. if I boot without USB headset:

rd@h370:~$ pacmd list-cards
0 card(s) available.
rd@h370:~$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
rd@h370:~$ 

Any idea or hint is welcome.

Regards
Rainer

-- 
Rainer Dorsch
http://bokomoko.de/




Re: Sound issue in bulleye with USB Headset and Internal Audio

2021-04-07 Thread Rainer Dorsch
Am Mittwoch, 7. April 2021, 19:47:47 CEST schrieb Andrei POPESCU:
> On Mi, 07 apr 21, 18:39:21, Rainer Dorsch wrote:
> > Hello,
> > 
> > I have a bullseye system with an on-board Intel sound device and a
> > Logitech
> > USB headset. Everything works perfect, if I boot without the USB headset
> > plugged in. Both devices are detected and I can switch between them as
> > expected. If I boot with the USB headset plugged in, inxi still finds both
> > devices, but pacmd list-cards outputs only the USB headset. I am wondering
> > if that is a pulseaudio feature or a bug.
> 
> Please post the output of 'aplay -l' in both cases.

For me it looks identical, but see yourself:

If USB headset is plugged at boot:

rd@h370:~$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
rd@h370:~$ 

If USB headset is not plugged at boot, before plugging the headset:

rd@h370:~$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
rd@h370:~$ 

If USB headset is not plugged at boot, after plugging the headset:

rd@h370:~$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
rd@h370:~$ 

Thanks
Rainer

-- 
Rainer Dorsch
http://bokomoko.de/




Re: Sound issue in bulleye with USB Headset and Internal Audio

2021-04-07 Thread deloptes
Rainer Dorsch wrote:

> I have a bullseye system with an on-board Intel sound device and a
> Logitech USB headset. Everything works perfect, if I boot without the USB
> headset plugged in. Both devices are detected and I can switch between
> them as expected. If I boot with the USB headset plugged in, inxi still
> finds both devices, but pacmd list-cards outputs only the USB headset. I
> am wondering if that is a pulseaudio feature or a bug.

don't know if it will help but it is always a good idea to give index > 0 to
usb audio

$ cat /etc/modprobe.d/alsa-base.conf
options snd_hda_intel index=0
options snd-usb-audio index=1





Sound issue in bulleye with USB Headset and Internal Audio

2021-04-07 Thread Rainer Dorsch
Hello,

I have a bullseye system with an on-board Intel sound device and a Logitech 
USB headset. Everything works perfect, if I boot without the USB headset 
plugged in. Both devices are detected and I can switch between them as 
expected. If I boot with the USB headset plugged in, inxi still finds both 
devices, but pacmd list-cards outputs only the USB headset. I am wondering if 
that is a pulseaudio feature or a bug.

Unfortunately, unplugging the USB device and pulseaudio -k does not fix the 
problem :-/ Any ideas or hints for a workaround to avoid a reboot are very 
welcome.

Here is the output of inxi -F
[...]
Audio: Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel  
  Device-2: Logitech Headset H390 type: USB driver: hid-generic,snd-
usb-audio,usbhid  
  Sound Server: ALSA v: k5.10.0-5-amd64 
[...]

pacmd lists both cards

rd@h370:~$ pacmd list-cards
2 card(s) available.
index: 0
name: 
driver: 
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xa113 irq 127"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-:00:1f.3"
sysfs.path = "/devices/pci:00/:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "a348"
device.product.name = "Cannon Lake PCH cAVS"
device.form_factor = "internal"
device.string = "0"
device.description = "Internes Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analog Stereo-Eingabe (priority 65, 
available: no)
output:analog-stereo: Analog Stereo-Ausgabe (priority 6500, 
available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex 
(priority 6565, available: no)
output:iec958-stereo: Digital Stereo (IEC958)-Ausgabe 
(priority 5500, available: unknown)
output:iec958-stereo+input:analog-stereo: Digital Stereo 
(IEC958)-Ausgabe + Analog Stereo-Eingabe (priority 5565, available: no)
output:iec958-ac3-surround-51: Digital Surround 5.1 (IEC958/
AC3)-Ausgabe (priority 300, available: unknown)
output:iec958-ac3-surround-51+input:analog-stereo: Digital 
Surround 5.1 (IEC958/AC3)-Ausgabe + Analog Stereo-Eingabe (priority 365, 
available: no)
output:hdmi-stereo: Digital Stereo (HDMI)-Ausgabe (priority 
5900, available: no)
output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI)-
Ausgabe + Analog Stereo-Eingabe (priority 5965, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI)-Ausgabe 
(priority 800, available: no)
output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 
(HDMI)-Ausgabe + Analog Stereo-Eingabe (priority 865, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI)-Ausgabe 
(priority 800, available: no)
output:hdmi-surround71+input:analog-stereo: Digital Surround 
7.1 (HDMI)-Ausgabe + Analog Stereo-Eingabe (priority 865, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2)-Ausgabe 
(priority 5700, available: unknown)
output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo 
(HDMI 2)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3)-Ausgabe 
(priority 5700, available: no)
output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo 
(HDMI 3)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3)-
Ausgabe (priority 600, available: no)
output:hdmi-surround-extra2+input:analog-stereo: Digital 
Surround 5.1 (HDMI 3)-Ausgabe + Analog Stereo-Eingabe (priority 665, 
available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3)-
Ausgabe (priority 600, available: no)
output:hdmi-surround71-extra2+input:analog-stereo: Digital 
Surround 7.1 (HDMI 3)-Ausgabe + Analog Stereo-Eingabe (priority 665, 
available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4)-Ausgabe 
(priority 5700, available: no)
output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo 
(HDMI 4)-Ausgabe + Analog Stereo-Eingabe (priority 5765, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4)-
Ausgabe (priority 600, available: no)
output:hdmi-surround-extra3+input:analog-stereo: Digital 
Surround 5.1 (HDMI 4)-Ausgabe + Analog 

Re: Sound issue in bulleye with USB Headset and Internal Audio

2021-04-07 Thread Andrei POPESCU
On Mi, 07 apr 21, 18:39:21, Rainer Dorsch wrote:
> Hello,
> 
> I have a bullseye system with an on-board Intel sound device and a Logitech 
> USB headset. Everything works perfect, if I boot without the USB headset 
> plugged in. Both devices are detected and I can switch between them as 
> expected. If I boot with the USB headset plugged in, inxi still finds both 
> devices, but pacmd list-cards outputs only the USB headset. I am wondering if 
> that is a pulseaudio feature or a bug.

Please post the output of 'aplay -l' in both cases.


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Sound issue in bulleye with USB Headset and Internal Audio

2021-04-07 Thread Robbi Nespu

On 4/8/21 12:39 AM, Rainer Dorsch wrote:

system with an on-board Intel sound device and a Logitech
USB headset. Everything works perfect, if I boot without the USB headset
plugged in. Both devices are detected and I can switch between them a
Try checking "dmesg --human" output, there maybe something from there . 
Try compare it for both situation


--
Email : Robbi Nespu 
PGP fingerprint : D311 B5FF EEE6 0BE8 9C91 FA9E 0C81 FA30 3B3A 80BA
PGP key : https://keybase.io/robbinespu/pgp_keys.asc