Greg KH said: > On Thu, Jul 24, 2003 at 04:19:20PM -0400, Charles Lepple wrote: >> I was looking at using the generic usb-serial driver as a debug console, > > Hahaha, good luck :)
very reassuring :-) lemme clarify, it's probably not as bad as it sounds... > If you really want to do this, try the USB Serial Console config option, > that will do what you want to do (I think, you are talking kernel debug > console, right?) Actually, I was thinking about using the module to debug some code on the EZ-USB chip with printf(). Using SDCC, I redefined putchar() to write to a string descriptor, but I would rather be able to just write to a bulk endpoint that could be read on the Linux host. (This is where it would be handy for usbfs to export endpoints as read/write files.) With the generic usb-serial driver, I figured I could just fire up Minicom (or cat, even) on /dev/ttyUSB0 and capture all of the printf output. (String descriptors only give you 255 characters at a time, I think.) If that's not what the generic usb-serial driver lets one do, well, there might be a documentation patch coming your way :-) -- Charles Lepple <[EMAIL PROTECTED]> http://www.ghz.cc/charles/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel