IRC log for #maemo-ssu on 20130912

00:36.17*** join/#maemo-ssu DrCode (~DrCode@gateway/tor-sasl/drcode)
01:13.50*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
01:49.21*** join/#maemo-ssu discopig (~discopig@unaffiliated/discopig)
02:06.36*** join/#maemo-ssu amiconn_ (amiconn@rockbox/developer/amiconn)
02:38.26*** join/#maemo-ssu Milhouse (~Milhouse@Maemo/community/contributor/Milhouse)
04:50.36*** join/#maemo-ssu dafox (~dafox@ip51cc571d.speed.planet.nl)
05:06.07*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
06:24.03*** join/#maemo-ssu Pali (~pali@Maemo/community/contributor/Pali)
06:48.30freemangordonPali: hi, it looks as I was able to port back camera to clock framework, where is that "new" firmware I need?
06:49.12Palifreemangordon: https://gitorious.org/omap3camera/camera-firmware
06:49.14Palilast git commit
06:49.18freemangordonthanks
06:49.27Paliprevious git commit is 2.6.28 version
06:49.49Palibtw it is not firmware, but kernel C structure with some data
06:50.09Paliand maybe it could be good idea to include these data directly to driver :-)
06:50.15Pali(if driver start working)
06:50.19freemangordonyeah
06:54.42*** join/#maemo-ssu DrCode (~DrCode@gateway/tor-sasl/drcode)
07:15.11*** join/#maemo-ssu sixwheeledbeast (~paul@host-78-145-81-34.as13285.net)
07:24.59*** join/#maemo-ssu DrCode (~DrCode@gateway/tor-sasl/drcode)
07:41.59*** join/#maemo-ssu discopig (~discopig@unaffiliated/discopig)
08:49.00*** join/#maemo-ssu Sohil876 (~Sohil876@106.66.15.210)
09:00.30*** join/#maemo-ssu Martix (~martix@123.225.broadband2.iol.cz)
09:20.35*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
09:29.13chem|stfreemangordon: I actually wanted to talk with you what we can do about the gap between them
09:30.15chem|stthere are several things that, if we keep "freedom of choice", will never make it to cssu-s as noone ever cares about implementing a choice
09:30.46chem|stlike camera and stuff
09:31.11freemangordonchem|st: sure, but at least the sruff that doesn't restrict that "freedom of choice" (and considered stable) could be upgraded
09:31.18freemangordonstuff even
09:31.25chem|stpeople using stable ask about stuff in testing and end up installing testing as I can only tell it wont make it in the near future
09:32.23chem|styeah I need to put a new stable together in the next weeks with the stuff we have but we need to think about the general setup of cssu
09:32.40freemangordonchem|st: and honestly, maybe I am not the exact person to discuss "freedom of choice" with, as I see the whole CSSU as a relaxed continuation of Nokia's policy
09:33.12chem|stfreemangordon: I would just put testing to stable at some point
09:33.26freemangordon:nod:
09:33.28chem|stlike now
09:33.38freemangordonchem|st: nnah
09:33.45chem|sthehe
09:33.53freemangordonthere are stuff in -T which is not stable enough afaik
09:34.39chem|stI mean the last known good
09:35.13freemangordonchem|st: but srsly, both you and merlin1991 should agree about the policy re nicocam and such. I know this was agreed about 2 years ago (additional repos, etc) but so far nothing done
09:36.02chem|sthe is ok with me putting it just into stable... I have to live with the fingers pointed and the people crying
09:36.08freemangordonand I don;t see anyone workong on that
09:36.45freemangordonchem|st: I am fine with that, not to say i think this is the right thing to do
09:36.45chem|sthow many are working on cssu?
09:37.15chem|st...
09:37.27freemangordonme, Pali, luf, arcean. and _ade_ works on adeclock, but this is still not in cssu
09:37.39freemangordonI hope I don;t miss someone :)
09:38.46Paliit is in cssu-devel :-)
09:39.12freemangordonPali: yeah :)
09:39.37freemangordonchem|st: anyway, something should be done, esp in light of neo900
09:40.01chem|stwas a rethorical question....
09:40.38freemangordonwe didn;t discuss it with Pali, but my impression is that both of us aim CSSU as being the fremantle distribution to be used on neo900
09:40.44freemangordonchem|st: ooh :)
09:40.52freemangordonanyway, I counted them :D
09:40.57chem|st~5
09:41.31freemangordonor less, as arcean is focused more or less on h-d
09:41.57freemangordonPali: is my impression correct?
09:42.13Paliwhy not?
09:42.19freemangordon:nod:
09:45.01freemangordonanyway, gtg
10:09.36*** join/#maemo-ssu joshgillies (~josh@ppp108-14.static.internode.on.net)
10:17.36*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
10:37.44*** join/#maemo-ssu lizardo (lizardo@nat/indt/x-rddxhwjgxgtclchh)
10:50.01*** join/#maemo-ssu dos11 (~dos@unaffiliated/dos1)
11:44.00oooaaaooohi guys what is the default root password on the n900
11:44.13oooaaaooofor su access
11:44.26DocScrutinizer05((<chem|st> people using stable ask about stuff in testing and end up installing testing as I can only tell it wont make it in the near future)) aren't cssu-s users free to apt-get install anything from cssu-t they want?
11:45.06DocScrutinizer05if they're not than we have an elementary problem which needs to get solved
11:45.17DocScrutinizer05s/than/then/
11:46.58Palioooaaaooo: rootme
11:47.07DocScrutinizer05freemangordon: there BEEN NO "additional repos" involved in what merlin1991 and me introduced 2 years ago to solve the "freedom of choice" issue. It's a simple problem of packaging
11:47.36DocScrutinizer05oooaaaooo: nope, there is no default password
11:48.04*** join/#maemo-ssu jonwil (~jonwil@27-33-137-199.static.tpgi.com.au)
11:48.19PaliDocScrutinizer05: look at /etc/shadow after flashing PR1.3
11:48.20DocScrutinizer05oooaaaooo: you install rootsh and then use command "root" to gain root permissions
11:48.28*** join/#maemo-ssu WielkiTost (~dos@unaffiliated/dos1)
11:48.43jonwilDocScrutinizer05: ping
11:49.02oooaaaoooDocScrutinizer05: so i dont need to su dpkg ?
11:49.33Palioooaaaooo: if you do not have R&D mode enabled, you need to install rootsh package via Application Manager
11:49.42oooaaaoooPali: thanks
11:49.42DocScrutinizer05oooaaaooo: for dpkg and apt-get etc you gain root shell via cmd "root"
11:50.13Palibut for it you need to install rootsh first
11:50.16DocScrutinizer05oooaaaooo: "su" is "broken" on maemo, thanks busybox
11:50.39oooaaaoooDocScrutinizer05: ok good to know
11:50.39Palisu is symlink to busybox, and symlinks do not have setuid bit
11:51.00Paliso su working only if you start it as root :-)
11:51.18DocScrutinizer05oooaaaooo: so - install rootsh via HAM, then use cmd "root" to gain a root shell
11:51.41jonwilso guys, do you think wiki.maemo.org is the best place for Neo900 software things or is there a better place for it? Specifically, stuff about which binary packages we can reuse and which binary packages we need to do something different with as well as the dbus stuff for the cellular services daemon stuff
11:51.50DocScrutinizer05jonwil: pong
11:52.37DocScrutinizer05jonwil: that's not exactly about Neo900, it's about fremantle porting, and that clearly goes to wiki.m.o
11:52.51jonwilIts about "
11:53.04jonwilits about "porting Fremantle to things based on some hardware assumptions about the Neo900"
11:53.15DocScrutinizer05:nod:
11:53.25DocScrutinizer05wiki.m.o perfect location for this
11:53.58jonwilI will create http://wiki.maemo.org/Cellular_Services_Daemon for the CSD and CSD dbus stuff
11:54.39DocScrutinizer05please consider creating a category "porting/"
11:55.25jonwilok, makes sense
11:55.28DocScrutinizer05wiki admins have power to clean up by moving pages around, but better start in right location right away
11:56.16jonwilAlso do we know about audio hardware on Neo900? Will it use N900 sound chip? N900 speakers?
11:56.31jonwilor will it use the same hardware as GTA04 for that?
11:57.40DocScrutinizer05documenting existing dbus calls is clearly a general maemo topic, thus your location as suggested by you is fine for that. Considerations about how much we need to reimplement are not of any interest to the general maemo developer and thus should go to a category "porting/CSD"
11:58.07*** join/#maemo-ssu sunny_s (~sunny_s@business-092-079-020-027.static.arcor-ip.net)
11:58.30DocScrutinizer05jonwil: audio is the most annoying subject in Neo900, and not yet finalized. But most definitely will _not_ use identical chipset like N900
11:58.38jonwilok
11:58.44DocScrutinizer05possibly it's completely different to N900
11:58.58DocScrutinizer05except speakers themselves
11:59.03DocScrutinizer05;-)
11:59.57DocScrutinizer05we're still about to wonder why the heck nobody else (pandora, N900... etc) used twl4030 audio function blocks
11:59.59FatPhilPeter Ujfalusi once gave a presentation on the functionality of the TI sound core. He explained that every single possible mode of operation it had was either fundamentally flawed by design, or just plain buggy.
12:00.17oooaaaooois maemo a rolling release distro or do i have to manually update to the most recent LTS?
12:00.23DocScrutinizer05aaah thanks, that explains this :-D
12:00.44DocScrutinizer05oooaaaooo: basicaly maemo is NO rolling release
12:01.03jonwilI will create http://wiki.maemo.org/CSD for discussing the architecture of the CSD and the dbus calls
12:01.06DocScrutinizer05oooaaaooo: you're supposed to use HAM to do release updates
12:01.23oooaaaoooDocScrutinizer05: ok so its all in ham
12:01.28DocScrutinizer05oooaaaooo: do NOT do apt-get upgrade or even dist-upgrade!
12:01.34FatPhilBut HAM is teh suck. :-(
12:01.38DocScrutinizer05sure
12:02.02DocScrutinizer05alas it's the only package manager that knows about Nokia's package groups they invented
12:02.17FatPhilits desperate attempts to remain stateless means that it is slower than swimming through treacle in january
12:02.25DocScrutinizer05and about repo trust levels
12:02.43DocScrutinizer05:nod:
12:02.59oooaaaooowhat does the H in HAM stand for
12:03.03FatPhiluses fapman quite happily presently.
12:03.04DocScrutinizer05just don't use apt to do maemo release upgrades
12:03.09DocScrutinizer05Hildon
12:03.30DocScrutinizer05FatPhil: fapman is a GUI wrapper around apt
12:03.55DocScrutinizer05it doesn't know nor care about the nokia idiosyncrasies in repo management
12:03.57oooaaaoooi have app manager but dont see a HAM icon
12:04.03Sicelouses apt
12:04.12DocScrutinizer05Hildon "Application Manafer"
12:04.21DocScrutinizer05s/f/g/
12:04.56DocScrutinizer05Sicelo: everybody does. Just not for everything
12:05.19Sicelowell, for everything with me..
12:05.21DocScrutinizer05there are a few packages you better use HAM for
12:05.34jonwilAnd I will create http://wiki.maemo.org/Porting/Closed_Packages for discussing the closed packages and what to do with them (basing the info on some assumptions about the hardware that will be different on the Neo900 vs the N900)
12:05.34Siceloof couse i never do 'apt-get upgrade -y' :D
12:05.43DocScrutinizer05like maemo OS and maemoCSSU OS upgrades
12:06.01DocScrutinizer05or system stuff like bootmenu or kernels
12:06.24DocScrutinizer05you *can* use apt for that, if you know *exactly* what you're doing
12:07.00DocScrutinizer05jonwil: sounds good to me
12:09.44oooaaaoooso is HAM the default package manager?
12:10.39jonwilbtw, did we say that we wont be using the same Broadcom BCM2048 Bluetooth chip as the N900? I know the WiFi chip wont be a WL1251...
12:11.21oooaaaooooh its just a front end
12:12.31Sicelooooaaaooo: default (and only) :P
12:14.12jonwilok, going to assume we wont be using the same bluetooth chip :)
12:15.15oooaaaoooSicelo: im trying to follow this http://wiki.maemo.org/Community_SSU . So ill just launch the HAM and look for rootsh and then install backupmenu via dpkg?
12:17.39Siceloyes. or even backupmenu with HAM as well
12:18.07oooaaaoooSicelo: oh ... i knew that ! :)
12:19.50oooaaaoooSicelo: umm how do i search ham?
12:25.19oooaaaooook so i go to application manager > download > all then type in "back" and only see microfeed & web2sms
12:25.49oooaaaooonvm i c rootsh
12:26.03oooaaaooowhatbout sudser?
12:26.20Siceloi think u wil regret installing that
12:26.35oooaaaoooSicelo: sudser?
12:26.49Siceloyes
12:27.04oooaaaoooSicelo: ummm y?
12:27.40oooaaaooook nvm ive downloaded it
12:27.45oooaaaooorootsh
12:28.11Sicelomaybe i'm the one that made a mistake, but it changed some of my root settings and i could never get them back afterwards
12:29.23*** join/#maemo-ssu raccoon_ (user@ghs/raccoon)
12:29.25oooaaaoooSicelo: ok
12:29.59oooaaaoooso whats the key for " | " (pipe) on the n900
12:30.11oooaaaooolike if i wanted to | less
12:30.26SiceloFn+Ctrl.. then choose from characters
12:30.39oooaaaoookool
12:30.51oooaaaooothx'
12:31.24Siceloyou can remap they keeyboard though if you've brave.. and can also add extra characters onto Xterm's 'command bar' if i may call it that
12:31.45oooaaaooook so less isnt installed
12:32.02oooaaaoooso isnt man
12:33.37Sicelo~jr-tools
12:33.37infobot[jrtools] http://wiki.maemo.org/User:Joerg_rw/tools
12:33.56Sicelooooaaaooo: i guess you're looking for that page ...
12:37.27oooaaaoooSicelo: oh cool bash
12:39.29oooaaaoooSicelo: how big's your home
12:42.41Siceloi think mine is 8GB.. didn't use DocScrutinizer05's way though.. because i wanted to avoid a reflash
12:43.17Siceloah, it's 6GB. i once had 8GB though
12:46.58oooaaaoooSicelo: so that link thats docs way?
12:47.44Siceloyup..
12:47.45Sicelo:P
12:48.09Sicelo~Docscrutinizer
12:48.09infoboti heard docscrutinizer is jOERG, a HW-developer and engineer of Openmoko
12:48.17DocScrutinizer05hmm?
12:48.33Sicelodon't worry, positive gossip :D
12:48.38DocScrutinizer05aah
12:51.06oooaaaoooso what exactly is the image being flashed?
12:51.11oooaaaooois that the cssu?
12:53.42Sicelono. there's no cssu image. you flash normal PR1.3, then upgrade to CSSU
12:56.30oooaaaoooSicelo: ok i have 21.2011.38 so thats PR1.3.1?
12:57.31oooaaaoooso i wouldnt be able to just ssh in and do the NEW-HOME size thingy?
12:57.46Sicelono
12:58.02Siceloyou must re-partition
12:58.22Sicelothere's a detailed wiki page about how you do that (which is what i did)
12:58.55oooaaaoooSicelo: link?
12:59.28Sicelough.. /me has never been good with bookmarks.. let me look for it
13:00.05*** join/#maemo-ssu discopig (~discopig@unaffiliated/discopig)
13:00.24oooaaaoooSicelo: thanks man
13:01.38Sicelohttp://wiki.maemo.org/Repartitioning_the_flash
13:01.39oooaaaoooSicelo: i wonder if in storage mode gparted picks it up?
13:04.06oooaaaoooahh
13:04.08oooaaaooo:)
13:07.15oooaaaooook so i need to install backup menu
13:07.36Sicelovery handy
13:07.57DocScrutinizer05you don't regularly need to increase the 2GB $HOME you got
13:08.32DocScrutinizer0599.5% of users have their 2GB /home partition at <50% usage
13:08.41DocScrutinizer052GB is a *lot*
13:09.12Sicelotrue DocScrutinizer05. i'm only using 1.4GB atm
13:09.32chem|stDocScrutinizer05: $User has no idea how to apt-get
13:10.19DocScrutinizer05well, apt-get is largely unrelated to /home anyway
13:10.33DocScrutinizer05unless package is optified
13:10.54chem|stDocScrutinizer05: talking about users installing stuff from testing when on stable
13:11.06DocScrutinizer05aah
13:11.15DocScrutinizer05that's not the point.
13:11.22oooaaaoooDocScrutinizer05:  im new to martphones(this is my first smartphone...late boomer i know) so im not really sure what i would want to install actually
13:11.46oooaaaoooDocScrutinizer05: maybe a couple of emulators and some roms as well
13:12.00DocScrutinizer05those will indeed eat lots on /home
13:12.46DocScrutinizer05read:
13:12.51DocScrutinizer05~optification
13:12.51infobotoptification is a inventive duct tape workaround to reclaim space in fs root, done due to the fact the systeminit *and* partitioning is FUBAR,  http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Packaging,_Deploying_and_Distributing/Installing_under_opt_and_MyDocs, or ""OMG - I wish they looked into FHS and moved /usr to eMMC"", http://www.pathname.com/fhs/pub/fhs-2.3.html#PURPOSE2 bullet1,2 and fhs-2.3.html#PURPOSE16 dot3"
13:12.59DocScrutinizer05the first link
13:14.19DocScrutinizer05chem|st: the point is: when you *could* use apt-get, then there's no reason to include anything like nicocam per default, since you as well can distribute the package via .install files or any other convenient means you think is appropriate
13:15.08DocScrutinizer05"click here to get CSSU cam into cssu-stable"
13:15.41DocScrutinizer05no new repos needed, no mandatory forced new cameraui in metapackage
13:15.58DocScrutinizer05fredom of choice
13:16.58DocScrutinizer05even a "click here to *get rid* of new cameraui and roll back to stock camera in your CSSU-S system" is just as fine
13:17.35DocScrutinizer05jus definitely no mandatory installation of new bits that are not technically mandatory
13:18.20DocScrutinizer05easy to grok that philosophy, since it's default policy in all known linux distros
13:18.33DocScrutinizer05except maemo
13:20.59DocScrutinizer05technically mandatory bits that can't get uninstalled by CSSU users are: security fixes. essential bug fixes for bugs that would break core system functions. And any stuff that other core system functions DEPEND on the new changed API
13:21.19DocScrutinizer05nothing of that applies to cameraui
13:21.25*** join/#maemo-ssu BCMM (~user@unaffiliated/bcmm)
13:21.44DocScrutinizer05so it clearly is user's call to decide if they wnat or don't want it on their system
13:22.58oooaaaoooDocScrutinizer05: who is DocScrutinizer51?
13:23.09DocScrutinizer05my N900 client
13:23.26DocScrutinizer05N900 == RX51
13:23.42oooaaaoooo ok
13:24.55DocScrutinizer05at times there also been a *8 for N810
13:25.46DocScrutinizer05oooaaaooo: try /whois <nickname>
13:26.04DocScrutinizer05and /msg nickserv info <nickname>
13:26.30oooaaaooocool
13:27.06oooaaaoooDocScrutinizer05: so when i hook up my n900 to my pc in storage mode and it mounts as /495c-a960/dcim, where is that in the N900?
13:27.22SiceloCamera :D
13:27.40DocScrutinizer05usually in /home/user/MyDocs/DCIM
13:27.48DocScrutinizer05or on uSD
13:28.04oooaaaoooDocScrutinizer05: ok  lemme see
13:28.11DocScrutinizer05which is err /media/card/.... iirc
13:28.34Sicelo/media/mmc1
13:28.38DocScrutinizer05ok
13:29.19Sicelothe one in MyDocs is called Camera in stock File Manager
13:29.41DocScrutinizer05yep, it has this insane hiding_the_real_name thing
13:30.15oooaaaoooi just copied backupmenu to /dcim on my pc but it isnt in /home/user/MyDocs/DCIM
13:30.18DocScrutinizer05which confuses the hell outa noobs and experienced users alike
13:31.01DocScrutinizer05it's in MyDocs/dcim I guess
13:31.01Sicelohmm,
13:31.55DocScrutinizer05you might notice UpperCase/lowercase issues on linux, that you're not used to on windows
13:32.12oooaaaoooim on linux
13:32.43DocScrutinizer05:nod: thus I said "it's in MyDocs/dcim I guess"
13:32.58DocScrutinizer05"...not in DCIM"
13:33.51DocScrutinizer05you usually wouldn't want to copy sth like "backupmenu" to DCIM anyway
13:33.55oooaaaooo/dev/sdb on /media/495C-A960  thats what mount says
13:33.56DocScrutinizer05it's no photo
13:34.14oooaaaoooDocScrutinizer05: ok lol, parent directory then?
13:34.20DocScrutinizer05better idea
13:37.36DocScrutinizer05actually installing .dpkg (which is what I guess you're about to do, for whatever reason) is pretty simple on N900: click on the .dpk URL in webbrowser, it asks you whether to open or download. Do download. Then use filemanager to navigate to the download location which happens to be somewhere on MyDocs, and click the downloaded .dpkg which installs it
13:38.00DocScrutinizer05no shell needed at all, no dpkg -i cmdline or anything
13:38.18SiceloDocScrutinizer05 has grown old :p
13:38.48*** join/#maemo-ssu LaoLang_cool (~LaoLang_c@112.96.172.87)
13:38.50Sicelos/.dpkg/.deb/
13:38.56DocScrutinizer05yeah, old enough to know $USER
13:39.02DocScrutinizer05indeed
13:39.06DocScrutinizer05sorry
13:39.08DocScrutinizer05.deb
13:39.23oooaaaoooDocScrutinizer05: WAIT SO I CAN INSTALL .DEB FILES USING HAM?
13:39.32DocScrutinizer05basically yes
13:39.37DocScrutinizer05via filemanager
13:39.47oooaaaoooDocScrutinizer05: facepalm
13:39.52oooaaaoooDocScrutinizer05: lol
13:40.00oooaaaoooDocScrutinizer05: thanks
13:40.03DocScrutinizer05yw
13:40.39Siceloand of course, don't make a habit of installing .debs.. even on a real debian system you're advised to use a 'higher-level' package manager than dpkg
13:40.53DocScrutinizer05it *should* work even with browser only, but for unclear reasons it fails to install the .deb after downloading it, when you choose "open"
13:40.59DocScrutinizer05instead of "download"
13:42.01oooaaaoooSicelo: yeah but i couldnt find backupmenu in HAM
13:42.17DocScrutinizer05should be there
13:42.24DocScrutinizer05in extras-devel catalog
13:42.33oooaaaooocatalog...?
13:42.35DocScrutinizer05and now even in testing, iirc
13:42.39oooaaaooois that like a repo?
13:42.49DocScrutinizer05catalog == HAM's term for "repo"
13:43.04DocScrutinizer05yes
13:43.21DocScrutinizer05it *is* a repo
13:43.44DocScrutinizer05in HAM click menu, click "catalogs"
13:43.48oooaaaoooyup
13:43.53oooaaaoooloading it says
13:44.00oooaaaoooor
13:44.02oooaaaooosorry
13:44.04*** join/#maemo-ssu dos1 (~dos@unaffiliated/dos1)
13:44.08oooaaaooodone
13:44.17oooaaaooo9i see 4 cats
13:44.24oooaaaoooi see 4 catalogs
13:44.43DocScrutinizer05one of them is "maemo extras"
13:44.44oooaaaooonokia x2,  ovi, maemo
13:44.48oooaaaooono
13:44.52oooaaaooomaemo.org
13:45.00DocScrutinizer05another one you may want is "maemo extras-devel"
13:45.25oooaaaoooso where are the catalog details ?
13:45.31oooaaaoooto manually add them
13:46.31oooaaaooohttp://talk.maemo.org/showthread.php?t=78584
13:46.34oooaaaooois thta it?
13:51.37oooaaaooolsb_release & cat /etc/*-release doesnt work ... how do i check my distro release ?
14:00.53oooaaaoooping
14:01.08jonwilThere is no concept of "distro release" on Mameo
14:01.56jonwilnot in the normal Linux or Debian sense anyway
14:02.00oooaaaooohttp://talk.maemo.org/showthread.php?t=78584
14:02.13oooaaaooowhats this freemantle stuff
14:06.43oooaaaooook so i cant install the deb ; dependencies so i should do it via HAM
14:08.57oooaaaoooDocScrutinizer05: so how do i add the repos you mentioned
14:09.35oooaaaoooDocScrutinizer05: nevermind im reading http://wiki.maemo.org/Repository
14:09.49*** join/#maemo-ssu DrCode (~DrCode@gateway/tor-sasl/drcode)
14:09.55DocScrutinizer05wait
14:10.16DocScrutinizer05click on the link in jr_tools page
14:10.24DocScrutinizer05simpler
14:10.41DocScrutinizer05~jrtools
14:10.41infobotextra, extra, read all about it, jrtools is http://wiki.maemo.org/User:Joerg_rw/tools
14:11.03DocScrutinizer05http://wiki.maemo.org/User:Joerg_rw/tools#Additional_Repositories
14:12.41oooaaaoook so i navigate there on my n900 and just click?
14:13.04DocScrutinizer05yep, you click on http://joerg.cloud-7.de/repositories.install
14:13.44DocScrutinizer05it adds 3 catalogs, you will want to delete (or disable at very least) the extras-testing and tools catalogs
14:13.49DocScrutinizer05in HAM
14:14.01oooaaaoook
14:15.06DocScrutinizer05you same time can also rename the display-name to sth more convenient. Right now it's "name = Maemo Extras-DEVEL catalogue (read WARNING!)"
14:15.30DocScrutinizer05in HAM it will shpow up as "Maemo Extras-DEVEL catalogue (read WARNING!)"
14:15.39DocScrutinizer05you can edit that name to your liking
14:18.22DocScrutinizer05just never do an "update all" in HAM when any of those catalogs is enabled. Also never do an apt-get upgrade
14:18.46oooaaaooook so no updates when these extras are enabled
14:18.56oooaaaoooi thought apt-get was to never be used
14:19.34DocScrutinizer05you can use apt-get install, for stuff like less or binutils-gnu or the like.
14:19.41oooaaaooook
14:20.10oooaaaoooout of curiosity, is aptitude available?
14:20.16DocScrutinizer05you just shouldn't use it for anything that sounds like maemo specific
14:20.23oooaaaooooh ok
14:20.23DocScrutinizer05afaik it is
14:20.31oooaaaooook
14:21.07oooaaaooohmmm
14:21.17oooaaaooothat update thing
14:21.27oooaaaoooi think my ham is set to auto update
14:21.36DocScrutinizer05as a rule of thumb: when it's a "normal" debian package then you can use apt-get install to both install as well as update the package
14:21.47oooaaaooook
14:22.40DocScrutinizer05yes, ham usually checks once per day for upgrades available. But it asks you if they should get installed. Just answer "No! Ignore!"
14:22.40oooaaaooowhere HAM says checking for updates
14:22.48oooaaaooook
14:22.55oooaaaooothis is everytime i load HAM
14:23.00oooaaaoooits annoying
14:23.16DocScrutinizer05that's why you disable the extras-devel catalog
14:23.28DocScrutinizer05after you installed the package you're interested in
14:23.57oooaaaoooi dont know if i was successful in adding the repos
14:24.02oooaaaooooh wait
14:24.10oooaaaoooi c it
14:24.13oooaaaooothem
14:24.30DocScrutinizer05with extras-devel disabled, HAM won't upgrade any packages from extras-devel and only show upgrades available in the "good" repos
14:25.22DocScrutinizer05all upgrades from "good" repos are safe to install
14:25.32DocScrutinizer05actually recommended to install
14:26.04DocScrutinizer05avoid upgrades of any packages that come from "non-good" repos like extras-devel
14:26.17oooaaaooook so enable devel extras , look for backup menu then can disable
14:26.25DocScrutinizer05this is why you disable the extras-devel repo
14:26.31oooaaaooook
14:26.33DocScrutinizer05yes, exactly
14:26.56oooaaaoooumm is there a quick and easy way for stock n900 to be tethered to my pc's eth0
14:27.00freemangordonDocScrutinizer05: hmm, why this is not in extras?
14:27.02oooaaaooovia usb
14:27.13DocScrutinizer05dunno, is it?
14:27.25freemangordonwhat is tha package name?
14:27.30DocScrutinizer05afaik it has unmet dependencies
14:27.58DocScrutinizer05e.g to i2ctools
14:28.16DocScrutinizer05for charging
14:28.27freemangordonah, I see
14:28.49DocScrutinizer05we might promote i2ctools to extras (hidden)
14:29.03DocScrutinizer05to allow BM to promote to extras
14:29.55DocScrutinizer05aiui HAM wil not show i2ctools when it's not a user package
14:30.16DocScrutinizer05I don't care a lot about fapman users accidentally installing i2ctools from extras repo
14:32.54oooaaaoooyeah i still dont see backupmenu....
14:33.24DocScrutinizer05oooaaaooo: since that's depending a lot on the particular OS you run on your PC, there's no good general instruction for it
14:34.05DocScrutinizer05oooaaaooo: wait a minute, I'll check that friggin BM thing, it lately seen some mess-up
14:34.14oooaaaoooDocScrutinizer05: ok, thnx
14:36.36DocScrutinizer05a scray sight what HAM thinks about availability of stock core repos
14:37.38freemangordonPali: http://pastebin.com/i5CJWWzq :D
14:38.06DocScrutinizer05"checking updates" takes ages (like 5 min) after enabling extras-devel
14:38.25oooaaaoooDocScrutinizer05: i kept stopping the updates...is that why?
14:38.38DocScrutinizer05yes
14:38.48freemangordonPali: both drivers loaded, with clock framework, lets see if back camera works
14:38.49DocScrutinizer05you mustn't stop updates
14:39.10oooaaaoooDocScrutinizer05: ok so all i did was add the repo addresses when i clicked on that link
14:39.24DocScrutinizer05yes
14:40.30freemangordonPali: - entity 16: et8ek8 3-003e (1 pad, 1 link)
14:40.32freemangordontype V4L2 subdev subtype Unknown flags 0
14:40.34freemangordondevice node name /dev/v4l-subdev8
14:40.36freemangordonpad0: Source
14:40.37DocScrutinizer05now go to HAM, and wait for it to finish "checking for updates"
14:40.38freemangordon[fmt:SGRBG10_DPCM8/2592x1968]
14:40.40freemangordon-> "OMAP3 ISP CCP2":0 []
14:40.51oooaaaoooDocScrutinizer05: yup
14:41.03oooaaaoooDocScrutinizer05: doing it now
14:41.04DocScrutinizer05will take ages
14:41.30oooaaaoooDocScrutinizer05: ok well ill just have to continue it tomorrow. THanks alot for the help
14:41.39DocScrutinizer05after that, you see "backupmenu" under "install new"
14:41.52oooaaaooowhats install new
14:42.00oooaaaooois that an icon
14:42.07DocScrutinizer05backupmenu 1.2.0-2
14:42.25oooaaaooook, i should be able to search it via "all"
14:42.27oooaaaoooright
14:42.29DocScrutinizer05it's one of the three choices in HAM main screen
14:42.47DocScrutinizer05actually the middle one
14:43.07DocScrutinizer05right side is "updates", left side is "installed apps"
14:43.20DocScrutinizer05middle is "install new"
14:43.50DocScrutinizer05or "download new" or whatever
14:44.03oooaaaooook will figure it out tomorrow
14:44.06oooaaaoooim off to bed
14:44.09oooaaaooothanks alot guys
14:44.32DocScrutinizer05in German it's "Deinstallieren"   "Herunterladen"   "Aktualisieren"
14:44.46oooaaaooo(y)
14:45.34DocScrutinizer05pick the middle one, go to menu, click "update" (upper left menu item), then search for "backupmenu"
14:45.46freemangordonPali: ok, back camera is green too, seems it is something in omap3isp :(
14:46.09Paliah :-(
14:46.57DocScrutinizer05cam drivers are icky to maintain
14:47.07Palidid you tried to contact sakari? maybe he will know where is problem...
14:47.15DocScrutinizer05N900 is special since it has that mux
14:47.51freemangordonDocScrutinizer05: I know
14:48.03DocScrutinizer05k
14:48.10freemangordonDocScrutinizer05: and the camera drivers code is just fine
14:48.44freemangordonPali: no, I wanted to first try main camera too, to see if the problem is in camera driver or in omap3isp driver
14:49.13freemangordonDocScrutinizer05: funny thing is that upstream kernel does not support more than one camera connetced to one and the same clk :D
14:49.28DocScrutinizer05freemangordon: make sure you load/initialize any kernel cam driver module *after* you checked and switched mux
14:49.45freemangordonDocScrutinizer05: yep, init code is fine
14:49.53DocScrutinizer05that's the systematic problem with upstream drivers I guess
14:49.59freemangordon:nod:
14:50.29freemangordonPali: I will contact sakari
14:50.39DocScrutinizer05they do init on mod load, and mod load is done only once. Then you switch mux and everything goes boom instantly
14:50.43freemangordonand we'll have to upstream a couple of patches :D
14:51.10Palifreemangordon: CC mail to me
14:51.13freemangordonDocScrutinizer05: no,no, drivers are loaded just fine, they talk with camera modules, etc
14:51.36freemangordonDocScrutinizer05: it is just that all I see is a green square in mplayer
14:51.41DocScrutinizer05and no mux xswitching after they got loaded and did init?
14:51.47freemangordonrectangle even
14:51.58freemangordonxshutdown is controlled
14:52.05freemangordonso there is mux switch
14:52.15freemangordonit is done in board code, via callbacks
14:52.27DocScrutinizer05as soon as you switch the mux, both cam-modules/chips are no more initialized
14:53.12DocScrutinizer05you first need to switch mux, then power up the cam and load the driver which runs init
14:53.37freemangordonDocScrutinizer05: yes, board init code disables reset
14:53.39DocScrutinizer05Nokia drivers are taking care of all that I guess
14:53.55DocScrutinizer05disable reset - niiiiice
14:53.59DocScrutinizer05:-S
14:54.01freemangordonit seems upstream does it as well
14:54.13freemangordonDocScrutinizer05: why?
14:54.52freemangordondisable reset->xshutdown up->power up->init
14:54.52DocScrutinizer05I'd think you need to reste the camchip after switching mux, to get it into shape again
14:55.11DocScrutinizer05then redo chip init which usually is done in driver-load init
14:55.39freemangordonbefore streaming is enabled, camera is fed with the needed values for resolution, etc
14:55.45freemangordonI see no problem on that part
14:56.06freemangordonand because both camers behave exactly in the same way, I bet it is isp code to blame
14:56.22DocScrutinizer05when cam is powered and you switch mux, the chip is in undefined state and never recovers from that until you powercycle and reset it
14:56.28freemangordonI already found (and fixed) a bug in it. It has naver been tested on 3430 only on 3630
14:56.45freemangordonDocScrutinizer05: this is done, np there
14:56.52DocScrutinizer05ok then
14:57.00DocScrutinizer05I never looked into the drivers
14:57.19DocScrutinizer05just thought I reiterate about the basics
14:57.20freemangordonit is a can of worms :( with really bad design IMO
14:57.24freemangordonok
14:58.37freemangordon(as I already explained) you can't have more than one device connected to cam_xclka (or cam_xclkb), neither you can use xshutdown gpio for anything alse but xshutdown
15:00.13freemangordonlike mux for example :)
15:00.20DocScrutinizer05yeah
15:00.27DocScrutinizer05thought as much
15:00.37DocScrutinizer05incompatible design schemes
15:01.07DocScrutinizer05the probelm with a "one kernel for all" approach
15:01.49DocScrutinizer05and in the end what killed power management on all "strictly upstream only" embedded projects
15:02.23freemangordon:nod:
15:06.10DocScrutinizer05you say "we need to postpone init of B after wit had a chance to switch A". Upstream says "you can't do that! layering violation"
15:06.31DocScrutinizer05s/wit/we/
15:07.31DocScrutinizer05in the end the kernel devels claim that real hardware doesn't meet the requirements ;-P
15:07.50freemangordonyeah :D
15:08.36*** join/#maemo-ssu Martix (~martix@123.225.broadband2.iol.cz)
15:09.50DocScrutinizer05"the CPU has to be up before you can run init for the power regulators! there's no way to do it any other way, our software paradigms allow any violations of this dependency"
15:10.18DocScrutinizer05dont* allow
15:10.57DocScrutinizer05or make "CPU " rather "I2C" ;-P
15:11.33freemangordonhttp://www.kasperskyasia.com/images/alliances/xplogo.gif :P
15:11.37DocScrutinizer05"you can't run init of the PSU at this time, we haven't initialized I2C yet!"
15:11.59Sicelowhy are we doing camera drivers btw?
15:12.08freemangordonSicelo: linux 3.10
15:12.14Siceloaha
15:12.15DocScrutinizer05"you can't initialize I2C unless you powered it up!"
15:12.17freemangordonand up
15:12.50DocScrutinizer05"you can't power up I2C before you intitalized PSU!"
15:13.18Siceloi saw they are forcing also to have N900 on DT.. how much work is that?
15:13.22DocScrutinizer05always *a lot* of fun to discuss this stuff with kerenl devs
15:13.52freemangordonSicelo: most probably wont fly, see the cameras example ^^^
15:14.06Sicelodang
15:14.35DocScrutinizer05there's a reason Nokia came up with a maemo-N900 kernel, and not simply using upstream
15:15.03Sicelosebastian reichel was also working on the modem, and was also told DT.
15:15.31DocScrutinizer05seen that several times now - in the end some mandatory tweaks/hacks to make your platform fly will never get accepted upstream
15:15.40freemangordonmodem *might* be possible
15:16.17Sicelohe did sound optimistic on the ML, yes
15:16.56DocScrutinizer05evetually you go "screw dat! I fork!"
15:17.17*** join/#maemo-ssu X-Fade (~xfade@d5152FFD8.static.telenet.be)
15:17.18freemangordonwonders what we will do with 170mA current on idle with 3.10
15:17.30DocScrutinizer05...and have a chance to end with a *working* kernel, though not upstream
15:17.53DocScrutinizer05freemangordon: live with it?
15:17.58freemangordonhehe
15:18.12freemangordonno way, I'll just stay with kp
15:19.21DocScrutinizer05dang, thursday already
15:19.55Sicelofreemangordon: how is kp able to do it, and what stops that woking on 3.x?
15:20.05DocScrutinizer05see above
15:20.27DocScrutinizer05it's Nokia's kernel patches that do the magic
15:20.35DocScrutinizer05and they will never go mailine
15:20.41DocScrutinizer05main line even
15:20.42*** join/#maemo-ssu BCMM (~user@unaffiliated/bcmm)
15:20.49DocScrutinizer05aka upstream
15:20.57Sicelobut they are not closed-source?
15:21.03DocScrutinizer05not afaik
15:21.08DocScrutinizer05just "dirty"
15:21.31DocScrutinizer05kernel has no closed blobs
15:21.58DocScrutinizer05it however may have some missing parts in maemo that are emulated with userland blob.so
15:22.09freemangordonSicelo: nothing closed-source in the kernel, patches just doesn't "fit" in what upstream maintainters think is the right kernel structure
15:22.10DocScrutinizer05powervr
15:22.18*** join/#maemo-ssu X-Fade (~xfade@d5152FFD8.static.telenet.be)
15:22.45DocScrutinizer05bme
15:22.57DocScrutinizer05a lot of stuff actually
15:23.06freemangordoncmt
15:23.13DocScrutinizer05:nod:
15:23.16freemangordongps
15:23.19DocScrutinizer05:nod:
15:23.29freemangordonI think that' s all
15:23.45DocScrutinizer05you *can* do all this in kernel space, but you lose the magic done in Nokia's blobs
15:24.18freemangordonnot for BME ;), I think we really don;t need the magic coded there :D
15:24.43DocScrutinizer05for the other open parts, they are just not what upstream is willing to accept since it can't go into their rule-set for how kernel source is structured
15:25.04DocScrutinizer05freemangordon: :nod:
15:25.35Sicelostructuring the code to fit upstream's expectations.. too hard?
15:27.12DocScrutinizer05simple madeup example: Nokia: "here's our awesome acelerometer driver, saves lots of energy". Upstream: "erryeah, but it uses IRQ which are not yet initialized at that moment when the accel gets loaded, so you can't do that. We have a poll-only policy for this class of drvers, for exactly that reason"
15:27.56Sicelook
15:28.05freemangordonSicelo: see cameras example ^^^ :)
15:28.15freemangordonit is not hard, but impossible
15:28.24DocScrutinizer05hehe, exactly
15:29.17Siceloi understand.
15:29.44DocScrutinizer05put simple: when you build a kernel for your embedded, you want it to fit your hardware, not match any upstream policy
15:30.00SiceloNeoN900 going to be too expensive for me. might as well start getting used to S40 :p
15:30.34Sicelos/oN9/o9/
15:31.12freemangordonthe only option we have aiui is to upstream whatever possible and to keep the other stuff in a separate tree
15:31.24DocScrutinizer05"Dear Mr council" SPAAAAM!
15:49.11*** join/#maemo-ssu Martix (~martix@123.225.broadband2.iol.cz)
15:55.37kerioDocScrutinizer05: "poll-only policy" where?
15:57.14Siceloit was an example, iirc
15:59.27DocScrutinizer05kerio: read again! "made-up example"
16:50.14*** join/#maemo-ssu NIN101 (~NIN@p5DD28D57.dip0.t-ipconnect.de)
16:53.33*** join/#maemo-ssu Martix (~martix@123.225.broadband2.iol.cz)
16:56.03*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
17:11.32*** join/#maemo-ssu arcean (~arcean@aacr13.neoplus.adsl.tpnet.pl)
17:33.49*** join/#maemo-ssu arcean_ (~arcean@aada194.neoplus.adsl.tpnet.pl)
18:52.03*** join/#maemo-ssu M4rtinK (~M4rtinK@46.227.13.46)
18:58.00*** join/#maemo-ssu Pali (~pali@Maemo/community/contributor/Pali)
19:49.55freemangordonPali: oh, who wrote camera board code?
19:50.27PaliI think sakari
19:51.03freemangordonnot only there is an unprotected(by the mutex) variable in rx51_camera_set_xshutdown, but also there is a nice race while the modules get loaded :(
19:51.29freemangordonand also when and used later
19:51.41freemangordons/when and/when/
19:52.42freemangordonhmm, yeah, sakari, according to the file header
19:56.03freemangordonPali: will push the changes and will mail him
19:56.17Paliok
20:01.40DocScrutinizer05(race) \o/
20:02.23freemangordonDocScrutinizer05: yeah, I wonder if we have the same in 2.6.28 and if not, how did Nokia manage to fix that
20:02.53*** join/#maemo-ssu arcean (~arcean@aafr52.neoplus.adsl.tpnet.pl)
20:02.55ShadowJKIs this why cssucam is crashy
20:03.04DocScrutinizer05some races hardly ever happen, thanks to properties of scheduler. Others do, every single time
20:03.36freemangordonDocScrutinizer05: kernel tries to power front camera up, while the back camera lens is still powered on. Ofc this is not possible and board gode returns EBUSY
20:03.41DocScrutinizer05e.g the race between detecting VBUS and D+/- short
20:04.32ShadowJKremembers a bug report about back camera lens getting abrubtly unpowered instead of first returning lens to neutral position
20:05.05freemangordonthis could happen while the devices are being initialies or when they are enumerated from userspace. this could be a bug in media-ctl as well, but I am almost sure kernel should have a tools to prevent such conditions
20:05.06ShadowJKin a quiet environment, you can hear the klonk of the lens violently slamming to its unpowered position
20:05.39freemangordonShadowJK: this is linux 3.10
20:06.10ShadowJKhey, does fstrim work in 3.10?
20:06.25freemangordon~fstrim
20:06.37freemangordonwtf is that?
20:08.03Palimaybe trim command for filesystems?
20:08.11ShadowJKmanually issues TRIM of free space to storage device.. Some emmc/sd cards support it, if driver stack/kernel also supports it
20:08.17ShadowJKYes what Pali said
20:09.00PaliI think that vfat in linux kernel has trim support
20:09.26Paliso it can be usefull for maemo mydocs
20:12.57DocScrutinizer05ShadowJK: heard that KLONK several times
20:14.15DocScrutinizer05pretty nasty
20:14.26Paliwhat it cause?
20:14.43Paliautofocus?
20:14.53DocScrutinizer05err, prolla yhwat ShadowJK said?
20:15.05DocScrutinizer05yep, related to autofocus
20:17.00Paliautofocus ad5820: Voice coil motor controller
20:17.04DocScrutinizer05I also still wonder if nicocam stopped displaying random bogus distance readings for autofocus. Rather - disatnce readings that are ~factor two apart from each other for shoot upwards vs shoot the floor
20:17.29DocScrutinizer05Pali: exactly this one. A nasty power hog as well
20:18.36*** join/#maemo-ssu Vlad_on_the_road (~Vlad_on_t@ip-66.net-82-216-1.versailles2.rev.numericable.fr)
20:18.44DocScrutinizer05*I* wonder *who* and *how* *does* autofocus
20:18.53ShadowJKheh, gravity pulling the lens?
20:18.59DocScrutinizer05ShadowJK: exactly
20:19.13DocScrutinizer05changing distance of 50cm to 30 or 90
20:19.43PaliDocScrutinizer05: I bet that proprietary nokia daemon omap3camd
20:19.53DocScrutinizer05yup, likely
20:19.58freemangordonI bet on that one too
20:20.32DocScrutinizer05must have some nasty math
20:20.44DocScrutinizer05to check if focused or not
20:20.54DocScrutinizer05FFT
20:21.30Paliwhy nokia not used opencv or libv4l2 libraries for that?
20:21.38DocScrutinizer05dunno
20:21.42Palibut rather created own daemon?
20:21.47Paliwhich we cannot fix?
20:22.13DocScrutinizer05there's for sure more "magic", like compensating for aberrations of cam, etc
20:22.35Palithese algorithms are well-known and already implemented in open source libraries for image processing...
20:22.51DocScrutinizer05that knowhow comes by courtesy cam module manuf, and is proprietary
20:22.53Sicelowere they good at that time?
20:23.25kerioisn't fcam free?
20:23.42DocScrutinizer05I think it is
20:23.58Palihttp://fcam.garage.maemo.org/
20:24.28DocScrutinizer05but afaik fcam only adding a few calls they missed to implement into stock driver
20:25.01freemangordonPali: pushed
20:25.06Paliok
20:26.39*** join/#maemo-ssu LauRoman (~LauRoman@5-14-93-219.residential.rdsnet.ro)
20:27.52Palifreemangordon: can you backport also commit a354177f058541b7212230feb2c0da7c464e9b9d?
20:28.08Paliso there will not be problem after migrating to 3.11 (or 3.12)?
20:29.07freemangordonok, but I'll first email sakari about the grass I have when taking pictures :D
20:29.20Paliok :-)
20:29.25PaliCC mail to me
20:29.30freemangordonััƒั€ะต
20:29.34freemangordonsure
20:36.42*** join/#maemo-ssu xes (~xes@unaffiliated/xes)
20:56.00freemangordonPali: hmm, wonder what subject to use for the mail
20:56.29Palihelp with n900 camera :-)
20:56.33freemangordonok :)
20:57.18freemangordonPali: are you sure?
21:00.02freemangordonPali: sent
21:00.19Paliok
21:02.19*** join/#maemo-ssu g3kk3r (torrkull@lehtori.cc.tut.fi)
21:39.29*** join/#maemo-ssu M4rtinK (~M4rtinK@46.227.13.46)
22:39.14*** join/#maemo-ssu nox- (noident@freebsd/developer/nox)
22:54.52*** join/#maemo-ssu dos11 (~dos@unaffiliated/dos1)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.