[Fwd: Re: [PATCH] acerhdf: Limit modalias matching to supported boards]

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

 



Len,

could you please pick this patch to prevent the acerhdf module to get loaded on the wrong hardware (causing only annoying warnings.

Thanks,
Stefan

-------- Original Message --------
Subject: Re: [PATCH] acerhdf: Limit modalias matching to supported boards
Date: Sat, 03 Oct 2009 18:47:33 +0200
From: Peter Feuerer <peter@xxxxxxxx>
To: Stefan Bader <stefan.bader@xxxxxxxxxxxxx>
CC: Borislav Petkov <petkovbb@xxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx
References: <4AC34B83.6090402@xxxxxxxxxxxxx> <20090930212233.GB17712@xxxxxxxxxxxx> <cone.1254466252.404216.3290.1000@onepiie> <4AC5B0F1.4030303@xxxxxxxxxxxxx> <9ea470500910020254j21fad1d3g1c825bcecdbb29fb@xxxxxxxxxxxxxx> <cone.1254477850.9043.3499.1000@onepiie> <4AC5D098.1010504@xxxxxxxxxxxxx>

Stefan Bader writes:

Peter Feuerer wrote:
Borislav Petkov writes:

On Fri, Oct 2, 2009 at 9:51 AM, Stefan Bader <stefan.bader@xxxxxxxxxxxxx> wrote:
I search my acerhdf-inbox for the people who sent me the BIOS versions,
maybe they still have the netbook and can me send the modalias content. I'll
hopefully find some time upcoming weekend.

But, can't we simply assume, following dmi lines?

MODULE_ALIAS("dmi:*:*Acer*:*AOA*:");
MODULE_ALIAS("dmi:*:*Gateway*:*AOA*:");
MODULE_ALIAS("dmi:*:*Packard Bell*:*AOA*:");
MODULE_ALIAS("dmi:*:*Packard Bell*:*DOA*:");

We have exactly those constellations within the BIOS settings table. If I
interpret the modalias line correctly, "pnAOA110" means "Product Name
AOA110" and that's what we have already in the BIOS settings table. So I think we do already have all information we need to create a complete patch
for the problem, or am I wrong?

Right pn means that. I would strongly believe the above changes should be
good. I sometimes tend to be over-cautious. Attaching a refreshed patch
which includes them all.

Well, acerhdf.c and dmi-id.c both do
dmi_get_system_info(DMI_PRODUCT_NAME) when querying product name which
means that the product names in the acerhdf table and the dmi-id ones
are actually one and the same thing.

IMO, we should just go ahead send it to Len. Stefan, you have my ACK.

Acked-by: Peter Feuerer <peter@xxxxxxxx>

Thank you Stefan!

regards,
--peter

--

When all other means of communication fail, try words!


--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux