*** nox- has joined #maemo-ssu | 00:00 | |
*** dos11 has joined #maemo-ssu | 00:11 | |
*** dos1 has quit IRC | 00:14 | |
*** tg has quit IRC | 00:15 | |
*** Vlad_on_the_road has quit IRC | 00:18 | |
*** discopig has quit IRC | 00:23 | |
*** tg has joined #maemo-ssu | 00:24 | |
*** discopig has joined #maemo-ssu | 00:34 | |
*** amizraa has quit IRC | 00:54 | |
*** amizraa has joined #maemo-ssu | 00:56 | |
*** M4rtinK has joined #maemo-ssu | 01:09 | |
*** LauRoman has quit IRC | 01:17 | |
*** NIN101 has quit IRC | 01:57 | |
*** sunny_s has quit IRC | 02:04 | |
*** Pali has quit IRC | 02:20 | |
*** Martix has quit IRC | 02:26 | |
*** dos11 is now known as dos1 | 03:05 | |
*** M4rtinK has quit IRC | 03:10 | |
*** dos1 has quit IRC | 03:30 | |
*** nox- has quit IRC | 03:47 | |
*** jonwil has joined #maemo-ssu | 04:06 | |
*** LaoLang_cool has joined #maemo-ssu | 05:00 | |
*** amiconn has quit IRC | 05:04 | |
*** amiconn_ has joined #maemo-ssu | 05:04 | |
*** amiconn_ is now known as amiconn | 05:04 | |
jonwil | http://wiki.maemo.org/Porting/Cellular_Modem | 05:55 |
---|---|---|
*** LaoLang_cool has joined #maemo-ssu | 06:06 | |
LaoLang_cool | hello | 06:06 |
LaoLang_cool | anyone use fetchmail on maemo? | 06:06 |
LaoLang_cool | I'm looking for maemo's version of fetchmail | 06:07 |
jonwil | I dont think fetchmail has been ported to maemo | 06:11 |
LaoLang_cool | jonwil: oh... | 06:12 |
LaoLang_cool | thanks, I think maybe someone has compiled it for maemo | 06:13 |
*** LaoLang_cool has quit IRC | 06:19 | |
*** jonwil has quit IRC | 08:03 | |
*** dhbiker has quit IRC | 08:20 | |
*** dhbiker has joined #maemo-ssu | 08:34 | |
*** oldtopman has quit IRC | 09:26 | |
*** LauRoman has joined #maemo-ssu | 09:44 | |
*** Pali has joined #maemo-ssu | 09:44 | |
*** arcean has joined #maemo-ssu | 09:45 | |
*** arcean has quit IRC | 10:40 | |
*** nedko has quit IRC | 10:47 | |
*** arcean has joined #maemo-ssu | 10:48 | |
*** nedko has joined #maemo-ssu | 10:48 | |
*** LauRoman has quit IRC | 10:50 | |
*** arcean has quit IRC | 10:53 | |
*** arcean has joined #maemo-ssu | 10:54 | |
sixwheeledbeast | Put a quick stub on the wiki at wmo/porting to navigate between the porting pages easier. Also added some categories. | 10:56 |
*** Vlad_on_the_road has joined #maemo-ssu | 10:58 | |
*** amiconn has quit IRC | 11:12 | |
*** NIN101 has joined #maemo-ssu | 11:27 | |
*** amizraa4 has joined #maemo-ssu | 11:33 | |
*** amizraa has quit IRC | 11:37 | |
*** Vlad_on_the_road has quit IRC | 11:58 | |
*** Vlad_on_the_road has joined #maemo-ssu | 11:58 | |
*** Vlad_on_the_road has joined #maemo-ssu | 12:00 | |
*** LaoLang_cool has joined #maemo-ssu | 12:09 | |
*** jonwil has joined #maemo-ssu | 12:17 | |
*** amiconn has joined #maemo-ssu | 12:17 | |
jonwil | hi | 12:24 |
*** amiconn has joined #maemo-ssu | 12:26 | |
sixwheeledbeast | lo | 12:27 |
sixwheeledbeast | jonwil: <<(08:56:55) sixwheeledbeast: Put a quick stub on the wiki at wmo/porting to navigate between the porting pages easier. Also added some categories.>> | 12:28 |
jonwil | ok, great :) | 12:28 |
jonwil | I think the # of packages that will need stuff done to them for the Neo900 is not as big as I thought it would be | 12:30 |
jonwil | The hardest part will be the cellular modem stuff | 12:31 |
freemangordon | jonwil: great job :) | 12:43 |
*** Vlad_on_the_road has quit IRC | 12:47 | |
*** Vlad_on_the_road has joined #maemo-ssu | 12:54 | |
*** arcean_ has joined #maemo-ssu | 13:00 | |
*** arcean has quit IRC | 13:02 | |
sixwheeledbeast | Any objections to new http://wiki.maemo.org/Porting/Cellular_Modem layout can rollback if so? | 13:06 |
jonwil | looks good to me | 13:10 |
sixwheeledbeast | :) it a bit easier to read IMO | 13:11 |
sixwheeledbeast | s/it/it's | 13:11 |
jonwil | yewah | 13:12 |
jonwil | yewah | 13:12 |
jonwil | yeh | 13:12 |
jonwil | yeah | 13:12 |
jonwil | :) | 13:12 |
*** bsdmaniak has joined #maemo-ssu | 13:15 | |
*** Martix has joined #maemo-ssu | 13:24 | |
Pali | freemangordon: look at my patches for ke-recv: https://gitorious.org/community-ssu/pali-ke-recv/commits/master | 13:27 |
Pali | I reverted more commits and implemented multipartition support again and reused your code | 13:27 |
*** janemba has left #maemo-ssu | 13:40 | |
*** bsdmaniak has quit IRC | 13:49 | |
*** bsdmaniak has joined #maemo-ssu | 13:55 | |
*** DrCode has quit IRC | 14:04 | |
*** piscodig has joined #maemo-ssu | 14:05 | |
*** discopig has quit IRC | 14:06 | |
*** thedead1440 has quit IRC | 14:07 | |
*** thedead1440_ has joined #maemo-ssu | 14:07 | |
sixwheeledbeast | Pali: I have been told KP fixes the issue where stock maemo bootup causes uSD card to locate at mmc0. Is this correct? | 14:11 |
Pali | order of mmc devices in maemo and also in upstream kernel is random | 14:11 |
Pali | real name is later configured by udev | 14:12 |
Pali | kernel-power has patch which allocate mmc0 only for internal eMMC | 14:12 |
Pali | so when SD card is initializing it will always get num 1 | 14:13 |
sixwheeledbeast | So what would be the "correct" or "best" way to depend on this? | 14:13 |
Pali | but just to note, this is not issue in kernel... kernel assign first available number for first device which ask for it | 14:14 |
Pali | any other policy operations is up to userspace --> udev | 14:14 |
Pali | sixwheeledbeast: so which problem do you have? | 14:15 |
Pali | udev which setting correct mmc number is starting before maemo gui | 14:15 |
sixwheeledbeast | flopswap uses fixed locations for swap spaces 1p2 and 1p3 due to the way it flip-flops in the script. an issue obviously appears without kp installed. | 14:17 |
Pali | and when is flopswap started? before udev? | 14:18 |
Pali | then it should care about numbers! | 14:18 |
*** DrCode has joined #maemo-ssu | 14:18 | |
Pali | and what is flopswap doing? | 14:19 |
sixwheeledbeast | started? it not that clever. | 14:19 |
sixwheeledbeast | scripts that swapon/swapoff partitions. the only thing that started is an option to add upstart script to put swap on 1p2 at start. | 14:21 |
kerio | just use LABEL=foo | 14:21 |
kerio | it's a solved problem | 14:21 |
*** dos1 has joined #maemo-ssu | 14:22 | |
Pali | use blkd for locating swap partitions | 14:22 |
kerio | or, you know, use the LABEL directive | 14:22 |
Pali | cssu-devel generating swaps in /etc/fstab from blkid output | 14:22 |
Pali | and it can be configured to add also swaps from SD card paritions | 14:22 |
Pali | hardcoding any paths is BAD | 14:23 |
Pali | even maemo ke-recv can use MyDocs if eMMC is mmc1 | 14:24 |
sixwheeledbeast | ok i see I will have to look at doing that then. I understand hardcoding it not ideal but I 'm still learning | 14:24 |
Pali | sixwheeledbeast: you should use only swap partitions specified in /etc/fstab | 14:25 |
Pali | swapon/swapoff use them | 14:25 |
FatPhil | DocScrutinizer05: my irc window closed, but I found the meeting proceedings on the website. | 14:26 |
sixwheeledbeast | so i need to modify scripts to get locations from /etc/fstab | 14:27 |
FatPhil | if you want someone local to finland, or a natve english speaker, I can be that person (even though I go back to Estonia soon, it's not a long trip) | 14:29 |
DocScrutinizer05 | ((<jonwil> ... # of packages that will need stuff done...not as big. The hardest part will be the cellular modem stuff)) I'm really happy to see you are 100% in line with my own estimation regarding this :-) \o/ | 14:37 |
DocScrutinizer05 | FatPhil: thanks! much appreciated. | 14:38 |
*** piscodig is now known as bromide | 14:38 | |
*** Vlad_on_the_road has quit IRC | 14:43 | |
DocScrutinizer05 | FatPhil: I think we hardly could find anybody better qualified to draft or review such a letter to Nokia, knowing their "mentality", with perfect English, and even a background that helps with some internals that mere mortals are for sure not aware of. If you're willing to help council (+HiFo) to write such a letter/mail to Nokia asking/offering about managing sourcecode of maemo for them, we might actually have a small chance that | 14:49 |
DocScrutinizer05 | this will fly | 14:49 |
*** arcean_ has quit IRC | 14:50 | |
DocScrutinizer05 | If otoh you say it's futile effort, we for sure should reconsider that idea | 14:51 |
jonwil | DocScrutinuizer05: The GPS will be the other hard part :) | 14:54 |
jonwil | And a few smaller parts like MCE | 14:54 |
DocScrutinizer05 | yep, exactly | 14:54 |
DocScrutinizer05 | GPS is low prio, MCE is a MUST HAVE | 14:55 |
DocScrutinizer05 | IOW GPS we can make all FOSS apps work, even when switching to completely different API | 14:56 |
DocScrutinizer05 | (though that's not really the idea behind FP) | 14:57 |
jonwil | btw it is my view that we should set the goal of doing things such that we dont need to touch telepathy-ring, rtcom-call-ui or rtcom-messaging-ui at all. | 14:59 |
DocScrutinizer05 | but we can jerry-build sth that kinda works, even with a thin compatibility layer above gypsy | 14:59 |
DocScrutinizer05 | yes, absolutely | 15:00 |
FatPhil | having stuff written down on paper is the best way of knowing what the territory really is. If they reply with contradictions, that leaves room for further approaches. | 15:01 |
DocScrutinizer05 | for modem we could start development on N900 with UMTS-USB-modem attached via H-E-N | 15:02 |
jonwil | for GPS the way to go now that I look at it is to figure out what com.nokia.location.* does and implement that on top of the the new GPS hardware | 15:03 |
DocScrutinizer05 | ...which will not give us proper audio most likely, but we can test everything else - like call setup, answer, hold, end. Data/GPRS | 15:03 |
DocScrutinizer05 | etc | 15:03 |
DocScrutinizer05 | jonwil: please consider using FSO wherever possible | 15:04 |
jonwil | if FSO has a GPS stack, adding support to it to spit out com.nokia.location.* seems like the way to go | 15:05 |
DocScrutinizer05 | jonwil: we have some great support/knowhow regarding FSO in openmoko community ;-) | 15:05 |
DocScrutinizer05 | FSO is using gypsy for GPS | 15:05 |
DocScrutinizer05 | freedesktop.org | 15:05 |
dos1 | but gypsy API is only implemented in python implementation (frameworkd) | 15:06 |
DocScrutinizer05 | ooh? | 15:06 |
DocScrutinizer05 | why that? | 15:06 |
jonwil | btw if by some miracle we CAN get more source code out of Nokia but cant get everything for some reason, I have a wishlist of about 10 packages where having source would be of use and another 10-15 where having docs/info would be of use :) | 15:06 |
DocScrutinizer05 | (not that it matters too much) | 15:06 |
*** arcean_ has joined #maemo-ssu | 15:06 | |
dos1 | in cornucopia, there's no dedicated GPS API implemented by FSO | 15:07 |
dos1 | and there's some gpsd integration in fsotdld | 15:07 |
dos1 | DocScrutinizer05: well, I'm not sure. I remember that mickeyl had some reason behind it, but I don't remember what it was | 15:07 |
DocScrutinizer05 | have you "seen" him during the last weeks? | 15:08 |
dos1 | nope | 15:09 |
DocScrutinizer05 | his help would be an *invaluable* benefit to FPTF | 15:09 |
dos1 | I guess direct e-mail would be the only way to contact him right now | 15:09 |
DocScrutinizer05 | will you do or shall I...? | 15:09 |
dos1 | basing on latest post on his blog | 15:09 |
DocScrutinizer05 | *nod* | 15:09 |
DocScrutinizer05 | we at very least should let him know about Neo900, FPTF, and our plans to base that on FSO where possible | 15:10 |
dos1 | DocScrutinizer05: maybe you, I already wasted too much time not learning to exams soon :x | 15:11 |
DocScrutinizer05 | any help from his side highly appreciated | 15:11 |
DocScrutinizer05 | k, another point on my ToDo list | 15:11 |
DocScrutinizer05 | ~seen mickeyl | 15:11 |
infobot | mickeyl <~mickey@openmoko/coreteam/mickey> was last seen on IRC in channel #openmoko-cdevel, 373d 21h 27m 33s ago, saying: 'hi, btw.'. | 15:11 |
DocScrutinizer05 | *cough* | 15:11 |
DocScrutinizer05 | [2013-09-14 14:12:04] [Notice] -NickServ- Last addr : ~mickey@digitaleclipse.org | 15:12 |
DocScrutinizer05 | [2013-09-14 14:12:04] [Notice] -NickServ- Last seen : Jun 26 20:35:58 2013 (11 weeks, 2 days, 15:36:06 ago) | 15:12 |
*** Vlad_on_the_road has joined #maemo-ssu | 15:12 | |
*** sixwheeledbeast has left #maemo-ssu | 15:52 | |
freemangordon | Pali: so, now the partition exported through mass storage in case there is swap is /dev/mmcblk1k1, always? | 15:59 |
Pali | now yes | 16:00 |
freemangordon | mmcblk1p1 | 16:00 |
freemangordon | what if this is the swap partition? | 16:00 |
Pali | any non deterministic behaviour should be removed now | 16:00 |
Pali | then exporting fail | 16:01 |
Pali | this needs to be fixed... | 16:01 |
freemangordon | Pali: I still think we should export first vfat. And that this is not hard to be implemented in a deterministic way | 16:02 |
freemangordon | also we should mount the first vfat under /media/mmc1 | 16:02 |
Pali | you do not know if HAL reported all partitions when you enabled mass storage mode | 16:02 |
freemangordon | so? we have them in /dev/ | 16:03 |
Pali | but you can expect that user will enable mass storage mode when HAL report all partitions | 16:03 |
Pali | yes, we have them in /dev/ but not in internal ke-recv structures | 16:03 |
freemangordon | we can enumerate /dev/mmcblk1pN, get the partition fs and make the decision | 16:04 |
freemangordon | we don;t need HAL, after all we unmount at that moment | 16:04 |
freemangordon | or better said "going to unmount" | 16:05 |
Pali | and what happens when you reformat some ext partition to fat which was before first fat? | 16:05 |
freemangordon | Pali: it will become /media/mmc1 | 16:05 |
Pali | same problem as before, tracker will se new path and database will be broken | 16:05 |
Pali | and if there is bug in ke-recv/HAL which enumerate partitions and inserting them into ke-recv structures, users will have this problem... | 16:06 |
Pali | see report on TMO where user reported this problem | 16:06 |
freemangordon | Pali: I think this is a better solution. Imagine what will happen if you have p1 and p2 as swap. I know it is pretty unusual, but still | 16:07 |
Pali | ke-recv has (or had) bug in code which adding/removing partitions in structures which cause that his partition swap between mmc1 and mmc1p1 | 16:07 |
freemangordon | lets fix it then (the bug) | 16:07 |
freemangordon | what you're going to export is p1 and p2 are swap? | 16:08 |
freemangordon | s/is/if/ | 16:08 |
infobot | freemangordon meant: what you're going to export if p1 and p2 are swap? | 16:08 |
Pali | fixing this bug means: 1. removing ke-recv or 2. rewirting it | 16:08 |
Pali | or 3. make sure that any future bugs which depends on non determinisic behaviour will not be triggered | 16:09 |
freemangordon | I think this is what I propose :) | 16:09 |
Pali | means that ke-recv must be deterministic in way how to choose partition for /media/mmc1 and partition for exporting via USB | 16:10 |
Pali | and this means that this partition should be hardcoded | 16:10 |
Pali | we can add new option to some config file and user can change first partition to any | 16:10 |
jonwil | so bored :( | 16:10 |
freemangordon | Pali: if you want once a vfat partition is mounted as /media/mmc1 the same to always be mounted there, I think we can just store either volume id or some unique id and use it next time | 16:11 |
Pali | this will be broken after user format partition | 16:12 |
Pali | both windows and mkfs genereting new volume uuid | 16:12 |
freemangordon | but we don;t care if that happens, as it is not the *same* partition anymore | 16:12 |
Pali | rather use partition number and not uuid | 16:12 |
Pali | and we can use partition number from some gconf key | 16:12 |
freemangordon | should work too | 16:13 |
freemangordon | exactly | 16:13 |
freemangordon | gconf is what I had on my mind | 16:13 |
Pali | by default it could be first partition | 16:13 |
freemangordon | so: | 16:13 |
freemangordon | 1. a new uSD is inserted | 16:13 |
freemangordon | 2. enumerate /dev/mmcblk1pN to find the first vfat | 16:14 |
freemangordon | 3. store uSD id and N in some gconf key | 16:14 |
freemangordon | 4. use that from now on to mount under /media/mmc1 and to export (if there is a swap) | 16:14 |
freemangordon | there should be a change in p.1. if uSD had changed | 16:15 |
freemangordon | s/change/verification/ | 16:15 |
infobot | freemangordon meant: there should be a verification in p.1. if uSD had changed | 16:15 |
Pali | uSD id is problematic and enumerating partitions in ke-recv is not easy, because ke-recv working in async mode - this is reason why using hal/dbus | 16:16 |
freemangordon | also a check in p4 if partition type has change, if yes goto 1 | 16:16 |
freemangordon | Pali: we can use libblkid or directly go to shell | 16:16 |
Pali | I do not want to patch ke-recv to mix sync/async calls more --> we will have other problems... | 16:17 |
freemangordon | Pali: all this can be done in a shell script | 16:17 |
Pali | now it is problematic with mount commands, and we can be happy that ke-revc working... | 16:17 |
freemangordon | (deterministic first vfat detection) | 16:18 |
Pali | partitions are mounted by ke-recv immetiately when they appear | 16:18 |
Pali | and partitions are reported in random order by HAL | 16:18 |
Pali | this is problem | 16:19 |
Pali | HAL working in async mode | 16:19 |
Pali | and for all above to work we need sync function for enumeration | 16:19 |
freemangordon | so? we can call get_first_vfat() everytime ke-recv tries to mount a partition and if get_first_vfat() == current+partition, mount it under /media/mmc1 | 16:19 |
Pali | and there could be problems, that we miss some HAL info about partitions... | 16:20 |
freemangordon | current_partition | 16:20 |
Pali | and if you have some non vfat partitions before vfat and you format non vfat to vfat, then first vfat will change | 16:21 |
Pali | and this cause tracker problems | 16:21 |
freemangordon | I know, but that will happen *after* we did a first time mount, so we'll have it stored in gconf key | 16:22 |
Pali | and I do not trust any uSD ids... | 16:22 |
Pali | really one simple gconf key which will be by default 1 | 16:23 |
freemangordon | Pali: we should take care of uSD changed | 16:23 |
Pali | and are you sure that some ids reported by hal/kernel will work? | 16:24 |
freemangordon | they should work | 16:24 |
Pali | I bet that there will be problems... | 16:24 |
*** arcean__ has joined #maemo-ssu | 16:24 | |
freemangordon | mmc.cid = '1b534d30303030301079af83c700cb63' (string) | 16:25 |
freemangordon | mmc.csd = '400e00325b590001d47a7f800a404079' (string) | 16:25 |
freemangordon | whatever is that :) | 16:25 |
freemangordon | oh, mmc.serial = 2041545671 (0x79af83c7) (int) | 16:25 |
freemangordon | Pali: https://www.kernel.org/doc/Documentation/mmc/mmc-dev-attrs.txt | 16:26 |
freemangordon | Pali: iiuc mmc.cid is what we want to use | 16:27 |
*** DrCode has quit IRC | 16:27 | |
*** arcean_ has quit IRC | 16:27 | |
freemangordon | Pali: or some part of it, maybe manfid, date and serial | 16:28 |
freemangordon | we can just keep card specific info in gconf tree, I bet noone will put 100 uSD cards in his n900 | 16:30 |
freemangordon | his/her | 16:30 |
*** DrCode has joined #maemo-ssu | 16:30 | |
freemangordon | so: 1. a card is put | 16:32 |
freemangordon | 2. ke-recv receives "new partition added" and calls get_first_vfaf(), gfv() checks if the card is already in gconf, if it is, it verifies if the "first_vfat" from gconf is still vfat. if it is, it returns it. if not, it enumerates /dev/mmcblk1pN to find the first vfat | 16:34 |
freemangordon | if the card is not in gconf, gfv() enumerates | 16:35 |
*** dhbiker has quit IRC | 16:35 | |
freemangordon | 3. ke-recv checks if the current_partition is the one returned from gfv(), if ye, it updates gconf and mounts it under /media/mmc1 | 16:35 |
freemangordon | Pali: I think ^^^ will work just fine | 16:36 |
Pali | I will implement something to my new ke-recv git tree | 16:36 |
freemangordon | Pali: like the above? | 16:37 |
Pali | will see if there are some problems... | 16:37 |
Pali | but I will try something as above | 16:37 |
freemangordon | Pali: ooh, and if there is *no* vfat, I don;t think anything should be mounted under /media/mmc1 | 16:38 |
freemangordon | Pali: ok, nice :) | 16:38 |
*** dhbiker has joined #maemo-ssu | 16:38 | |
freemangordon | Pali: just to make it clear - I insist on that "vfat" because there are lots of windows users. most of them are clueless enough to don;t know what to do if we hardcode /media/mmc1->/dev/mmcblk1p1 and they already have uSD partitioned in some incompatible way | 16:40 |
Pali | if they have partition in other way, they probably know what to do... | 16:41 |
freemangordon | even if they know, thay'll have to reformat the card | 16:41 |
freemangordon | imagine a 6gGB card full with data ;) | 16:42 |
freemangordon | 64GB that is | 16:42 |
freemangordon | one have to copy that date to their desktop, format the card with a partition layout that makes us happy and copy the data back | 16:43 |
freemangordon | I don;t think this is fare :) | 16:43 |
freemangordon | data even, not date | 16:44 |
freemangordon | Pali: btw is that kernel camera drivers guy helpful? | 16:45 |
Pali | freemangordon: last week I got email from him, and some months ago he sent me that board data for front webcam | 16:46 |
freemangordon | ok | 16:46 |
freemangordon | lets hope he'll answer me :) | 16:46 |
freemangordon | Pali: one more thing and I'll stop pestering you - which is the next thing in kernel you think I should try to fix, while wating for sakari to answer? | 16:48 |
freemangordon | modem drivers? | 16:48 |
freemangordon | (I remember those working in 3.5) | 16:49 |
Pali | yes, look at modem drivers why not working with maemo5 | 16:49 |
freemangordon | ok | 16:49 |
Pali | and why rtcom-call-ui crashing | 16:49 |
freemangordon | oh, bwt hulda tries to use some /sys/kernel/low/high_watermark, WTF is this? | 16:49 |
freemangordon | hmm, goping to as google | 16:50 |
Pali | special nokia sysfs | 16:50 |
Pali | patch hulda to not fail if that sysfs file not exists | 16:50 |
freemangordon | I don;t think it fails, it just spits some warning in syslog. but I'll look in the code anyway | 16:50 |
ShadowJK | it's lowmem stuff | 16:51 |
ShadowJK | to get advance warning of running out of memory, before things slow down | 16:51 |
Pali | I already patches rcS-late to not fail if that file does not exists | 16:51 |
Pali | and this was reason why maemo not booted on 3.x kernels | 16:51 |
ShadowJK | iirc google also used this stuff in android at some point | 16:52 |
freemangordon | maybe we should forward port it | 16:53 |
freemangordon | I don;t think it is that complicated | 16:54 |
freemangordon | will look at it when everything else works :D | 16:54 |
*** arcean__ has quit IRC | 17:10 | |
*** mkaindl has left #maemo-ssu | 17:11 | |
*** thedead1440_ is now known as thedead1440 | 17:15 | |
*** mkaindl has joined #maemo-ssu | 17:23 | |
* jonwil wishes there was something he could usefully do :( | 17:25 | |
DocScrutinizer05 | jonwil: why don't you help on reviewing and sanitizing ke-recv specifications? | 17:45 |
jonwil | I dont know the first thing about ke-recv | 17:46 |
*** oldtopman has joined #maemo-ssu | 17:46 | |
DocScrutinizer05 | when you read backscroll you'll notice it has a whole lot of very intriguing implications | 17:46 |
DocScrutinizer05 | even with tracker *COUGH* | 17:46 |
jonwil | besides, pouring over source code to ke-recv sounds like the sort of thing that would make me MORE bored | 17:51 |
*** sunny_s has joined #maemo-ssu | 17:59 | |
*** oldtopman has quit IRC | 18:09 | |
*** sunny_s has quit IRC | 18:12 | |
*** sunny_s has joined #maemo-ssu | 18:12 | |
jonwil | btw doc, I suspect the FPTF is gonna need someone who knows PulseAudio and probably someone who knows telepathy | 18:12 |
*** oldtopman has joined #maemo-ssu | 18:19 | |
*** oldtopman has joined #maemo-ssu | 18:19 | |
*** DrCode has quit IRC | 18:22 | |
nedko | i'm trying to setup a cross-compilation environment for n900. is still scratchbox the proper/best way? | 18:26 |
Sicelo | yes sir :P | 18:27 |
nedko | thanks | 18:28 |
*** tg has quit IRC | 18:29 | |
nedko | how good is to use the maemo sdk virtual image? | 18:32 |
*** DrCode has joined #maemo-ssu | 18:32 | |
nedko | i guess i could install a virtual debian system and then install scratchbox | 18:34 |
freemangordon | nedko: VMWare image is what i use | 18:35 |
nedko | freemangordon: i'm a bit worried that the version is from 2009 but the latest sdk is from 2010... | 18:36 |
freemangordon | it is ok, just fix your DEB_BUILD_OPTIONS | 18:37 |
nedko | freemangordon: is there an online resource on how to do this? | 18:38 |
freemangordon | do what? | 18:38 |
nedko | fix your DEB_BUILD_OPTIONS | 18:39 |
freemangordon | export DEB_BUILD_OPTIONS=$OPTIONS, the default on contains thumb | 18:39 |
freemangordon | *one | 18:39 |
nedko | freemangordon: do you use image from tablets-dev.nokia.com or from maemovmware.garage.maemo.org ? | 18:41 |
freemangordon | I downloaded it 2-3 ears ago, so I don;t know what I use :) | 18:42 |
nedko | hmm, maybe they are the same | 18:42 |
freemangordon | *years | 18:42 |
freemangordon | most probably | 18:42 |
nedko | my main problem is that i use gentoo and virtualbox :] | 18:44 |
jonwil | if you use Gentoo, why not just install Scratchbox for N900 development? | 18:45 |
jonwil | I have a Gentoo box and I did exactly that | 18:45 |
nedko | jonwil: how to install scratchbox for n900 development on gentoo? | 18:47 |
nedko | i see there is dev-embedded/scratchbox | 18:48 |
nedko | it has no use flags | 18:48 |
nedko | and i see no packages matching "n900" search pattern | 18:48 |
nedko | or maybe i should use scratchbox2? | 18:49 |
jonwil | I downloaded the SDK from this page http://developer.nokia.com/info/sw.nokia.com/id/c05693a1-265c-4c7f-a389-fc227db4c465/Maemo_5_SDK.html and installed it that way (including Scratchbox) | 18:51 |
jonwil | i.e. I installed the Scratchbox Nokia suggested and ignored anything from the Gentoo repos | 18:51 |
nedko | jonwil: you used the two scripts and they worked ok on gentoo? | 18:55 |
jonwil | Not sure which script I used | 18:55 |
jonwil | but yes I used the Nokia installer and it worked on Gentoo | 18:55 |
jonwil | my Gentoo box is not 100% functional right now otherwise I would check more | 18:56 |
nedko | ok, thanks | 18:56 |
*** jonwil has quit IRC | 19:03 | |
* Sicelo is going to join the scratchbox banddwagon soon.. | 19:05 | |
Sicelo | how big is the vmware image btw? | 19:05 |
*** dhbiker has quit IRC | 19:06 | |
*** dhbiker has joined #maemo-ssu | 19:08 | |
nedko | the one i'm downloading is 1457450621 bytes | 19:12 |
nedko | they provide no digital signatures for the files :( | 19:13 |
nedko | the only way to check are md5 checksums | 19:13 |
*** arcean__ has joined #maemo-ssu | 19:15 | |
*** bsdmaniak has quit IRC | 19:19 | |
*** arcean__ is now known as arcean | 19:19 | |
*** tg has joined #maemo-ssu | 19:27 | |
DocScrutinizer05 | nedko: huh? | 19:28 |
DocScrutinizer05 | what's wrong with md5? | 19:29 |
nedko | DocScrutinizer05: it doesnt protect you from compromised servers | 19:31 |
nedko | man in the middle attacks too | 19:31 |
DocScrutinizer05 | ohmy | 19:31 |
DocScrutinizer05 | when our server gets compromised, they as well can steal our private signing key | 19:32 |
DocScrutinizer05 | MITM attacks you hardly can counteract at all | 19:32 |
nedko | DocScrutinizer05: you put your private keys on a server? | 19:33 |
nedko | the one for SSL certificate (for https) is ok, obviously | 19:34 |
nedko | i actually downloaded the file from a host in buglaria | 19:34 |
nedko | i bet it is a local mirror of nokia | 19:34 |
nedko | or probably a CDN is a better term here | 19:36 |
DocScrutinizer05 | nedko: when those are private maemo.org keys, what do you think where we should store them? | 19:36 |
nedko | depends on what you use them for, no? | 19:37 |
DocScrutinizer05 | in MrFlop's bedside locker? | 19:37 |
nedko | the two scripts for installing the SDK require root | 19:38 |
DocScrutinizer05 | so what? I can't help that | 19:38 |
nedko | don't you think it is a good idea to have them at least somewhat verified before executing code as root | 19:38 |
nedko | or it is expected that people should use a dedicated machine for maemo development | 19:39 |
DocScrutinizer05 | don't you think, since they are scripts anyway, that it should be *YOU* to verify them, on sourcecode level? | 19:39 |
DocScrutinizer05 | or would you trust *me* to do that for you? | 19:40 |
nedko | DocScrutinizer05: yup, this is the good side. they are scripts | 19:40 |
DocScrutinizer05 | I can signe those files with my private key, no problem | 19:40 |
DocScrutinizer05 | but that doesn't mean a thing | 19:41 |
nedko | if i trust you... | 19:41 |
nedko | and my trust on you may be different that trust on someone controlling the internet access in my country | 19:41 |
freemangordon | DocScrutinizer05: what is GAZOO and what is RAPUYAMA? | 19:41 |
DocScrutinizer05 | honestly, I don't see how techstaff can help | 19:42 |
DocScrutinizer05 | freemangordon: RAPU = BB5 baseband, GAZOO = companion chip with power, maybe RF amp | 19:42 |
freemangordon | thanks | 19:42 |
DocScrutinizer05 | yw | 19:42 |
nedko | DocScrutinizer05: you are from nokia techstaff? | 19:43 |
DocScrutinizer05 | no | 19:43 |
nedko | :) | 19:43 |
DocScrutinizer05 | nedko: if you maybe haven't noticed yet: maemo.org is a community driven project since start of this year | 19:44 |
DocScrutinizer05 | no NOKIA techstaff around at all | 19:44 |
nedko | DocScrutinizer05: yes, i noticed | 19:45 |
DocScrutinizer05 | so yes, i'm from techstaff, and NO I'm NOt NOKIA | 19:45 |
nedko | i just complained that i have almost no mean to verify nokia maemo sdk vmware image | 19:45 |
DocScrutinizer05 | verify against what? what is your damn reference to verify it against? | 19:46 |
nedko | DocScrutinizer05: in a corporate world, i'd expect the MD5SUM file to be available via https | 19:46 |
DocScrutinizer05 | for all I could tell it may contain malware since 5 years | 19:47 |
nedko | with proper certificate | 19:47 |
nedko | ssl certificate | 19:47 |
DocScrutinizer05 | *shrug* | 19:47 |
nedko | if it was open source, i'd expect someone from upstream to sign the releases with a private key stored on his own machine, not a server | 19:48 |
DocScrutinizer05 | we CANNOT get a proper SSL cert since maemo.org domain (DNS) still owned by NOKIA | 19:48 |
nedko | this is what i do when i act as a upstream | 19:48 |
DocScrutinizer05 | and i'm not your dang upstream | 19:48 |
nedko | DocScrutinizer05: i'm not telling that it is your fault | 19:48 |
DocScrutinizer05 | YOU are upsteam! | 19:48 |
DocScrutinizer05 | +r | 19:49 |
* nedko shuts up, there is no point | 19:50 | |
DocScrutinizer05 | indeed | 19:50 |
DocScrutinizer05 | there's zilch I could do for you | 19:50 |
DocScrutinizer05 | I can quote the md5sum out of band in this IRC channel, if that helps | 19:51 |
DocScrutinizer05 | directly off the commandline on server | 19:52 |
nedko | btw, it is nokia.com i'm talking about | 19:52 |
DocScrutinizer05 | prolly not really | 19:52 |
*** Vlad_on_the_road has quit IRC | 19:52 | |
nedko | the MD5SUM file is available from tablets-dev.nokia.com | 19:52 |
DocScrutinizer05 | which is a CDS to maemo.org/tabletsdev | 19:53 |
freemangordon | FatPhil: ping | 19:53 |
DocScrutinizer05 | ~tabletsdev | 19:53 |
infobot | http://tablets-dev.nokia.com/ http://wiki.maemo.org/Tabletsdev , http://skeiron.org/tablets-dev/ or http://tabletsdev.maemo.org | 19:53 |
DocScrutinizer05 | you're free to compare all 4 information sources to verify that you indeed got that opaque blob that Nokia donated to community. Nobody will give any warranty for its content though, except that it been unchanged since years | 19:55 |
nedko | now this is useful, thank you | 19:56 |
DocScrutinizer05 | yw | 19:56 |
nedko | http://tabletsdev.maemo.org/ sdk link points to nokia site... | 19:57 |
DocScrutinizer05 | then edit the URL | 19:57 |
DocScrutinizer05 | it's stage for http://tablets-dev.nokia.com/ | 19:57 |
DocScrutinizer05 | of course the links point to http://tablets-dev.nokia.com/ | 19:58 |
DocScrutinizer05 | CDS, remember? | 19:58 |
nedko | i admit i dont really know what CDS is | 19:58 |
DocScrutinizer05 | Content Distribution System | 19:59 |
DocScrutinizer05 | a server farm of proxies basically | 19:59 |
DocScrutinizer05 | http://tablets-dev.nokia.com/ are slaves, http://tabletsdev.maemo.org is master aka stage | 19:59 |
nedko | so how i could at least check that the MD5SUM i downloaded from the bulgarian server is same as the one you use? | 19:59 |
nedko | s/use/will get if you try to download it/ | 20:00 |
infobot | nedko meant: so how i could at least check that the MD5SUM i downloaded from the bulgarian server is same as the one you will get if you try to download it? | 20:00 |
DocScrutinizer05 | get it from http://tabletsdev.maemo.org | 20:00 |
DocScrutinizer05 | the URL on http://tabletsdev.maemo.org is identical to that on http://tablets-dev.nokia.com/ | 20:00 |
DocScrutinizer05 | just edit it, to access the master | 20:01 |
nedko | edit what? | 20:01 |
nedko | the url? | 20:01 |
freemangordon | url in your browser | 20:01 |
freemangordon | or wget or whatever you use | 20:01 |
freemangordon | thean download the sdk | 20:02 |
freemangordon | BTW I am nor sure #maemo-ssu is the channel to discuss SDK stuff on | 20:02 |
nedko | i got redirect to tablets-dev.nokia.com | 20:02 |
nedko | freemangordon: what is a better channel for this? | 20:02 |
freemangordon | then replace that with tabletsdev.maemo.org | 20:02 |
freemangordon | try on #maemo | 20:02 |
DocScrutinizer05 | s|http://tablets-dev.nokia.com/|http://tabletsdev.maemo.org| | 20:02 |
nedko | http://tabletsdev.maemo.org/maemo-dev-env-downloads.php | 20:03 |
nedko | click accept and you get to http://tablets-dev.nokia.com | 20:03 |
nedko | freemangordon: thank you | 20:03 |
* nedko shuts up | 20:03 | |
DocScrutinizer05 | ~skeiron | 20:03 |
infobot | from memory, skeiron is the semi-official backup and emergency standin for all internet borne maemo resources: http://skeiron.org/tablets-dev/ http://talk.maemo.org/showthread.php?p=1315143#post1315143, or see: ~tabletsdev | 20:03 |
*** arcean has quit IRC | 20:14 | |
*** Vlad_on_the_road has joined #maemo-ssu | 20:16 | |
freemangordon | DocScrutinizer05: hmm, need a little help with that cmt shit. by looking at the schematics, gpio 72 seems to be input to omap (APE_RST_RQ). But I have gpio 72 as .cmt_rst_ind_gpio = 72 in board data. this makes no sense | 20:26 |
DocScrutinizer05 | both are RST at least :-) | 20:27 |
freemangordon | :) | 20:27 |
freemangordon | yeah | 20:27 |
DocScrutinizer05 | dunno if cmt resets APE or APE resets cmt ;-D | 20:27 |
freemangordon | wtf is APE? | 20:27 |
DocScrutinizer05 | or both? :-o | 20:27 |
DocScrutinizer05 | App Proc Env | 20:28 |
DocScrutinizer05 | == linux | 20:28 |
DocScrutinizer05 | == SoC OMAP3430 | 20:28 |
freemangordon | hmm, but this is input to omap (gpio 72) | 20:28 |
freemangordon | yeah, got it | 20:28 |
freemangordon | so, modem resets omap? | 20:28 |
freemangordon | weird | 20:28 |
DocScrutinizer05 | possibly. One of the WD | 20:29 |
DocScrutinizer05 | makes a lot of sense to me | 20:29 |
freemangordon | hmm, yeah | 20:29 |
DocScrutinizer05 | either it's one of our 2 or 3 generic WD, or a special one that only kicks in during 2orphaned" phonecalls | 20:30 |
DocScrutinizer05 | you wouldn't want the modem to continue a call ad infinitum while APE locked up, eh? | 20:30 |
freemangordon | hmm, but this is just a gpio | 20:31 |
DocScrutinizer05 | check OMAP34xx TRM aka spruf98 for exact meaning/semantics/function of APE_RST_RQ | 20:31 |
DocScrutinizer05 | *each* GPIO has at least a 2nd function, often a 3rd and 4th | 20:32 |
freemangordon | ok | 20:32 |
DocScrutinizer05 | you define that via IO-mux or whatever it's called | 20:32 |
freemangordon | ok, this is fine then | 20:33 |
DocScrutinizer05 | actually it's rather the other way round: each function pin can also get used as GPIO when you don't need the function | 20:33 |
DocScrutinizer05 | except a very few ones like VDD, GND ;-) and maybe CLK etc | 20:34 |
DocScrutinizer05 | and most of GPIO can also create an IRQ | 20:35 |
DocScrutinizer05 | well, several | 20:35 |
DocScrutinizer05 | dunno if "most of" | 20:35 |
DocScrutinizer05 | SPRUF98 | 20:35 |
DocScrutinizer05 | page 164258 | 20:36 |
DocScrutinizer05 | ;-) | 20:36 |
freemangordon | hmm, iirc every gpio can act as irq too | 20:36 |
DocScrutinizer05 | maybe reading service manual L3_4 helps! | 20:36 |
DocScrutinizer05 | they have _some_ nice high level function descriptions in there | 20:37 |
freemangordon | yeah | 20:37 |
DocScrutinizer05 | strongly recommended read | 20:37 |
*** dos1 has quit IRC | 20:41 | |
DocScrutinizer05 | N900_RX-51_SM_L3_4.pdf page 165 | 20:42 |
DocScrutinizer05 | p180 "Cellular RF Block Diagram" | 20:43 |
freemangordon | yeah | 20:44 |
*** Vlad_on_the_road has quit IRC | 20:44 | |
DocScrutinizer05 | actually not that enlightening | 20:44 |
freemangordon | a black box | 20:45 |
freemangordon | :) | 20:45 |
freemangordon | hmm, cawake gpio control seems fine | 20:48 |
*** dos1 has joined #maemo-ssu | 20:50 | |
DocScrutinizer05 | freemangordon: ok, forget about L3_4, it has nothing interesting. Just ask me instead ;-) | 20:51 |
freemangordon | ok :) | 20:52 |
DocScrutinizer05 | watch the funny stuff around BSI they done to RAPU | 20:53 |
DocScrutinizer05 | (p 11) | 20:54 |
*** dos1 has quit IRC | 20:54 | |
DocScrutinizer05 | you evidently can signal special modes (TEST[!!] Battery) directly to BB5 RAPU, via BSI | 20:55 |
DocScrutinizer05 | shutting down BME won't change any of that | 20:56 |
Pali | DocScrutinizer05: it is possible to (re)charge RTC battery in n900? | 20:56 |
*** Vlad_on_the_road has joined #maemo-ssu | 20:56 | |
freemangordon | hmm. maybe replacing the battery with a diagnostic tool is the way used to test bb5 | 20:56 |
DocScrutinizer05 | Pali: it recharges automatically | 20:59 |
DocScrutinizer05 | freemangordon: exactly | 20:59 |
Pali | DocScrutinizer05: without BME? | 20:59 |
freemangordon | Pali: yes | 20:59 |
DocScrutinizer05 | yes | 21:00 |
freemangordon | nolo sets the charging | 21:00 |
DocScrutinizer05 | built-in function of TWL4030 | 21:00 |
Pali | ok, so then my rtc battery is emtpy or dead... | 21:00 |
DocScrutinizer05 | needs one or two bits set in one of the twl4030 registers | 21:00 |
freemangordon | as is mine and all the others :D | 21:00 |
DocScrutinizer05 | :-P | 21:00 |
DocScrutinizer05 | ~bupbat | 21:01 |
infobot | somebody said bupbat was use the capacitive type, LiIon are breaking during 12 months, or http://www.digikey.de/product-detail/de/PAS414HR-VG1/587-2157-1-ND/1959153, or https://hbe-shop.de/KONDENSATOR006F-33V-STAKED-COIN, or http://talk.maemo.org/showthread.php?t=90864 | 21:01 |
freemangordon | DocScrutinizer05: yeap, charge current and enable | 21:01 |
DocScrutinizer05 | Pali: http://talk.maemo.org/showthread.php?t=90864 | 21:05 |
Pali | already reading | 21:05 |
*** dos1 has joined #maemo-ssu | 21:06 | |
DocScrutinizer05 | ooh, it was already in infobot's factoid | 21:10 |
* DocScrutinizer05 feels silly for searching 10min for an URL that's been in front of his nose | 21:11 | |
DocScrutinizer05 | Pali: you noticed ~zapman ? :-) | 21:12 |
DocScrutinizer05 | zapman zaps fapman | 21:12 |
DocScrutinizer05 | ~zapman usb | 21:14 |
infobot | http://www.google.de/search?q=site%3Amaemo.org%2Fdownloads%2Fproduct%2Fmaemo5+usb | 21:14 |
DocScrutinizer05 | OOOOH! Mobile HotSpot V0.3.4 is from Eero/Rambo! | 21:15 |
freemangordon | DocScrutinizer05: hmm, can;t find gpio 157 on the schematic :( | 21:16 |
DocScrutinizer05 | mompls | 21:16 |
freemangordon | that one is defined as CMT_BSI | 21:16 |
freemangordon | in board data | 21:16 |
DocScrutinizer05 | yeah | 21:17 |
DocScrutinizer05 | better ddat | 21:17 |
*** nox- has joined #maemo-ssu | 21:17 | |
DocScrutinizer05 | err nope | 21:17 |
DocScrutinizer05 | where from you got GPIO_157? | 21:17 |
freemangordon | #define RX51_GPIO_CMT_BSI157 | 21:18 |
freemangordon | #define RX51_GPIO_CMT_BSI 157 | 21:18 |
DocScrutinizer05 | SIGH | 21:18 |
DocScrutinizer05 | fools | 21:18 |
freemangordon | DocScrutinizer05: I am verifying gpio defs in board data for validity | 21:18 |
DocScrutinizer05 | it's probably some AD_IN4 or whatever | 21:18 |
freemangordon | omg | 21:19 |
freemangordon | .name= "cmt_bsi", | 21:19 |
freemangordon | .gpio= RX51_GPIO_CMT_BSI, | 21:19 |
freemangordon | .flags= OMAP_GPIO_SWITCH_FLAG_OUTPUT, | 21:19 |
freemangordon | .type= OMAP_GPIO_SWITCH_TYPE_ACTIVITY, | 21:19 |
freemangordon | .debounce_rising= RX51_GPIO_DEBOUNCE_TIMEOUT, | 21:19 |
freemangordon | .debounce_falling= RX51_GPIO_DEBOUNCE_TIMEOUT, | 21:19 |
DocScrutinizer05 | you need to: get spruf98, find GPIO157, check for 2nd function, search for $SECONDFUNCTION in schematics | 21:19 |
freemangordon | ok | 21:19 |
DocScrutinizer05 | or get the pin coords (H21 or sth) and search for those | 21:20 |
*** LauRoman has joined #maemo-ssu | 21:21 | |
DocScrutinizer05 | try ADCIN4 | 21:22 |
freemangordon | cam_global_reset?!? | 21:22 |
DocScrutinizer05 | ooh wait | 21:22 |
DocScrutinizer05 | hmm, no clue. would actually like to hear which pin number you find for GPIO_157 | 21:24 |
freemangordon | I find nothing but that define in board data | 21:25 |
DocScrutinizer05 | you need to check SPRUF98 | 21:25 |
DocScrutinizer05 | search GPIO 157 | 21:25 |
freemangordon | sec | 21:26 |
DocScrutinizer05 | read the pin ID (AF21) | 21:26 |
DocScrutinizer05 | s/ID/number/ | 21:26 |
infobot | DocScrutinizer05 meant: read the pin number (AF21) | 21:26 |
freemangordon | hmm, lost it, need to find it again | 21:27 |
DocScrutinizer05 | since it seems the pin number is the only label that *every* SoC pin got, in schematics | 21:27 |
freemangordon | see on page 779 | 21:28 |
freemangordon | in trm | 21:28 |
DocScrutinizer05 | I don't have spruf98 opened | 21:28 |
freemangordon | Table 7-4. Core Control Module Pad Configuration Register Fields (continued) | 21:28 |
DocScrutinizer05 | yep | 21:28 |
DocScrutinizer05 | that one | 21:28 |
freemangordon | CONTROL_PADCONF_MCBSP1_CLKR[31:16] 0x4800 218C mcbsp1_fsr adpllv2d_dither cam_global_ gpio_157 safe_mode | 21:28 |
freemangordon | in node4 this is gpio 157 | 21:29 |
freemangordon | *mode4 | 21:29 |
DocScrutinizer05 | yeahyeah | 21:29 |
DocScrutinizer05 | and other modes seem mcbsp1_fsr adpllv2d_dither | 21:30 |
freemangordon | yep | 21:30 |
freemangordon | adpllv2d_dithering_en1 | 21:30 |
DocScrutinizer05 | i'd rather like to learn the pin number ;-) | 21:31 |
freemangordon | me too :) | 21:31 |
DocScrutinizer05 | MCBSP1_CLKR ? | 21:31 |
DocScrutinizer05 | Y21? | 21:31 |
DocScrutinizer05 | makes no sense | 21:32 |
freemangordon | no, this is gpio 156 | 21:32 |
freemangordon | mcbsp1_fsr is gpio 157 | 21:32 |
freemangordon | you mean the define? | 21:32 |
DocScrutinizer05 | yep | 21:33 |
freemangordon | I know, that is why I asked :) | 21:33 |
freemangordon | hmm, going to check in meego kernel | 21:33 |
DocScrutinizer05 | there's mcbsp1_fsx | 21:34 |
DocScrutinizer05 | but no mcbsp1_fsr | 21:34 |
DocScrutinizer05 | and there's MCBSP1_CLKR[ | 21:34 |
DocScrutinizer05 | -[ | 21:34 |
DocScrutinizer05 | which is pin Y21 | 21:35 |
DocScrutinizer05 | search SPRUF98 for Y21 | 21:35 |
freemangordon | ok | 21:35 |
DocScrutinizer05 | you should find a GPIO definition next to it | 21:36 |
freemangordon | btw what I have is not spruf98, but omap3430 public trm | 21:36 |
DocScrutinizer05 | search in same table for GPIO_157 | 21:36 |
DocScrutinizer05 | what is written at bottom of that TRM? | 21:37 |
DocScrutinizer05 | each page? | 21:37 |
freemangordon | SWPU223M–July 2007–Revised February 2011 | 21:37 |
DocScrutinizer05 | SWPU223? DUH! | 21:37 |
freemangordon | SWPU223M | 21:37 |
DocScrutinizer05 | right, prolly SPRUF has no pin numbers at all | 21:39 |
DocScrutinizer05 | yup | 21:40 |
DocScrutinizer05 | dang | 21:41 |
DocScrutinizer05 | no SWPU here | 21:41 |
freemangordon | DocScrutinizer05: see https://lkml.org/lkml/2013/6/13/558 | 21:42 |
freemangordon | gpio157 is put in safe mode | 21:42 |
DocScrutinizer05 | can't say this means much to me | 21:45 |
freemangordon | I guess safe mode means "floating" | 21:45 |
DocScrutinizer05 | at *some* time *some* GPIO_157 is set to a certain mode, maybe | 21:45 |
freemangordon | oh, well | 21:45 |
DocScrutinizer05 | probably float/high-Z, yes | 21:46 |
DocScrutinizer05 | somewhere they define what "safe_mode" actually means | 21:47 |
DocScrutinizer05 | I didn't bother so far to check | 21:47 |
freemangordon | me neither | 21:47 |
*** lansiir has joined #maemo-ssu | 21:48 | |
DocScrutinizer05 | anyway possible functions of this pin are: mcbsp1_fsr adpllv2d_dithering_en1 cam_global_reset and gpio157 | 21:50 |
DocScrutinizer05 | neither of those shows up in N900 schematics | 21:51 |
freemangordon | yep | 21:51 |
*** oldtopman has quit IRC | 21:52 | |
DocScrutinizer05 | so your only last chance is to find out about the pin number for the package used in N900, and search for that. You likely won't find that either, which means the pin is unused | 21:52 |
freemangordon | :nod: | 21:52 |
DocScrutinizer05 | is GPIO_157 used *anywhere* in maemo kernel? | 21:52 |
DocScrutinizer05 | I mean: *used* | 21:52 |
DocScrutinizer05 | like in: read it, write to it | 21:53 |
DocScrutinizer05 | define a IRQ handler for it | 21:53 |
freemangordon | will check if maemo sscd uses that gpio | 21:53 |
freemangordon | (cmt_bsi) | 21:53 |
DocScrutinizer05 | cmt_bsi sounds pretty odd | 21:54 |
freemangordon | hmm, "ssc_run.c:304 ssc_hw_write(".../cmt_bsi/state", "inactive")" | 21:55 |
*** lansiir has quit IRC | 21:55 | |
freemangordon | lemme check where is that wired on 2.6.28 | 21:55 |
DocScrutinizer05 | I ponted you to what cmt does with respect to BSI. I don't see much of any cmt_bsi signal from or to APE | 21:55 |
freemangordon | me neither, but sscd seems to use that | 21:55 |
DocScrutinizer05 | really? | 21:56 |
freemangordon | see ^^^ | 21:56 |
DocScrutinizer05 | the line you quoted above sounds more like "not used at all" | 21:56 |
freemangordon | this is syslog when "/usr/sbin/sscd -w -d 3" | 21:56 |
DocScrutinizer05 | what the heck is sscd? | 21:57 |
freemangordon | the one that talks to the modem | 21:57 |
DocScrutinizer05 | mhm | 21:57 |
freemangordon | see /sys/devices/platform/gpio-switch/cmt_bsi | 21:58 |
DocScrutinizer05 | IroN900:~# cat /sys/devices/platform/gpio-switch/cmt_bsi/state | 21:59 |
DocScrutinizer05 | inactive | 21:59 |
DocScrutinizer05 | meh, you beaten me to it | 21:59 |
DocScrutinizer05 | ssc_run.c:304 ssc_hw_write(".../cmt_bsi/state", "inactive") looks like it does just that: create a sysnode and fill it with "inactive" | 22:01 |
freemangordon | see /sys/kernel/debug/omap_gpio | 22:01 |
DocScrutinizer05 | uhuh | 22:01 |
DocScrutinizer05 | to see what? | 22:01 |
freemangordon | gpios :) | 22:02 |
freemangordon | this is not userspace creatde | 22:02 |
freemangordon | created* | 22:02 |
DocScrutinizer05 | GPIO 157 (cmt_bsi ): out lo | 22:02 |
freemangordon | and our schematic is missing that | 22:02 |
DocScrutinizer05 | I wonder if our schamitcs are missing that or it's just cruft in kernel | 22:03 |
DocScrutinizer05 | schematics even | 22:03 |
freemangordon | oh, I think I have some clue while the modem does not work | 22:04 |
freemangordon | just a sec | 22:04 |
freemangordon | http://pastebin.com/avrjPPX7 | 22:05 |
freemangordon | DocScrutinizer05: Pali: ^^^ | 22:06 |
Sicelo | why modem does"mt work? you mean in 3.x? | 22:06 |
freemangordon | pio-72 (cmt_rst_ind ) in lo | 22:06 |
freemangordon | gpio-72 (ape_rst_rq ) in hi irq-232 edge-falling wakeup | 22:06 |
DocScrutinizer05 | freemangordon: yep, seems no IRQ registered on 72 and 151 in 3.10 | 22:08 |
freemangordon | mhm | 22:08 |
freemangordon | also, in lo/in hi | 22:08 |
DocScrutinizer05 | so modem tries to "talk2 but APE is deaf | 22:09 |
freemangordon | yep | 22:09 |
DocScrutinizer05 | of course you need IRQ handlers registered for those IO | 22:09 |
DocScrutinizer05 | init fsckdup | 22:10 |
freemangordon | Pali: any idea what that hi/lo means? is that the current state, or acteve state? | 22:10 |
freemangordon | *active | 22:10 |
DocScrutinizer05 | hmm I think current state | 22:10 |
Pali | freemangordon: I have no idea | 22:12 |
DocScrutinizer05 | clearly current state | 22:12 |
DocScrutinizer05 | watch --differences=cumulative cat /sys/kernel/debug/omap_gpio | 22:12 |
freemangordon | ok | 22:12 |
DocScrutinizer05 | then engage lockswitch | 22:12 |
freemangordon | ok, got it | 22:13 |
freemangordon | ok, lets see why cmt does not register interuupts | 22:13 |
freemangordon | or rather ssi driver | 22:13 |
DocScrutinizer05 | ssi driver BS? | 22:13 |
DocScrutinizer05 | board file BS? | 22:13 |
freemangordon | no idea, have to find it :D | 22:14 |
freemangordon | hmm, most probably irqs are just not reported :( | 22:17 |
DocScrutinizer05 | anyway, have to start my RL weekend. finally | 22:17 |
*** Pali has quit IRC | 22:19 | |
DocScrutinizer05 | wtf acmelite reset | 22:24 |
DocScrutinizer05 | watch -n 0,5 --differences=cumulative cat /sys/kernel/debug/omap_gpio ;<--awesome | 22:25 |
*** Pali has joined #maemo-ssu | 22:29 | |
DocScrutinizer05 | freemangordon: anyway cmt_bsi aka 157 constantly out_low here | 22:32 |
DocScrutinizer05 | stingray reset??? | 22:36 |
freemangordon | back camera | 22:36 |
freemangordon | hmm, no, modem uses that, whatever it is | 22:36 |
*** arcean has joined #maemo-ssu | 22:46 | |
*** arcean has quit IRC | 23:04 | |
*** Vlad_on_the_road has quit IRC | 23:18 | |
*** Vlad_on_the_road has joined #maemo-ssu | 23:32 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!