From: sl@stanleylieber.com
To: 9front@9front.org
Subject: Re: [9front] Audio in Lenovo T400
Date: Sun, 11 Oct 2015 16:10:44 -0400 [thread overview]
Message-ID: <88afed0e82da357a7221cbfaec6f7de9@u2.inri> (raw)
> I've bought Lenovo Thinkpad T400 to run 9front on it. The only pice of
> hardware that is not working right now is audio device. I've tested it
> with play(1) and some ogg file and I can hear no sound. Master in
> /dev/volume is set to 100 so i believe that i should hear something.
>
> Now I have several questions regarding this problem.
First, let's establish that your audio card is recognized by the
kernel. Can you run sysinfo -p and let us know the URL that is
returned by the command?
It looks like we already have sysinfo for two different models of
ThinkPad T400, one of which claims to have:
Intel Corporation 486486 82801IB/IR/IH (ICH9 Family) HD Audio Controller
From the sysinfo:
% cat '#'A/audiostat
bufsize 1024 buffered 0
codec 0 pin 22 inpin 29
aout 16 c1d
aout 17 c1d
aout 18 211
beep 19 70000c
ain 20 100d1b ← pin 29, pin 23
ain 21 100d1b ← pin 24
pin 22 out jack ext front hpout green ← aout 16, aout 17
pin 23 in nothing sep rear micin pink
pin 24 in jack ext front micin pink
pin 25 out nothing ext N/A other ? ← aout 16, aout 17
pin 26 out fix int N/A speaker ? eapd ← aout 16, aout 17
pin 27 out nothing ext N/A other ? eapd ← aout 16, aout 17
pin 28 out nothing ext N/A other ? ← aout 18
pin 29 in fix int N/A micin ?
beep 30 f00000
outpath aout 16 → pin 22
outamp aout 16
inpath pin 29 → ain 20
inamp ain 20
So, on this machine, pin 22 was chosen as the default. This should
be the lineout (headphone) port. For this machine, it looks like you
want pin 26 for the internal speaker. You can set the pin like this:
% echo pin 26 >/dev/audioctl
and then verify it like this:
% cat /dev/audiostat
If this works, you can add it to /cfg/$sysname/termrc or whatever
other method you prefer to configure the correct pin at boot time.
sl
next reply other threads:[~2015-10-11 20:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-11 20:10 sl [this message]
2015-10-12 7:31 ` ghi
-- strict thread matches above, loose matches on Subject: below --
2015-10-11 19:28 ghi
2015-10-11 20:42 ` [9front] " cinap_lenrek
2015-10-12 20:02 ` ghi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=88afed0e82da357a7221cbfaec6f7de9@u2.inri \
--to=sl@stanleylieber.com \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).