From: Lennart Poettering <mzxreary@0pointer.de>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: rpurdie@rpsys.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Add backlight driver for Nvidia-based Apple Macbook Pros
Date: Sun, 8 Jun 2008 20:32:55 +0200 [thread overview]
Message-ID: <20080608183255.GB3580@tango.0pointer.de> (raw)
In-Reply-To: <20080607025436.GB24254@srcf.ucam.org>
On Sat, 07.06.08 03:54, Matthew Garrett (mjg59@srcf.ucam.org) wrote:
> Lennart - as far as I could tell from your description, the DMI
> autoloading code for this should be correct. However, it's not working
> for me on F9. Have I missed something, or does it just not work there?
It should be pretty easy to figure out the right string for
DMI autoloading. Just do a cat /sys/class/dmi/id/modalias and replace the
part of the string you consider not very useful for identifying the
machine with (dates, version numbers, empty strings, 0123456
rubbish data, ...) with an asterisk.
Looking at those strings included in your patch they look pretty much
correct, but since I don't have access to a Mac I cannot really check
this.
It's udev's job to match the modalias strings of your driver module
with the modalias string from /sys/class/dmi/id/modalias. You can
retrigger this matching by doing something like "echo 1 >
/sys/class/dmi/id/uevent" or suchlike, but I don't remember the
details.
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
next prev parent reply other threads:[~2008-06-08 18:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-07 2:54 [PATCH] Add backlight driver for Nvidia-based Apple Macbook Pros Matthew Garrett
2008-06-07 5:04 ` Andrey Panin
2008-06-07 6:07 ` Andrew Morton
2008-06-07 9:58 ` Matthew Garrett
2008-06-07 10:05 ` Pekka Enberg
2008-06-07 10:14 ` Matthew Garrett
2008-06-07 10:50 ` Pekka Enberg
2008-06-07 18:59 ` Andrew Morton
2008-06-07 10:01 ` [PATCH v2] " Matthew Garrett
2008-06-07 14:45 ` Julien BLACHE
2008-06-08 18:32 ` Lennart Poettering [this message]
2008-06-09 0:03 ` [PATCH] " Matthew Garrett
2008-06-09 0:05 ` [PATCH v2] " Matthew Garrett
2008-06-09 20:59 ` Richard Purdie
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=20080608183255.GB3580@tango.0pointer.de \
--to=mzxreary@0pointer.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg59@srcf.ucam.org \
--cc=rpurdie@rpsys.net \
/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