Re: Extend device driver?

2016-09-10 Thread Greg KH
On Sat, Sep 10, 2016 at 04:41:34PM +0200, Pol Eyschen wrote: > Hi everyone, > > I want to implement some custom functions of my mouse (Madcatz RAT5) in > Linux, e.g custom DPI-values. As this requires writing over USB to the > firmware of the mouse I was thinking of writing a module to

Extend device driver?

2016-09-10 Thread Pol Eyschen
Hi everyone, I want to implement some custom functions of my mouse (Madcatz RAT5) in Linux, e.g custom DPI-values. As this requires writing over USB to the firmware of the mouse I was thinking of writing a module to accomplish this. However I don't want to reimplement a whole mouse-driver,so I

Re: Extend device driver?

2016-09-10 Thread Daniel.
You may want to look at http://www.signal11.us/oss/hidapi/ too, it has nice interface to HID device and supports libusb and hidraw backends (y) Regards, 2016-09-10 12:14 GMT-03:00 Greg KH : > On Sat, Sep 10, 2016 at 04:41:34PM +0200, Pol Eyschen wrote: >> Hi everyone, >> >> I

Status/Progress of CherryTrail / BayTrail support in mainline Linux kernel

2016-09-10 Thread Hanno Zulla
Hi, sorry for asking a possibly obvious question, but: Why is support for Cherry Trail / Bay Trail so bad in the mainline kernel? Is this being worked on? And where can one help or track the progress with improving this? Recently, I bought a Win10 netbook to install Linux on. It's a beautiful

Linux Security Module listsecurity (and security xattr hooks) only one called?

2016-09-10 Thread Pasquier, Thomas
In security/security.c (see here: https://github.com/torvalds/linux/blob/835c92d43b29eb354abdbd5475308a474d7efdfa/security/security.c ) Looking at this: int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size) { if (unlikely(IS_PRIVATE(inode))) return 0;

memblock_reserve or memblock_remove to reserve a page

2016-09-10 Thread Nikhil Utane
I want to reserve a physical memory page with a fixed PFN. I do not want this page to be used by anyone else. I am calling memblock_reserve() to supposedly reserve the page. I am writing some content into this page. What I see is that during some runs the content of this page is modified (either

Confused about rtnl routing mutex scalability

2016-09-10 Thread nick
Greetings All, I am curious as it after reading the network code for a while it seems that to me at least the rtnl mutex lock is a bottleneck. Is there any reason that we are still using a global mutex for all routing changes in the networking stack for the Linux kernel or does it actually

Re: memblock_reserve or memblock_remove to reserve a page

2016-09-10 Thread Nikhil Utane
Hi, I want to reserve a physical memory page with a fixed PFN. I do not want this page to be used by anyone else. I am calling memblock_reserve() to supposedly reserve the page. I am writing some content into this page. What I see is that during some runs the content of this page is modified