sound

From: Ajtim <lumiwa_at_gmail.com>
Date: Thu, 19 Sep 2013 11:00:24 -0400
Hi!

I am running FreeBSD 10.0-ALPHA1 #0 r255501: Fri Sep 13 01:57:31 UTC 2013   
root_at_snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

on iMac and it works great. KDE4 which I installed from area 51 works good and 
fast. The problem is sound.
I load drivers with kldload snd_drivers.
cat /dev/sndstat
Installed devices:
pcm0: <ATI R6xx (HDMI)> (play)
pcm1: <Cirrus Logic CS4206 (Internal Analog 4.0/2.0)> (play/rec) default
pcm2: <Cirrus Logic CS4206 (Rear Analog)> (play/rec)
pcm3: <Cirrus Logic CS4206 (Rear Digital)> (play/rec)

Than I try with sysctl hw.snd.default_unit=1 and try to play but nothing.
sysctl dev.hdaa shows:

sysctl dev.hdaa
dev.hdaa.0.%desc: ATI R6xx Audio Function Group
dev.hdaa.0.%driver: hdaa
dev.hdaa.0.%location: nid=1
dev.hdaa.0.%pnpinfo: type=0x01 subsystem=0x00aa0100
dev.hdaa.0.%parent: hdacc0
dev.hdaa.0.nid2: audio output
     Widget cap: 0x00000201 DIGITAL STEREO
    Association: 0 (0x0001)
            OSS: pcm (pcm)
     Stream cap: 0x00000001 PCM
        PCM cap: 0x00020070 16 bits, 32 44 48 KHz

dev.hdaa.0.nid3: pin: Digital-out (Jack)
     Widget cap: 0x00400381 DIGITAL UNSOL STEREO
    Association: 0 (0x0001)
        Pin cap: 0x00000094 PDC OUT HDMI
     Pin config: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack 
ctype=Digital loc=0x18 color=Unknown misc=0
    Pin control: 0x00000040 OUT
    Connections: 1
          + <- nid=2 [audio output]

dev.hdaa.0.nid3_config: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack 
ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.0.nid3_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack 
ctype=Digital loc=0x18 color=Unknown misc=0
dev.hdaa.0.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
dev.hdaa.0.gpi_state: 
dev.hdaa.0.gpio_state: 
dev.hdaa.0.gpio_config: 
dev.hdaa.0.gpo_state: 
dev.hdaa.0.gpo_config: 
dev.hdaa.0.reconfig: 0
dev.hdaa.1.%desc: Cirrus Logic CS4206 Audio Function Group
dev.hdaa.1.%driver: hdaa
dev.hdaa.1.%location: nid=1
dev.hdaa.1.%pnpinfo: type=0x01 subsystem=0x106b5100
dev.hdaa.1.%parent: hdacc1
dev.hdaa.1.nid2: audio output
     Widget cap: 0x000d041d PWR STEREO
    Association: 4 (0x0001)
            OSS: pcm (pcm)
     Stream cap: 0x00000003 FLOAT32 PCM
        PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz
     Output amp: 0x80017f73 mute=1 step=127 size=1 offset=115 (-57/6dB)

dev.hdaa.1.nid3: audio output
     Widget cap: 0x000d041d PWR STEREO
    Association: 3 (0x0001)
            OSS: pcm (pcm)
     Stream cap: 0x00000003 FLOAT32 PCM
        PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz
     Output amp: 0x80017f73 mute=1 step=127 size=1 offset=115 (-57/6dB)

dev.hdaa.1.nid4: audio output
     Widget cap: 0x000d041d PWR STEREO
    Association: 3 (0x0004)
            OSS: pcm (pcm)
     Stream cap: 0x00000003 FLOAT32 PCM
        PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz
     Output amp: 0x80017f73 mute=1 step=127 size=1 offset=115 (-57/6dB)

dev.hdaa.1.nid5: audio input
     Widget cap: 0x0018051b PWR STEREO
    Association: 1 (0x0001)
     Stream cap: 0x00000003 FLOAT32 PCM
        PCM cap: 0x001e01f5 16 20 24 32 bits, 8 16 32 44 48 88 96 KHz
      Input amp: 0x80033f33 mute=1 step=63 size=3 offset=51 (-51/12dB)
    Connections: 2
          + <- nid=12 [pin: Line-in (Blue Jack)] (selected)
          + [DISABLED] <- nid=18 [pin: Line-out (None)] [DISABLED]

dev.hdaa.1.nid6: audio input
     Widget cap: 0x0018051b PWR STEREO
    Association: 0 (0x0001)
     Stream cap: 0x00000003 FLOAT32 PCM
        PCM cap: 0x001e01f5 16 20 24 32 bits, 8 16 32 44 48 88 96 KHz
      Input amp: 0x80033f33 mute=1 step=63 size=3 offset=51 (-51/12dB)
    Connections: 2
          + <- nid=13 [pin: Mic (Fixed)] (selected)
          + [DISABLED] <- nid=14 [pin: Line-out (None)] [DISABLED]

