Re: [Nut-upsuser] FreeBSD usbhid-ups problem

2009-01-27 Thread Daniel O'Connor
On Tuesday 27 January 2009 20:32:55 Arnaud Quette wrote: > > I think that the '#ifdef SUN_LIBUSB' should change to "#ifndef linux" - > > it seems logical to close it before potentially reopening it and it's a > > Linux bug > > that this can cause a problem (mitigated by the fact you seem to be able

Re: [Nut-upsuser] FreeBSD usbhid-ups problem

2009-01-27 Thread Arnaud Quette
Hi Daniel, 2009/1/27 Daniel O'Connor > On Thursday 25 September 2008 17:56:43 Daniel O'Connor wrote: > > > you might want to have libusb debug trace also, to see more low level > > > things. use "export USB_DEBUG=3" before launching usbhid-ups. > > > you might also have a look at your kernel out

Re: [Nut-upsuser] FreeBSD usbhid-ups problem

2009-01-26 Thread Daniel O'Connor
On Thursday 25 September 2008 17:56:43 Daniel O'Connor wrote: > > you might want to have libusb debug trace also, to see more low level > > things. use "export USB_DEBUG=3" before launching usbhid-ups. > > you might also have a look at your kernel output for ugen to see if > > there is a problem he

Re: [Nut-upsuser] FreeBSD usbhid-ups problem

2008-09-25 Thread Arjen de Korte
Citeren "Daniel O'Connor" <[EMAIL PROTECTED]>: > usb_control_msg: 161 1 769 0 0x813310c 2 4000 > USB error: error sending control message: Input/output error > Can't retrieve Report 1: Input/output error > upsdrv_updateinfo... > Got to reconnect! > > usb_set_debug: Setting debugging level to 3 (on

Re: [Nut-upsuser] FreeBSD usbhid-ups problem

2008-09-25 Thread Daniel O'Connor
On Tue, 2 Sep 2008, Arnaud Quette wrote: > Hey there, > > 2008/8/25 Daniel O'Connor <[EMAIL PROTECTED]>: > > On Sat, 23 Aug 2008, Arjen de Korte wrote: > >> >> Are the 'usbhid-ups' (driver) and 'upsd' (server) also running > >> >> as 'nutmon'? We recommend that they run as a different user > >> >>

Re: [Nut-upsuser] FreeBSD usbhid-ups problem

2008-09-02 Thread Arnaud Quette
Hey there, 2008/8/25 Daniel O'Connor <[EMAIL PROTECTED]>: > On Sat, 23 Aug 2008, Arjen de Korte wrote: >> >> Are the 'usbhid-ups' (driver) and 'upsd' (server) also running as >> >> 'nutmon'? We recommend that they run as a different user than the >> >> 'upsmon' (client). >> > >> > They are running

Re: [Nut-upsuser] FreeBSD usbhid-ups problem

2008-08-25 Thread Daniel O'Connor
On Sat, 23 Aug 2008, Arjen de Korte wrote: > >> Are the 'usbhid-ups' (driver) and 'upsd' (server) also running as > >> 'nutmon'? We recommend that they run as a different user than the > >> 'upsmon' (client). > > > > They are running as the same user.. It shouldn't stop it working > > though, right

Re: [Nut-upsuser] FreeBSD usbhid-ups problem

2008-08-23 Thread Arjen de Korte
>> Are the 'usbhid-ups' (driver) and 'upsd' (server) also running as >> 'nutmon'? We recommend that they run as a different user than the >> 'upsmon' (client). > > They are running as the same user.. It shouldn't stop it working though, > right? No, it's just a matter of securing things. There is

Re: [Nut-upsuser] FreeBSD usbhid-ups problem

2008-08-22 Thread Daniel O'Connor
On Thu, 21 Aug 2008, Arjen de Korte wrote: > > I have this in devfs.rules -> > > add path 'ugen*' group operator mode 660 > > > > And I have a devd file in /usr/local/etc/devd/nut.conf with.. > > > > attach 100 { > > device-name "ugen[0-9]+"; > > match "vendor" "0x0463"; > >

Re: [Nut-upsuser] FreeBSD usbhid-ups problem

2008-08-21 Thread Arjen de Korte
> I have this in devfs.rules -> > add path 'ugen*' group operator mode 660 > > And I have a devd file in /usr/local/etc/devd/nut.conf with.. > > attach 100 { > device-name "ugen[0-9]+"; > match "vendor" "0x0463"; > match "product" "0x"; > action "chown nutmon: /

Re: [Nut-upsuser] FreeBSD usbhid-ups problem

2008-08-20 Thread Daniel O'Connor
On Thu, 21 Aug 2008, Charles Lepple wrote: > The following was from an email thread about a week ago: > > Marius said: > > Everything I did was adding > > perm ugen* 0660 > > own ugen* root:uucp > > perm usb* 0660 > > own usb* root:uucp > > to /etc/devfs.conf > > The default user für nut is uucp on

Re: [Nut-upsuser] FreeBSD usbhid-ups problem

2008-08-20 Thread Charles Lepple
On Wed, Aug 20, 2008 at 9:38 AM, Arjen de Korte <[EMAIL PROTECTED]> wrote: > >> Hi, >> I have an MGE Ellipse UPS connected to a FreeBSD 7.0 system and it works >> OK >> to begin with but after an hour or so it dies, eg.. >> >> Starts out OK.. >> debug level is '2' >> upsdrv_initups... >> Checking d

Re: [Nut-upsuser] FreeBSD usbhid-ups problem

2008-08-20 Thread Arjen de Korte
> Hi, > I have an MGE Ellipse UPS connected to a FreeBSD 7.0 system and it works > OK > to begin with but after an hour or so it dies, eg.. > > Starts out OK.. > debug level is '2' > upsdrv_initups... > Checking device (0463/) (/dev/usb2//dev/ugen0) > - VendorID: 0463 > - ProductID: > - M

[Nut-upsuser] FreeBSD usbhid-ups problem

2008-08-20 Thread Daniel O'Connor
Hi, I have an MGE Ellipse UPS connected to a FreeBSD 7.0 system and it works OK to begin with but after an hour or so it dies, eg.. Starts out OK.. debug level is '2' upsdrv_initups... Checking device (0463/) (/dev/usb2//dev/ugen0) - VendorID: 0463 - ProductID: - Manufacturer: MGE UPS SY