Loading ...
Sorry, an error occurred while loading the content.

5612RE: [nslu2-general] Re: Availability of apcupsd as an unslung or openslug ipkg package?

Expand Messages
  • Rainer Minixhofer
    Dec 5, 2006
      Dear Brian, Dear Zander,

      thanks for the info, I was already trying to do a package by myself with the
      unslung target of the cross-dev. However I did a distclean by mistake and
      now I have troubles to even build the standard unslung! Anyhow, regards
      dependencies of apcupsd there has to be the hid and the hiddev module
      enabled in the kernel defconf file, to enable the functionality of the usb
      communication between the slug and the APC (I use an Back-UPS CS 350).
      This adds an dependency on these modules to the apcupsd.mk file.
      Furthermore I suceeded in compile the whole apcupsd source on my "previous"
      cross-compile environment (which seems to be broken now). The only tricky
      thing was to disable the check for the ranlib path with "ac_cv_path_RANLIB=." in
      the configure statement in the .mk file. I hope this does not break the overall
      ipkg file, but I was not able to generate the ipkg, so I could not test it.
      Furthermore I do not have an idea how to supply an working shutdown
      command on the slug. This is an problem in compiling the apcupsd natively too.
      Any comments?



      Brian Zhou <b88zhou@...> schrieb: I'm new to openembedded as well and am partial to Makefile. This is
      the best resource IMO regarding bitbake:



      --- In nslu2-general@yahoogroups.com, "mrkzander" <mark.zander@...> wrote:
      > --- In nslu2-general@yahoogroups.com, "rainer.minixhofer"
      > <rainer.minixhofer@> wrote:
      > >
      > > Hi there!,
      > >
      > > was anyone successfull in cross-compiling the apcupsd tool as an
      > > package? I would like to use my APC USV together with my slug.
      > > I now there is information on the NSLU2 Webpage on natively compiling
      > > this package, but it would be much cleaner (and less cumbersome) to
      > > have an cross-compiled package. Especially the integration of the
      > > (non-standard) hid and hiddev drivers within this package would be
      > > ideal.
      > >
      > > Kind regards,
      > >
      > > Rainer
      > >
      > Rainer,
      > I was the person who wrote the webpage based on my experiences with
      > native compiling, since that is what I know how to do best.
      > I did attempt to muddle through the Bitbake stuff in order to get it
      > packaged but at the time it was so confusing I quickely gave up. There
      > was very little documentation at the time, but I think that may have
      > changed.
      > If someone would point me off in the correct direction I would be
      > willing to package things up and every maintain it.
      > later.
      > Zander.

      Yahoo! Messenger - kostenlos* mit Familie und Freunden von PC zu PC telefonieren.

      [Non-text portions of this message have been removed]
    • Show all 4 messages in this topic