tstUSBLinux.cpp revision c8278c7ae01edc83719fb99af38f040cc8c495ea
/* $Id$ */
/** @file
*
* Test executable for quickly excercising/debugging the hal-based Linux USB
* bits.
*/
/*
* Copyright (C) 2008 Sun Microsystems, Inc.
*
* Sun Microsystems, Inc. confidential
* All rights reserved
*/
#include "tstUSBLinux.h"
#include <iprt/initterm.h>
int main()
{
RTR3Init();
{
RTPrintf("Failed to initialise USBProxyServiceLinux, error %Rrc\n",
service.getLastError());
return 1;
}
RTPrintf("Failed to get any devices from sysfs\n.");
else
{
{
RTPrintf(" Device state: %s\n",
: "unknown"
);
RTPrintf(" Device speed: %s\n",
: "unknown"
);
RTPrintf("\n");
}
}
return 0;
}