**** BEGIN LOGGING AT Thu Apr 21 02:59:58 2011 Apr 21 09:22:34 Greetings, gents. Apr 21 09:23:27 I'm playing with the I2C bus on the Freerunner, I've attached some DIY hardware and I've got the communication going. But there is a problem.... Apr 21 09:24:11 Does any one know why there is a mandatory 20ms delay between read/write operations on the I2C bus, even when the slave acknowledges immediately? Apr 21 09:24:29 this is really killing my system's performance... Apr 21 09:24:48 mokomoko: hi there. I'm sorry but it's unlikely you get a response here. Apr 21 09:25:00 ok. where should I look? Apr 21 09:25:25 mokomoko: do you know about the "navigational board" for freerunner? It has some additional sensors and kernel drivers ready, you can try to look through it for the reference. Apr 21 09:25:35 mokomoko: and write an e-mail to the guy who did the drivers. Apr 21 09:25:50 (i'm not sure if it was spi or i2c...) Apr 21 09:26:01 ok... good enough. :) Thank you Paul. Apr 21 09:26:26 mokomoko: hth :) Apr 21 09:26:26 is there another IRC channel where I can go with this question? Apr 21 09:26:49 mokomoko: #openmoko-cdevel but your question is too specific i'm afraid, there's not much hardware hackers around unfortunately. Apr 21 09:27:28 mokomoko: you can try to get ahold of Werner (wpwrak) there, he had quite some fun with this stuff. Apr 21 09:27:32 yeah, I know... I bet it's just a SW-side problem or config, but it does take a HW hacker to know about it... Apr 21 09:27:53 cool, thx. Apr 21 09:28:08 mokomoko: btw, do you mean the delay comes from the kernel driver? Apr 21 09:29:35 not sure, but I bet that it does. first, it corresponds to 2 jiffies; second, there is nothing in the bus that prevents faster communication; third there is nothing in the SW that causes the delay. So it should be the kernel/driver, or the master's HW config which goes the same place. Apr 21 09:37:08 I'm using the generic file open(), ioctl(), read(), write() function from Python, which pretty much map directly onto syscalls, so it shouldn't be a Python thing, right? Obviously, I'm opening the device with zero buffering... Apr 21 10:12:14 Hi, just read about the Wikireader. It's an offline reader right? Apr 21 10:12:48 yes Apr 21 10:12:52 How is the data stored on the device in an offline state? ZIM files? Apr 21 10:13:09 It's some sort of archive of which I don't recall the details. Apr 21 10:13:28 You can put your own content on Apr 21 10:13:36 Must be either ZIM or ZENO, or is there another one? Apr 21 10:13:43 Why must it be? Apr 21 10:13:47 You mean, add content on the go? Apr 21 10:13:58 No - load on with a PC Apr 21 10:14:09 iirc they rolled their own, for maximal compressibility and indexability given their constraints Apr 21 10:14:10 Swap the SD Apr 21 10:14:14 but dunno Apr 21 10:14:17 They are the popular ones, hence. But I'd like to know. Apr 21 10:14:24 Ok. Apr 21 10:14:24 yeah - that Apr 21 10:14:39 The processor is tiny Apr 21 10:14:52 And can't cope with 'best for PC' files Apr 21 10:14:52 Yeah, a pretty awesome one too. Apr 21 10:15:14 ZIM are meant for devices usually. Apr 21 10:15:21 Of such form factor. Apr 21 10:16:01 It's not a generic content device. Apr 21 10:16:14 It's specifically meant and optimised for wikipedia. Apr 21 10:16:20 well - wiki content Apr 21 10:16:48 there is support for some text formatting, black and white images (?) and not much more Apr 21 10:17:16 Ah, okay. Apr 21 10:17:31 Oh - no images Apr 21 10:18:04 Only text? Apr 21 10:18:15 That's a bummer. Apr 21 10:18:28 It was very much designed to a price. Apr 21 10:18:47 It does what it does well, but that is looking mroe and more limited over time. Apr 21 10:19:03 Was it designed for emerging markets? Apr 21 10:19:09 No. Apr 21 10:19:30 I'm not sure who it was aimed at really. Apr 21 10:19:53 It has great battery life (for the time), and is not as flexible as a computer, with less to go wrong. Apr 21 10:20:11 gremmachook: iirc it has some support for b&w images. Apr 21 10:20:12 Some people like single purpoise devices. Apr 21 10:20:14 And math formulas Apr 21 10:20:32 PaulFertser, Just saw some screenshots.. Apr 21 10:21:25 But the hardware is somewhat left behind. Apr 21 10:21:30 http://cgi.ebay.co.uk/Mini-STM32-Board-STM32F103VCT6-3-2-LCD-Touch-Panel-JTAG-/190506664508?pt=LH_DefaultDomain_0&hash=item2c5b15023c - for example Apr 21 10:23:30 SpeedEvil, Yeah, Chinese stuff are available at such low rates. Apr 21 10:24:19 I mean more the BOM - that has to be made in fairly small quantities - and still sell at a profit Apr 21 10:24:32 But it's got all of the stuff needed for the wikireader. Apr 21 10:24:59 Also, what's the current state of the freerunner? Is it still in dev? Apr 21 10:25:09 not really Apr 21 10:25:28 These new OS's killed it. :( Apr 21 10:25:33 some third party people are making new innards for the phone under the name gta04 Apr 21 10:25:41 IMO - OM killed it. Apr 21 10:25:54 Huh? Why so? Apr 21 10:26:16 By basically not sticking to one 'OS' - and shipping it. Apr 21 10:26:49 They could have had a saleable phone for geeks with a working and stable phone stack, and GTK and little else by christmas 2007. Apr 21 10:27:04 But they went off on a lot of wild goose-chases. Apr 21 10:27:19 Aimed at making it an awesome phone for everyone. Apr 21 10:27:47 And failing to realise that the herd of elephants coming over the horizong that other phone makers were. Apr 21 10:28:15 They should have seen that really. Apr 21 10:28:49 SpeedEvil, probably fair, yes Apr 21 10:31:00 Ok, I'll try asking about the way of storage probably on the mailing list. Apr 21 10:31:18 google - the file format is out ther. Apr 21 10:31:25 It's nothing normal, it's custom. Apr 21 18:39:17 hi **** ENDING LOGGING AT Fri Apr 22 02:59:57 2011