Hello,

Our Linux source comments do not confirm, but I think the corresponding dmesg Linux-ese is:
--- http://lxr.linux.no/source/drivers/usb/storage/usb.c?v=2.6.8.1#L361
...
361 US_DEBUG(usb_stor_show_command(us->srb));
362 us->proto_handler(us->srb, us);
...
--- http://lxr.linux.no/source/drivers/usb/storage/debug.c?v=2.6.8.1
...
146 US_DEBUGP("Command %s (%d bytes)\n", what, srb->cmd_len);
...
--- 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.


Andre.


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