[Nut-upsdev] [PATCH] megatec_usb: add support for online yunto

Kjell Claesson kjell.claesson at epost.tidanet.se
Sun Jun 8 16:36:13 UTC 2008


Hi Alexander,

Den Sunday 08 June 2008 02.45.36 skrev Alexander I. Gordeev:
> On Sat, 07 Jun 2008 00:40:28 +0400, Axel Gembe <ago at bastart.eu.org> wrote:
> > Uses Megatec USB Phoenix Subdriver, USB Id is 06da:0002.

Hmm.. This may cause trouble in the hal enabled drivers. Check this section of 
the ups-nut-device.fdi.
-------------------------------
      <!-- Phoenixtec Power Co., Ltd -->
      <match key="usb_device.vendor_id" int="0x06da">
        <match key="usb_device.product_id" int="0x0002">
          <append key="info.category" type="string">battery</append>
          <merge key="info.capabilities" type="strlist">battery</merge>
          <merge key="info.addons" 
type="strlist">hald-addon-bcmxcp_usb</merge>
          <merge key="battery.type" type="string">ups</merge>
        </match>
      </match>
--------------------------------

It is a shame that the vendors use different protocoll with the same product 
code.

Regards
Kjell



More information about the Nut-upsdev mailing list