> ludovic coues schreef op 2015-08-10 23:29:
> > 2015-08-10 22:56 GMT+02:00 Martin Pieuchot :
> >> On 30/07/15(Thu) 12:18, Ludovic Coues wrote:
> >>> Right now, an USB_REQUEST ioctl will fail with an EBADF error if done
> >>> on a device opened as read-only. With this patch, the ioctl will fail
> >
ludovic coues schreef op 2015-08-10 23:29:
2015-08-10 22:56 GMT+02:00 Martin Pieuchot :
On 30/07/15(Thu) 12:18, Ludovic Coues wrote:
Right now, an USB_REQUEST ioctl will fail with an EBADF error if done
on a device opened as read-only. With this patch, the ioctl will fail
only if the USB_REQUES
2015-08-10 22:56 GMT+02:00 Martin Pieuchot :
> On 30/07/15(Thu) 12:18, Ludovic Coues wrote:
>> Right now, an USB_REQUEST ioctl will fail with an EBADF error if done
>> on a device opened as read-only. With this patch, the ioctl will fail
>> only if the USB_REQUEST is a write request.
>
> Do you nee
On 30/07/15(Thu) 12:18, Ludovic Coues wrote:
> Right now, an USB_REQUEST ioctl will fail with an EBADF error if done
> on a device opened as read-only. With this patch, the ioctl will fail
> only if the USB_REQUEST is a write request.
Do you need this to be able to use your usbdevs-like tool as a
Right now, an USB_REQUEST ioctl will fail with an EBADF error if done
on a device opened as read-only. With this patch, the ioctl will fail
only if the USB_REQUEST is a write request.
Index: sys/dev/usb/usb.c
===
RCS file: /cvs/src/sys