Re: Mouse driver

2015-03-06 Thread nick
On 2015-03-06 11:36 PM, Ronit Halder wrote: > This is my semester project and Thanks. > Does it have to be a input driver? If you really want to impress your teacher and get a better mark,try writing a basic network or usb driver. Nick > On Sat, Mar 7, 2015 at 10:04 AM, nick wrote: >> Ronit,

Re: Mouse driver

2015-03-06 Thread nick
Ronit, What are your reasons for writing this driver? In addition if you have the kernel tree lying around look under drivers/input/mouse for mouse drivers that are in production to help you understand how to write one better. Good Luck, Nick On 2015-03-06 11:27 PM, Ronit Halder wrote: > Hi,I wa

Mouse driver

2015-03-06 Thread Ronit Halder
Hi,I want to write mouse driver for linux ( usb mouse). I am reading "Linux device driver" and "Linux kernel development". But i don't how to start writing the driver. So,Please help. Best regards, Ronit. ___ Kernelnewbies mailing list Kernelnewbies@ker

Re: How to check if a file is a present in a directory(directly/indirectly)

2015-03-06 Thread Valdis . Kletnieks
On Fri, 06 Mar 2015 20:38:46 +0530, noyb noybee said: > I am building a LKM in which I need to check whether a file is inside > a particular directory(directly or inside sub-directories). Is there a > function for this? Do I need to use the lookup function in > inode_operations for this or is there

question scheduler

2015-03-06 Thread Meyer Lansky
Hello all continue to study the scheduler is O(1 ) there was one difficulty with the string 2 on 3, in that these blocking occurs after lines ? 1   rcu_read_lock(); 2   pcred = __task_cred(p); 3   match = (cred->euid == pcred->euid || cred->euid == pcread->uid); 4   rcu_r

Re: How to check if a file is a present in a directory(directly/indirectly)

2015-03-06 Thread Gabriel Duarte
Maybe it helps: http://stackoverflow.com/questions/8347553/how-do-i-open-a-directory-at-kernel-level-using-the-file-descriptor-for-that-dir 2015-03-06 12:08 GMT-03:00 noyb noybee : > I am building a LKM in which I need to check whether a file is inside > a particular directory(directly or inside

How to check if a file is a present in a directory(directly/indirectly)

2015-03-06 Thread noyb noybee
I am building a LKM in which I need to check whether a file is inside a particular directory(directly or inside sub-directories). Is there a function for this? Do I need to use the lookup function in inode_operations for this or is there a better method? Regards, winged_elite

Re: menuconfig: can not select scsi device support

2015-03-06 Thread Paul Bolle
On Fri, 2015-03-06 at 07:44 +0100, robert rottermann wrote: > Now, when I start menuconfig I find Device Drivers-> SCSI device support, but > selecting it produces an empty page. > > Why is that so? > Do I have to add other elements to the configuration process? My guess is you're missing BLOCK.

Re: menuconfig: can not select scsi device support

2015-03-06 Thread Антон Татуев
You can find out dependencies for needed options by pressing '/' (to search) and then typing your option. 06.03.2015, 09:48, "robert rottermann" : >  Hi there, >  I am working trough a book on embeded systems (embeded linux by J.Quade) >  There in the chapter about building a new kernel is sugges