NetBSD-Bugs archive

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

Re: kern/51879 (vs(4) audio attach failed)



The following reply was made to PR kern/51879; it has been noted by GNATS.

From: Tetsuya Isaki <isaki%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: nat%NetBSD.org@localhost,
	netbsd-bugs%netbsd.org@localhost,
	gnats-admin%netbsd.org@localhost
Subject: Re: kern/51879 (vs(4) audio attach failed)
Date: Fri, 03 Feb 2017 23:27:41 +0900

 At Mon, 23 Jan 2017 21:32:33 +0000 (UTC),
 > Synopsis: vs(4) audio attach failed
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: nat%NetBSD.org@localhost
 > State-Changed-When: Mon, 23 Jan 2017 21:32:33 +0000
 > State-Changed-Why:
 > Auto configuration of virtual channel parameters has been committed.
 
 vs(4) still does not work.
 
 By the way,  current vchan_autoconfig() (in sys/dev/audio.c)
 seems try all frequency formats of all channel numbers of all
 precisions.  Is it right way?
 
 IMHO,  is it not enough that ''try SLINEAR/44.1/2ch first
 and if fails then try mulaw/8k/1ch (for backward compatibility)'' ?
 
 
 Here is the last part of dmesg (with AUDIO_DEBUG=1):
 
 final blksize=272
 audio_init_ringbuffer: MI blksize=272
 audio_init_ringbuffer: final blksize=272
 audio_calcwater: plow=49152 phigh=65536 rlow=0 rhigh=65264
 audiostartp: start=0xa870000 used=0(hi=65536 blk=272) mmapped=0
 audiostartp: wakeup and return
 audiosetinfo sc=0x116d000 ai=0x3507f0
 audiosetinfo() Setting record params: enc=7 1ch 8/8bit 8000Hz
 audiosetinfo() Setting play params: enc=7 1ch 8/8bit 8000Hz
 audio_setup_pfilters: HW-buffer=0x10f59cc pustream=0x10f582c
 [0] enc=6 1ch 8/8bit 8000Hz
 [1] enc=5 1ch 4/4bit 8000Hz
 [HW] enc=5 1ch 4/4bit 8000Hz
 audio_setup_rfilters: HW-buffer=0x10f5a30 pustream=0x10f5adc
 [HW] enc=5 1ch 4/4bit 8000Hz
 [0] enc=5 1ch 4/4bit 8000Hz
 [1] enc=6 1ch 8/8bit 8000Hz
 audiosetinfo: filter setup is completed.
 audio_calc_blksize: record blksize=200
 audio_calc_blksize: play blksize=200
 audio_initbufs: mode=0x5
 audio_init_ringbuffer: MI blksize=192
 audio_init_ringbuffer: final blksize=192
 audio_init_ringbuffer: MI blksize=192
 audio_init_ringbuffer: final blksize=192
 audio_calcwater: plow=49152 phigh=65536 rlow=0 rhigh=65344
 audiostartp: start=0xa870000 used=0(hi=65536 blk=192) mmapped=0
 audiostartp: wakeup and return
 audiosetinfo sc=0x116d000 ai=0x3507f0
 audiosetinfo() Setting record params: enc=7 1ch 8/8bit 4000Hz
 audiosetinfo() Setting play params: enc=7 1ch 8/8bit 4000Hz
 audio_setup_pfilters: HW-buffer=0x10f59cc pustream=0x10f582c
 [0] enc=6 1ch 8/8bit 4000Hz
 [1] enc=5 1ch 4/4bit 4000Hz
 [HW] enc=5 1ch 4/4bit 4000Hz
 audio_setup_rfilters: HW-buffer=0x10f5a30 pustream=0x10f5adc
 [HW] enc=5 1ch 4/4bit 4000Hz
 [0] enc=5 1ch 4/4bit 4000Hz
 [1] enc=6 1ch 8/8bit 4000Hz
 audiosetinfo: filter setup is completed.
 audio_calc_blksize: record blksize=100
 audio_calc_blksize: play blksize=100
 audio_initbufs: mode=0x5
 audio_init_ringbuffer: MI blksize=96
 audio_init_ringbuffer: final blksize=96
 audio_init_ringbuffer: MI blksize=96
 audio_init_ringbuffer: final blksize=96
 audio_calcwater: plow=49152 phigh=65536 rlow=0 rhigh=65440
 audiostartp: start=0xa870000 used=0(hi=65536 blk=96) mmapped=0
 audiostartp: wakeup and return
 vs0: Virtual format auto config failed!
 Please check hardware capabilities
 vs0: audioattach: audio_set_vchan_defaults() failed
 audio_attach: inputs ports=0x0, input master=-1, output ports=0x0, output master=-1
 ---
 Tetsuya Isaki <isaki%pastel-flower.jp@localhost / isaki%NetBSD.org@localhost>
 


Home | Main Index | Thread Index | Old Index