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
-- 
Ubuntu-installer mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-installer

Reply via email to