Re: apcupsd and hal
On Sun, Oct 26, 2008 at 07:20:24 +1100, Alex Samad wrote:
> On Sat, Oct 25, 2008 at 12:02:07PM +0200, Florian Kulzer wrote:
> > On Sat, Oct 25, 2008 at 16:21:50 +1100, Alex Samad wrote:
> > > Hi
> > >
> > > it seems like my apcupsd deamon get stuck when hal is probing
> > > /dev/usb/hidinput0 (the ups).
> > >
> > > when I kill hal apcupsd is okay, otherwise it get stuck can't kill it
> > > with -9 :(
> > >
> > > how can i tell hal to not watch for the ups ?
> > >
> > > or is there some other work around for this ?
> >
> > I think the problem may be due to /usr/lib/hal/hald-addon-hid-ups
> > interfering with apcupsd, therefore I would try to comment out this
> > section
> >
> > <device>
> > <match key="hiddev.application_pages" contains="Power Device Page">
> > <append key="info.addons" type="strlist">hald-addon-hid-ups</append>
> > </match>
> > </device>
> >
> > in /usr/share/hal/fdi/policy/10osvendor/10-power-mgmt-policy.fdi and
> > then restart hal.
>
> Thanks for that, I presume <!-- --> is the right way to commend out.
Yes, that should be it.
> But now I am getting these usbhid: control queue full, seems to be a
> problem from the 2.6.0 days
If removing the handler leads to the queue filling up then maybe you
could replace it like this:
<append key="info.addons" type="strlist">/bin/true</append>
(I have never tried this.)
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
Reply to: