Originally Posted by bdbcat
Thanks for the gdb dump.
We seem to be failing when tying to execute the following command:
stat -c %G /dev/ttyS0
We are doing this to determine what group the the serial ports
What happens when you run that command from the shell alone?
I get this:
dsr@dsr-OptiPlex-GX620:~$ stat -c %G /dev/ttyS0
utilite@utilite-desktop:~$ stat -c %G /dev/ttyS0
stat: cannot stat `/dev/ttyS0': No such file or directory
So, on the Utilite, the serial ports do not seem to be associated with ttyS0 ?
When running dmesg | grep tty
I get the following output
Kernel command line: console=ttymxc3,115200 root=/dev/mmcblk0p2 rw rootwait cm_fx6_v4l_msize=128M vmalloc=256M
bootconsole [ttymxc3] enabled
imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
imx-uart.3: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX
console [ttymxc3] enabled, bootconsole disabled
imx-uart.1: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
imx-uart.4: ttymxc4 at MMIO 0x21f4000 (irq = 62) is a IMX
Does this mean that the Utilite has a specific setup for serial ports? (I am now on the border of my competencies in Linux).
If I issue the command groups
I get the following memberships:
utilite adm dialout cdrom sudo audio dip video plugdev
So dialout is there (as mentioned in a previous post).