Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel 4.14.1 and upsdrv [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2500
Location: Near Toronto

PostPosted: Wed Nov 22, 2017 2:15 pm    Post subject: kernel 4.14.1 and upsdrv [SOLVED] Reply with quote

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
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2500
Location: Near Toronto

PostPosted: Thu Nov 30, 2017 4:25 pm    Post subject: Reply with quote

replying to myself ('cause no one else will :wink: )

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
View user's profile Send private message
limn
l33t
l33t


Joined: 13 May 2005
Posts: 997

PostPosted: Mon Dec 04, 2017 12:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Biker
Apprentice
Apprentice


Joined: 11 Jun 2003
Posts: 164
Location: A very dark, cold and moisty place...

PostPosted: Sat Dec 23, 2017 12:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2500
Location: Near Toronto

PostPosted: Sat Dec 23, 2017 2:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum