View Single Post
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#223
Just to keep you updated: We're experimenting with PR1.3 kernel, 2 different versions. One with SarahN's and Mohammad's and my patches, the other one a complete "rewrite from scratch" based on stock kernel and doing "the right thing" by PaulFertser.
Results are quite promising. Paul got first connects and ENUM fails (whitelist etc foo, as usual) with his shiny new version.
Keep fingers crossed we'll not run in roadblockers again :-D

[edit]Mohammad has confirmed hostmode basically working in Paul's kernel. "Stop bme; Echo host >mode; start vboost; echo F >/proc/driver/musb_hdrc;". Even works for multiple connects without booting, when properly reverted. We'll sort out things like whitelist, force_session (F), FS/HS/LS auto-detect etc during the next days[/edit]
[edit2]untested first take, so you might get the picture more easily: http://pastebin.com/NgDufWej[/edit2]
[edit3]
[2010-10-31 11:09:05] <PaulFertser> It's Nokia who ****ed up the WHITELIST functionality!
[2010-10-31 11:11:51] <PaulFertser> It works as advertised in the mainline but nokia decided that's not good enough for them and screwed it up without changing the docs even.
[2010-10-31 11:28:59] <PaulFertser> [ 215.335906] generic-usb 0003:04D9:1702.0001: input: USB HID v1.10 Keyboard [ USB Keyboard] on usb-musb_hdrc-1/input0
[2010-10-31 11:29:34] <PaulFertser> (the latest commit to git makes the kernel without whitelist behave)
[2010-10-31 11:33:14] <PaulFertser> This keyboard is actually low-speed and autodetection doesn't work yet.
[2010-10-31 11:34:49] <PaulFertser> But i can type on it etc.
[2010-10-31 11:35:43] <SpeedEvil> you mean you force low-speed somehow?
[2010-10-31 11:37:47] <PaulFertser> SpeedEvil: yes, the only difference of my local tree comparing to h-e-naul-experimental is a 2-lines patch to force low-speed.
[2010-10-31 11:39:10] <PaulFertser> And after i did boostoff, hostoff, start bme, i could connect it to my laptop all right.
[2010-10-31 11:41:43] <PaulFertser> And to a charger as well (though it required another restart of bme, probably that's my "tweak" to twl4030, not sure).
[2010-10-31 11:44:28] <PaulFertser> So heh, i get first really working hostmode here (with my own patches)
[/edit3]

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-10-31 at 11:52.
 

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