DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th September 2013
lumiwa lumiwa is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Default sound on iMac 11,1

As I posted before installation of FreeBSD 10.0-ALPHA was successful but I have problem with sound settings.
Quote:
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)
Above is after computer boot. Than I did run sysctl dev.hdaa:
Quote:
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
And now I don't know what is the further step.

Thanks in advance.
Reply With Quote
  #2   (View Single Post)  
Old 2 Weeks Ago
daserius's Avatar
daserius daserius is offline
Real Name: Brown, AR
*The-Attentative* -
 
Join Date: Mar 2024
Location: Stonybrook Origin --Places of Interest
Posts: 5
Default

We can check the Source Code for a Codec Driver: in THESE-Areas: a OSS Repository,
a FreeBSD Update in the GIT Tree, and thats all we can hope for before we go out and buy a Preamp..
Im looking at MAUDIO: CS8409 and CS42L42 are the Chip and Codec says Cirrus Logic
now has a Actual IC Chip Processor and a Codec Chip daisy chained together... :

So in /boot/device.hints - We can get the Mixer to show us all these different thing, but we dont see our
CS42L42 - anything that says itll work is just no it could be getting its information from that 1-gpio-pin
thats open also....
__________________
plasma6-plasma: Index:/ Disable:energysave,sleep,spellcheck,desktop_effect s,accent_color,night_color: and always start with empty session.

Last edited by daserius; 2 Weeks Ago at 11:41 PM.
Reply With Quote
  #3   (View Single Post)  
Old 1 Week Ago
daserius's Avatar
daserius daserius is offline
Real Name: Brown, AR
*The-Attentative* -
 
Join Date: Mar 2024
Location: Stonybrook Origin --Places of Interest
Posts: 5
Default

*update: itll just never work see because someone else
found "i had the suspicion is
like soc platforms - the audio system is composed of 4 card : intel_hda , cirrus_logic_interface, cirrus_logic_power, and a max_xxxx_spi_codec:
it appears to come right from the source turn all gpio on, and assign in 0,1,2,3,4 order of how you think it goes says mic,and speaker are on the hdmi one ,and speakers/amplifier/headphones are on the other...
__________________
plasma6-plasma: Index:/ Disable:energysave,sleep,spellcheck,desktop_effect s,accent_color,night_color: and always start with empty session.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 9.2 RC3 works on iMac but... lumiwa FreeBSD Installation and Upgrading 5 20th September 2013 11:28 AM
NetBSD on an iMac Ninguem NetBSD Installation and Upgrading 2 30th March 2012 04:02 PM
BSD on iMac G5 PPC Cato Other BSD and UNIX/UNIX-like 3 27th March 2012 02:27 AM
kernel panic on imac .. daemonfowl OpenBSD Installation and Upgrading 11 24th February 2012 12:48 AM
Recording sound with external sound card backrow OpenBSD General 5 21st August 2009 08:17 PM


All times are GMT. The time now is 08:35 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick