Re: [linux-usb-devel] Hotplug Driver Interface to User Level Programs: A Driver Example

2004-09-14 Thread Vojtech Pavlik
On Sun, Sep 12, 2004 at 04:33:13AM +0400, Alexander N. Kozhushkin wrote: > Unfortunately, now I cannot present a full list of device drivers > which use the first and second approaches. However, the > "drivers/input/mousedev.c" file by Vojtech Pavlik is an example of > such

Re: [linux-usb-devel] Hotplug Driver Interface to User Level Programs: A Driver Example

2004-09-13 Thread Oliver Neukum
Am Montag, 13. September 2004 21:27 schrieb Linas Vepstas: > Another alkternative to returning -ENODEV is to have a zero-length read. > This is a traditional unix way of signifying that the remote end has > disconnected; e.g. for tcp sockets.  That is, select() will tell you > that there is somethi

Re: [linux-usb-devel] Hotplug Driver Interface to User Level Programs: A Driver Example

2004-09-13 Thread Linas Vepstas
On Sun, Sep 12, 2004 at 04:33:13AM +0400, Alexander N. Kozhushkin was heard to remark: > > Unfortunately, now I cannot present a full list of device drivers > which use the first and second approaches. However, the > "drivers/input/mousedev.c" file by Vojtech Pavlik is an e

Re: [linux-usb-devel] Hotplug Driver Interface to User Level Programs: A Driver Example

2004-09-11 Thread Alexander N. Kozhushkin
Alan Stern wrote: > > On Thu, 19 Aug 2004, Alexander N. Kozhushkin wrote: > > > My experience of using Linux kernels 2.6 shows that there is some > > problem with hotplug devices. Namely, it seems that, there is no > > uniform approach of how an application performing I/O operations o