12345678910111213 |
- $OpenBSD: patch-drivers_usbhid-ups_c,v 1.9 2017/01/16 00:12:15 jca Exp $
- --- drivers/usbhid-ups.c.orig Tue Dec 29 13:08:34 2015
- +++ drivers/usbhid-ups.c Sun Jan 15 23:54:35 2017
- @@ -963,7 +963,7 @@ void upsdrv_initups(void)
- regular expression (USB) or device_path (SHUT) */
- ret = comm_driver->open(&udev, &curDevice, subdriver_matcher, &callback);
- if (ret < 1)
- - fatalx(EXIT_FAILURE, "No matching HID UPS found");
- + fatalx(EXIT_FAILURE, "No matching HID UPS found - check permissions on /dev/ugen* and /dev/usb*");
-
- hd = &curDevice;
-
|