![]() |
2014-10-27
, 21:31
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#52
|
![]() |
2014-10-27
, 22:31
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#53
|
What do you mean by broke the N900 power button functionality? When I press power button on my N900 with E19 + systemd, it's offer me to poweroff. E19 input settings recognize N900 power button as XF86PowerOff, and you can set action on this key at input settings as well as at ACPI settings too.
![]() |
2014-10-27
, 23:45
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#54
|
I think I know why the battery monitor doesn't work.
For comparison my netbook:Notice the key POWER_SUPPLY_CHARGE_NOW which is used to determine the current charge of the battery:Code:$ cat /sys/class/power_supply/BAT0/uevent POWER_SUPPLY_NAME=BAT0 POWER_SUPPLY_STATUS=Discharging POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_TECHNOLOGY=Li-ion POWER_SUPPLY_CYCLE_COUNT=0 POWER_SUPPLY_VOLTAGE_MIN_DESIGN=8400000 POWER_SUPPLY_VOLTAGE_NOW=7500000 POWER_SUPPLY_CURRENT_NOW=1192000 POWER_SUPPLY_CHARGE_FULL_DESIGN=6580000 POWER_SUPPLY_CHARGE_FULL=4194000 POWER_SUPPLY_CHARGE_NOW=3337000 POWER_SUPPLY_CAPACITY=79 POWER_SUPPLY_CAPACITY_LEVEL=Normal POWER_SUPPLY_MODEL_NAME=901 POWER_SUPPLY_MANUFACTURER=ASUS POWER_SUPPLY_SERIAL_NUMBER=On the N900 (on battery) I get this:Code:$ cat /sys/class/power_supply/BAT0/charge_now 3237000POWER_SUPPLY_CHARGE_NOW is missing so the battery monitor has no way to determine the current charge of the battery:Code:$ cat /sys/class/power_supply/bq27200-0/uevent POWER_SUPPLY_NAME=bq27200-0 POWER_SUPPLY_STATUS=Discharging POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_VOLTAGE_NOW=4012000 POWER_SUPPLY_CURRENT_NOW=307912 POWER_SUPPLY_CAPACITY_LEVEL=Normal POWER_SUPPLY_TEMP=311 POWER_SUPPLY_TECHNOLOGY=Li-ion POWER_SUPPLY_CHARGE_FULL_DESIGN=2056320 POWER_SUPPLY_CYCLE_COUNT=22 POWER_SUPPLY_POWER_AVG=315818("No data available")Code:$ cat /sys/class/power_supply/bq27200-0/charge_now cat: /sys/class/power_supply/bq27200-0/charge_now: Keine Daten verfügbar
root@debian900:~# cat /sys/class/power_supply/bq27200-0/charge_now 406444 root@debian900:~# cat /sys/class/power_supply/bq27200-0/uevent POWER_SUPPLY_NAME=bq27200-0 POWER_SUPPLY_STATUS=Discharging POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_VOLTAGE_NOW=3615000 POWER_SUPPLY_CURRENT_NOW=270249 POWER_SUPPLY_CAPACITY=44 POWER_SUPPLY_CAPACITY_LEVEL=Normal POWER_SUPPLY_TEMP=276 POWER_SUPPLY_TIME_TO_EMPTY_NOW=5400 POWER_SUPPLY_TIME_TO_EMPTY_AVG=5040 POWER_SUPPLY_TECHNOLOGY=Li-ion POWER_SUPPLY_CHARGE_FULL=915526 POWER_SUPPLY_CHARGE_NOW=406087 POWER_SUPPLY_CHARGE_FULL_DESIGN=2056320 POWER_SUPPLY_CYCLE_COUNT=114 POWER_SUPPLY_ENERGY_NOW=1322760 POWER_SUPPLY_POWER_AVG=243311 POWER_SUPPLY_HEALTH=Good
Should I?
Both, my regular device and the testing device (runing latest CSSU thumb) use rx51_battery.
![]() |
2014-10-28
, 02:56
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#55
|
Edit:
Is there a way to give regular users write permissions to /sys/class/backlight/acx565akm/brightness
# chmod +s /usr/lib/enlightenment/utils/enlightenment_backlight
The Following 4 Users Say Thank You to wicket For This Useful Post: | ||
![]() |
2014-10-28
, 23:08
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#56
|
What kernel are you using under Debian? charge_now is available for me with 3.16-rc1 and 3.17 kernels and I've just noticed the the battery level widget is actually working in E17.
This should just be a matter of enabling CONFIG_RFKILL in the kernel config file. If you try it and it works, report here and I'll enable it in build_kernel.sh.
CONFIG_RFKILL=1 CONFIG_RFKILL_REGULATOR=m
nice $NICENESS make -j $JOBS rx51_defconfig
I got the brightness working in E17 as a regular user:
Code:# chmod +s /usr/lib/enlightenment/utils/enlightenment_backlight
![]() |
2014-10-28
, 23:15
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#57
|
Should I?
Both, my regular device and the testing device (runing latest CSSU thumb) use rx51_battery.
You need both. bq27x00_battery is for the battery monitor chip. In Debian, both are loaded by default.
The Following User Says Thank You to Estel For This Useful Post: | ||
![]() |
2014-11-03
, 06:32
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#58
|
The Following 7 Users Say Thank You to Estel For This Useful Post: | ||
![]() |
2014-11-03
, 06:46
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#59
|
I wonder if this:
http://talk.maemo.org/showpost.php?p...&postcount=134
...might help to have fully working call functionality under Debian? Or at least sound without problems?
Sure, it's not yet fully functional ALSA without pulseaudio crapware altogether, but at least the Nokia pulseaudio bits solved would be still a huge step forward.
/Estel
The Following 13 Users Say Thank You to freemangordon For This Useful Post: | ||
![]() |
2014-11-08
, 19:48
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#60
|
![]() |
Tags |
debian, debian900, devuan, maemo 7 |
Thread Tools | |
|
/Estel
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
Last edited by Estel; 2014-10-27 at 19:52.