All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bryan W. Headley" <bwheadley@earthlink.net>
To: linux-hotplug@vger.kernel.org
Subject: [Fwd: Re: Hotplug-- who notifies whom of what?]
Date: Tue, 17 Feb 2004 18:10:44 +0000	[thread overview]
Message-ID: <40325924.8000003@earthlink.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

Darn. Forgot reply-all.

-- 
____               .:.                 ____
Bryan W. Headley - bwheadley@earthlink.net

[-- Attachment #2: Re: Hotplug-- who notifies whom of what? --]
[-- Type: message/rfc822, Size: 2197 bytes --]

From: "Bryan W. Headley" <bwheadley@earthlink.net>
To: Greg KH <greg@kroah.com>
Subject: Re: Hotplug-- who notifies whom of what?
Date: Tue, 17 Feb 2004 12:09:24 -0600
Message-ID: <403258D4.5030500@earthlink.net>

Greg KH wrote:
> On Tue, Feb 17, 2004 at 09:34:30AM -0600, Bryan W. Headley wrote:
> 
>>Greg KH wrote:
>>
>>>On Mon, Feb 16, 2004 at 06:54:16PM -0600, Bryan W. Headley wrote:
>>>
>>>
>>>>Greg,
>>>>
>>>>Regards to Aiptek USB tablets...
>>>>
>>>>I'm trying to figure out a strategy for hotplugging.
>>>>
>>>>1) The tablet is mapped to the input device system.
>>>> a) Because the order in which drivers complete loading/registering
>>>>    is not deterministic (e.g., mouse driver spawns thread), I do not
>>>>    know with certainty that the tablet will always be mapped to
>>>>    /dev/input/event27. So, configuration files of certain (XFree)
>>>>    applications that require that the path be known and static enough
>>>>    to put in a text file.
>>>
>>>
>>>Use udev to always create your "/dev/input/tablet_mine_all_mine" node so
>>>that XFree does not have to be reconfigured all the time.
>>
>>What do I do in 2.4-land? The silliness with hotplug scripts, .rc 
>>scripts, etc.?
> 
> 
> I don't really know, sorry.  Luckily I'm not running 2.4 on any of my
> machines :)
> 
> Anyone else have an idea?

The only thing I can think of is a daemon that uses the extended-ioctl 
callback function that's in Linux. E.g., notify when the file is read, 
written, removed. Not a standard unixland facility, but who cares? I'd 
be writing this for a Linux device driver!

Seriously, though: assuming udevfs is the deus ex machina for 2.6-land, 
which dists are planning to use it?

-- 
____               .:.                 ____
Bryan W. Headley - bwheadley@earthlink.net


             reply	other threads:[~2004-02-17 18:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-17 18:10 Bryan W. Headley [this message]
2004-02-17 18:59 ` [Fwd: Re: Hotplug-- who notifies whom of what?] Greg KH
2004-02-17 19:20 ` Bryan W. Headley

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=40325924.8000003@earthlink.net \
    --to=bwheadley@earthlink.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.