"Couldn't open mtdev" crashing X

Thomas Bushnell, BSG tb at becket.net
Fri May 27 02:25:03 UTC 2011


Followup. Looking at the source, mtdev_open should fail if it gets improper
arguments (not likely here), or if mtdev_init or mtdev_configure fail. The
former only fails on ENOMEM.

mtdev_configure fails when the EVIOCGBIT ioctl fails, and only then.

By the way, since mtdev_open returns an error code, the evdev glue for it
should print the error string and not just "Couldn't". :)

Ok, so why would EVIOCGBIT fail?

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-installer/attachments/20110526/572d9d06/attachment.html>


More information about the Ubuntu-installer mailing list