diff options
Diffstat (limited to 'community/ibam/ibam-0.5.2-sysfs.patch')
-rw-r--r-- | community/ibam/ibam-0.5.2-sysfs.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/community/ibam/ibam-0.5.2-sysfs.patch b/community/ibam/ibam-0.5.2-sysfs.patch deleted file mode 100644 index d9d73f924..000000000 --- a/community/ibam/ibam-0.5.2-sysfs.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -wbBur ibam-0.5.2/ibam.inl ibam-0.5.2.my/ibam.inl ---- ibam-0.5.2/ibam.inl 2009-03-09 16:53:20.000000000 +0000 -+++ ibam-0.5.2.my/ibam.inl 2011-03-24 19:41:32.000000000 +0000 -@@ -959,7 +959,13 @@ - acpi.close(); - apm = new acpi_status(); - } else { -+ sysfs.open((sysfs_path+"/BAT0/charge_full").c_str()); -+ if(!sysfs.is_open()) { - sysfs.open((sysfs_path+"/BAT1/charge_full").c_str()); -+ } -+ if(!sysfs.is_open()) { -+ sysfs.open((sysfs_path+"/BAT2/charge_full").c_str()); -+ } - if(sysfs.is_open()) { - #ifdef IBAM_DEBUG - cout << "using sysfs" << endl; |