dev.hdaa.1.nid7: audio input
     Widget cap: 0x00180791 PWR DIGITAL UNSOL STEREO
    Association: 2 (0x0001)
     Stream cap: 0x00000007 AC3 FLOAT32 PCM
        PCM cap: 0x001e0570 16 20 24 32 bits, 32 44 48 96 192 KHz
    Connections: 1
          + <- nid=15 [pin: SPDIF-in (White Jack)]

dev.hdaa.1.nid8: audio output
     Widget cap: 0x00040611 PWR DIGITAL STEREO
    Association: 5 (0x0001)
            OSS: pcm (pcm)
     Stream cap: 0x00000007 AC3 FLOAT32 PCM
        PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz

dev.hdaa.1.nid9: pin: Headphones (Green Jack)
     Widget cap: 0x00410581 PWR UNSOL STEREO
    Association: 4 (0x0001)
        Pin cap: 0x0000001c PDC HP OUT
     Pin config: 0x012b4050 as=5 seq=0 device=Headphones conn=Jack ctype=Combo 
loc=Rear color=Green misc=0
    Pin control: 0x000000c0 HP OUT
    Connections: 1
          + <- nid=2 [audio output]

dev.hdaa.1.nid9_config: 0x012b4050 as=5 seq=0 device=Headphones conn=Jack 
ctype=Combo loc=Rear color=Green misc=0
dev.hdaa.1.nid9_original: 0x012b4050 as=5 seq=0 device=Headphones conn=Jack 
ctype=Combo loc=Rear color=Green misc=0
dev.hdaa.1.nid10: pin: Speaker (Fixed)
     Widget cap: 0x00410581 PWR UNSOL STEREO
    Association: 3 (0x0001)
        Pin cap: 0x00000054 PDC OUT BAL
     Pin config: 0x90100140 as=4 seq=0 device=Speaker conn=Fixed ctype=Unknown 
loc=Internal color=Unknown misc=1
    Pin control: 0x00000040 OUT
    Connections: 1
          + <- nid=3 [audio output]

dev.hdaa.1.nid10_config: 0x90100140 as=4 seq=0 device=Speaker conn=Fixed 
ctype=Unknown loc=Internal color=Unknown misc=1
dev.hdaa.1.nid10_original: 0x90100140 as=4 seq=0 device=Speaker conn=Fixed 
ctype=Unknown loc=Internal color=Unknown misc=1
dev.hdaa.1.nid11: pin: Speaker (Fixed)
     Widget cap: 0x00410101 STEREO
    Association: 3 (0x0004)
        Pin cap: 0x00000050 OUT BAL
     Pin config: 0x90100142 as=4 seq=2 device=Speaker conn=Fixed ctype=Unknown 
loc=Internal color=Unknown misc=1
    Pin control: 0x00000040 OUT
    Connections: 1
          + <- nid=4 [audio output]

dev.hdaa.1.nid11_config: 0x90100142 as=4 seq=2 device=Speaker conn=Fixed 
ctype=Unknown loc=Internal color=Unknown misc=1
dev.hdaa.1.nid11_original: 0x90100142 as=4 seq=2 device=Speaker conn=Fixed 
ctype=Unknown loc=Internal color=Unknown misc=1
dev.hdaa.1.nid12: pin: Line-in (Blue Jack)
     Widget cap: 0x0041048b PWR UNSOL STEREO
    Association: 1 (0x0001)
            OSS: line (line)
        Pin cap: 0x00000024 PDC IN
     Pin config: 0x018b3020 as=2 seq=0 device=Line-in conn=Jack ctype=Combo 
loc=Rear color=Blue misc=0
    Pin control: 0x00000020 IN
      Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)

dev.hdaa.1.nid12_config: 0x018b3020 as=2 seq=0 device=Line-in conn=Jack 
ctype=Combo loc=Rear color=Blue misc=0
dev.hdaa.1.nid12_original: 0x018b3020 as=2 seq=0 device=Line-in conn=Jack 
ctype=Combo loc=Rear color=Blue misc=0
dev.hdaa.1.nid13: pin: Mic (Fixed)
     Widget cap: 0x0041048b PWR UNSOL STEREO
    Association: 0 (0x0001)
            OSS: monitor (monitor)
        Pin cap: 0x00001764 PDC IN BAL VREF[ 50 80 GROUND HIZ ]
     Pin config: 0x90a00110 as=1 seq=0 device=Mic conn=Fixed ctype=Unknown 
loc=Internal color=Unknown misc=1
    Pin control: 0x00000024 IN VREFs
      Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)

