2009-04-22 13:26:07     Major Numbers in RTC and GPIO

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-04-22 13:26:07     Major Numbers in RTC and GPIO

ian davidson (UNITED KINGDOM)

Message: 73075   

 

It appears that the major numbers for the RTC and the GPIO are the same:

 

root:/> ls -l /dev

 

......

crw-rw-r--    1 root     root     253,   0 Mar  9  2009 /dev/pf0

crw-rw-r--    1 root     root     253,   1 Mar  9  2009 /dev/pf1

 

.....

 

crw-r-----    1 root     root     253,   0 Mar  9  2009 /dev/rtc

root:/dev>

 

 

 

How can I either:

 

a) build the kernel without the pfx and pgx devices in (I have remove simple GPIO char device and make clean and make)

 

or

 

b) ensure that the major numbers are different

 

 

 

Thanks,

 

Ian Davidson

QuoteReplyEditDelete

 

 

2009-04-22 14:54:13     Re: Major Numbers in RTC and GPIO

Mike Frysinger (UNITED STATES)

Message: 73077   

 

neither of those drivers exist anymore.  creating device nodes manually is not the way to go.

 

2008R1.5 and trunk should do both.

Attachments

    Outcomes