Active Topics

 


Reply
Thread Tools
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#891
@joerg_rw

Some questions about jrbme in kernel:

* Should be jrbme written against upstream kernel or maemo? Or both?
* Should be jrbme upstreamed?
* If it should go to upstream, what about split code into more separated modules and use standard linux interfaces (instead all in one sysfs entry)? One for watchdog which use standard linux watchdog interface, one for bq27200 chip which use power_supply interface (that already exists), one for bq bq24150 chip (use power_supply to?), maybe one for twl-madc (BSI) and last for usb host mode + glue to work all together...
* How is usb host mode working on old Nokia N8x0 tablets? Is for swithing between host mode and pheripheral mode any standard linux sysfs interface?

* Full jrbme should be BME replecament. Do somebody know what all is BME doing and what from BME can we implement?

I think that kernel module(s) should be written for upstreaming, but backported into maemo kernel too. And I think module(s) should use standard linux interface (watchog, power_supply, ...) if it is possible.
 

The Following 5 Users Say Thank You to pali For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#892
Originally Posted by pali View Post
@joerg_rw

Some questions about jrbme in kernel:

* Should be jrbme written against upstream kernel or maemo? Or both?
* Should be jrbme upstreamed?
Well, I wrote that "spec" without upstream in mind, but hoped to implement a clean platform agnostic interface that just deals with bq24150


Originally Posted by pali View Post
* If it should go to upstream, what about split code into more separated modules and use standard linux interfaces (instead all in one sysfs entry)? One for watchdog which use standard linux watchdog interface,
basically that sounds OK, but see following comments:
The watchdog is in no way a watchdog like the ones known from standard linux and also found on maemo, I.E. it won't trigger a reboot of system. So I don't think it should get implemented with a similar semantics to those, rather my idea was to mostly hide away the wd details and let kernel handle the wd-tickling usually (set wd to "auto", after config of the other parameters been done).


Originally Posted by pali View Post
one for bq27200 chip which use power_supply interface (that already exists),
bq27200 isn't included at all in this concept, it for sure should get its own "domain" (and already has, though the implementation is really problematic, see http://mg.pov.lt/maemo-irclog/%23mae...09-30T22:19:42 )


Originally Posted by pali View Post
one for bq bq24150 chip (use power_supply to?),
that's what my "spec" at http://maemo.cloud-7.de/bq24150-sysnode.spec.txt is all about. I will appreciate comments about how to improve this set of sysnodes, move it to other namespaces, whatever. It's just a 70% finished RFC (in genuine meaning of words) for now.


Originally Posted by pali View Post
maybe one for twl-madc (BSI)
I completely omitted that one, good point.


Originally Posted by pali View Post
and last for usb host mode + glue to work all together...
This would finally stay a userland task, though it had a way reduced set of duties compared to what bme does now. It however should care about BSI / twl-madc etc


Originally Posted by pali View Post
* How is usb host mode working on old Nokia N8x0 tablets? Is for swithing between host mode and pheripheral mode any standard linux sysfs interface?
it simply does "echo host >mode". Alas for N900 there are a *lot* of routines missing in kernel to make this work.


Originally Posted by pali View Post
* Full jrbme should be BME replecament. Do somebody know what all is BME doing and what from BME can we implement?
there's quite a number of obvious and not so obvious things bme does, I think I elaborated on that a bit in original "why jrbme is dead" post linked to in my first post of this subthread. Also speedevil and shadowjk will have some valuable info on that, please contact them on IRC. Main thing is the IPC that provides battery status info to hald-addon-bme, which can't go to kernel for obvious reasons. You'll either need to patch hald-addon-bme to directly read the sysnodes rather than do IPC chat to bme, or you implement that IPC into the userland part I mentioned above.


Originally Posted by pali View Post
I think that kernel module(s) should be written for upstreaming, but backported into maemo kernel too. And I think module(s) should use standard linux interface (watchog, power_supply, ...) if it is possible.
well, I hope I was clear enough about it in above comments, so you know I basically agree or don't care, except where noted otherwise (watchdog) :-)

Many thanks for picking this topic up and caring about it.

cheers
jOERG
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following 5 Users Say Thank You to joerg_rw For This Useful Post:
adelalgomai's Avatar
Posts: 54 | Thanked: 47 times | Joined on Oct 2011 @ Yemen
#893
Originally Posted by joerg_rw View Post
please take a big stone and adjust backside of N900
what the hell are u ??
don't be so proud ,, if u have some information about something, that doesn't mean u are the best or u are better than others who don't know those information. the good man and who have real knowledge always serve others and provide them his knowledge with no proud , so if u really know something about this issue and h-e-n come and brighten us , or just shut up and watch like others ..

