This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3517 EVM Input Issues

Other Parts Discussed in Thread: TCA6416, PCF8574

Hi,

I am trying to verify that the buttons on the development board are received by the kernel.

I have enabled CONFIG_INPUT_EVBUG but I see nothing printed to the console when I press the buttons.

I also noticed that the touchscreen is not working (I see a pointer but it does nothing). This worked on the demo that shipped with the board but is not working with 4.2.0.7 kernel and filesystem.

On the hardware side I have probed the TCA6416. I can see the button press pulling the line low but I do not see an interrupt generated.

The driver is initialized with .polling = 0.

I also tried to plug a mouse in to the USB input but it complained (via messages to the console saying cannot enable port and cannot enumerate device).

So lots of questions:

1. Any help with the touchscreen? Any ideas how to debug it? I don't need it for my application but I thought perhaps this is a sign of a common input issue.

2. Has anyone used the TCA6416 in interrupt mode? The default is .polling = 1. I am wondering if the devices registers are configured properly to enable the interrupt.

3. Pin muxing? I'm very familiar with pin mux configuration in my usual RTOS environments as I set up the registers myself but I'm not sure how this is done in Linux. I'm wondering if that pin is driven by the microprocessor.

Thanks!

Ken

 

# CONFIG_INPUT_FF_MEMLESS is not set

# CONFIG_INPUT_POLLDEV is not set

# CONFIG_INPUT_SPARSEKMAP is not set

CONFIG_INPUT_MOUSEDEV=y

CONFIG_INPUT_MOUSEDEV_PSAUX=y

CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024

CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768

CONFIG_INPUT_JOYDEV=y

CONFIG_INPUT_EVDEV=y

CONFIG_INPUT_EVBUG=y

CONFIG_INPUT_KEYBOARD=y

CONFIG_INPUT_MOUSE=y

# CONFIG_INPUT_JOYSTICK is not set

# CONFIG_INPUT_TABLET is not set

CONFIG_INPUT_TOUCHSCREEN=y

CONFIG_INPUT_MISC=y

# CONFIG_INPUT_AD714X is not set

# CONFIG_INPUT_ATI_REMOTE is not set

# CONFIG_INPUT_ATI_REMOTE2 is not set

# CONFIG_INPUT_KEYSPAN_REMOTE is not set

# CONFIG_INPUT_POWERMATE is not set

# CONFIG_INPUT_YEALINK is not set

# CONFIG_INPUT_CM109 is not set

# CONFIG_INPUT_UINPUT is not set

# CONFIG_INPUT_PCF8574 is not set

# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set

# CONFIG_INPUT_ADXL34X is not set