dev.hdaa.1.nid13_config: 0x90a00110 as=1 seq=0 device=Mic conn=Fixed 
ctype=Unknown loc=Internal color=Unknown misc=1
dev.hdaa.1.nid13_original: 0x90a00110 as=1 seq=0 device=Mic conn=Fixed 
ctype=Unknown loc=Internal color=Unknown misc=1
dev.hdaa.1.nid14: pin: Line-out (None) [DISABLED]
     Widget cap: 0x0041000b STEREO
        Pin cap: 0x00000020 IN
     Pin config: 0x400000f0 as=15 seq=0 device=Line-out conn=None ctype=Unknown 
loc=0x00 color=Unknown misc=0
    Pin control: 0x00000000
      Input amp: 0x00270200 mute=0 step=2 size=39 offset=0 (0/20dB)

dev.hdaa.1.nid14_config: 0x400000f0 as=15 seq=0 device=Line-out conn=None 
ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.1.nid14_original: 0x400000f0 as=15 seq=0 device=Line-out conn=None 
ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.1.nid15: pin: SPDIF-in (White Jack)
     Widget cap: 0x00410681 PWR DIGITAL UNSOL STEREO
    Association: 2 (0x0001)
            OSS: dig1 (dig1)
        Pin cap: 0x00000024 PDC IN
     Pin config: 0x01cbe030 as=3 seq=0 device=SPDIF-in conn=Jack ctype=Combo 
loc=Rear color=White misc=0
    Pin control: 0x00000020 IN

dev.hdaa.1.nid15_config: 0x01cbe030 as=3 seq=0 device=SPDIF-in conn=Jack 
ctype=Combo loc=Rear color=White misc=0
dev.hdaa.1.nid15_original: 0x01cbe030 as=3 seq=0 device=SPDIF-in conn=Jack 
ctype=Combo loc=Rear color=White misc=0
dev.hdaa.1.nid16: pin: SPDIF-out (White Jack)
     Widget cap: 0x00410301 DIGITAL STEREO
    Association: 5 (0x0001)
        Pin cap: 0x00000010 OUT
     Pin config: 0x014be060 as=6 seq=0 device=SPDIF-out conn=Jack ctype=Combo 
loc=Rear color=White misc=0
    Pin control: 0x00000040 OUT
    Connections: 1
          + <- nid=8 [audio output]

dev.hdaa.1.nid16_config: 0x014be060 as=6 seq=0 device=SPDIF-out conn=Jack 
ctype=Combo loc=Rear color=White misc=0
dev.hdaa.1.nid16_original: 0x014be060 as=6 seq=0 device=SPDIF-out conn=Jack 
ctype=Combo loc=Rear color=White misc=0
dev.hdaa.1.nid17: vendor widget [DISABLED]
     Widget cap: 0x00f00040 PROC

dev.hdaa.1.nid18: pin: Line-out (None) [DISABLED]
     Widget cap: 0x0041000b STEREO
        Pin cap: 0x00000020 IN
     Pin config: 0x400000f0 as=15 seq=0 device=Line-out conn=None ctype=Unknown 
loc=0x00 color=Unknown misc=0
    Pin control: 0x00000000
      Input amp: 0x00270200 mute=0 step=2 size=39 offset=0 (0/20dB)

dev.hdaa.1.nid18_config: 0x400000f0 as=15 seq=0 device=Line-out conn=None 
ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.1.nid18_original: 0x400000f0 as=15 seq=0 device=Line-out conn=None 
ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.1.nid19: beep widget
     Widget cap: 0x00700000
    Association: -2 (0x0000)
            OSS: speaker (speaker)

dev.hdaa.1.nid20: audio output [DISABLED]
     Widget cap: 0x00040611 PWR DIGITAL STEREO
     Stream cap: 0x00000007 AC3 FLOAT32 PCM
        PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz

dev.hdaa.1.nid21: pin: Line-out (None) [DISABLED]
     Widget cap: 0x00410301 DIGITAL STEREO
        Pin cap: 0x00000010 OUT
     Pin config: 0x400000f0 as=15 seq=0 device=Line-out conn=None ctype=Unknown 
loc=0x00 color=Unknown misc=0
    Pin control: 0x00000000
    Connections: 1
          + <- nid=20 [audio output] [DISABLED]

dev.hdaa.1.nid21_config: 0x400000f0 as=15 seq=0 device=Line-out conn=None 
ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.1.nid21_original: 0x400000f0 as=15 seq=0 device=Line-out conn=None 
ctype=Unknown loc=0x00 color=Unknown misc=0
dev.hdaa.1.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
dev.hdaa.1.gpi_state: 
dev.hdaa.1.gpio_state: 0=disabled 1=disabled 2=disabled 3=output(0)
dev.hdaa.1.gpio_config: 0=keep 1=keep 2=keep 3=keep
dev.hdaa.1.gpo_state: 
dev.hdaa.1.gpo_config: 
dev.hdaa.1.reconfig: 0

Ther is a loader.conf in /boot/defaults but in /boot is not. Do I need to make 
loader.conf in /boot please. Do I need to use hits?

Thank you very much.

-- 
Mitja
---
http://redbubble.com/people/lumiwa
Received on Thu Sep 19 2013 - 13:00:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC