NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/55017: audio0 autoconfiguration error on auvia



Hello,

At Wed, 26 Feb 2020 20:29:18 +0200,
Andrius V wrote:
> Patch works:
> 
> auvia0 at pci0 dev 17 function 5: VIA Technologies VT8237 AC'97 Audio (rev 0x60)
> allocated pic ioapic0 type level pin 22 level 7 to cpu0 slot 6 idt entry 112
> auvia0: interrupting at ioapic0 pin 22
> auvia0: ac97: VIA Technologies VT1616i codec; headphone, 18 bit DAC,
> 18 bit ADC, KS Waves 3D
> auvia0: ac97: ext id 0x1c1<LDAC,SDAC,CDAC,VRA>
> audio0 at auvia0: playback, capture, full duplex, independent
> audio0: slinear_le:16 6ch 48000Hz, blk 40ms for playback
> audio0: slinear_le:16 2ch 48000Hz, blk 40ms for recording

I've commited it (and will pullup -9 later).

In 8.99.39 audio(4) has been changed to attach with the number of maximum
channels that hardware supports.  But auvia(4) had following mismatch:
- auvia_round_blocksize returns 512 bytes (in most case).
- audio(4) layer requires that round_blocksize returns a multiple of
  framesize, (precision/8 * channels).
This is not a problem for 2ch/4ch, but is a problem for 6ch.

Thank you for reporting.
---
Tetsuya Isaki <isaki%pastel-flower.jp@localhost / isaki%NetBSD.org@localhost>


Home | Main Index | Thread Index | Old Index