* Its not sane!!
@ 2004-07-22 5:45 j d
2004-07-22 20:01 ` Greg KH
2004-07-23 8:43 ` j d
0 siblings, 2 replies; 3+ messages in thread
From: j d @ 2004-07-22 5:45 UTC (permalink / raw)
To: linux-hotplug
Dear Bertrik,
It not a sane driver, its something new
one what we are going to write. So can you tell me how
the hotplugging will be in user space which is not a
part of sane? Good day,
Regards,
JD
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Its not sane!!
2004-07-22 5:45 Its not sane!! j d
@ 2004-07-22 20:01 ` Greg KH
2004-07-23 8:43 ` j d
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2004-07-22 20:01 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Its not sane!!
2004-07-22 5:45 Its not sane!! j d
2004-07-22 20:01 ` Greg KH
@ 2004-07-23 8:43 ` j d
1 sibling, 0 replies; 3+ messages in thread
From: j d @ 2004-07-23 8:43 UTC (permalink / raw)
To: linux-hotplug
--- Greg KH <greg@kroah.com> wrote:
> 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.
>
Dear Greg, Thanks for your reply, Am glad to see your
mail in my box.
> Why do you need to write a kernel driver for a USB
> scanner? It can all
> be done in userspace using libusb/usbfs.
>
I have gone through libusb, but i didn't find
isochronous transfer handling in libusb, because my
device supports isochronous transfer mode. So i
decided to write a kernel driver. Could you please
suggest me, how can it will be implemented in
userspace.
> 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.
I compiled 2.6.3 on Redhat9.0. But hotplug didn't
detect my device.
What could be the changes in my driver for udev
instead of devfs on 2.6
>
> There is lots of example code in the kernel that
> shows how this all
> works :)
>
> Good luck,
>
> greg k-h
>
Good day and Thank you,
Regards,
JD
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-07-23 8:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-22 5:45 Its not sane!! j d
2004-07-22 20:01 ` Greg KH
2004-07-23 8:43 ` j d
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).