On Fri, 16 Dec 2011 16:31:22 -0600 Timur Tabi <timur@xxxxxxxxxxxxx> wrote: > Timur Tabi wrote: > > > graphics fb0: unknown ioctl command (0x402C7413) > > graphics fb0: dir=2 type='t' (74) nr=19 size=44 > > graphics fb0: unknown ioctl command (0x40087468) > > graphics fb0: dir=2 type='t' (74) nr=104 size=8 > > graphics fb0: unknown ioctl command (0x402C7413) > > graphics fb0: dir=2 type='t' (74) nr=19 size=44 > > I figured it out. These ioctls are: > > #define TCGETS _IOR('t', 19, struct termios) > #define TIOCGWINSZ _IOR('t', 104, struct winsize) > > I'm guessing that since I redirect stdout to /dev/fb0, Linux is > treating /dev/fb0 as a terminal, and therefore it's receiving > terminal ioctls. > > Is this something that fbdev should be supporting, or am I wrong > to use /dev/fb0 as a terminal? No. Do not redirect to /dev/fb0, use /dev/tty1 instead. Anatolij -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html