All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Output MFG information for HDA devices
@ 2007-06-14 20:35 Jonathan Phénix
  2007-06-19 10:24 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Phénix @ 2007-06-14 20:35 UTC (permalink / raw)
  To: alsa-devel

[-- 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Output MFG information for HDA devices
  2007-06-14 20:35 [PATCH] Output MFG information for HDA devices Jonathan Phénix
@ 2007-06-19 10:24 ` Takashi Iwai
  2007-06-19 15:59   ` Jonathan Phénix
  0 siblings, 1 reply; 4+ messages in thread
From: Takashi Iwai @ 2007-06-19 10:24 UTC (permalink / raw)
  To: jonathan; +Cc: alsa-devel

At Thu, 14 Jun 2007 16:35:53 -0400,
Jonathan Phénix wrote:
> 
> 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.

The patch looks good.  Could you give your sign-off?


thanks,

Takashi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Output MFG information for HDA devices
  2007-06-19 10:24 ` Takashi Iwai
@ 2007-06-19 15:59   ` Jonathan Phénix
  2007-06-19 16:32     ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Phénix @ 2007-06-19 15:59 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Takashi Iwai wrote:
> At Thu, 14 Jun 2007 16:35:53 -0400,
> Jonathan Phénix wrote:
>> 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.
> 
> The patch looks good.  Could you give your sign-off?

Signed-off-by: Jonathan Phénix <jonathan@linuxant.com>

You can change "é" to "e" in my name if you prefer for technical reasons.

> thanks,
> 
> Takashi

Regards,


Jonathan Phénix
Technical specialist / Linuxant
www.linuxant.com
jonathan@linuxant.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Output MFG information for HDA devices
  2007-06-19 15:59   ` Jonathan Phénix
@ 2007-06-19 16:32     ` Takashi Iwai
  0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2007-06-19 16:32 UTC (permalink / raw)
  To: jonathan; +Cc: alsa-devel

At Tue, 19 Jun 2007 11:59:06 -0400,
Jonathan Phénix wrote:
> 
> Takashi Iwai wrote:
> > At Thu, 14 Jun 2007 16:35:53 -0400,
> > Jonathan Phénix wrote:
> >> 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.
> > 
> > The patch looks good.  Could you give your sign-off?
> 
> Signed-off-by: Jonathan Phénix <jonathan@linuxant.com>
> 
> You can change "é" to "e" in my name if you prefer for technical reasons.

Thanks, applied to HG tree now.


Takashi

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-19 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-14 20:35 [PATCH] Output MFG information for HDA devices Jonathan Phénix
2007-06-19 10:24 ` Takashi Iwai
2007-06-19 15:59   ` Jonathan Phénix
2007-06-19 16:32     ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.