On Sat, May 4, 2013 at 12:28 AM, Waitman Gobble <uzimac_at_da3m0n8t3r.com>wrote: > 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 > > >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_at_gmail.comReceived on Sat May 04 2013 - 20:14:53 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:37 UTC