Re: [Linux USB] enable/disable individual ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 22 Nov 2015, Greg KH wrote:

> On Sun, Nov 22, 2015 at 07:26:08PM +0100, Peter Stuge wrote:
> > 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.

Alan Stern

--
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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux