snd_hda UAA patch second preview

Alexander Motin mav at FreeBSD.org
Wed Aug 27 10:41:02 UTC 2008


Vladimir Grebenschikov wrote:
> hdac0: Probing codec: 1
> hdac0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0
> hdac0: hdac_command_send_internal: TIMEOUT numcmd=1, sent=1, received=0
> hdac0: Codec #1 is not responding! Probing aborted.
> 
> but instead it now never finishes kldload snd_hda.ko showing:
> 
> ...
> hdac0: PCMDIR_PLAY: Stream setup nid=3: fmt=0x0011, dfmt=0x0001
> hdac0: PCMDIR_PLAY: Stream setup fmt=10000010 speed=48000
> hdac0: PCMDIR_PLAY: Stream setup nid=3: fmt=0x0011, dfmt=0x0001
> hdac0: PCMDIR_PLAY: Stream setup fmt=10000010 speed=48000
> ...
> with some delay

This is  driver's normal verbose output when you starting playback or
recording.

> Everything other looks working as before ( no volume controls works )
> 
> sndstat now shows only device:
> # cat /dev/sndstat 
> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
> Installed devices:
> pcm0: <HDA codec Analog Devices AD1981HD PCM #0> at hdac0 cad 0 kld snd_hda [20080826_0101] [GIANT] (1p:1v/1r:1v channels duplex default)
> #

That's because driver registration hanged on addition of second pcm
channel. Don't know why yet. If you get any more ideas or symptoms -
tell me. May be it is related to Robert Noland's problem who's system
also hanging on boot when it is out of docking station.

-- 
Alexander Motin


More information about the freebsd-multimedia mailing list