View Single Post
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#396
Originally Posted by debernardis View Post
Since the h-e-n project doesn't provide any more its own kernel but advices to use the latest Titan's power kernel, I imagine that any issue concerning usb and power kernel could be of interest to the h-e-n developers.
sure it is, many thanks
Originally Posted by debernardis View Post

EDIT: while experimenting more, I have reinstalled kernel power ver 46 and connected the power supply before connecting an host computer via usb. This time mass storage gets on.
Is it possible that power supply "primes" the usb interface to work as expected?
I'll experiment more and report.
Sure this is possible. Most recent powerkernel (also 45?) reverts a patch Nokia implemented into 1.3: https://garage.maemo.org/plugins/ggi...63106c4#patch9
+ * Fixes: NB#161191 - Rover does not differentiate charging downstream port
+ from dedicated charger
This is the CPU-hog that locks N900 @ 500MHz even while on wallcharger. (N900 thinks it's connected to a host instead a charger). If this isn't reverted properly, it sounds reasonable it might not notice host anymore, unless previously connected to a charger.

Please report about it to titan (powerkernel maintainer)

[edit]
for forcing back into device mode you may try two things:
enable vboost for a short moment, while bme still running.
try to force device into b_idle state, reset hub, dunno what else. For the whole wealth of available cmds do a
Code:
tail -f /var/log/syslog&
cat >/proc/driver/musb_hdrc
?
also a cat /proc/driver/musb_hdrc to check actual state might be informative, and will help to debug the issue (sorry, I can't duplicate it right at the moment)
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

Last edited by joerg_rw; 2010-11-19 at 08:09.
 

The Following 5 Users Say Thank You to joerg_rw For This Useful Post: