On Wed, Mar 03, 2004 at 03:08:10PM -0800, Greg KH wrote: > On Wed, Mar 03, 2004 at 10:45:24PM +0000, James Courtier-Dutton wrote: > > When someone is writing a kernel module that uses the usb core, and one > > makes a call to the usb core that gets rejected for some reason. e.g. > > usb core returns -EINVAL. It would be nice if the usb core could printk > > a kernel message explaining which parameter was invalid.
Yes. > Heh, but then we would bog down everything with a load of code that the > normal, working kernel would not need :) Yes, such mesages should be quailfied by CONFIG_USB_DEBUG. > Have you tried enabling CONFIG_USB_DEBUG? That helps, but I have seen many places were an error code is returned with no message. I submitted one patch that adds the messages I needed to debug a problem. -- Don Reid ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel