Other Parts Discussed in Thread: AM3354
Hi,
What I need to change to get IRDA working over tty driver? Just on port ttyO4, the others remains as usual UARTs.
Thanks
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.
Other Parts Discussed in Thread: AM3354
Hi,
What I need to change to get IRDA working over tty driver? Just on port ttyO4, the others remains as usual UARTs.
Thanks
Hi,
What software are you using?
Best regards,
Miroslav
Hi Miroslav,
I am working on am3354 based custom board with linux version 3.2.0. UART4 (ttyO4) is connected to IRDA port. I have enabled the following In the kernel
<*> IrCOMM protocol
<*> IrTTY (uses Linux serial driver)
Any other modification should i do in the driver for port ttyO4 .
Thanks
Did you enable CONFIG_IRDA in your kernel configuration?
Please read this guide: http://www.tldp.org/HOWTO/html_single/Infrared-HOWTO/
Best regards,
Miroslav
Hi Miroslav,
Thanks for your reply. I will go through the link.
First time i am using IRDA. So dont have much idea regarding this.
I have enabled CONFIG_IRDA in kernel. I want to enable IRDA on UART4.
For this do i need to configure anything in linux/arch/arm/mach-omap2/ serial.c and linux_src/arch/arm/mach-omap2/ omap-serial.c ?
Thanks
Hi,
I haven't used IRDA for Linux before either, but reading this Linux Infrared HOWTO makes me believe that nothing has to be modified inside the serial driver. As far as I understand you just need to configure and recompile the kernel with the needed IRDA support (more info here) and then use the IrDA-Utils in user space to use the IrDA services.
Best regards,
Miroslav
Hi Miroslav,
Thank you so much for your reply :)
In the following link they are telling about some UART configuration regarding IR on UART.
http://e2e.ti.com/support/arm/sitara_arm/f/791/p/225679/1048780.aspx#1048780
Thanks
Hi,
After enabling
<*> IrCOMM protocol
<*> IrTTY (uses Linux serial driver)
the following device nodes are created in "/dev"
ircomm0 ircomm13 ircomm18 ircomm22 ircomm27 ircomm31 ircomm8
ircomm1 ircomm14 ircomm19 ircomm23 ircomm28 ircomm4 ircomm9
ircomm10 ircomm15 ircomm2 ircomm24 ircomm29 ircomm5
ircomm11 ircomm16 ircomm20 ircomm25 ircomm3 ircomm6
ircomm12 ircomm17 ircomm21 ircomm26 ircomm30 ircomm7
ttyO4 is connected to IRDA port. So which instance of "ircomm" is used for ttyO4.
How will i test it?
Thanks