sorry but i had to say that cause I really felt angry ....
and I actually have the same problem and I cannot solve it ..
Attached Images
 
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#894
Originally Posted by adelalgomai View Post
what the hell are u ??
don't be so proud ,, if u have some information about something, that doesn't mean u are the best or u are better than others who don't know those information. the good man and who have real knowledge always serve others and provide them his knowledge with no proud , so if u really know something about this issue and h-e-n come and brighten us , or just shut up and watch like others ..

sorry but i had to say that cause I really felt angry ....
and I actually have the same problem and I cannot solve it ..
baby, I just have to post a link to answer: http://talk.maemo.org/showpost.php?p...&postcount=465

EDIT:
post number ONE in this very thread:
To install:
Install hostmode-gui from -devel, the package depends on kernel-feature-usbhost, so it should be compatible with any kernel that provides this (in debian/control), kernel-power provides this, and therefore, if no other kernel that does provide it is supported, it will be installed.

The GUI now checks for API version instead of kernel version, with the latest API being 20101110, also in kernel-power.
Post #9 this very thread:
Until Mohammad updates the info in #1: We are not shipping a dedicated hostmode kernel anymore with h-e-n GUI. You are supposed to install kernel-power v45 (or newer), which has hostmode patches integrated. Installing h-e-n won't do that for you. Please refer to kernel-power howto and readme and FAQ, for details on how to install and how to remove this non-stock kernel.
Though I doubt it will be any more visible when I quote it here than it was on the original posts :-S
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2011-10-25 at 19:12.
 

The Following 6 Users Say Thank You to joerg_rw For This Useful Post:
K9999's Avatar
Posts: 168 | Thanked: 116 times | Joined on Mar 2011 @ Malaysia
#895
Originally Posted by adelalgomai View Post
what the hell are u ??
don't be so proud ,, if u have some information about something, that doesn't mean u are the best or u are better than others who don't know those information. the good man and who have real knowledge always serve others and provide them his knowledge with no proud , so if u really know something about this issue and h-e-n come and brighten us , or just shut up and watch like others ..

sorry but i had to say that cause I really felt angry ....
and I actually have the same problem and I cannot solve it ..
have u upgraded ur power kernel mate? sorry I can't read all posts to trace ur problem. what is it u haven't done?
 
Posts: 306 | Thanked: 566 times | Joined on Jan 2010 @ Romania
#896
Originally Posted by adelalgomai View Post
what the hell are u ??
..............
so if u really know something about this issue and h-e-n come and brighten us , or just shut up and watch like others ..

sorry but i had to say that cause I really felt angry ....
shame on you.
writing that is like howl to steve jobs because you are unable to search and understand how to install an iphone application.
joerg is h-e-n admin and spent a lot of his time pushing this project to a final solution and he is tired and saturated saying " search first "

ban yourself.

Last edited by blue_led; 2011-10-25 at 19:52.
 

The Following 9 Users Say Thank You to blue_led For This Useful Post:
adelalgomai's Avatar
Posts: 54 | Thanked: 47 times | Joined on Oct 2011 @ Yemen
#897
Sorry juys if my words were rough and impolite .. I just was in a bad situation and by chance I saw the reply of mr Joerg , so I just posted my reply .. I really feel sorry and I hope that mr Joerg and all juys accept my apologies ..I'm a new member here , so I don't want to start with fighting .
 
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#898
There was a way to feed a USB device without consuming battery N900. Can you tell me how or a link to the explanation?

Thank you.
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#899
Originally Posted by WhiteWolf View Post
There was a way to feed a USB device without consuming battery N900. Can you tell me how or a link to the explanation?

Thank you.
http://talk.maemo.org/showthread.php...203#post921203
btw I hope I've not missed to link to it in post #9 :-)

ultra-terse howto: get charge.sh from ShadowJK, install so you can execute it.
do:
start H_E_N, select speed
only *now* apply external VBUS
*now* immediately click vboost in H_E_N
enum, mount, etc
now do boostoff; charge.sh

to end: kill charge.sh, then close H_E_N



cheers
/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2011-11-23 at 15:34.
 

The Following 3 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 306 | Thanked: 566 times | Joined on Jan 2010 @ Romania
#900
work in progress: hostmode script "click and use" with :
-no gui
-automatic speed
-status area icon
-automatic mount for removable media( hdd, sticks, cdrom )
-a lot of transition notifications

to do
automatic host-charging mode

bug
when active flashlight don't work

stay tuned !
 

The Following 16 Users Say Thank You to blue_led For This Useful Post:
Reply

Tags
bada rox, detection, h-e-n, hostmode, speed, usb host


 
Forum Jump


All times are GMT. The time now is 13:17.