<br><br><div class="gmail_quote">2009/7/31 Alexander Gordeev <span dir="ltr"><<a href="mailto:lasaine@lvk.cs.msu.su">lasaine@lvk.cs.msu.su</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Anton,<br>
<div class="im"><br>
On Fri, 31 Jul 2009 17:53:05 +0400<br>
Anton Gorlov <<a href="mailto:stalker@altlinux.ru">stalker@altlinux.ru</a>> wrote:<br>
<br>
> ut 2.4.1 works with megatec_usb driver. It tries to interact with a<br>
> device in /dev/bus/usb/X/Y, but there are root:root 664 access<br>
> rights. When I try to set port /dev/hiddev0 with write access in<br>
> config file, in strace there are no records about<br>
> accessing /dev/hiddev, but still only /dev/bus/usb/X/Y<br>
> How to explain such a behavior?<br>
<br>
</div>Why do you think megatec_usb should use /dev/hiddev0? It doesn't and<br>
never did.<br></blockquote></div><br>to complete Alex's answer:<br>- NUT USB drivers use libusb, so /dev/bus/usb/XXX/YYY<br>- the permissions issue is addressed by udev on linux. An helper script is installed by the packages or make install.<br>
- you may need to unplug / replug your UPS' USB cord to get the permissions applied.<br><br>having more info on your system would help us in helping you ;-)<br clear="all"><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://www.eaton.com/mgeops">http://www.eaton.com/mgeops</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/">http://arnaud.quette.free.fr/</a><br>
<br>