lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <9b23fc710709030457l4286781es81ae4c45c4716462@mail.gmail.com>
Date:	Mon, 3 Sep 2007 17:27:23 +0530
From:	"Renuka Pampana" <prenuka@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: query regarding usb-hotplug

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