Re: sound settings

2013-09-21 Thread Ajtim
On Friday 20 September 2013 20:54:08 Martin Alejandro Paredes Sanchez wrote:
 On Friday 20 September 2013 14:26:08 Ajtim wrote:
  Hi!
  My system is FreeBSD 10.0-ALPHA1 #0 r255501: Fri Sep 13 01:57:31 UTC 2013
  r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64 installed on
  iMac
  11,1.
  It works very good but I don't know how to setup sound system.
  After start system:
  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)
 
 You have 4 devices where the sound can go
 
 which one has the speakers pluged in, you especify with (as root)
 
 # sysctl hw.snd.default_unit=n
 
 test sending a file to the sound system
 
 % cat filename  /dev/dsp
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

I did but it doesn't work. Computer is iMac. And I found somewhere that hints 
should be in device.hints but I fon't know how to setup them.
-- 
Mitja
---
http://redbubble.com/people/lumiwa
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


sound settings

2013-09-20 Thread Ajtim
Hi!
My system is FreeBSD 10.0-ALPHA1 #0 r255501: Fri Sep 13 01:57:31 UTC 2013 
r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64 installed on iMac 
11,1.
It works very good but I don't know how to setup sound system.
After start system:
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 run 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: 0x0201 DIGITAL STEREO
Association: 0 (0x0001)
OSS: pcm (pcm)
Stream cap: 0x0001 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: 0x0094 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: 0x0040 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: 0x0003 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: 0x0003 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: 0x0003 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: 0x0003 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: 0x0003 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: 0x0007 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: 0x0007 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: 0x001c PDC HP OUT
Pin config: 0x012b4050 as=5 seq=0 device=Headphones conn=Jack ctype=Combo 
loc=Rear color=Green misc=0
Pin control: 0x00c0 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: 0x0054 PDC OUT BAL
Pin config: 0x90100140 as=4 seq=0 device=Speaker conn=Fixed ctype=Unknown 
loc=Internal color=Unknown misc=1
Pin control: 0x0040 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 

Re: sound settings

2013-09-20 Thread Martin Alejandro Paredes Sanchez
On Friday 20 September 2013 14:26:08 Ajtim wrote:
 Hi!
 My system is FreeBSD 10.0-ALPHA1 #0 r255501: Fri Sep 13 01:57:31 UTC 2013
 r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64 installed on iMac
 11,1.
 It works very good but I don't know how to setup sound system.
 After start system:
 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)


You have 4 devices where the sound can go

which one has the speakers pluged in, you especify with (as root)

# sysctl hw.snd.default_unit=n

test sending a file to the sound system

% cat filename  /dev/dsp
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org