Re: [PATCH/RFC] alsa-info: add DMI data to the alsa-info output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 31.05.09 22:36, Ozan Çağlayan (ozan@xxxxxxxxxxxxx) 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'tneed a kernel with /dev/mem, or root root priviliges or any othersoftware installed.
Lennart
-- Lennart Poettering                        Red Hat, Inc.lennart [at] poettering [dot] nethttp://0pointer.net/lennart/           GnuPG 0x1A015CC4_______________________________________________Alsa-devel mailing listAlsa-devel@xxxxxxxxxxxxxxxxxxxx://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux