diff -r f497542af8e4 -r 538db54a451d kernel/eka/include/d32usbdi_errors.h --- a/kernel/eka/include/d32usbdi_errors.h Tue Jan 19 13:48:03 2010 +0000 +++ b/kernel/eka/include/d32usbdi_errors.h Mon Jan 18 21:31:10 2010 +0200 @@ -62,6 +62,14 @@ const TInt KErrUsbRemoteWakeupAlreadyDisabled = -6661; const TInt KErrUsbAlreadyResumed = -6662; +/* +The following two codes are used to indicate attachment/detachment of some malfunction +USB peripherals, which behaviour don't comply with USB specification. For example, some +hubs drive their upstream port VBus, however such behaviour is not allowed according to USB specification. +*/ +const TInt KErrUsbBadDeviceAttached = -6663; +const TInt KEventUsbBadDeviceDetached = -6664; + namespace UsbdiPanics { _LIT(KUsbHubDriverPanicCat, "USBHubDriver");