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.<div><br></div><div>mtdev_configure fails when the EVIOCGBIT ioctl fails, and only then.</div>
<div><br></div><div>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". :)</div><div><br></div><div>Ok, so why would EVIOCGBIT fail? </div>
<div><br></div><div>Thomas</div><div><br></div>