Hi. I'm from Russia. I try to use NUT with PowerWalker vi 400 se (usb). I use FreeBSD 7.0 (amd64) and megatec_usb driver. Settingup the NUT with FreeBSD installation procedure (Thierry Thomas, from FreeBSD). PowerWalker connect to the computer by usb cable on port usb0 (uhib0). NUT don't starting, and talk to me that supporting device not found. Please, help me. Thank's! With best regards! --- Nick mailto:negativenick at gmail.com
On Thu, Jul 3, 2008 at 12:27 PM, ?????? ?????? <nick at uploader.ru> wrote:> Hi. > I'm from Russia. > I try to use NUT with PowerWalker vi 400 se (usb). > I use FreeBSD 7.0 (amd64) and megatec_usb driver. > Settingup the NUT with FreeBSD installation procedure (Thierry Thomas, from FreeBSD).Can you point us to the procedure that you followed? -- - Charles Lepple
[Please keep the list CC'd. Thanks.] On Jul 3, 2008, at 2:36 PM, ?????? ?????? wrote:> ????????????, Charles. > > ?? ?????? 3 ???? 2008 ?., 22:14:59: > >> On Thu, Jul 3, 2008 at 12:27 PM, ?????? ?????? >> <nick at uploader.ru> wrote: >>> Hi. >>> I'm from Russia. >>> I try to use NUT with PowerWalker vi 400 se (usb). >>> I use FreeBSD 7.0 (amd64) and megatec_usb driver. >>> Settingup the NUT with FreeBSD installation procedure (Thierry >>> Thomas, from FreeBSD). > >> Can you point us to the procedure that you followed? > > > 1. > install with usb support > cd /usr/ports/sysutils/nut/ && make install clean > > 2. > edit rc.conf > nut_enable="YES" > nut_upslog_enable="YES" > nut_upsmon_enable="YES" > > 3. > ups.conf > [ups_name] > driver = megatec_usb > port = /dev/usb0 > 4. > cp upsd.conf.sample upsd.conf > > 5. > upsd.users > # Supervision user > [admin] > password = mypass > allowfrom = localhost > actions = SET > instcmds = ALL > > # Protection user > [monuser] > password = mypass > allowfrom = localhost > upsmon master > 6. > upsmon.conf > MONITOR ups_name at localhost 1 monuser mypass master > > 7. > devfs.rules > [nut_usb=10] > #and I try [nut_usb=01] or [nut_usb=0] or [nut_usb=00] because i dont > #understand what is it.I am not too familiar with devfs, but "10" may just be a priority here.> add path 'uhib0' group wheel user uucp mode 0660The device name should be 'uhid0'. After you plug in the UPS, what does 'ls -l /dev/uhid0' say?> devfs.conf > perm usb0 0660 > own usb0 root:uucp > > 8. > rc.conf add > devfs_system_ruleset="nut_usb" > > restart devfs: /etc/rc.d/devfs restart > > 9. > Start > /usr/local/etc/rc.d/nut start > > No support device found...Is this procedure listed online somewhere? Or is it part of the ports collection? -- Charles Lepple clepple at gmail
Le Sam 12 jul 08 ? 8:00:29 +0200, Nick <n.ck at mail.ru> ?crivait?:> Hi, Thierry.Hello, [List & Arnaud Cc'ed]> > I don't know this PowerWalker; could you please report what is displayed > > on the console when you plug the device? > > > Regards, > > Thanks for reply! > When I plug the device on console displayed: > uhid0: Cypress Semiconductor USB to Serial, rev 1.10./0.02, addr 2, iclass 3/0This is the problem: your UPS unit is not detected, the system only detects a USB to Serial device on uhid0. Could you please describe your device? Can you plug it in a serial port or directly in a USB socket? Regards, -- Th. Thomas.
On Mon, Jul 21, 2008 at 1:07 AM, Nick <n.ck at mail.ru> wrote:> ????????????, Charles. > > ?? ?????? 21 ???? 2008 ?., 7:07:22: >> Nick, > >> not sure if you already got this working or not, but libusb-based >> packages such as NUT can't work with uhid* device nodes - you need to >> either de-configure the uhid driver (in FreeBSD, I think a separate >> driver handles USB/HID keyboard and mouse) or blacklist that specific >> USB VID/PID combination. When it is configured correctly, the UPS will >> be claimed by the ugen driver. > > > Thanks for reply! > How can I configure it?http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html or http://www.freebsd.org/doc/ru/books/handbook/kernelconfig.html -- - Charles Lepple