mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stelian Pop <stelian@alcove.fr>
To: arjan@fenrus.demon.nl
Cc: linux-kernel@vger.kernel.org
Subject: Re: PATCH: linux-2.4.7-pre3/drivers/char/sonypi.c would hang some non-Sony notebooks
Date: Mon, 09 Jul 2001 11:43:22 +0200	[thread overview]
Message-ID: <E15JXZa-0001YZ-00@come.alcove-fr> (raw)
In-Reply-To: <m15JCAJ-000P07C@amadeus.home.nl>
In-Reply-To: <m15JCAJ-000P07C@amadeus.home.nl>

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 ---------------|

  reply	other threads:[~2001-07-09  9:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-08  1:04 Adam J. Richter
2001-07-08  9:42 ` Robert J.Dunlop
2001-07-08 10:51   ` arjan
2001-07-09  9:43     ` Stelian Pop [this message]
2001-07-09 10:39       ` Alan Cox
2001-07-09 13:31         ` Stelian Pop
2001-07-08 10:26 Adam J. Richter
2001-07-08 16:46 ` Robert J.Dunlop
2001-07-09  7:52   ` Alexander Griesser
2001-07-09  9:35 ` Stelian Pop
2001-07-09 12:54 Adam J. Richter

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=E15JXZa-0001YZ-00@come.alcove-fr \
    --to=stelian@alcove.fr \
    --cc=arjan@fenrus.demon.nl \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®