-=| Ben Armstrong, Thu, Oct 09, 2008 at 06:29:13AM -0300 |=-
> On Thu, 9 Oct 2008 07:09:42 +0300
> Damyan Ivanov <[EMAIL PROTECTED]> wrote:
> >  # dmidecode -s system-manufacturer
> >  ASUSTeK Computer INC.
> >  # dmidecode -s system-product-name
> >  901
> 
> Or for that matter, skip dmidecode and get the info from:
> 
> cat /sys/class/dmi/id/sys_vendor
> cat /sys/class/dmi/id/product_name
> 
> The nice thing about this method is you don't need to be root.

.postinst runs as root anyway, as well as the acpi hooks.

> Also, dmidecode isn't priority essential.

There is nothing wrong in depending on dmidecode.

> However, if you consider dmidecode a better/more stable abstraction
> than /sys/class/dmi/id, it might still be preferable.

Indeed, and apart from that there is no clear evidence that the 
scripts need to know the model number at all. The entries in 
/etc/modules and /etc/modprobe.d/eeepc so far work for 901 and 701.

Please, owners of 900A and 1000*, give them a try.

    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501498#8

-- 
dam            JabberID: [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Debian-eeepc-devel mailing list
Debian-eeepc-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel

Reply via email to