Pali | nedko: PA not using alsa userspace API | 00:01 |
---|---|---|
Pali | it using direct kernel API | 00:01 |
Pali | (if lennart did not changed it) | 00:01 |
Pali | ~poettering | 00:02 |
Pali | ~lennart | 00:02 |
infobot | Lennart is ~Poettering | 00:02 |
Pali | ~Poettering | 00:02 |
Pali | infobot dead? | 00:03 |
infobot | yes :( | 00:03 |
nedko | Pali: this is clarification not argument against my statement i guess? | 00:04 |
Pali | just info which I known | 00:05 |
Pali | I hate PA too | 00:06 |
nedko | so you are telling me that PA talks to ALSA code in linux kernel not via libasound2? | 00:06 |
Pali | last time (in past) when I looked into PA it does not used any alsa userspace dmix/filters | 00:08 |
*** obironbo has quit IRC | 00:08 | |
Pali | and grabbed kernel alsa card directly | 00:08 |
Pali | exclusively | 00:09 |
Pali | maybe it was changed... I do not want to look into PA sources | 00:09 |
nedko | you can grab the card directly and exclusively via the normal user-space ALSA API | 00:10 |
nedko | PA and JACK do this | 00:10 |
Pali | I already read full lennart's ifplugd daemon and this was horrible... | 00:10 |
Pali | I think that this guy does not know anything about networking and sockets | 00:11 |
Pali | Using busy waiting... | 00:11 |
nedko | i know for sure he knows this stuff very well, can you show an evidence to prove otherwise? | 00:12 |
Pali | look into ifplugd source code | 00:14 |
Pali | or if you are lazy run: $ strace ifplugd | 00:14 |
Pali | with strace you will see at least busy waiting | 00:14 |
*** NIN101 has quit IRC | 00:26 | |
nedko | Pali: are you talking about daemon_retval_wait() ? | 00:30 |
*** wmarone_ has quit IRC | 00:31 | |
*** sunny_s has joined #maemo-ssu | 00:31 | |
Pali | nedko: I do not remember, but daemon did this: wait 1s, ask kernel for network adapter status, wait 1s, ask .... | 00:31 |
*** wmarone has joined #maemo-ssu | 00:31 | |
Pali | I do not want to read that lennart's code again... | 00:32 |
*** Martix_ has quit IRC | 00:42 | |
nedko | Pali: i read the code. and i think you are wrong. the code uses select() and there is indeed 1 second. it is used for things that you cannot do otherwise, no? | 00:47 |
Pali | get network link status? | 00:48 |
nedko | yup, seems like this | 00:48 |
Pali | you can that | 00:48 |
nedko | how you do it? | 00:48 |
Pali | open netlink socket | 00:48 |
Pali | send some data | 00:49 |
Pali | and kernel will send you info when link change | 00:49 |
Pali | do not know all needed flags for netlink | 00:49 |
Pali | but it is possible | 00:49 |
nedko | http://git.0pointer.de/?p=ifplugd.git;a=blob;f=src/interface.c;h=c7747889639e55e5de71f20811d00b4315d4855c;hb=HEAD#l46 | 00:50 |
nedko | IIRC you cannot detect the carrier this way | 00:50 |
nedko | i.e. UP != LOWER_UP | 00:51 |
nedko | but i may be wrong | 00:51 |
Pali | for sure you can | 00:51 |
Pali | but via netlink socket | 00:51 |
nedko | hmm, maybe i gave wrong link... | 00:51 |
Pali | and not using SIOCGIFFLAGS | 00:51 |
Pali | ifplugd is badly written | 00:52 |
Pali | and using that SIOCGIFFLAGS with busy waiting | 00:52 |
*** sailus has joined #maemo-ssu | 00:52 | |
nedko | Pali: was it possible when lennart wrote that code? | 00:52 |
Pali | I do not know | 00:53 |
Pali | but this is still present in last version | 00:53 |
nedko | the last version is quite old | 00:53 |
Pali | which is widely used | 00:53 |
Pali | nedko: RTM_GETLINK should be that netlink packet type | 01:02 |
Pali | and RTMGRP_LINK group | 01:04 |
nedko | the code already uses RTMGRP_LINK | 01:06 |
nedko | so i wonder why he still polls | 01:07 |
Pali | because he is lennart? | 01:08 |
nedko | yeah, ad hominem works :-/ | 01:08 |
nedko | latest ifplugd release is from 2005, the kernel documentation networking/operstates.txt was added in 2006 | 01:11 |
Pali | and why he using RTMGRP_LINK before? | 01:13 |
nedko | Pali: IFF_LOWER_UP was introduced in 2006 as well, after the latest ifplugd release | 01:17 |
nedko | Pali: 2006 as well: http://lkml.indiana.edu/hypermail/linux/kernel/0602.2/1883.html | 01:20 |
nedko | and he wrote that code in 2003 | 01:22 |
Pali | hm, ok | 01:22 |
Pali | nedko: read that thread | 01:25 |
Pali | and last email: http://lkml.indiana.edu/hypermail/linux/kernel/0602.2/2287.html | 01:25 |
nedko | Pali: still 2006, three years after lennart wrote the ifplugd code for NETLINK stuff | 01:26 |
Pali | in above email is written that it was possible before above patch... but I do not want to look into history... maybe really there was no API | 01:27 |
Pali | what is bad is that last version of ifplugd does not support it and it is used in 2013 | 01:28 |
nedko | i agree | 01:28 |
*** oooaaaooo1 has joined #maemo-ssu | 01:41 | |
*** oooaaaooo has quit IRC | 01:43 | |
*** Pali has quit IRC | 01:55 | |
*** sunny_s has quit IRC | 01:56 | |
*** nox- has quit IRC | 02:42 | |
*** M4rtinK has joined #maemo-ssu | 02:58 | |
*** MohammadAG has quit IRC | 03:01 | |
*** dos1 has quit IRC | 03:22 | |
*** jonwil has joined #maemo-ssu | 04:00 | |
*** M4rtinK has quit IRC | 04:31 | |
*** LauRoman has quit IRC | 04:40 | |
*** amiconn has quit IRC | 05:02 | |
*** amiconn_ has joined #maemo-ssu | 05:02 | |
*** amiconn_ is now known as amiconn | 05:02 | |
*** n900-dk_ has joined #maemo-ssu | 05:30 | |
*** n900-dk has quit IRC | 05:30 | |
*** mkaindl has quit IRC | 05:56 | |
*** amiconn has quit IRC | 05:59 | |
*** amiconn_ has joined #maemo-ssu | 05:59 | |
*** amiconn_ is now known as amiconn | 05:59 | |
*** wmarone has quit IRC | 06:12 | |
*** wmarone has joined #maemo-ssu | 07:20 | |
*** Vlad_on_the_road has joined #maemo-ssu | 07:26 | |
*** bromide is now known as discopig | 08:26 | |
*** Vlad_on_the_road has quit IRC | 09:09 | |
*** LauRoman has joined #maemo-ssu | 09:25 | |
*** jonwil has quit IRC | 09:51 | |
*** Martix_ has joined #maemo-ssu | 09:55 | |
*** Martix_ has quit IRC | 10:00 | |
*** LauRoman has quit IRC | 10:03 | |
*** sunny_s has joined #maemo-ssu | 10:18 | |
*** hatake_kakashi has quit IRC | 10:23 | |
*** psycho_oreos has joined #maemo-ssu | 10:29 | |
*** Martix_ has joined #maemo-ssu | 10:41 | |
*** MohammadAG has joined #maemo-ssu | 10:42 | |
*** luf has joined #maemo-ssu | 10:44 | |
*** Martix_ has quit IRC | 10:45 | |
*** Martix_ has joined #maemo-ssu | 10:45 | |
*** Pali has joined #maemo-ssu | 10:45 | |
*** Martix_ has quit IRC | 10:53 | |
Pali | gitorious is not working again | 10:54 |
Pali | it reject me to push anything | 10:54 |
Pali | "Access denied or wrong repository path" | 10:54 |
Pali | gitorious started working | 11:53 |
*** dos1 has joined #maemo-ssu | 12:06 | |
*** DrCode has quit IRC | 12:16 | |
*** jonwil has joined #maemo-ssu | 12:50 | |
*** DrCode has joined #maemo-ssu | 12:50 | |
*** DrCode has quit IRC | 12:56 | |
*** LauRoman has joined #maemo-ssu | 12:59 | |
Pali | FatPhil: ping | 13:07 |
*** DrCode has joined #maemo-ssu | 13:21 | |
*** oooaaaooo1 has left #maemo-ssu | 13:46 | |
*** arcean has joined #maemo-ssu | 14:30 | |
FatPhil | Pali: pong! | 14:41 |
*** freemangordon_ is now known as freemangordon | 14:49 | |
freemangordon | Pali: maybe we shoud switch to github | 14:49 |
freemangordon | Pali: BTW maybe you should rebase linux to 3.11 or 3.12 | 14:50 |
*** _LauRoman has joined #maemo-ssu | 14:51 | |
nedko | maemo for workgroups :) | 14:52 |
*** LauRoman has quit IRC | 14:54 | |
freemangordon | FatPhil: hi! Do you have some 3.x rx51 tree by chance :)? | 14:54 |
freemangordon | nedko: hmm? | 14:55 |
freemangordon | win311? | 14:55 |
nedko | freemangordon: yes, linux-3.11 codename is "Linux for Workgroups" | 14:56 |
freemangordon | omg, really? heh | 14:56 |
nedko | yes, check in /Makefile line 5 :) | 14:56 |
FatPhil | freemangordon: I did find a rather strange 2.6.3x rx-51 tree. I have no idea why it existed. | 15:01 |
*** _LauRoman is now known as LauRoman | 15:05 | |
*** MrPingu has joined #maemo-ssu | 15:26 | |
*** ruskie has quit IRC | 15:34 | |
*** ruskie has joined #maemo-ssu | 15:34 | |
*** luf has left #maemo-ssu | 15:37 | |
*** ruskie has quit IRC | 15:39 | |
*** ruskie has joined #maemo-ssu | 15:39 | |
*** mkaindl has joined #maemo-ssu | 15:49 | |
*** ruskie has quit IRC | 15:59 | |
*** ruskie has joined #maemo-ssu | 16:04 | |
*** ruskie has quit IRC | 16:05 | |
*** ruskie has joined #maemo-ssu | 16:05 | |
*** jonwil_ has joined #maemo-ssu | 16:06 | |
*** jonwil has quit IRC | 16:07 | |
*** jonwil_ is now known as jonwil | 16:07 | |
*** oooaaaooo has joined #maemo-ssu | 16:08 | |
oooaaaooo | hi guys im trying to install the cssu by clicking on the link on http://wiki.maemo.org/Community_SSU but HAM says "community-ssu-enabler" already installed | 16:10 |
thedead1440 | oooaaaooo: it means you already have it; are you sure you don't have CSSU? | 16:13 |
oooaaaooo | it had stalled the last time i tried to update it for some reason or another and when i restarted the phone the maemo "cube" wasnt available on my desktop | 16:14 |
oooaaaooo | failed to download the 23mb package | 16:14 |
thedead1440 | you may want to do refresh catalogues (or is it called update?) in HAM to allow it to complete the download/installation | 16:17 |
*** mkaindl has left #maemo-ssu | 16:18 | |
oooaaaooo | thedead1440: which catalogs are related to cssu? | 16:19 |
thedead1440 | no i mean HAM has an update option; click on it for it to update the catalogues and present to you any updates which would complete the installation | 16:20 |
oooaaaooo | thedead1440: yeah but i would like to disable the non related catalogs to speed up the process | 16:20 |
thedead1440 | why mess with the catalogues? You clicked on the .install file right? It set up the catalogues for you. All you need to do now is allow HAM to complete the job instead of finding some shortcut which won't help most probably | 16:21 |
oooaaaooo | i had non-standard catalogs installed before | 16:21 |
oooaaaooo | and before coming in here i disabled some of them | 16:22 |
thedead1440 | sigh... just let HAM handle it instead of speculating... | 16:22 |
*** arcean_ has joined #maemo-ssu | 16:25 | |
oooaaaooo | thedead1440: i have both testing and normal catalogues installed | 16:27 |
oooaaaooo | thedead1440: lol | 16:27 |
oooaaaooo | i see a maemo5 CSSU package(thumb) update | 16:28 |
oooaaaooo | i guess i install that | 16:28 |
*** arcean has quit IRC | 16:28 | |
*** MrPingu has quit IRC | 16:39 | |
*** MrPingu has joined #maemo-ssu | 16:52 | |
*** oooaaaooo has left #maemo-ssu | 17:01 | |
*** ruskie has quit IRC | 17:02 | |
Pali | FatPhil: 2.6.3x rx-51 tree is on meego gitorious and was there was n900 meego support | 17:05 |
Pali | FatPhil: what I wanted to ask: is there any (nokia) tool for memory leak statistics? | 17:06 |
Pali | I want to fix some mem leaks bugs in some application, I already used valgrind - but it does not show statictic - instead for every memleak show message | 17:06 |
Pali | and if there are 10000 leaks, it is not possible to read valgrind output... | 17:07 |
Pali | sailus: ping | 17:07 |
Pali | freemangordon: ping | 17:07 |
discopig | hi | 17:14 |
FatPhil | Pali: we had some scripts for that, I thought they were available from meego context | 17:16 |
*** ruskie has joined #maemo-ssu | 17:16 | |
Pali | FatPhil: if these scripts/tools are open source, can you give me link or at least name of tools? | 17:16 |
Pali | what I found is: https://wiki.maemo.org/Documentation/devtools/maemo5/sp-memusage | 17:17 |
Pali | (and sources are in maemo SDK repo) | 17:17 |
FatPhil | sp-* yup, that's what we used | 17:17 |
FatPhil | Well, there was a separate dedicated team using that | 17:18 |
Pali | what does *sp* means? | 17:18 |
FatPhil | named after the system performance team, perhaps? | 17:18 |
*** Martix_ has joined #maemo-ssu | 17:18 | |
FatPhil | We're gaining one of that team here next week, I can ask him if he has any insights (but I leave here in 2 weeks...) | 17:19 |
Pali | ok, I will try to compile that tool for x86-64 and try to use it :-) | 17:19 |
Pali | sailus: freemangordon trying to get both n900 cameras working with 3.11 kernel, but he only see green output in mplayer | 17:21 |
jonwil | ok, just updated http://wiki.maemo.org/N900_dbus with some more info about com.nokia.phone.SSC | 17:21 |
Pali | sailus: do you have any idea why? | 17:21 |
DocScrutinizer05 | LAST FAMOUS WORDS: | 17:22 |
DocScrutinizer05 | [2013-09-16 15:28:18] <oooaaaooo> i see a maemo5 CSSU package(thumb) update | 17:22 |
DocScrutinizer05 | [2013-09-16 15:28:27] <oooaaaooo> i guess i install that | 17:22 |
DocScrutinizer05 | [2013-09-16 16:01:34] <-- oooaaaooo has left this channel. | 17:22 |
jonwil | We now have what in theory should be correct prototypes for all the cellular DBUS interfaces that we need to care about for Neo900 | 17:23 |
kerio | DocScrutinizer05: lol | 17:23 |
DocScrutinizer05 | actually "famous last words" | 17:24 |
* DocScrutinizer05 needs more coffee | 17:24 | |
DocScrutinizer05 | jonwil: \o/ | 17:27 |
jonwil | we still need to figure out all the arguments etc | 17:30 |
DocScrutinizer05 | dammit, the http://www.cncmods.net/files/dbus/ssc.xml link on http://wiki.maemo.org/N900_dbus a) should rather point to another wiki page inside wmo, and b) of course doesn't render at all on my konqueror | 17:30 |
jonwil | but its a start | 17:30 |
nedko | DocScrutinizer05: i'd like to make that page asciidoc | 17:30 |
DocScrutinizer05 | http://wiki.maemo.org/User:Joerg_rw/dbus | 17:31 |
DocScrutinizer05 | sidenote ^^^ | 17:31 |
jonwil | if you want to improve the N900_dbus page, feel free :) | 17:32 |
nedko | i also try to document the daemons that register the dbus names | 17:32 |
nedko | there are two of them | 17:32 |
nedko | got csd | 17:33 |
nedko | for csd | 17:33 |
jonwil | everything on that page under Cellular functionality comes from the csd daemon and its plugins except com.nokia.phone.SSC | 17:34 |
jonwil | com.nokia.phone.SSC comes from sscd | 17:34 |
nedko | not on my n900 :] | 17:34 |
nedko | meh | 17:35 |
nedko | shame | 17:35 |
jonwil | meh what? | 17:35 |
nedko | same on my n900 | 17:35 |
nedko | sorry | 17:35 |
jonwil | ok | 17:35 |
jonwil | let me identify who is using each of the relavent dbus interfaces :) | 17:40 |
jonwil | cellular functionality is definatly the hardest part of this whole jigsaw puzzle, audio and GPS are next hardest | 17:41 |
jonwil | Audio is only hard because of the need to deal with all the various closed-source bits in the system | 17:41 |
jonwil | and how those things will change as a result of the differences in the audio system on N900 vs Neo900 | 17:42 |
DocScrutinizer05 | ohyeah :-S | 17:42 |
DocScrutinizer05 | I'm still undecided if we shouldn't rather try to get the AIC32xxxx mixer into Neo900 hw | 17:43 |
jonwil | ok, so on the current GTA04 hardware, are there any binary kernel bits required? | 17:43 |
DocScrutinizer05 | dang, I missed to "bookmark" the quote from FatPhil(?) about OMAP audio and the SiErr(?) it had in every single function | 17:44 |
jonwil | oh btw for pulseaudio we should maybe see what the meego/mer/nemo/whatever its called these days/etc guys are doing with the N900 stuff and see what pulseaudio bits they are using | 17:53 |
DocScrutinizer05 | (([2013-09-12 13:59:59] <FatPhil> Peter Ujfalusi once gave...)) found it. :-) | 17:53 |
Pali | FatPhil: sp-memusage does not have any memleak detector | 18:02 |
FatPhil | sp-endurance | 18:02 |
*** bsdmaniak has joined #maemo-ssu | 18:02 | |
FatPhil | very coarse grained, but can tell you if there's a leak or not | 18:03 |
*** dos1 has quit IRC | 18:03 | |
FatPhil | I'm pretty sure I was able to link with Electric Fence | 18:06 |
FatPhil | Hmm, maybe that doesn't help with leaks, I've forgotten. | 18:08 |
*** NIN101 has joined #maemo-ssu | 18:11 | |
*** amiconn_ has joined #maemo-ssu | 18:12 | |
*** amiconn has quit IRC | 18:12 | |
*** amiconn_ is now known as amiconn | 18:12 | |
*** MrPingu has quit IRC | 18:15 | |
*** MrPingu has joined #maemo-ssu | 18:16 | |
*** freemangordon_ has joined #maemo-ssu | 18:23 | |
*** freemangordon has quit IRC | 18:23 | |
*** MrPingu has quit IRC | 18:40 | |
*** dos1 has joined #maemo-ssu | 18:41 | |
jonwil | I doubt anyone outside of Nokia will ever be able to figure out what com.nokia.phone.sim.get_service_provider_info actually does | 19:17 |
dos1 | what does it return? | 19:28 |
jonwil | 'som numbers whos purpose I have never figured out | 19:30 |
jonwil | some | 19:30 |
*** dos11 has joined #maemo-ssu | 19:42 | |
*** dos1 has quit IRC | 19:43 | |
sixwheeledbeast | Pali: If I wish to have swap on uSD do I just 'echo swap_sd="1" >> /etc/default/mount-opts-overwrite'. Which update in "cssu-devel" provides this? | 19:43 |
Pali | sixwheeledbeast: that option will automatically enable all swap partitions on SD card during boot + it adds them to /etc/fstab | 19:44 |
*** jonwil has quit IRC | 19:48 | |
sixwheeledbeast | Pali: Yep, I have edited mount-ops and tested this but noticed the comments at the start of the file. Will this edit to mount-opts-overwrite work on all CSSU versions? | 19:54 |
Pali | sixwheeledbeast: all cssu versions which support swap_sd support also overwrite file | 19:55 |
Pali | sixwheeledbeast: and you really do not edit mount-opts file! | 19:56 |
Pali | it can cause problems when updating via HAM | 19:56 |
Pali | or problems if you do not answer Y when updating via apt-get | 19:56 |
sixwheeledbeast | I realise that from reading comment at stop of /etc/fstab ;) You don't happen to know which versions support it? | 19:57 |
freemangordon_ | Pali: pong | 20:06 |
*** freemangordon_ is now known as freemangordon | 20:06 | |
*** MrPingu has joined #maemo-ssu | 20:07 | |
*** Vlad_on_the_road has joined #maemo-ssu | 20:20 | |
*** wiredless has joined #maemo-ssu | 20:59 | |
wiredless | haven't been here since nokia 770 days | 21:02 |
DocScrutinizer05 | wow, wellcome back. I just wonder if this channel even existed at 770 times | 21:10 |
wiredless | think it did i could be wrong | 21:13 |
wiredless | any idea if urho kontorri comes in here | 21:14 |
wiredless | he made theme maker for maemo | 21:14 |
wiredless | i know he wound up going to work for nokia | 21:16 |
DocScrutinizer05 | haven't "seen" kontorri for quite a while | 21:18 |
wiredless | hope he still has a job | 21:18 |
DocScrutinizer05 | ~seen kontorri | 21:18 |
infobot | DocScrutinizer05: i haven't seen 'kontorri' | 21:18 |
wiredless | so whats the newest hot hardware for maemo? | 21:19 |
DocScrutinizer05 | err, existing or projected? | 21:19 |
wiredless | something you can buy now | 21:20 |
FatPhil | 2nd hand n900s | 21:20 |
wiredless | i see | 21:20 |
DocScrutinizer05 | depending on your definition of "maemo" a N900 or a N9 | 21:20 |
FatPhil | well, you want a keyboard, so N950, perhaps? | 21:21 |
DocScrutinizer05 | some say N9 runs maemo6, some say it runs meego, some say it doesn't run at all | 21:21 |
DocScrutinizer05 | hard to buy ;-) | 21:21 |
wiredless | heh | 21:21 |
FatPhil | true, rare as rocking-horse shit | 21:22 |
DocScrutinizer05 | also see www.neo900.org | 21:22 |
freemangordon | FatPhil: IMO n900 has better KBD than N950 | 21:22 |
DocScrutinizer05 | born from a widespread frustration about that situation | 21:22 |
freemangordon | not to say that opening n950's kbd is a nightmare. and impossible to be done with one hand | 21:23 |
DocScrutinizer05 | ack, n950 kbd is *cough* | 21:23 |
freemangordon | Pali: hmm, could our ssi problem be related to mux configuration? | 21:23 |
freemangordon | going to try it | 21:23 |
Pali | maybe | 21:25 |
FatPhil | freemangordon: agree | 21:29 |
freemangordon | Pali: DocScrutinizer05: FatPhil: please verify http://pastebin.com/aAULuuyc | 21:35 |
freemangordon | the last comment is /* ssi1_wake */ | 21:36 |
*** MrPingu has quit IRC | 21:38 | |
FatPhil | freemangordon: see http://www.spinics.net/lists/linux-omap/msg96880.html | 21:38 |
wiredless | keep the faith | 21:39 |
*** wiredless has left #maemo-ssu | 21:39 | |
freemangordon | FatPhil: hmm? some type correction | 21:40 |
freemangordon | FatPhil: elaborate please | 21:40 |
*** arcean_ has quit IRC | 21:40 | |
DocScrutinizer05 | freemangordon: huh? | 21:40 |
freemangordon | DocScrutinizer05: I am almost sure mux is set for UART, not SSI | 21:42 |
freemangordon | that is why modem does not work | 21:42 |
freemangordon | FatPhil: s/type/typo/ | 21:42 |
DocScrutinizer05 | freemangordon: sorry, can't tell from that snippet | 21:43 |
freemangordon | DocScrutinizer05: look at schematic, names are there | 21:44 |
freemangordon | omap to rapu bus | 21:44 |
freemangordon | FatPhil: oh, got it, we have that typo :) | 21:44 |
DocScrutinizer05 | when the names match with schematics, then I guess it's correct. Yes | 21:44 |
freemangordon | DocScrutinizer05: I wanted you to check if they mach, along with inpto/output flags | 21:45 |
freemangordon | I just wrote that snippet and want someone else to verify if it is correct | 21:45 |
DocScrutinizer05 | sorry, a tad under timing constraints right now | 21:45 |
freemangordon | sure, np | 21:45 |
*** xes has joined #maemo-ssu | 21:46 | |
DocScrutinizer05 | I can only speculate what your code snippet does. Looks to me as if the mux is set to mode1 for all pinds listed there | 21:46 |
freemangordon | yep | 21:47 |
freemangordon | mode 0 is UART | 21:47 |
freemangordon | mode 1 *should* be SSI | 21:47 |
*** bsdmaniak has quit IRC | 21:50 | |
*** arcean_ has joined #maemo-ssu | 21:50 | |
freemangordon | data is missing from TRM, but is in the kernel code | 21:51 |
DocScrutinizer05 | freemangordon: yes, from a cursory check that code snippet looks fine | 21:53 |
freemangordon | thanks | 21:53 |
freemangordon | booting it, lets see | 21:53 |
freemangordon | :D | 21:53 |
*** ruskie has quit IRC | 21:57 | |
*** M4rtinK has joined #maemo-ssu | 22:04 | |
freemangordon | hmm: | 22:12 |
freemangordon | /* gpio_74 */ | 22:12 |
freemangordon | OMAP3_MUX(DSS_DATA4, OMAP_PIN_INPUT_PULLDOWN | OMAP_MUX_MODE4), | 22:12 |
freemangordon | this is supposed to be CMT_EN | 22:12 |
DocScrutinizer05 | yes, and output, according to schematics | 22:17 |
freemangordon | :nod: | 22:17 |
freemangordon | I think all gpios are messed :( | 22:17 |
freemangordon | but how is that possible, it is set as OMAP_GPIO_SWITCH_FLAG_OUTPUT in the board code :( | 22:21 |
*** ruskie has joined #maemo-ssu | 22:24 | |
*** DrCode has quit IRC | 22:41 | |
*** DrCode has joined #maemo-ssu | 22:45 | |
DocScrutinizer05 | freemangordon: when you're done with the work and have a beer, you *might* ponder about putting ETM into purpose, so you could tell who's doing what when | 22:48 |
DocScrutinizer05 | OMAP's Embedded Trace Macrocell is a nifty thing, and a pity to not exploit it | 22:49 |
*** sunny_s has quit IRC | 22:52 | |
FatPhil | ETM is available in the harmattan kernel tree | 22:55 |
*** xes has quit IRC | 23:04 | |
*** xes has joined #maemo-ssu | 23:06 | |
Pali | freemangordon: gpios are exported via sysfs and more maemo daemons setting them | 23:24 |
Pali | also omap gpio switch driver doing something... | 23:24 |
freemangordon | Pali: I think it is NOLO that sets lots of things | 23:25 |
Pali | yes and uboot setting someting too | 23:25 |
freemangordon | however, having SSI gpios set to UART mode doesn;t look correct to me | 23:25 |
*** arcean_ has quit IRC | 23:25 | |
Pali | freemangordon: look here: https://elektranox.org/n900/libisi/power.html | 23:27 |
freemangordon | Pali: yes, I have similar script | 23:27 |
freemangordon | and this is what sscd does | 23:28 |
freemangordon | but if gpios are not se correctly... ;) | 23:28 |
Pali | freemangordon: look at data for omap gpio switch driver | 23:29 |
freemangordon | Pali: it is not enough, mux have to be st too | 23:30 |
freemangordon | *set | 23:30 |
Pali | because OMAP atag table is not in kernel anymore I copied gpio data from NOLO atags directly to rx51 board code for omap gpio driver | 23:30 |
Pali | and maybe there is some copy paste error | 23:30 |
Pali | btw same data should be in u-boot | 23:30 |
Pali | mux are set by uboot too | 23:30 |
Pali | maybe kernel resetting them now? | 23:30 |
freemangordon | Pali: SSI is not a public interface | 23:31 |
freemangordon | Pali: :nod: | 23:31 |
freemangordon | look at serial.c | 23:31 |
freemangordon | serial driver sets all 4 uart pins to uart mode if they are in default state | 23:31 |
freemangordon | s/pins/devices/ | 23:32 |
infobot | freemangordon meant: serial driver sets all 4 uart devices to uart mode if they are in default state | 23:32 |
freemangordon | but ssi shares pins with uart1 | 23:32 |
freemangordon | so board code should tell the mux to put the in ssi mode | 23:32 |
freemangordon | tha same for mcbsp4 | 23:32 |
freemangordon | Pali: do you have KP compiled with debugfs enabled? | 23:33 |
Pali | kp should have debugfs | 23:34 |
freemangordon | well, 3.x has more info :) | 23:34 |
freemangordon | Pali: where to look for your "copied" gpois? | 23:35 |
freemangordon | gpios* | 23:35 |
Pali | board-rx51-peripherals.c | 23:35 |
Pali | at begining | 23:35 |
Pali | freemangordon: look also here: https://gitorious.org/meego-device-adaptation/n900_nokia-n900-configs/source/372022b4f463771534625dde7d714cad071fcea7:nokia-n900-configs.sh | 23:36 |
freemangordon | Pali: rx51_gpio_switches? | 23:36 |
Pali | yes | 23:36 |
freemangordon | ok, I'll try this script | 23:37 |
freemangordon | but I guess the board code should do the same | 23:37 |
*** Vlad_on_the_road has quit IRC | 23:42 | |
*** NIN101 has quit IRC | 23:51 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!