View previous topic :: View next topic |
Author |
Message |
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Wed Nov 22, 2017 2:15 pm Post subject: kernel 4.14.1 and upsdrv [SOLVED] |
|
|
installed 4.14.1 and restarted to find upsdrv not working:
Code: | /etc/init.d/upsdrv restart
* Starting UPS drivers ...
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
No matching HID UPS found
Driver failed to start (exit status=1)
* Failed to start UPS drivers! [ !! ]
* ERROR: upsdrv failed to start |
USB_HID is still set in the new kernel config
lsusb finds the ups:
Code: | Bus 007 Device 002: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS |
the cyber power udev rules still exist in /lib64/udev/rules.d ...
anyone else seen this or know a fix?
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu] _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Last edited by albright on Fri Dec 01, 2017 12:41 pm; edited 1 time in total |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Thu Nov 30, 2017 4:25 pm Post subject: |
|
|
replying to myself ('cause no one else will )
I finally got around to looking into this
a simple udev rule change of permissions was the fix, as per
https://lfcode.ca/blog/my-network-ups-tools-dont-work/ _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
limn l33t
Joined: 13 May 2005 Posts: 997
|
Posted: Mon Dec 04, 2017 12:52 pm Post subject: |
|
|
Your 4.14.1 kernel is stable? On what ARCH?
On an x86 complied with gcc 7 4.14.2-3 either panic on boot or within a day. ppc won't even compile. |
|
Back to top |
|
|
Biker Apprentice
Joined: 11 Jun 2003 Posts: 170 Location: A very dark, cold and moisty place...
|
Posted: Sat Dec 23, 2017 12:01 pm Post subject: |
|
|
My solution consisted in adding user 'nut' to group 'usb'. _________________ The Internet never forgets.
Where 'never' points in the direction of a moment in the very, very far future. |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Sat Dec 23, 2017 2:06 pm Post subject: |
|
|
Quote: | Your 4.14.1 kernel is stable? On what ARCH? |
now using 4.14.8-r1 and it seems very stable
my AMD64 system is an unholy mixture of stable and ~amd64
Quote: | My solution consisted in adding user 'nut' to group 'usb'. |
that is much better and the proper way ... thanks _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
|