Re: PATCH: linux-2.4.7-pre3/drivers/char/sonypi.c would hang some non-Sony notebooks

Stelian Pop (stelian@alcove.fr)
Mon, 09 Jul 2001 11:43:22 +0200


In alcove.lists.linux.kernel, you wrote:
>
> > I guess this'll still pickup Sony desktops.
> > Perhaps we need a survey of lspci -nv results for sony and non-sony
> > machines ?
>
> The DMI table might be bettur up to this job instead...

Is seems so, my DMI tables contain some strings that we could
use to trigger up this laptop recognision (obtained after enabling
dmi_printk in the source):
DMI table at 0x000DC010.
BIOS Vendor: Phoenix Technologies LTD
BIOS Version: R0204P1
BIOS Release: 09/12/00
System Vendor: Sony Corporation .
Product Name: PCG-C1VE(FR) .
Version 01 .
Serial Number 28316054-5120966 .
Board Vendor: Sony Corporation .
Board Name: PCG-C1VE(FR) .

But it doesn't seem to me like the dmi routines (arch/i386/kernel/dmi_scan.c)
were designed to be used from outside this scope.

I could implement this in two different ways:
- add a callback in this file which will initialise
a global var we could test in the driver.

or

- export the dmi_ident tab and maybe some check routines/macros
to the rest of the kernel, giving each driver the possibility
to access this info.

What does the audience think ?

Stelian.

-- 
Stelian Pop <stelian.pop@fr.alcove.com>
|---------------- Free Software Engineer -----------------|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|------------- Alcôve, liberating software ---------------|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/