1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-18 20:34:39 +01:00

Don't probe stupid printers on OS X.

This commit is contained in:
John Maguire 2013-07-09 12:03:01 +02:00
parent b9f306364c
commit a650ac91bd

View File

@ -497,8 +497,9 @@ void MacDeviceLister::USBDeviceAddedCallback(void* refcon, io_iterator_t it) {
(device.vendor_id == 0x088e && device.product_id == 0x5036) ||
// Blacklist eLicenser
(device.vendor_id == 0x0819 && device.product_id == 0x0101) ||
// Skip HID devices and hubs.
// Skip HID devices, printers and hubs.
interface_class == kUSBHIDInterfaceClass ||
interface_class == kUSBPrintingInterfaceClass ||
interface_class == kUSBHubClass) {
continue;
}