From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Its not sane!!
Date: Thu, 22 Jul 2004 20:01:13 +0000 [thread overview]
Message-ID: <20040722200113.GA32631@kroah.com> (raw)
In-Reply-To: <20040722054548.36513.qmail@web52210.mail.yahoo.com>
On Wed, Jul 21, 2004 at 10:45:48PM -0700, j d wrote:
> Dear Bertrik,
>
> It not a sane driver, its something new
> one what we are going to write.
Why do you need to write a kernel driver for a USB scanner? It can all
be done in userspace using libusb/usbfs.
Anyway, to answer your question, see my papers on how the hotplug
subsystem works. Also note that in 2.6, any new device that is created
causes a hotplug event to happen. So an event will happen when your
device is plugged in. And then another one happens when you create a
struct class device.
There is lots of example code in the kernel that shows how this all
works :)
Good luck,
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id\x10040&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2004-07-22 20:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-22 5:45 Its not sane!! j d
2004-07-22 20:01 ` Greg KH [this message]
2004-07-23 8:43 ` j d
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=20040722200113.GA32631@kroah.com \
--to=greg@kroah.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 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.