Alan Stern wrote: > > > > It does print out a message, though not a big one. Would you like it > > > > to do something more specific? A more verbose "usage" message, > > > > perhaps? > > > > > > That's a good idea, and additionally I think it would be important to > > > print (much) more information if the ioctl() fails. > > > > I agree. > > What more is there to print? If the ioctl fails, all the program gets > back from the kernel is an error code, which it already prints out. I > wouldn't mind adding something else, if anybody can suggest what it > might be. Information about possible reasons for failure, in particular that this operation may simply not be supported by the hardware. Ideally even have a special case for that, with overly clear text, if it is indeed possible to determine from the error code that this is the cause. //Peter -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html