From: Lennart Poettering <mznyfn@0pointer.de>
To: alsa-devel@alsa-project.org
Subject: Re: [PATCH/RFC] alsa-info: add DMI data to the alsa-info output
Date: Mon, 1 Jun 2009 14:28:12 +0200 [thread overview]
Message-ID: <20090601122812.GC32054@tango.0pointer.de> (raw)
In-Reply-To: <4A22DC45.6000008@pardus.org.tr>
On Sun, 31.05.09 22:36, Ozan Çağlayan (ozan@pardus.org.tr) wrote:
> This is a working but not a clean/good patch for doing that because I'm
> not very good at shell scripting but I'm posting it just to give a
> possible idea.
>
> dmidecode should be run as root because it reads /dev/mem. If alsa-info
> is run as root, providing at least the system-manufacturer and
> system-product-name in the output will be very useful for distro
> maintainers.
Please note that this information is exported in sysfs anyway, in
/sys/class/dmi/id/*.
It would be much better to read that data from sysfs since it doesn't
need a kernel with /dev/mem, or root root priviliges or any other
software installed.
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2009-06-01 12:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-31 19:36 [PATCH/RFC] alsa-info: add DMI data to the alsa-info output Ozan Çağlayan
2009-06-01 9:19 ` Takashi Iwai
2009-06-01 12:28 ` Lennart Poettering [this message]
2009-06-01 13:01 ` Ozan Çağlayan
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=20090601122812.GC32054@tango.0pointer.de \
--to=mznyfn@0pointer.de \
--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 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.