Date: Sat, 4 May 2013 15:14:46 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: Waitman Gobble <uzimac@da3m0n8t3r.com> Cc: Sean Bruno <sean_bruno@yahoo.com>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Audio Hints, T520? Message-ID: <CAN6yY1sCoj=MONWrTxdZB2iDFNMwwOzL8yUFqhyNyRJJ2Kt7=g@mail.gmail.com> In-Reply-To: <20130504072835.D1E5836F4B4A@dx.burplex.com> References: <20130504072835.D1E5836F4B4A@dx.burplex.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 4, 2013 at 12:28 AM, Waitman Gobble <uzimac@da3m0n8t3r.com>wrote: > On Fri, 03 May 2013 22:22:01 -0700, Sean Bruno <sean_bruno@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 > > >From my /boot/loader.conf: # Load the sound driver snd_hda_load="YES" # and setup headphones # Out : speaker + headphones hint.hdac.0.cad0.nid25.config="as=1 seq=15" # In : mic + external mic hint.hdac.0.cad0.nid35.config="as=2" hint.hdac.0.cad0.nid27.config="as=2 seq=15" Works on my T520. -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1sCoj=MONWrTxdZB2iDFNMwwOzL8yUFqhyNyRJJ2Kt7=g>