Sorry for the delay, Jakob. Here it is: [~]>sysctl dev.pcm dev.pcm.2.bitperfect: 0 dev.pcm.2.buffersize: 65536 dev.pcm.2.play.vchanformat: s16le:2.0 dev.pcm.2.play.vchanrate: 48000 dev.pcm.2.play.vchanmode: passthrough dev.pcm.2.play.vchans: 1 dev.pcm.2.play.32bit: 24 dev.pcm.2.%parent: hdaa1 dev.pcm.2.%pnpinfo: dev.pcm.2.%location: nid=3 dev.pcm.2.%driver: pcm dev.pcm.2.%desc: Intel Kabylake (HDMI/DP 8ch) dev.pcm.1.bitperfect: 0 dev.pcm.1.buffersize: 65536 dev.pcm.1.play.vchanformat: s16le:2.0 dev.pcm.1.play.vchanrate: 48000 dev.pcm.1.play.vchanmode: fixed dev.pcm.1.play.vchans: 1 dev.pcm.1.play.32bit: 24 dev.pcm.1.%parent: hdaa0 dev.pcm.1.%pnpinfo: dev.pcm.1.%location: nid=33 dev.pcm.1.%driver: pcm dev.pcm.1.%desc: Realtek ALC255 (Front Analog Headphones) dev.pcm.0.bitperfect: 0 dev.pcm.0.buffersize: 65536 dev.pcm.0.rec.vchanformat: s16le:2.0 dev.pcm.0.rec.vchanrate: 48000 dev.pcm.0.rec.vchanmode: fixed dev.pcm.0.rec.vchans: 1 dev.pcm.0.rec.autosrc: 2 dev.pcm.0.rec.32bit: 24 dev.pcm.0.play.vchanformat: s16le:2.0 dev.pcm.0.play.vchanrate: 48000 dev.pcm.0.play.vchanmode: fixed dev.pcm.0.play.vchans: 1 dev.pcm.0.play.32bit: 24 dev.pcm.0.%parent: hdaa0 dev.pcm.0.%pnpinfo: dev.pcm.0.%location: nid=20,18 dev.pcm.0.%driver: pcm dev.pcm.0.%desc: Realtek ALC255 (Internal Analog) dev.pcm.%parent: Em qua, 3 de out de 2018 às 18:32, Jakob Alvermark <jakob_at_alvermark.net> escreveu: > On 10/3/18 7:39 PM, Mario Lobo wrote: > > Em qua, 3 de out de 2018 às 14:03, Jakob Alvermark <jakob_at_alvermark.net> > > escreveu: > > > >> On 10/3/18 6:19 PM, Mario Lobo wrote: > >> > >> Em qua, 3 de out de 2018 às 10:10, David Wolfskill < > david_at_catwhisker.org> > >> escreveu: > >> > >>> On Mon, Oct 01, 2018 at 11:12:25PM +0200, Jakob Alvermark wrote: > >>>> .... > >>>> Do the headphones work with this patch? > >>>> > >>>> Index: sys/dev/sound/pci/hda/hdaa.c > >>>> =================================================================== > >>>> --- sys/dev/sound/pci/hda/hdaa.c (revision 339076) > >>>> +++ sys/dev/sound/pci/hda/hdaa.c (working copy) > >>>> _at__at_ -5034,11 +5034,13 _at__at_ > >>>> pincap = w->wclass.pin.cap; > >>>> > >>>> /* Disable everything. */ > >>>> + /* > >>>> w->wclass.pin.ctrl &= ~( > >>>> HDA_CMD_SET_PIN_WIDGET_CTRL_HPHN_ENABLE | > >>>> HDA_CMD_SET_PIN_WIDGET_CTRL_OUT_ENABLE | > >>>> HDA_CMD_SET_PIN_WIDGET_CTRL_IN_ENABLE | > >>>> HDA_CMD_SET_PIN_WIDGET_CTRL_VREF_ENABLE_MASK); > >>>> + */ > >>>> > >>>> if (w->enable == 0) { > >>>> /* Pin is unused so left it disabled. */ > >>>> .... > >>> Thank you! This addressed the long-standing (Reported: 2015-05-29 > >>> 21:15 UTC) issue I have had with my laptop (Dell Precision M4800), as > >>> documented in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200526 > >>> -- now updated to reflect the fix. > >>> > >>> Peace, > >>> david > >>> -- > >>> David H. Wolfskill david_at_catwhisker.org > >>> Trump is gaslighting us: > >>> https://www.bbc.com/news/world-us-canada-44959300 > >>> > >>> See http://www.catwhisker.org/~david/publickey.gpg for my public key. > >>> > >> Thank you #2 !! The patch fixed my weird headphone sound too on > >> 11.2-STABLE! > >> > >> I still can't make the plugging-in switch work but it's ok. I created > >> scripts for that with > >> > >> > >> Can you send the output from 'sysctl dev.hdaa'? > >> > >> > >> Jakob > >> > > By the way, my note is ACER Aspire 5 A515-51G > > > > Here it is: > > > > [~]>sysctl dev.hdaa > > dev.hdaa.1.reconfig: 0 > > > Could you send me the output of 'sysctl dev.pcm' as well? > > Thanks, > > Jakob > > -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]Received on Thu Oct 04 2018 - 10:24:37 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC