The following patch corrects the return value from the ioctl function in the USB scanner code, in the case where the ioctl is unrecognized. Linus, please apply. Paul. diff -urN linux/drivers/usb/scanner.c pmac/drivers/usb/scanner.c --- linux/drivers/usb/scanner.c Sat Apr 28 23:02:49 2001 +++ pmac/drivers/usb/scanner.c Thu Jun 28 17:28:25 2001 @@ -909,7 +909,7 @@ return result; } default: - return -ENOIOCTLCMD; + return -ENOTTY; } return 0; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/