On Wed, Aug 02, 2006 at 11:00:58PM -0700, Pete Zaitcev wrote: > Replace the semaphore exclusive_access with an open-coded lock for > the special use. The lock can be taken for: read, write, and both. > This way, two bulk URBs can be submitted simultaneously with ioctl > USBDEVFS_BULK: one read and one write. Such access was possible > before 2.4.28. > > Signed-off-By: Pete Zaitcev <[EMAIL PROTECTED]> > > --- > > The semaphore was introduced in 2.4.28 for the purpose of exclusion > between access from device.c (cat /proc/bus/usb/devices), devio.c > through libusb, and in-kernel driver. Currently, only usb-storage > observes the locking protocol. The most popular device which locks > in case of simultaneous access is TEAC CD-210PU.
Perfect. Patch queued, thanks Pete. Willy ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel