[Nut-upsuser] Belkin support?
Manuel Wolfshant
wolfy at nobugconsulting.ro
Mon Jun 1 09:13:25 UTC 2009
Charles Lepple wrote:
> On May 31, 2009, at 10:17 PM, Gene Heskett wrote:
>
>> On Sunday 31 May 2009, Charles Lepple wrote:
>>> On May 31, 2009, at 2:26 PM, Gene Heskett wrote:
>>>> I have the newest nut (nut-2.2.2-4.fc10.i386) from fedora 10 repos)
>>>> installed
>>>> and this ups (from lsusb -vv):
>>>>
>>>> Bus 001 Device 006: ID 050d:0751 Belkin Components
>>>
>>> Hi Gene,
>>>
>>> This device should be supported by the usbhid-ups driver.
>>
>> That seems not to be part of the 2.6.30-rcX kernels.
>> The current .config has:
>>
>> CONFIG_USB_HID=y
>> CONFIG_USB_HIDDEV=y
>> CONFIG_HID_BELKIN=y
>
> I should have been more specific - usbhid-ups is a user-mode driver in
> NUT. It uses libusb to kick the kernel's USB HID driver off of the
> device, and it uses /dev/bus/usb (I forget the kernel driver name) to
> speak the HID protocol.
>
>> I can probably dig out anything else that might be helpful.
>>
>>> Usually you
>>> would look this up in the data/drivers.list file, but it doesn't look
>>> like the lsusb output is terribly helpful for that (Belkin seems to
>>> change the underlying hardware while keeping the model name the same).
>>> Which model do you have?
>>>
>>> The NUT "README" file, while not specific to Fedora, should have the
>>> rest of the info needed to set this up. (Perhaps someone with Fedora
>>> 10 experience can suggest whether the "classic" driver or the HAL
>>> driver would be better.) If I had to guess, I'd say the README is in /
>>> usr/share/doc/nut.
>>>
>>> - Charles
>>
>> It might help, if it was there:
>> [root at coyote ~]# locate 'nut/README'
>> [root at coyote ~]#
>> [root at coyote ~]# cd `locate 'nut/'`
>> [root at coyote cur]# ls
>> 1243795177.4479.gANVC:2,RS 1243799859.4479.0TdwL 1243813905.4479.2izhm
the docs are in /usr/share/doc/nut-2.2.2/ . Generally speaking, in
fedora docs are usually placed in /usr/share/doc/<packagename>-<version>
and the config files are in /etc/ups not in /etc/nut
>> [root at coyote cur]# pwd
>> /root/Mail/nut/cur
>> [root at coyote cur]#
>>
>> I don't believe it exists in the rpms. Next?
use rpm -ql for a comprehensive list of the content of the rpm. BTW, I
am using FC10 myself (but with a different UPS):
[wolfy at wolfy ~]$ rpm -ql nut|grep README
/usr/share/doc/nut-2.2.2/README
/usr/share/doc/nut-2.2.2/docs/README
More information about the Nut-upsuser
mailing list