* query regarding usb-hotplug
@ 2007-09-03 11:57 Renuka Pampana
2007-09-05 6:17 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Renuka Pampana @ 2007-09-03 11:57 UTC (permalink / raw)
To: linux-kernel
hi all,
iam having one doubt about the usb driver application. i written one
small application (u can see this file usbthread.c
in attachment , cc -o usbthread usbthread.c -lpthread -lusb (for
compilation) ) on usb device drivers using LIBUSB-0.1.12
in user space. my project leader has given one task about the usb
device drivers in user space. so using lib usb library and
written application in user space. we are getting out put as device
properties in userspace. but we are using polling
mechanism ( declaring one thread and calling one usb function as
subroutine in thread, this thread calling usb function
continuously and it has put in infinity loop). but my task have to
develop this same application with out using poling.
i heared an event mechanism for with out polling. but i dont know how
to develop event mechanism.
plz give me any idea to develop the hot plugging system by using event
mechanism...
i hope to get reply as soon as possible .
thanks and regards,
Raman.A
09916485129
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: query regarding usb-hotplug
2007-09-03 11:57 query regarding usb-hotplug Renuka Pampana
@ 2007-09-05 6:17 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2007-09-05 6:17 UTC (permalink / raw)
To: Renuka Pampana; +Cc: linux-kernel
On Mon, Sep 03, 2007 at 05:27:23PM +0530, Renuka Pampana wrote:
> hi all,
>
> iam having one doubt about the usb driver application. i written one
> small application (u can see this file usbthread.c
> in attachment
Nothing was attached :(
> , cc -o usbthread usbthread.c -lpthread -lusb (for
> compilation) ) on usb device drivers using LIBUSB-0.1.12
> in user space. my project leader has given one task about the usb
> device drivers in user space. so using lib usb library and
> written application in user space. we are getting out put as device
> properties in userspace. but we are using polling
> mechanism ( declaring one thread and calling one usb function as
> subroutine in thread, this thread calling usb function
> continuously and it has put in infinity loop). but my task have to
> develop this same application with out using poling.
>
> i heared an event mechanism for with out polling. but i dont know how
> to develop event mechanism.
>
> plz give me any idea to develop the hot plugging system by using event
> mechanism...
>
> i hope to get reply as soon as possible .
Try asking this on the libusb mailing list, the developers there should
be able to help you out.
good luck,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-05 6:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-03 11:57 query regarding usb-hotplug Renuka Pampana
2007-09-05 6:17 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox