Re: [opensc-devel] BSD ifd_sysdep_usb_poll_presensce() incorrect

2009-06-14 Thread David Imhoff
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 wrote: > Is the ioctl blocking? > > On Fri, May 22, 2009 at 5:37 PM, David Imhoff

[opensc-devel] BSD ifd_sysdep_usb_poll_presensce() incorrect

2009-06-10 Thread David Imhoff
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

Re: [opensc-devel] [PATCH] ugen filenames OpenBSD

2008-05-20 Thread David Imhoff
Op Vr, 16 mei, 2008 23:37, schreef Alon Bar-Lev: > I guess this for OpenCT, right? > Can you please send all the needed patches to make it work? > Also, please don't use asprintf, as it is gnu specific and is not used > in other parts of the sources. Thank you for your reply. The patch is indeed f

[opensc-devel] [PATCH] ugen filenames OpenBSD

2008-05-16 Thread David Imhoff
Hi, Below i appended a patch that fixes sys-bsd.c to use the correct device filenames on OpenBSD. An earlier patch already fixed this for the control endpoint, but this caused the other endpoints to be accessed under '/dev/ugenX.00.E'. This patch causes the correct filenames to be used for all end