Changing the settings of the device driver
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.
Should I consider an option to implement ioctl's to change my device settings?
Thanks,
Nuno
Quoted 10 lines · Nuno Santos
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.
Should I consider an option to implement ioctl's to change my device settings?
What kind of settings?
By the way give sysfs a thought.
Quoted 8 lines
Thanks,
Nuno
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Nuno,
Quoted 7 lines · Nuno Santos
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.
Signature · 1 line
Dmitry