enabling uart2 on omap5912 osk

2008-05-21 Thread mohammed shareef
Hello, How do i enable UART2 on omap5912_osk in the kernel? and is there a way by which i can test if the uart2 has been recongnised? i dont see uart module being initialized during the kernel boot-up. thank you. regards, Shareef -- To unsubscribe from this list: send the line unsubscribe

Re: enabling uart2 on omap5912 osk

2008-05-21 Thread Tony Lindgren
* mohammed shareef [EMAIL PROTECTED] [080520 23:43]: Hello, How do i enable UART2 on omap5912_osk in the kernel? and is there a way by which i can test if the uart2 has been recongnised? i dont see uart module being initialized during the kernel boot-up. You need to enable it in

RE: enabling uart2 on omap5912 osk

2008-05-21 Thread roman.tereshonkov
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ext mohammed shareef Sent: 21 May, 2008 20:12 To: Tony Lindgren Cc: omap; [EMAIL PROTECTED] Subject: Re: enabling uart2 on omap5912 osk i see the following lines in the omap-osk.c file regarding the uarts: static struct

Re: enabling uart2 on omap5912 osk

2008-05-21 Thread Tony Lindgren
* mohammed shareef [EMAIL PROTECTED] [080521 10:12]: i see the following lines in the omap-osk.c file regarding the uarts: static struct omap_uart_config osk_uart_config __initdata = { .enabled_uarts = (1 0), }; what does it mean? i want all my uarts (1,2,3) enabled. how do i

Re: enabling uart2 on omap5912 osk

2008-05-21 Thread Felipe Balbi
On Wed, 21 May 2008 10:44:28 -0700, Tony Lindgren [EMAIL PROTECTED] wrote: * mohammed shareef [EMAIL PROTECTED] [080521 10:12]: i see the following lines in the omap-osk.c file regarding the uarts: static struct omap_uart_config osk_uart_config __initdata = { .enabled_uarts = (1 0),

Re: enabling uart2 on omap5912 osk

2008-05-21 Thread Tony Lindgren
* Felipe Balbi [EMAIL PROTECTED] [080521 12:37]: On Wed, 21 May 2008 10:44:28 -0700, Tony Lindgren [EMAIL PROTECTED] wrote: * mohammed shareef [EMAIL PROTECTED] [080521 10:12]: i see the following lines in the omap-osk.c file regarding the uarts: static struct omap_uart_config

Re: enabling uart2 on omap5912 osk

2008-05-21 Thread Felipe Balbi
On Thu, 22 May 2008 03:46:37 +0530, mohammed shareef [EMAIL PROTECTED] wrote: when i type: ls -l /dev/ttyS0 crw-rw-rw-1 root root 4, 64 Aug 8 2004 \0x1b[1;35m/dev/ttyS0\0x1b[0m # ls -l /dev/ttyS1 -rw-r-- ... that's a bit weird. What does cat /proc/tty/drivers show ?

Re: enabling uart2 on omap5912 osk

2008-05-21 Thread mohammed shareef
# cat /proc/tty/drivers /dev/tty /dev/tty5 0 system:/dev/tty /dev/console /dev/console5 1 system:console /dev/ptmx/dev/ptmx 5 2 system /dev/vc/0/dev/vc/0 4 0 system:vtmaster serial /dev/ttyS

Re: enabling uart2 on omap5912 osk

2008-05-21 Thread Felipe Balbi
On Thu, 22 May 2008 04:01:17 +0530, mohammed shareef [EMAIL PROTECTED] wrote: # cat /proc/tty/drivers /dev/tty /dev/tty5 0 system:/dev/tty /dev/console /dev/console5 1 system:console /dev/ptmx/dev/ptmx 5 2 system /dev/vc/0