Review Request 110271: libusb-1 support in kcmusb (kinfocenter)

Max Brazhnikov makc at
Sat May 11 22:14:09 BST 2013

This is an automatically generated e-mail. To reply, visit:

(Updated May 11, 2013, 9:14 p.m.)

Review request for kde-workspace.


Update FindLibUSB-1.cmake


Use libusb-1 to query info about usb devices in kinfocenter.
Remove *BSD specific code: it doesn't work on all supported FreeBSD versions. In principle it can be saved for NetBSD, but NetBSD could use libusb-1, thus drop it for simplification.
Remove polling and use DeviceNotifier instead.
Add FindLibUSB-1.cmake

Diffs (updated)

  cmake/modules/FindLibUSB-1.cmake PRE-CREATION 
  kinfocenter/Modules/usbview/CMakeLists.txt 87bb256 
  kinfocenter/Modules/usbview/config-kcmusb.h.cmake PRE-CREATION 
  kinfocenter/Modules/usbview/kcmusb.cpp c598467 
  kinfocenter/Modules/usbview/usbdevices.h 493caeb 
  kinfocenter/Modules/usbview/usbdevices.cpp 9bd7033 



I've tested it only on FreeBSD. It would nice to test at least FindLibUSB-1.cmake on other OSes.


Max Brazhnikov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list