From: Lee Jones <lee.jones@canonical.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: UDEV - DRIVER parameter
Date: Tue, 06 Jul 2010 11:28:51 +0000 [thread overview]
Message-ID: <4C331373.1080702@canonical.com> (raw)
In-Reply-To: <4C33057C.10805@canonical.com>
> Only some devices have a driver bound. Only "bus" devices, "class"
> devices never have a driver.
>
> It's just the symlink "driver" in /sys in the device directory.
>
> Your platform device may just be a plain registered device, and not
> probed and bound by a driver in that sense. Usually only enumeratable
> buses have drivers that create devices when they are discovered.
I guess I'd better tell you the full story then.
I am working on a driver (module) that provides a direct link "CPU <-> Video Codec", which I believe is non-discoverable.
I figured that I'd be able to send the uevent by registering the device as a platform one in architecture specific code.
A uevent is sent, but it is missing the DRIVER parameter.
This is the generic parameter which is used in the udev rules.
/lib/udev/rules.d/80-drivers.rules, DRIVER!="?*", ENV{MODALIAS}="?*", RUN+="/sbin/modprobe -b $env{MODALIAS}"
I want to shy away from sending another rule upstream.
Are there any other sensible alternatives?
Kind regards,
Lee
next prev parent reply other threads:[~2010-07-06 11:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-06 10:29 UDEV - DRIVER parameter Lee Jones
2010-07-06 11:08 ` Kay Sievers
2010-07-06 11:28 ` Lee Jones [this message]
2010-07-06 11:50 ` Kay Sievers
2010-07-06 13:05 ` Lee Jones
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=4C331373.1080702@canonical.com \
--to=lee.jones@canonical.com \
--cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).