[#5298] twikeypad_test on pcf8574_keypad open error 2 for no input device

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

[#5298] twikeypad_test on pcf8574_keypad open error 2 for no input device

Submitted By: Mingquan Pan

Open Date

2009-06-30 03:15:20     Close Date

2009-07-01 04:21:38

Priority:

Medium High     Assignee:

Michael Hennerich

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

09r1-rc7

App binary format:

N/A     

Summary: twikeypad_test on pcf8574_keypad open error 2 for no input device

Details:

 

twikeypad_test on pcf8574_keypad open error 2 for no input device on bf537 stamp.

 

After modprobe pcf8574_keypad, run :

 

root:/> twikeypad_test

TWI Keypad Test Application

 

open error 2

 

And ls:

root:/> ls /dev/

console             null                ram15               rtc0

cpu_dma_latency     ptmx                ram2                stderr

fd                  pts                 ram3                stdin

full                ram0                ram4                stdout

i2c-0               ram1                ram5                tty

kmsg                ram10               ram6                ttyBF0

log                 ram11               ram7                uinput

mem                 ram12               ram8                urandom

network_latency     ram13               ram9                watchdog

network_throughput  ram14               random              zero

root:/>

 

no input device shows.

 

root:/> version

kernel:    Linux release 2.6.28.10-ADI-2009R1-svn6870, build #8 Tue Jun 30 15:11:55 CST 2009

toolchain: bfin-uclinux-gcc release gcc version 4.1.2 (ADI svn)

user-dist: release svn-8385, build #4 Tue Jun 30 15:11:20 CST 2009

 

config file is attached.

 

Follow-ups

 

--- Michael Hennerich                                        2009-06-30 11:00:05

Fixed on 2009R1 and trunk.

 

Rename CONFIG_TWI_KEYPAD -> CONFIG_INPUT_PCF8574 according to

SVN commit Rev 5842 "rename driver and touchup"

 

--- Mingquan Pan                                             2009-07-01 04:21:38

Yes,fixed. Close.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.i2ckeypad    application/octet-stream    31576    Mingquan Pan

Attachments

Outcomes