Thread (3 messages) flat view 3 messages, 3 authors, 2011-11-15

Re: Changing the settings of the device driver

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2011-11-15 17:34:14

Hi Nuno,

On Tue, Nov 15, 2011 at 04:34:26PM +0000, Nuno Santos wrote:
Hi,

I have been reading about linux kernel development and ioctl seems
to be discouraged by kernel developers.

However ioctl is precisely what i'm looking for to mimic what I have
in my Windows driver version.
Because Linux not Windows mimicking one platform's behavior on another
is usually not the best option. We actually discouraging driver- and
vendor-specific interfaces between kernel and userspace and striving
towards drivers (both kernel- and user-space) that are able to handle
multitude of devices from different vendors.

Maybe if you provided more details about your device (what it is
exactly, what the protocol is, what exact issues you are trying to
solve) people could direct you towards some of existing solutions.

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help