On Tue, 26 Oct 2004, Andre Steinert wrote:

> > --- http://lxr.linux.no/source/drivers/usb/storage/transport.c?v=2.6.8.1
> > ...
> > 967         US_DEBUGP("Bulk Command S 0x%x T 0x%x L %d F %d Trg %d LUN 
> > %d CL %d\n",
> > ...
> > 1035         US_DEBUGP("Bulk Status S 0x%x T 0x%x R %u Stat 0x%x\n",
> > ---
> > I think those are among the first and last dmesg we want, near the time 
> > of trouble.  Giving us an extra paragraph before and afterwards probably 
> > wouldn't hurt either.
> 
> Yes, these lines exist in my 2.6.9-sources. But how do I get these 
> debugs shown in the logfiles without turning verbose usb-storage 
> debugging on? Otherwise the debug-logfiles would be too big.

You can edit the statements.  Change

        US_DEBUGP("...

to

        printk(KERN_DEBUG "usb-storage: ...

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to