How to find ioctl callback function inside the driver source

How can you see which code a module executes when your app calls an ioctl system call? Consider this situation: You app gets to the point where it executes an ioctl syscall and returns an error, e.g. if (ioctl(fd, STVMIX_IOC_DISCONNECTLAYERS, &STVMIX_Ioctl_DisconnectLayers) != 0) { /* IOCTL failed */ ErrorCode = ST_ERROR_BAD_PARAMETER; printf (” STVMIX_DisconnectLayers():Ioctl error […]

Continue reading


How to disable Linux FC graphical boot (start in text mode)

For those of you wondering how to make Fedora Linux boot into text mode – here’s how to disable the graphics boot/login screen: If you are running an older distribution you need to edit the file /etc/inittab (must be root) and change id:5:initdefault:     to id:3:initdefault: If you are running a NEWER distribution can […]

Continue reading