Re: Audio Hints, T520?

From: Waitman Gobble <uzimac_at_da3m0n8t3r.com>
Date: Sat, 4 May 2013 00:28:35 -0700 (PDT)
On Fri, 03 May 2013 22:22:01 -0700, Sean Bruno <sean_bruno_at_yahoo.com> wrote:


>
>On Fri, 2013-05-03 at 22:03 -0700, Waitman Gobble wrote:
>> what is the output of running the command 'mixer'?
>
>$ mixer
>Mixer vol      is currently set to  95:95
>Mixer pcm      is currently set to 100:100
>Mixer speaker  is currently set to 100:100
>Mixer mic      is currently set to 100:100
>Mixer rec      is currently set to  67:67
>Recording source: mic
>
>
>All looks well to me.
>
>Sean
>

I agree. It looks like it should work.

sorry not to have more info to help,

After reading the man page for snd_hda and dev/snd/pcm/dsp.c src I don't think
you *need* hints in /boot/loader.conf to make it work, but you can re-arrange
'pins' and set auto stuff, like plugging headphones in selects the device. i
think.

here's some stuff to check. I am *guessing* it's 'recording' from a different
pin/device??

on this machine :

[1070] > syscntl hw.snd.default_unit 
hw.snd.default_unit: 3

[1071] > dmesg | grep pcm3
pcm3: <Realtek ALC887 (Rear Analog)> at nid 20 and 24,26 on hdaa1

[1072] > sysctl -a | grep nid20
dev.hdaa.1.nid20: pin: Line-out (Green Jack)
dev.hdaa.1.nid20_config: 0x01014410 as=1 seq=0 device=Line-out conn=Jack
ctype=1/8 loc=Rear color=Green misc=4
dev.hdaa.1.nid20_original: 0x01014410 as=1 seq=0 device=Line-out conn=Jack
ctype=1/8 loc=Rear color=Green misc=4

[1073] > sysctl -a | grep nid24
dev.hdaa.1.nid24: pin: Mic (Pink Jack)
dev.hdaa.1.nid24_config: 0x01a19c40 as=4 seq=0 device=Mic conn=Jack ctype=1/8
loc=Rear color=Pink misc=12
dev.hdaa.1.nid24_original: 0x01a19c40 as=4 seq=0 device=Mic conn=Jack
ctype=1/8 loc=Rear color=Pink misc=12

I think there's probably a pink jack on the back of the machine where i can
plug up a mic.

 a thought, did you already experiment to see if you can record something from
oss /dev/dsp devices?
I browsed through the source but I don't understand, at the moment, how to
'know' which /dev/dsp maps to pcm.

[1044] > ls /dev/dsp*
/dev/dsp0.1	/dev/dsp2.1	/dev/dsp4.1
/dev/dsp1.1	/dev/dsp3.1	/dev/dsp5.1

(based on previous matthias post)
[1045] > dd if=/dev/dspN of=/tmp/bite
[1046] > cat /tmp/bite > /dev/dspOUT_DEVICE


--
Waitman Gobble
San Jose California USA
+1.5108307875
Received on Sat May 04 2013 - 10:21:31 UTC

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