the documentation on http://linux.die.net/man/4/tty_ioctl sais: Return Value The ioctl(2) system call returns 0 on success. On error it returns -1 and sets errno appropriately. opposing to this i straced the following on the mct_u232 driver: ioctl(5, TIOCMGET, [TIOCM_DTR|TIOCM_RTS]) = 0 ioctl(5, TIOCMSET, [TIOCM_DTR|TIOCM_RTS]) = 1 the returncode of 1 is illegal. i checked for errno value and it is 0 then. please return 0 or set errno accordingly.
Fix queued
A patch referencing this bug report has been merged in Linux v3.5-rc3: commit 1aa3c63cf0a79153ee13c8f82e4eb6c40b66a161 Author: Alan Cox <alan@linux.intel.com> Date: Tue May 22 20:45:13 2012 +0100 USB: mct_u232: Fix incorrect TIOCMSET return