From: "Jonathan Phénix" <jonathan@linuxant.com>
To: alsa-devel@alsa-project.org
Subject: [PATCH] Output MFG information for HDA devices
Date: Thu, 14 Jun 2007 16:35:53 -0400 [thread overview]
Message-ID: <4671A6A9.2080201@linuxant.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 306 bytes --]
Hi,
this patch output information about the MFG (Modem Function Group) to
the /proc/asound/card?/codec#? file. This information is important to
identify if a HDA device has a modem or not.
Regards,
Jonathan Phénix
Technical specialist / Linuxant
www.linuxant.com
jonathan@linuxant.com
[-- Attachment #2: alsa-hg-mfg.patch --]
[-- Type: text/x-patch, Size: 838 bytes --]
searching for changes
changeset: 5106:c63e54409236
tag: tip
user: root@silver
date: Thu Jun 14 13:48:53 2007 -0400
summary: Added MFG in HDA /proc output
diff -r 96495fe7cc13 -r c63e54409236 pci/hda/hda_proc.c
--- a/pci/hda/hda_proc.c Thu Jun 14 12:58:23 2007 +0200
+++ b/pci/hda/hda_proc.c Thu Jun 14 13:48:53 2007 -0400
@@ -250,6 +250,12 @@ static void print_codec_info(struct snd_
snd_iprintf(buffer, "Vendor Id: 0x%x\n", codec->vendor_id);
snd_iprintf(buffer, "Subsystem Id: 0x%x\n", codec->subsystem_id);
snd_iprintf(buffer, "Revision Id: 0x%x\n", codec->revision_id);
+
+ if (codec->mfg)
+ snd_iprintf(buffer, "Modem Function Group: 0x%x\n", codec->mfg);
+ else
+ snd_iprintf(buffer, "No Modem Function Group found\n");
+
if (! codec->afg)
return;
snd_iprintf(buffer, "Default PCM:\n");
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next reply other threads:[~2007-06-14 20:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-14 20:35 Jonathan Phénix [this message]
2007-06-19 10:24 ` [PATCH] Output MFG information for HDA devices Takashi Iwai
2007-06-19 15:59 ` Jonathan Phénix
2007-06-19 16:32 ` Takashi Iwai
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=4671A6A9.2080201@linuxant.com \
--to=jonathan@linuxant.com \
--cc=alsa-devel@alsa-project.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