title: just get the names of USB devices attached to a system?
body: <p>Aren't there any system calls or OS specific functions that can be called by Java to get just the names of the USB devices attached?</p>
  
  <p>I've seen probably 6-7 questions here only, but everyone mentions the C++ functions <code>GetRawInputDeviceList()</code> etc, and they are not cross-platform compliant. Either for Windows in C# or C++ or for Linux only. </p>
  
  <p>But I'm working in Java. Also, this needs to be cross platform. 
  Atleast, it needs to be working for Windows,Linux and Mac. I can work with terminal/shell/command-prompt commands also. I guess I can run them with Java.</p>
  
  <p>I've tried <code>getFileSystemView</code> and <code>listRoots</code>. But they give out names of all drives [dvd, hdd partitions,floppy etc].</p>
  
  <p>I need to get only USB devices. </p>
  
  <p>Please don't mention jUSB or JSR080. Why:</p>
  
  <p><strong>jUSB:</strong> <a href="http://jusb.sourceforge.net/" rel="nofollow">access to USB devices currently requires that they be connected to a GNU/Linux host system</a></p>
  
  <p><strong>javax.usb:</strong> <a href="http://javax-usb.sourceforge.net/" rel="nofollow"> pre-alpha Windows implementation is not certified and requires a kernel driver.</a></p>
  
  <p><strong>usb4java:</strong> <a href="http://kayahr.github.com/usb4java/" rel="nofollow">basically, it just implements JSR80 with little more abstraction, perhaps</a></p>
  
  <p>Although to be honest I haven't tried libusb since it is in C++.</p>
  
  <p>If you are going to mention APIs, mention completely tested and tried ones, that work across Linux,Windows and Mac. 
  If that wasn't the case, I wouldn't have put this question up. I've seen the mention of jUSB, javax.usb, etc on many other posts.</p>