Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHi,
I'm having a hard time to communicate with the external touch controller. I specified the app "inputattach" with proper parameters. Driver for the touch controller (Elo) was recognized (Inputattach running in background). But testing event0 (assigned to "elo touch" driver) has no result. I also tried the console device via serial port (Terminal emulator: HyperTerminal) which worked out fine. As earlier mentioned "setserial" brings still the following report: /> setserial -a /dev/ttyS0 /dev/ttyS0, Line 0, UART: undefined, Port: 0x0000, IRQ: 6 Baud_base: 3125000, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal Main Configuration of the kernel: + Device Driver -> Char. devices -> Virtual terminal + Device Driver -> Input device supp. -> Event interface + Device Driver -> Input device supp. -> Event debugging + Device Driver -> Input device supp. -> Touchscreens -> Elo serial touch + Device Driver -> Input device supp. -> Hardware I/O ports Serial port line discipline enabled + Device Driver -> Char. devices -> Serial drivers -> Altera UART support enabled (default baudrate 9600), Altera JTAG UART support (+ console support)) (mouse and keyboard not included yet) Am I missing some options? PS: I also tried to activate the serial drivers "8250/16550 and compatible serial support" (Device drivers -> Char. devices -> serial drivers) but an error appears during compilation stating: ../nios2-linux/linux-2.6/drivers/serial/8250c:104:24: asm/serial.h: no such file or directory..(compilation aborted) I would appreciate if someone could help me on that problem. Thank you in advance! D.