Menu

#12 bcharge: make it see 0x0004

closed
nobody
None
5
2007-03-16
2007-03-11
tengel
No

The current bcharge will see 0x0006 when first plugged in and reset it to 0x0004, but subsequent runs of bcharge won't see the new 0x0004 and report it's status.

This patch adds two lines to bcharge.cc, a define for 0x0004 and an OR case in the main loop to allow it to find 0x0004 devices and report their status.

Patch against CVS 2007-03-11 10:50 PST

Discussion

  • tengel

    tengel - 2007-03-11
     
  • Net Direct Inc.

    Net Direct Inc. - 2007-03-16
    • status: open --> closed
     
  • Net Direct Inc.

    Net Direct Inc. - 2007-03-16

    Logged In: YES
    user_id=1388245
    Originator: NO

    I've implemented this in a different way, and made bcharge more flexible to switch between 0004 and 0001 without unplugging, so this patch was not directly applied, but used as inspiration. :-)

    Thanks!
    - Chris

     

Log in to post a comment.