Share

Barry

Tracker: Patches

5 bcharge: make it see 0x0004 - ID: 1678400
Last Update: Comment added ( ndprojects )

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


troy engel ( tengel ) - 2007-03-11 17:54

5

Closed

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2007-03-16 20:27
Sender: ndprojectsProject Admin


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 comment.

Attached File ( 1 )

Filename Description Download
bcharge-04ctl.patch Download

Changes ( 3 )

Field Old Value Date By
status_id Open 2007-03-16 20:27 ndprojects
close_date - 2007-03-16 20:27 ndprojects
File Added 219871: bcharge-04ctl.patch 2007-03-11 17:54 tengel