Hello,

I have trouble making ALSA work with two HP laptops (HP Elitebook 850 G6 and HP 
Elitebook 850 G7).

I have two differents problems ;

  *   capturing sound with the internals microphones
  *   get alsa to recognize an USB audiocard to bluetooth headset (headset+mic)


Here's where i'm at on the first problem, i'll focus on the G6 model ;
using aplay i can succesfully play a sound using the onboard speakers, or play 
and capture sound with headset and mic plugged on the onboard jack. But when i 
try to use the onboard mic i get only static.




I've tried recording with :

  *   arecord test.wav (works on jack mic) which give me static noise
  *   arecord -f S16_LE --device="hw:0,6" or arecord -f S16_LE --device="hw:0,7"
  *   both get an error arecord:set_params:1349: Channels count non available

Apps (like browsers) don't recognize the internal microphone.



Using arecord it looks like everyhting is recognized :

arecord  -l
**** Liste des Périphériques Matériels CAPTURE ****
carte 0: sofhdadsp [sof-hda-dsp], périphérique 0: HDA Analog (*) []
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: sofhdadsp [sof-hda-dsp], périphérique 1: HDA Digital (*) []
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: sofhdadsp [sof-hda-dsp], périphérique 6: DMIC (*) []
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: sofhdadsp [sof-hda-dsp], périphérique 7: DMIC16kHz (*) []
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0


Checking on the kernel : everything looks fine too :


cat /proc/asound/card0/codec#* | grep -A 8 Codec
Codec: Realtek ALC215
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0215
Subsystem Id: 0x103c854f
Revision Id: 0x100002
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
--
Codec: Intel Kabylake HDMI
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x8086280b
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:4


I'm currently using a custom 5.15.23 Kernel (i've tried mostly  Kernel 5.4, 
5.10 too) with sof-firmware 1.6.1,
drivers are loaded as modules (i couldn't make it so far with in-kernel module)

Here is a link to loaded modules : https://dpaste.com/EZ2LHXSGU


On a side note, the laptop does have a mute key with a LED that is not 
workingand always on. I've tried using the option "model=hp-mute-led-mic3" in 
/etc/modprobe/asla.conf with no success.


I'm lost on what to do now to go further.


Regarding the second problem, with the usb "sound card", i got the following 
error from the kernel when plugging it :

[86824.525839] input: Plantronics Poly BT700 as 
/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.3/0003:047F:02E8.0005/input/input26
[86824.577745] plantronics 0003:047F:02E8.0005: input,hiddev0,hidraw0: USB HID 
v1.11 Device [Plantronics Poly BT700] on usb-0000:00:14.0-2.1/input3
[86824.618332] udevd[61660]: error opening 
ATTR{/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/sound/card1/controlC1/../uevent}
 for writing: No such file or directory

I've yet to try more in order to get the sound card recognized by ALSA.


In any case, I can provide more info if needed.



Regards,
Marc
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to