The Following 4 Users Say Thank You to Mentalist Traceur For This Useful Post: | ||
|
2012-07-23
, 15:19
|
Posts: 101 |
Thanked: 91 times |
Joined on Feb 2010
@ Dallas TX
|
#512
|
|
2012-07-23
, 15:25
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#513
|
The Following 4 Users Say Thank You to pali For This Useful Post: | ||
|
2012-07-23
, 15:37
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#514
|
|
2012-07-23
, 16:26
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#515
|
The Following 2 Users Say Thank You to pali For This Useful Post: | ||
|
2012-07-23
, 16:34
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#516
|
You can effectively eliminate act-dead by setting R&D flag '--force-power-key'.
Metalist, Pali has ALMOST eliminated the need for BME by writing a new kernel module that will take care of the USB charging controller. This used in conjunction with the bq27x00 module will allow for a BME free future.
The Following User Says Thank You to Mentalist Traceur For This Useful Post: | ||
|
2012-07-23
, 19:04
|
Posts: 101 |
Thanked: 91 times |
Joined on Feb 2010
@ Dallas TX
|
#517
|
|
2012-07-24
, 06:34
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#518
|
|
2012-07-24
, 08:25
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#519
|
!!FIRE FIRE!!
kp51 in extras-devel has bug in bq2415x_charger driver. This driver is default blacklisted. But if you load it, it is not possible to unload - it reboot device.
now I'm trying to find problem, after that new version will be pushed to extras-devel.
|
2012-07-24
, 08:27
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#520
|
Tags |
battery test, i <3 fmg, i <3 pali, igottaboner, kernel, kernel-power, viva fmg, viva pali |
|
To maintainers of this kernel, and anyone else involved in the making of the new modules and all the updates, you're awesome.
I do wish the changelog was included in the actual debian packaging, so when I'm installing the package through the package managers I can read these changes. I also wish it was stated immediately where the 'included-in-kernel-power-modules' injection drivers are located (like, I fail to see why pali didn't think to include that info in this post: http://talk.maemo.org/showpost.php?p...&postcount=445 - I figured it out by 'dpkg -L kernel-power-modules', but still). But those are minor grievances, and I am glad to see kernel-power-modules actually include the injection drivers now. On the other hand, my anal give-users-choices philosophy is kicking in and kinda wanting to argue that it would be better of users could choose to not have the drivers there unless they wanted them, but at the same time, I know the drivers are in /opt and the amount of space they take up is small anyway, so it's probably not a big deal to the vast majority of users. It's probably better for package maintenance logistics to have these modules in the kernel (power) modules package anyway.
- About replacing BME and the ACT-DEAD state -
I personally support leaving it in somewhere, and maybe introducing some way of checking/setting user preferences as to whether they want stock act-dead, framebuffer console, or normal boot (I think it's fine if this was in some obscure config file - others will code GUIs for editing these things if they wanted). I think you could accomplish this fairly easily with a shell script (/ addition to /sbin/preinit ) that, if state is ACT-DEAD, loads the minimum required drivers to power off the screen completely, unloads fbcon and dependencies if they're loaded, execute whatever the kernel-charging voodoo is needed, then upon detecting full charge, run 'shutdown', and there's your act-dead. Well, I guess normal act-dead leaves green LED on instead of shutting down, so do that instead, and add a 'shutdown after charge on act-dead' option for the shutddown version.
I would also argue for not worrying about console shell for those options because in my opinion the ideal boot console prompt would come in a single spot that all boot paths would go through - I personally like having my absurdly-early /sbin/preinit press-any-key-for-shell spot, which kicks in before it even checks the bootstate if I recall correctly, but for most users something later (when things are actually mounted) would be nicer.