mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Ask a question about major and minor number of keyboard driver .
@ 2009-03-20  1:40 peter meng
  0 siblings, 0 replies; only message in thread
From: peter meng @ 2009-03-20  1:40 UTC (permalink / raw)
  To: linux-kernel


Hi,

 Such as drivers/input/keyboard/neo1973kbd.c :

 input_dev->name = "Neo1973 Buttons";
 input_dev->phys = "neo1973kbd/input0";
 input_dev->id.bustype = BUS_HOST;

 As i understand , application will access /dev/input/neo1973kbd/input0 as input handler such as open(/dev/input/neo1973kbd/input0) .
 I want to know which minor number will be used by input0 , because event0 
 will use minor number 64 .
 Assume no minor number for neo1973kbd/input0 ,how the driver process open(/dev/input/neo1973kbd/input0) ? because no major and minor number related to it .
 

ls -l /dev/input/ 
crw-r----- 1 root root 13, 64 2009-03-20 08:54 event0


Thanks in Advanced .
Best Regards.
Peter Meng 




      

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-20  1:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-20  1:40 Ask a question about major and minor number of keyboard driver peter meng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®