public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Renuka Pampana <prenuka@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: query regarding usb-hotplug
Date: Tue, 4 Sep 2007 23:17:53 -0700	[thread overview]
Message-ID: <20070905061753.GA31005@kroah.com> (raw)
In-Reply-To: <9b23fc710709030457l4286781es81ae4c45c4716462@mail.gmail.com>

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

      reply	other threads:[~2007-09-05  6:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-03 11:57 query regarding usb-hotplug Renuka Pampana
2007-09-05  6:17 ` Greg KH [this message]

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=20070905061753.GA31005@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=prenuka@gmail.com \
    /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