Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HiFi 7.1 Not Working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
leyvi
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2023
Posts: 114

PostPosted: Mon Jan 13, 2025 9:37 pm    Post subject: HiFi 7.1 Not Working Reply with quote

Hello Gentoo community.
I just got some HiFi 7.1 compatible wired headphones, and it would seem that they are only partially working: going into KDE audio settings and changing it to work with HiFi 2.0 works perfectly fine. On 7.1, only front-right and front-left work. The headphones came with a USB adapter, which includes a controller, DAC etc, but when I try to use it, it doesn't work. I imagine that there's a kernel option that I need to enable, but I really don't know, I've never really messed around with audio before.
Here's my kernel config by the way: http://0x0.st/8oH1.txt
This is `dmesg`: http://0x0.st/8oHj.txt
I looked it over, and I think this is interesting:
Code:
leyvi ~ $ dmesg | grep -i "error"
[    9.786410] snd-usb-audio 5-2.3.2:1.0: cannot find the slot for index -1 (range 0-3), error: -19
[  307.838941] usb 5-2.2: device not accepting address 3, error -22
[  309.031961] usb 5-2.2: device not accepting address 3, error -22
[  309.791992] usb 5-2.2: device descriptor read/all, error -71
[  310.862993] usb 5-2.2: device not accepting address 10, error -71
[  338.492493] usb 5-2.2: device descriptor read/64, error -71
[  338.924502] usb 5-2.2: device descriptor read/64, error -71
[  340.328499] usb 5-2.2: device not accepting address 15, error -71
[  536.821442] usb 5-2.2: hub failed to enable device, error -22
[  537.329428] usb 5-2.2: device not accepting address 18, error -22
[  538.306427] usb 5-2.2: device not accepting address 18, error -22
[  560.817646] usb 5-2.2: device not accepting address 19, error -71
[  566.630726] usb 5-2.2: device descriptor read/64, error -71
[  567.241717] usb 5-2.2: device not accepting address 23, error -71
[  569.137800] usb 5-2.2: device descriptor read/all, error -71
[  570.978760] usb 5-2.2: device not accepting address 28, error -71
[  571.725774] usb 5-2.2: device descriptor read/64, error -71
[  572.390782] usb 5-2.2: device descriptor read/64, error -71
[  573.429499] snd-usb-audio 5-2.4:1.0: cannot find the slot for index -1 (range 0-3), error: -19
[  576.902845] usb 5-2.2: device descriptor read/64, error -71
[  579.892464] usb 5-2.2: can't set config #1, error -71
[ 1745.722851] usb 5-2.2: device descriptor read/64, error -71
[ 1765.220591] snd-usb-audio 1-3:1.0: cannot find the slot for index -1 (range 0-3), error: -19
[ 1921.264434] usb 5-2.2: can't read configurations, error -71
[ 1921.454651] usb 5-2.2: device descriptor read/64, error -71
[14833.952824] usb 5-2.2: device not accepting address 42, error -22
[14835.161826] usb 5-2.2: device not accepting address 42, error -22
[14837.674572] usb 5-2.2: can't read configurations, error -71
leyvi ~ $ dmesg | grep -i "headset"
[  573.365481] usb 5-2.4: Product: G432 Gaming Headset
[  573.726635] input: Logitech G432 Gaming Headset Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:0f:00.4/usb5/5-2/5-2.4/5-2.4:1.3/0003:046D:0A9C.0009/input/input20
[  573.776803] input: Logitech G432 Gaming Headset as /devices/pci0000:00/0000:00:08.1/0000:0f:00.4/usb5/5-2/5-2.4/5-2.4:1.3/0003:046D:0A9C.0009/input/input21
[  573.782829] hid-generic 0003:046D:0A9C.0009: input,hiddev101,hidraw8: USB HID v1.11 Device [Logitech G432 Gaming Headset] on usb-0000:0f:00.4-2.4/input3
[ 1765.211813] usb 1-3: Product: G432 Gaming Headset
[ 1765.522740] input: Logitech G432 Gaming Headset Consumer Control as /devices/pci0000:00/0000:00:02.1/0000:04:00.0/0000:05:0c.0/0000:0c:00.0/usb1/1-3/1-3:1.3/0003:046D:0A9C.000A/input/input24
[ 1765.573050] input: Logitech G432 Gaming Headset as /devices/pci0000:00/0000:00:02.1/0000:04:00.0/0000:05:0c.0/0000:0c:00.0/usb1/1-3/1-3:1.3/0003:046D:0A9C.000A/input/input25
[ 1765.585071] hid-generic 0003:046D:0A9C.000A: input,hiddev101,hidraw8: USB HID v1.11 Device [Logitech G432 Gaming Headset] on usb-0000:0c:00.0-3/input3
Help would be greatly appreciated.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5306
Location: Bavaria

PostPosted: Mon Jan 13, 2025 11:48 pm    Post subject: Reply with quote

Hmmm ... the default value here is 32 ... why you have changed it to 4 ?
Code:
CONFIG_SND_MAX_CARDS=4

Usually the I801 is working only on Intel machines; MANY (but not all) AMD machines use PIIX4:
Code:
CONFIG_I2C_I801=y
# CONFIG_I2C_PIIX4 is not set

I suggest to boot with our GentoLiveCD and check with "lsmod" which module was loaded (because it could be also a special AMD driver; but you will see it in this output)( + notice all modules and check if all of them are enbled in your .config).

Do also this query:
Code:
# cpuid | grep x2APIC
      x2APIC: extended xAPIC support          = true

... and change it if you get the same "true" message:
Code:
# CONFIG_X86_X2APIC is not set

In every case I would enable these:
Code:
# CONFIG_SPI is not set
-> AMD SPI ... OR  ... special driver ... see in your "lsmod"-list
# CONFIG_I2C_HID_ACPI is not set

... check also if in your "lsmod"-list
Code:
# CONFIG_USB_XHCI_PCI_RENESAS is not set

... and maybe also these (check with "lsmod" AFTER you have connected AND used your headphone-USB adapter)
Code:
# CONFIG_USB_AUDIO is not set

_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
leyvi
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2023
Posts: 114

PostPosted: Tue Jan 14, 2025 2:21 pm    Post subject: Reply with quote

OK, I'll give it a shot. Here's the output of `cpuid | grep x2APIC`:
Code:
      x2APIC: extended xAPIC support          = false
   x2APIC features / processor topology (0xb):
      x2APIC: extended xAPIC support          = false
   x2APIC features / processor topology (0xb):
      x2APIC: extended xAPIC support          = false
   x2APIC features / processor topology (0xb):
      x2APIC: extended xAPIC support          = false
   x2APIC features / processor topology (0xb):
      x2APIC: extended xAPIC support          = false
   x2APIC features / processor topology (0xb):
      x2APIC: extended xAPIC support          = false
   x2APIC features / processor topology (0xb):
      x2APIC: extended xAPIC support          = false
   x2APIC features / processor topology (0xb):
      x2APIC: extended xAPIC support          = false
   x2APIC features / processor topology (0xb):
      x2APIC: extended xAPIC support          = false
   x2APIC features / processor topology (0xb):
      x2APIC: extended xAPIC support          = false
   x2APIC features / processor topology (0xb):
      x2APIC: extended xAPIC support          = false
   x2APIC features / processor topology (0xb):
      x2APIC: extended xAPIC support          = false
   x2APIC features / processor topology (0xb):
Back to top
View user's profile Send private message
leyvi
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2023
Posts: 114

PostPosted: Tue Jan 14, 2025 4:06 pm    Post subject: Reply with quote

OK, here's how it went:
Headphones are now picked up by the OS when plugged in with USB (before it was just with the 3.5mm). I get several options: Analog Stereo Output, Digital Stereo Output (IEC958), and Digital Surround HiFi 5.1 (IEC958/AC3) Output. Analog sound good, Digital is basically the same as Analog, but where is HiFi 7.1? And why is it that when I set the headphones to use HiFi 5.1, and try to test it, my ears are violently raped?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5306
Location: Bavaria

PostPosted: Tue Jan 14, 2025 6:17 pm    Post subject: Reply with quote

I cannot answer your questions. What says "aplay -L" (and "aplay -l") and "alsactl info" ? Does "lsusb -v" tell us something? Something in your "dmesg"?
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
leyvi
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2023
Posts: 114

