Any driver (blazer_usb, megatec_usb) failed with the message:
Can't claim USB device [xxxx:yyyy]: could not detach kernel driver from interface 0: Operation not permitted
It turned out, that nut came with the broken configuration for udev 150 (on debian). To fix the problem, I commented out all lines in /etc/udev/rules.d/52-nut-usbups.rules, and created a new file with the name /etc/udev/rules.d/46-ippon.rules and the following content:
SUBSYSTEM=="usb", ATTR{idVendor}=="0665", ATTR{idProduct}=="5161", MODE="0664", GROUP="nut"
This helped. Required product id and vendor id are discovered from the output of lsusb program.
PS. The following alias is very useful when configuring something with udev:
alias udevinfo="udevadm info -a -n"
and it can be used like:
udevinfo /dev/sda
No comments:
Post a Comment