[Nut-upsdev] Fw: NUT hidups dont working on new linux kernels

Arnaud Quette aquette.dev at gmail.com
Fri Dec 9 09:01:41 UTC 2005


2005/12/8, Peter Selinger <selinger at mathstat.dal.ca>:
>
> I am forwarding the below message. Does anybody on this list know
> anything about this problem?
>
> Petr - perhaps you should switch from the "hidups" to the "newhidups"
> driver. I believe it supported the APC Back UPS even in NUT 2.0.2, and
> it certainly does so in the Development version that you can get from
> CVS (see the NUT download page).
>
> Also, could you post the output of "ls -l /dev/usb"? Perhaps this is
> not a kernel problem at all, but a problem of a missing device node.
>
> -- Peter
>
> =?UTF-8?B?S3JpxaF0b2YgUGV0cg==?= wrote:
> >
> > Hello Peter,
> >
> > I like to report the problem with NUT on new linux kernels.
> > NUT stopped work on 2.6.14+ kernels.
> >
> > I did filled bugreport on RedHat's bugzilla.
> >
> > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175101
> >
> > Can you escalate this issue to nut's developers, please?
> >
> > Thanks
> >
> > Petr
>

the keyword "linux 2.6.14" directly tells us that it's something with udev.
FYI:
- before 2.6.12, only hotplug was needed
- between 2.6.12 and 2.6.14, udev takes an interim with hotplug compat
- as of 2.6.14, only udev is involved.

The necessary scripts are present in the CVS Testing and Dev tree, and will
be included in 2.0.3. But it only applies to newhidups and libusb. For
hidups, which uses linux hiddev driver, you need to change something in the
devfs.rules to adapt the device's ownership or to include the "ups" group in
the "usb" group (not sure, validate with an "ls -l" on the hiddevX device
node).

Last notes:
- Peter _is_ a NUT Developer. And not a least one ;-)
- I'm finishing some audit for these hotplug scripts to be documented in
2.0.3
- prefer to switch to newhidups as hidups will soon be dropped in favor of
the former.

Arnaud
--
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer -
http://people.debian.org/~aquette/<http://people.debian.org/%7Eaquette/>
OpenSource Developer - http://arnaud.quette.free.fr/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20051209/8f25a570/attachment.html


More information about the Nut-upsdev mailing list