PostPosted: Tue Jan 14, 2025 7:57 pm    Post subject: Reply with quote

aplay -L.
aplay -l.
This is the USB DAC/sound card that came with the headphones: lsusb --verbose -s 001:007.
This is my motherboard's audio port: lsusb --verbose -s 005:006.
Here's some stuff I sifted out of `dmesg`:
Code:
leyvi ~ $ dmesg | grep -i error
[  517.314400] usb 5-2.2: device descriptor read/64, error -71
[  521.591467] usb 5-2.2: device descriptor read/all, error -71
[  523.893505] usb 5-2.2: device not accepting address 14, error -71
[14200.959886] usb 6-2: device not accepting address 2, error -62
[14212.224086] usb 6-2: device not accepting address 2, error -62
[14223.489268] usb 6-2: device not accepting address 2, error -62
[14234.753459] usb 6-2: device not accepting address 2, error -62
[14246.016649] usb 6-2: device not accepting address 4, error -62
[14257.281841] usb 6-2: device not accepting address 5, error -62
[14269.057041] usb 6-2: device not accepting address 6, error -62
[14280.322232] usb 6-2: device not accepting address 7, error -62
leyvi ~ $ dmesg | grep -i audio
[    1.563556] UDC core: g_audio: couldn't find an available UDC
[    1.579000] snd_hda_intel 0000:03:00.1: Handle vga_switcheroo audio client
[    1.579686] snd_hda_intel 0000:0f:00.1: Handle vga_switcheroo audio client
[    1.579929] usbcore: registered new interface driver snd-usb-audio
[    1.584974] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:0f:00.1/sound/card1/input4
[    1.586055] input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:0f:00.1/sound/card1/input5
[    1.614187]   #1: HD-Audio Generic at 0xf6a80000 irq 107
[    2.484373] usb 5-2.2: SerialNumber: PC-LM1E Audio
[    3.755387] usb 1-6: Product: USB Audio
[    4.709967] usb 5-2.3.2: Product: Giga-Byte USB Audio
[    9.247053] hid-generic 0003:0B05:1A52.0004: hiddev97,hidraw3: USB HID v1.11 Device [Generic USB Audio] on usb-0000:0c:00.0-6/input7
[    9.488548] input: Generic Giga-Byte USB Audio Consumer Control as /devices/pci0000:00/0000:00:08.1/0000:0f:00.4/usb5/5-2/5-2.3/5-2.3.2/5-2.3.2:1.2/0003:0BDA:4CB9.0005/input/input12
[    9.539345] input: Generic Giga-Byte USB Audio as /devices/pci0000:00/0000:00:08.1/0000:0f:00.4/usb5/5-2/5-2.3/5-2.3.2/5-2.3.2:1.2/0003:0BDA:4CB9.0005/input/input13
[    9.539360] hid-generic 0003:0BDA:4CB9.0005: input,hiddev98,hidraw4: USB HID v1.11 Device [Generic Giga-Byte USB Audio] on usb-0000:0f:00.4-2.3.2/input2
[   10.144288] elogind-daemon[1835]: Watching system buttons on /dev/input/event12 (Generic Giga-Byte USB Audio Consumer Control)
[  520.941022] usb 5-2.2: SerialNumber: PC-LM1E Audio
[  524.248040] usb 5-2.2: SerialNumber: PC-LM1E Audio
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5306
Location: Bavaria

PostPosted: Tue Jan 14, 2025 10:24 pm    Post subject: Reply with quote

Hmmm ... looks good:
Code:
card 2: Headset [G432 Gaming Headset], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

surround71:CARD=Headset,DEV=0
    G432 Gaming Headset, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

(alsamixer?)

... maybe you have many devices attached via USB ... what I recommend now is just a shot in the dark ... enable this: CONFIG_USB_DYNAMIC_MINORS
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
leyvi
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2023
Posts: 114

PostPosted: Wed Jan 15, 2025 4:04 pm    Post subject: Reply with quote

Unfortunately, `CONFIG_USB_DYNAMIC_MINORS=y` did not do the trick. Here's the new config. Note that I made some other small changes that I thought might fix the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum