2009-11-06 09:21:16     event_test No such device

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

2009-11-06 09:21:16     event_test No such device

Stein Erik Ellevseth (NORWAY)

Message: 82128   

 

hi

 

I am working on an EZ_LITE development board equipped with BF537. I have modified bf53x_pfbuttons.c driver to handle the leds and buttons. I modyfied random.c and kobject.c with proper EXPORT statements to solve the warnings :

 

*** Warning: "kobject_get_path" [drivers/input/input.ko] undefined!

*** Warning: "add_input_randomness" [drivers/input/input.ko] undefined!

 

So far so good, and I now can "successfully" load the input and event driver :

 

root:~> modprobe evdev

Using /lib/modules//2.6.16.11.ADI-2006R1blackfin/kernel/drivers/input/input.ko

Using /lib/modules//2.6.16.11.ADI-2006R1blackfin/kernel/drivers/input/evdev.ko

root:~>

 

However, I am still not able to run event_test and pfbuttos.test, here is my result :

 

event_test /dev/input/event0

evtest: No such device

 

and :

root:~>root:~> pfbuttons_test 0

########################## PFBUTTONS TEST ###############################

/dev/input/event0 open error 19

root:~>

 

and the evento file do exist :

 

root:~> ls -l /dev/input/

crw-rw-r--    1 0        0         13,  64 event0

root:~>

 

Any clues to other changes I need to do?

 

regards,

 

stein erik

QuoteReplyEditDelete

 

 

2009-11-06 09:25:20     Re: event_test No such device

Mike Frysinger (UNITED STATES)

Message: 82129   

 

2006R1 is ancient.  upgrade to 2009R1.

Attachments

    Outcomes