Yes. But according to the ugen man page it doesn't issue any USB requests, so 
it should only fill the device info structures and return.

On Thu, 11 Jun 2009 23:58:38 +0300
Alon Bar-Lev <alon.bar...@gmail.com> wrote:

> Is the ioctl blocking?
> 
> On Fri, May 22, 2009 at 5:37 PM, David Imhoff<dimh...@xs4all.nl> wrote:
> > Hi,
> >
> > When running OpenCT on OpenBSD the kernel output a "ugenpoll: no edesc" 
> > every
> > second to the main console. This seems to be caused by the fact that ugen
> > doesn't support polling on a control endpoint. Normally this is harmless
> > except that the log is spammed, but if the kernel isn't compiled with
> > diagnostics enabled this will lead to a NULL pointer dereference.
> >
> > The ifd_sysdep_usb_poll_presence() function in src/ifd/sys-bsd.c caused the
> > mainloop to poll on a control endpoint. Therefor I modified this function to
> > use an ioctl instead to determine if the device is still presence.
> >
> > Tested with OpenBSD 4.3 and a Omnikey 6121.
> >
> > David
> > _______________________________________________
> > opensc-devel mailing list
> > opensc-devel@lists.opensc-project.org
> > http://www.opensc-project.org/mailman/listinfo/opensc-devel
> >
> _______________________________________________
> opensc-devel mailing list
> opensc-devel@lists.opensc-project.org
> http://www.opensc-project.org/mailman/listinfo/opensc-devel
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to