Re: Audio Hints, T520?
On (05/05/2013 19:43), Sean Bruno wrote: > On Mon, 2013-05-06 at 03:25 +0200, Michael Schmiedgen wrote: > > On 04.05.2013 06:14, Sean Bruno wrote: > > > Speaker/headphones working great on Current. > > > > > > Was trying to get the microphone working, but it seems to not quite be > > > working. > > > > I got the same problem with my X220. Before the last Lenovo > > HDA quirk commits everything worked fine, but I had to set > > the default sound unit to 1. > > Now I do not need to set the sound unit, audio output works > > out of the box but recording does not work anymore. I fiddled > > with nid config but got bored after the fifth reboot. > > > > The behaviour changed at my last world build a month ago. > > > > I can supply dmesg or sysctl output if you want. > > > > Thanks > >Michael > > > > Ok, this smells like a recent regression. Likely so. Works for me on 10.0-CURRENT r247601 with following in loader.conf: # 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" > > Sean ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
On 05/06/13 04:49, Kevin Oberman wrote: On Sun, May 5, 2013 at 7:43 PM, Sean Bruno wrote: On Mon, 2013-05-06 at 03:25 +0200, Michael Schmiedgen wrote: Was trying to get the microphone working, but it seems to not quite be working. I got the same problem with my X220. Before the last Lenovo HDA quirk commits everything worked fine, but I had to set the default sound unit to 1. Now I do not need to set the sound unit, audio output works out of the box but recording does not work anymore. I fiddled with nid config but got bored after the fifth reboot. Ok, this smells like a recent regression. Could be. I'm running 9-STABLE, not current, on my T520. I can only say that the hints I provided work fine on my T520 on 9-stable. Sorry for making noise. Now it works for me. Only thing is I booted Windows in between, nothing else. Now Skype test call works, before it did not. Cheers Michael ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520? [restating the problem]
On Mon, 2013-05-06 at 15:50 -0400, Zaphod Beeblebrox wrote: > On Mon, May 6, 2013 at 11:27 AM, Sean Bruno > wrote: > > Using a 4 position (combined headphone/mic) head set with the > T520 and > *no* device hints WORKS for recording and playback. > > Its the onboard microphone that is not working for me. No > device hints > provided in this thread have solved the onboard mic issue. > Audio > playback through the laptop speakers works just fine. > > > This would be a question for the hardware hacks among us ... is this > one of the onboard microphones that isn't? By that I mean ... one > where it uses the existing builtin speakers and some fancy DSP work to > construct a microphone? > > I don't think so. I see a "Stereo Mic" placement at the bottom of my screen that I seem to remember working. Sean p.s. example is not my laptop, but matches my layout: http://imageshack.us/a/img835/7921/t520i7.jpg signature.asc Description: This is a digitally signed message part
Re: Audio Hints, T520? [restating the problem]
On Mon, May 6, 2013 at 11:27 AM, Sean Bruno wrote: > Using a 4 position (combined headphone/mic) head set with the T520 and > *no* device hints WORKS for recording and playback. > > Its the onboard microphone that is not working for me. No device hints > provided in this thread have solved the onboard mic issue. Audio > playback through the laptop speakers works just fine. This would be a question for the hardware hacks among us ... is this one of the onboard microphones that isn't? By that I mean ... one where it uses the existing builtin speakers and some fancy DSP work to construct a microphone? ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520? [restating the problem]
On Fri, 2013-05-03 at 21:14 -0700, Sean Bruno wrote: > Speaker/headphones working great on Current. > > Was trying to get the microphone working, but it seems to not quite be > working. > > By "not" working, there is no audio detected when recording. Is there > something in here that looks like a thing that I should adjust? > > http://people.freebsd.org/~sbruno/t520_sysctl_hdaa.txt > > Sean Using a 4 position (combined headphone/mic) head set with the T520 and *no* device hints WORKS for recording and playback. Its the onboard microphone that is not working for me. No device hints provided in this thread have solved the onboard mic issue. Audio playback through the laptop speakers works just fine. Sean signature.asc Description: This is a digitally signed message part
Re: Audio Hints, T520?
> >> provided by Kevin Oberman: > >> hint.hdac.0.cad0.nid35.config="as=2" > >> hint.hdac.0.cad0.nid27.config="as=2 seq=15" > > > > No success with these settings. There is no change to my ability to > > record with audacity. > > Sorry, on your system hdac.0 is HDMI audio. Try hdac.1 instead. > Hrm ... I set: hint.hdac.1.cad0.nid35.config="as=2" hint.hdac.1.cad0.nid27.config="as=2 seq=15" I see that the devices have been "merged" together now: $ mixer -f /dev/mixer0 Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 $ mixer -f /dev/mixer1 Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 $ mixer -f /dev/mixer2 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 61:61 Mixer rec is currently set to 52:52 Mixer monitor is currently set to 42:42 Recording source: mic $ mixer -f /dev/mixer3 mixer: /dev/mixer3: No such file or directory > Here are two pcm devices, one for each mic. Hints from above should join > them into one. Otherwise ,ake sure that you've tried to record from > both. And adjust rec volume on second one. > It doesn't look like the laptop is seeing any input from the onboard microphone. Connecting my cell phone headset to the jack on the laptop *works*. The laptop is not seeing any input from the onboard microphone. Sean signature.asc Description: This is a digitally signed message part
Re: Audio Hints, T520?
On 06.05.2013 15:12, Sean Bruno wrote: On Mon, 2013-05-06 at 09:27 +0300, Alexander Motin wrote: From information provided by Sean I can't see why added quirk for playback may affect recording in any way. More likely I would guess that change from two playback pcm/dsp devices to one, while still having two record ones, made hw.snd.default_unit less usable (because there is no choice of output devices for it any more). Respective two input pcm/dsp device may require to be chosen manually in recording application. Or you can try additional hints to join both mics in one dsp/pcm device, provided by Kevin Oberman: hint.hdac.0.cad0.nid35.config="as=2" hint.hdac.0.cad0.nid27.config="as=2 seq=15" No success with these settings. There is no change to my ability to record with audacity. Sorry, on your system hdac.0 is HDMI audio. Try hdac.1 instead. PS: When checking mixer, remember that there is separate mixer for every pcm/dsp device. Sean. you've provided output only for one. I guess that other (internal) microphone is on another pcm device/mixer. All the mixer settings: $ mixer -f /dev/mixer2 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 $ mixer -f /dev/mixer3 Mixer rec is currently set to 1:1 Mixer monitor is currently set to 42:42 Recording source: monitor Here are two pcm devices, one for each mic. Hints from above should join them into one. Otherwise ,ake sure that you've tried to record from both. And adjust rec volume on second one. -- Alexander Motin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
On Mon, 2013-05-06 at 09:27 +0300, Alexander Motin wrote: > From information provided by Sean I can't see why added quirk for > playback may affect recording in any way. More likely I would guess > that > change from two playback pcm/dsp devices to one, while still having > two > record ones, made hw.snd.default_unit less usable (because there is > no > choice of output devices for it any more). Respective two input > pcm/dsp > device may require to be chosen manually in recording application. Or > you can try additional hints to join both mics in one dsp/pcm device, > provided by Kevin Oberman: > hint.hdac.0.cad0.nid35.config="as=2" > hint.hdac.0.cad0.nid27.config="as=2 seq=15" No success with these settings. There is no change to my ability to record with audacity. > > PS: When checking mixer, remember that there is separate mixer for > every > pcm/dsp device. Sean. you've provided output only for one. I guess > that > other (internal) microphone is on another pcm device/mixer. All the mixer settings: $ mixer -f /dev/mixer0 Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 $ mixer -f /dev/mixer1 Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 $ mixer -f /dev/mixer2 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 $ mixer -f /dev/mixer3 Mixer rec is currently set to 1:1 Mixer monitor is currently set to 42:42 Recording source: monitor Sean signature.asc Description: This is a digitally signed message part
Re: Audio Hints, T520?
On Mon, 2013-05-06 at 11:31 +0400, Gleb Smirnoff wrote: > A very lame explanation then: may be Sean plugs simple 3-contact > minijack into > the socket, to get sound output via headset? But this jack plugged > disables > internal mic. I haven't been using any headset to this point. So, its the onboard microphone only and speakers. Sean signature.asc Description: This is a digitally signed message part
Re: Audio Hints, T520?
On Sun, May 05, 2013 at 07:45:45PM -0700, Kevin Oberman wrote: K> I have a T520. It has an internal mic. Not USB. It also has a standard K> headphone/mic jack. It works with a headset with a mic. It's a four contact K> jack: Left, right, mic, and common. A cell-phone headset will work fine. K> K> Have you tried the hints I supplied? They worked for me. A very lame explanation then: may be Sean plugs simple 3-contact minijack into the socket, to get sound output via headset? But this jack plugged disables internal mic. -- Totus tuus, Glebius. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
On 06.05.2013 05:43, Sean Bruno wrote: On Mon, 2013-05-06 at 03:25 +0200, Michael Schmiedgen wrote: On 04.05.2013 06:14, Sean Bruno wrote: Speaker/headphones working great on Current. Was trying to get the microphone working, but it seems to not quite be working. I got the same problem with my X220. Before the last Lenovo HDA quirk commits everything worked fine, but I had to set the default sound unit to 1. Now I do not need to set the sound unit, audio output works out of the box but recording does not work anymore. I fiddled with nid config but got bored after the fifth reboot. The behaviour changed at my last world build a month ago. I can supply dmesg or sysctl output if you want. Ok, this smells like a recent regression. From information provided by Sean I can't see why added quirk for playback may affect recording in any way. More likely I would guess that change from two playback pcm/dsp devices to one, while still having two record ones, made hw.snd.default_unit less usable (because there is no choice of output devices for it any more). Respective two input pcm/dsp device may require to be chosen manually in recording application. Or you can try additional hints to join both mics in one dsp/pcm device, provided by Kevin Oberman: hint.hdac.0.cad0.nid35.config="as=2" hint.hdac.0.cad0.nid27.config="as=2 seq=15" PS: When checking mixer, remember that there is separate mixer for every pcm/dsp device. Sean. you've provided output only for one. I guess that other (internal) microphone is on another pcm device/mixer. -- Alexander Motin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
On Sun, May 5, 2013 at 7:43 PM, Sean Bruno wrote: > On Mon, 2013-05-06 at 03:25 +0200, Michael Schmiedgen wrote: > > On 04.05.2013 06:14, Sean Bruno wrote: > > > Speaker/headphones working great on Current. > > > > > > Was trying to get the microphone working, but it seems to not quite be > > > working. > > > > I got the same problem with my X220. Before the last Lenovo > > HDA quirk commits everything worked fine, but I had to set > > the default sound unit to 1. > > Now I do not need to set the sound unit, audio output works > > out of the box but recording does not work anymore. I fiddled > > with nid config but got bored after the fifth reboot. > > > > The behaviour changed at my last world build a month ago. > > > > I can supply dmesg or sysctl output if you want. > > > > Thanks > >Michael > > > > Ok, this smells like a recent regression. > > Sean > Could be. I'm running 9-STABLE, not current, on my T520. I can only say that the hints I provided work fine on my T520 on 9-stable. -- R. Kevin Oberman, Network Engineer E-mail: rkober...@gmail.com ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
On Sun, May 5, 2013 at 6:25 PM, Michael Schmiedgen wrote: > On 04.05.2013 06:14, Sean Bruno wrote: > >> Speaker/headphones working great on Current. >> >> Was trying to get the microphone working, but it seems to not quite be >> working. >> > > I got the same problem with my X220. Before the last Lenovo > HDA quirk commits everything worked fine, but I had to set > the default sound unit to 1. > Now I do not need to set the sound unit, audio output works > out of the box but recording does not work anymore. I fiddled > with nid config but got bored after the fifth reboot. > > The behaviour changed at my last world build a month ago. > > I can supply dmesg or sysctl output if you want. > > Thanks > Michael > > I have a T520. It has an internal mic. Not USB. It also has a standard headphone/mic jack. It works with a headset with a mic. It's a four contact jack: Left, right, mic, and common. A cell-phone headset will work fine. Have you tried the hints I supplied? They worked for me. -- R. Kevin Oberman, Network Engineer E-mail: rkober...@gmail.com ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
On Mon, 2013-05-06 at 03:25 +0200, Michael Schmiedgen wrote: > On 04.05.2013 06:14, Sean Bruno wrote: > > Speaker/headphones working great on Current. > > > > Was trying to get the microphone working, but it seems to not quite be > > working. > > I got the same problem with my X220. Before the last Lenovo > HDA quirk commits everything worked fine, but I had to set > the default sound unit to 1. > Now I do not need to set the sound unit, audio output works > out of the box but recording does not work anymore. I fiddled > with nid config but got bored after the fifth reboot. > > The behaviour changed at my last world build a month ago. > > I can supply dmesg or sysctl output if you want. > > Thanks >Michael > Ok, this smells like a recent regression. Sean signature.asc Description: This is a digitally signed message part
Re: Audio Hints, T520?
On 04.05.2013 06:14, Sean Bruno wrote: Speaker/headphones working great on Current. Was trying to get the microphone working, but it seems to not quite be working. I got the same problem with my X220. Before the last Lenovo HDA quirk commits everything worked fine, but I had to set the default sound unit to 1. Now I do not need to set the sound unit, audio output works out of the box but recording does not work anymore. I fiddled with nid config but got bored after the fifth reboot. The behaviour changed at my last world build a month ago. I can supply dmesg or sysctl output if you want. Thanks Michael ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
On 5/5/2013 7:03 PM, Sean Bruno wrote: On Sun, 2013-05-05 at 18:57 -0500, Joshua Isom wrote: On 5/5/2013 6:11 PM, Sean Bruno wrote: On Sun, 2013-05-05 at 17:54 -0500, Joshua Isom wrote: On 5/5/2013 5:33 PM, Sean Bruno wrote: Yes. I've toggled both, but I see no difference. Zero input from on board microphone. http://people.freebsd.org/~sbruno/verbose_hdaac.txt Sean p.s. physically, there is no microphone jack on this machine. There is just the headphone jack. So, what were you using to test the microphone? ___ I was using audacity. Should I try something else? Sean I meant what hardware? How's it connected? So far I think you've only focused on the software side. It's a laptop. On board microphone thingy. No wires required. :-) Sean Are you sure it's not a USB microphone? What do you get when you run `usbconfig list`? It's probably doubtful, since your keyboard could be PS/2 and manufacturers don't like change. Also, what's the output of `pciconf -lv` just for clarity? ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
On Sun, 2013-05-05 at 18:57 -0500, Joshua Isom wrote: > On 5/5/2013 6:11 PM, Sean Bruno wrote: > > On Sun, 2013-05-05 at 17:54 -0500, Joshua Isom wrote: > >> On 5/5/2013 5:33 PM, Sean Bruno wrote: > >>> > >>> Yes. I've toggled both, but I see no difference. Zero input from on > >>> board microphone. > >>> > >>> http://people.freebsd.org/~sbruno/verbose_hdaac.txt > >>> > >>> Sean > >>> > >>> p.s. physically, there is no microphone jack on this machine. There is > >>> just the headphone jack. > >>> > >> > >> So, what were you using to test the microphone? > >> ___ > > > > I was using audacity. Should I try something else? > > > > Sean > > > > I meant what hardware? How's it connected? So far I think you've only > focused on the software side. It's a laptop. On board microphone thingy. No wires required. :-) Sean signature.asc Description: This is a digitally signed message part
Re: Audio Hints, T520?
On 5/5/2013 6:11 PM, Sean Bruno wrote: On Sun, 2013-05-05 at 17:54 -0500, Joshua Isom wrote: On 5/5/2013 5:33 PM, Sean Bruno wrote: Yes. I've toggled both, but I see no difference. Zero input from on board microphone. http://people.freebsd.org/~sbruno/verbose_hdaac.txt Sean p.s. physically, there is no microphone jack on this machine. There is just the headphone jack. So, what were you using to test the microphone? ___ I was using audacity. Should I try something else? Sean I meant what hardware? How's it connected? So far I think you've only focused on the software side. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
On Sun, 2013-05-05 at 17:54 -0500, Joshua Isom wrote: > On 5/5/2013 5:33 PM, Sean Bruno wrote: > > > > Yes. I've toggled both, but I see no difference. Zero input from on > > board microphone. > > > > http://people.freebsd.org/~sbruno/verbose_hdaac.txt > > > > Sean > > > > p.s. physically, there is no microphone jack on this machine. There is > > just the headphone jack. > > > > So, what were you using to test the microphone? > ___ I was using audacity. Should I try something else? Sean signature.asc Description: This is a digitally signed message part
Re: Audio Hints, T520?
On 5/5/2013 5:33 PM, Sean Bruno wrote: Yes. I've toggled both, but I see no difference. Zero input from on board microphone. http://people.freebsd.org/~sbruno/verbose_hdaac.txt Sean p.s. physically, there is no microphone jack on this machine. There is just the headphone jack. So, what were you using to test the microphone? ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
On Sun, 2013-05-05 at 21:32 +0300, Alexander Motin wrote: > On 04.05.2013 07:14, Sean Bruno wrote: > > Speaker/headphones working great on Current. > > > > Was trying to get the microphone working, but it seems to not quite be > > working. > > > > By "not" working, there is no audio detected when recording. Is there > > something in here that looks like a thing that I should adjust? > > > > http://people.freebsd.org/~sbruno/t520_sysctl_hdaa.txt > > Verbose dmesg would be easier to read, since the provided sysctl output > is mostly the raw input data. I see there that your system has two > microphones. Have you tried to select both (mic and monitor) in mixer? > Yes. I've toggled both, but I see no difference. Zero input from on board microphone. http://people.freebsd.org/~sbruno/verbose_hdaac.txt Sean p.s. physically, there is no microphone jack on this machine. There is just the headphone jack. signature.asc Description: This is a digitally signed message part
Re: Audio Hints, T520?
On 04.05.2013 07:14, Sean Bruno wrote: Speaker/headphones working great on Current. Was trying to get the microphone working, but it seems to not quite be working. By "not" working, there is no audio detected when recording. Is there something in here that looks like a thing that I should adjust? http://people.freebsd.org/~sbruno/t520_sysctl_hdaa.txt Verbose dmesg would be easier to read, since the provided sysctl output is mostly the raw input data. I see there that your system has two microphones. Have you tried to select both (mic and monitor) in mixer? -- Alexander Motin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
On Sat, May 4, 2013 at 12:28 AM, Waitman Gobble wrote: > On Fri, 03 May 2013 22:22:01 -0700, Sean Bruno > 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: 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: rkober...@gmail.com ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
On Fri, 03 May 2013 22:22:01 -0700, Sean Bruno 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: 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 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
On 04.05.2013 08:14, Sean Bruno wrote: > Speaker/headphones working great on Current. > > Was trying to get the microphone working, but it seems to not quite > be working. > > By "not" working, there is no audio detected when recording. Is > there something in here that looks like a thing that I should > adjust? > > http://people.freebsd.org/~sbruno/t520_sysctl_hdaa.txt > > Sean > Hi, may be microphone (i'm talking about internal, but may be it also can be applied and to external) just is not /dev/dsp (default). It my W530 it is - speaker is /dev/dsp, but internal microphone recognized as /dev/dsp4 I use 'cat /dev/dsp..' while talking to microphone to find it, or audio/audacity can be used, it allows to set input device. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Audio Hints, T520?
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 signature.asc Description: This is a digitally signed message part
Re: Audio Hints, T520?
On Fri, 03 May 2013 21:14:16 -0700, Sean Bruno wrote: > > >--=-0ChyxBdnPLit6KyXtgKU >Content-Type: text/plain; charset="us-ascii" >Content-Transfer-Encoding: quoted-printable > >Speaker/headphones working great on Current. > >Was trying to get the microphone working, but it seems to not quite be >working. =20 > >By "not" working, there is no audio detected when recording. Is there >something in here that looks like a thing that I should adjust? > >http://people.freebsd.org/~sbruno/t520_sysctl_hdaa.txt > >Sean > >--=-0ChyxBdnPLit6KyXtgKU >Content-Type: application/pgp-signature; name="signature.asc" >Content-Description: This is a digitally signed message part > >-BEGIN PGP SIGNATURE- >Version: GnuPG v1.4.13 (FreeBSD) > >iQEcBAABAgAGBQJRhIsTAAoJEBkJRdwI6BaHBhQIAJOFCtEILHpVtGV8F41SOnF+ >umUkReVGMGvTR1wgcHWlag/gM4rB9PXksMSYsrS9/3O6RorPMVtsWEivTOscn+eC >FBwhco/UsuvKB9u8QXLffj33vkHChd1aisLZaLxhRZ0GNtrqF9oPD+NYX0xrN0+S >xk6a5m7+wFGOrNILPLPjI20Q3AKJ226WZiaeciOnP37Z5uszVHu/iLfz81XSX79U >rCDN7uFo1j4OFPQbHHZy+lc6shdBu8W9LAiQdcLfgeNJMug5VgctWwQedjvRI+PS >Kw7rLx4rmClIKOA0/in0yxeQsuBt8b92JSEoe3XFiIYFKDxxPN67Fw8UGZDoK0A= >=cUpg >-END PGP SIGNATURE- > >--=-0ChyxBdnPLit6KyXtgKU-- > > Hi Sean, I'm not an audio recording expert, but something to check: what is the output of running the command 'mixer'? also, there are three or four inputs marked 'mute=1', have to select the proper input for recording and it can't be muted. -- Waitman Gobble San Jose California USA +1.5108307875 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"