**** BEGIN LOGGING AT Fri Mar 28 02:59:59 2014 Mar 28 15:59:48 hi there Mar 28 16:00:13 is there a way to take grayscale (black and white) pics with the N900 camera? Mar 28 16:09:44 you can always postprocess it,but I thought there was a setting to make it save b&w... Mar 28 16:11:06 hmm... i guess not..weird, could have sworn I saw it before... Mar 28 16:13:51 ecc3g: yeah, I could postprocess it. I thought that. But I wanted to show my model a better preview of what I was asking of her Mar 28 16:57:34 sombragris: install 3rd party camera appplications. default camera in CSSU-Testing has that Mar 28 17:05:21 any good on-camera post processing software? heh Mar 28 17:20:08 gimp? Mar 28 17:27:33 imagemagick and your favorite terminal emulator :-) Mar 28 18:32:26 DocScrutinizer05, raccoon_ : I know I could use these tools. My question was more on the sense of taking directly b-w photographs avoiding postprocessing. Mar 28 18:33:09 nikocam Mar 28 18:33:36 iirc Mar 28 18:34:03 or try fcam or blessN900 Mar 28 18:34:25 ~pkg Mar 28 18:34:26 [pkg] http://maemo.org/packages/ Mar 28 18:35:31 DUH, nikocam isn't in extras :-o Mar 28 18:36:23 http://talk.maemo.org/showthread.php?t=70870&highlight=cameraui2 here you are Mar 28 18:43:43 blessN900 does not offer the option Mar 28 18:43:52 will investigate these tools Mar 28 18:56:23 DocScrutinizer05: it's part of CSSU Mar 28 18:56:51 DocScrutinizer05: by the way, what camera Neo900 will have? Mar 28 18:57:15 I hope to get the original module, what else? Mar 28 18:57:38 though it's a PITA, starting with the SMIA95 socket Mar 28 18:57:57 Oh' nace Mar 28 18:58:09 *Oh, nice Mar 28 18:58:35 actually camera is one of our major headaches Mar 28 18:59:24 but for quite obvious reasons we don't want to use another camera Mar 28 18:59:47 camera drivers are always proprietary - or crap Mar 28 19:00:36 the camera manufs not only sell the hw but also their knowhow about normalizing and improving the image by postprocessing Mar 28 19:40:07 hmm... netpbm probably has enough to postprocess and can safely be run on the n900... running gimp on the n900 would be quite a feat... Mar 28 19:44:11 a feat that is being done. gimp works just fine on N900 Mar 28 19:50:32 can you actually work on something without going OOM? Mar 28 19:51:24 huh? Mar 28 19:52:04 if 1GB doesn't suffice: swapon /dev/mmc1p3 Mar 28 19:52:38 simply add swap Mar 28 20:00:48 i've never got OOM with gimp on N900. granted, i was not doing too fancy stuff Mar 28 20:04:34 ~flasher Mar 28 20:04:35 flasher is probably at http://www.jedge.com/n810/flasher/maemo_flasher-3.5_2.5.2.2.tar.gz (also .exe!), or http://www.chakra-project.org/ccr/packages.php?ID=5027 or generally http://www.google.com/search?q=maemo_flasher-3.5_2.5.2.2.tar.gz. HARMattan(N9): https://aur.archlinux.org/packages/fl/flasher-harmattan/flasher-harmattan.tar.gz, or -- list of filenames/md5sums: http://pastebin.com/sYKdNJSH, or http://galif.eu/nokia/ Mar 28 20:05:05 ~flashing Mar 28 20:05:06 maemo-flashing is, like, http://wiki.maemo.org/Updating_the_tablet_firmware Mar 28 20:11:14 ~emmc Mar 28 20:11:15 rumour has it, emmc is magnet:?xt=urn:btih:402fb5cc8a48ecbc18a77c9cf70d869a775bcf53&dn=RX-51%5F2009SE%5F10.2010.13-2.VANILLA%5FPR%5FEMMC%5FMR0%5FARM.bin or https://dl.dropboxusercontent.com/u/4105928/RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.torrent, or http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2010/5/--FID--A0A22YHFSICNA/--LID--FiRe1275051276916/AE98ED9D_RX-51_2009SE_10.2010.13-2.CENTRAL-EUROPE_PR_EMMC_MR0_ARM.bin Mar 28 20:12:47 ~fiasko Mar 28 20:13:00 ~combined Mar 28 20:13:00 combined is probably the rootfs fiasco image of maemo. For N900 latest (PR1.3.1) see http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2011/9/--FID--A0A22MVWFVFAM/--LID--FiRe1317015685654/RX-51_2009SE_21.2011.38-1_PR_COMBINED_MR0_ARM.bin, or http://galif.eu/nokia/ Mar 28 20:44:21 thanks everyone Mar 28 20:44:24 logging off Mar 28 21:32:19 ~cssu Mar 28 21:32:21 i heard cssu is http://wiki.maemo.org/Community_SSU Mar 28 22:19:29 ~ssu Mar 28 22:19:29 extra, extra, read all about it, ssu is http://wiki.maemo.org/SSU Mar 28 22:21:02 DocScrutinizer05: what is the repository for upgrading to the latest oficial nokia verion of maemo? Mar 28 22:21:22 downloads.maemo.nokia.com/fremantle/ ?? Mar 28 22:44:53 well, prolly SSU Mar 28 22:44:59 Nokia SSU Mar 28 22:45:26 but honestly who would update nowadays? Mar 28 22:45:48 who would be silly enough to flash a PR1.2 or whatever and then update? Mar 28 22:45:54 ~pr131 Mar 28 22:45:55 somebody said combined was the rootfs fiasco image of maemo. For N900 latest (PR1.3.1) see http://nds2.fds-fire.nokia.com/fdp/interface/FiRe/2011/9/--FID--A0A22MVWFVFAM/--LID--FiRe1317015685654/RX-51_2009SE_21.2011.38-1_PR_COMBINED_MR0_ARM.bin, or http://galif.eu/nokia/ Mar 28 22:46:20 ^^^ *this* is the most recent official Nokia fremantle release Mar 28 22:48:20 maybe when you didn't look at your N900 sitting in the shelf for 2 years, then you actually could upgrade from PR1.2 which you maybe still are running on that dusty N900, by using Nokia's SSU repo Mar 28 22:49:17 Does Nokia's SSU repo still exist? Mar 28 22:51:01 name: "Nokia Systemsoftwareaktualisierungen", internet addr: "https://downloads.maemo.nokia.com/fremantle/ssu/mr0", distribution: "./" Mar 28 22:51:46 and yes, I think if it wouldn't exist then HAM would throw an error from it Mar 28 23:45:06 Hmm .. when I booted into my debian installation the charge function seems to just work. Mar 28 23:45:12 * Maxdamantus wonders what's making it work. Mar 28 23:45:40 * Maxdamantus thought userspace had to do something to enable it (other than just load the module) Mar 28 23:45:56 maybe that was because there wasn't a kernel module for it, dunno. Mar 28 23:54:16 what makes you believe it works? Mar 28 23:55:27 please don't say "icon" or "LED" Mar 29 00:15:47 LED :\ Mar 29 00:16:08 Okay, so probably doesn't. Mar 29 00:37:06 solid shining led indicates the charger is without software control Mar 29 00:37:34 Typically when the charger is under software control, the software disables the led, and makes it pulsate instead Mar 29 00:38:17 (though amusingly, as the LED controller is so programmable, it will keep blinking the led long after the software crashes) Mar 29 01:24:30 # amixer scontents | grep '^Simple mixer control' | wc -l Mar 29 01:24:30 187 Mar 29 01:24:42 187 controls :\ Mar 29 01:28:47 sounds about right Mar 29 01:29:03 ~charge21 Mar 29 01:29:09 welcome to pulseaudio Mar 29 01:29:14 nope Mar 29 01:29:18 that's alsa Mar 29 01:29:23 mh Mar 29 01:29:27 hw mixer? Mar 29 01:29:30 yep Mar 29 01:32:11 alsa also does sw mixing. Mar 29 01:33:12 mixer is a generic term in this context Mar 29 01:33:49 I anyway wonder where's your -c 0 parameter for amixer Mar 29 01:33:52 Oh, thought it was referring to the act of combining multiple audio streams into one. Mar 29 01:34:09 I don't think you need it for listing mixers. Mar 29 01:34:14 it does this as well, for some pathes Mar 29 01:34:34 it's meant to do it automatically now. Mar 29 01:34:58 ~ # amixer scontents | grep '^Simple mixer control' | wc -l Mar 29 01:35:00 2 Mar 29 01:35:21 ~ # amixer -c 0 scontents | grep '^Simple mixer control' | wc -l Mar 29 01:35:22 66 Mar 29 01:35:34 err Mar 29 01:35:57 ~ # amixer -c 0 scontents | grep -c '^Simple mixer control' Mar 29 01:35:58 66 Mar 29 01:36:08 I only see one card with the 3.14 kernel. Mar 29 01:36:26 ohmy Mar 29 01:36:40 is the default one in maemo routed to pulseaudio or something? Mar 29 01:37:13 (so not an actual card) Mar 29 01:37:17 ~ # amixer -c 0 scontrols|wc -l Mar 29 01:37:18 66 Mar 29 01:37:41 err yep, prolly Mar 29 01:37:51 Yeah, it is. Mar 29 01:38:04 ctl.!default { type pulse .. } Mar 29 01:38:13 ~ # amixer -c 0 controls|wc -l Mar 29 01:38:14 71 Mar 29 01:38:42 ~ # amixer controls|wc -l Mar 29 01:38:43 * Maxdamantus is trying to figure out what control to use to make the headphone jack work. Mar 29 01:38:44 4 Mar 29 01:38:51 haha Mar 29 01:39:34 "make work2 is a funny goal Mar 29 01:40:06 I'd say it needs at least 5..10 comtrols in right position, to "make hs jack work" Mar 29 01:40:37 the joy of mixers Mar 29 01:41:13 also wonder why mplayer plays back music slowly. Mar 29 01:41:39 Presumably not a CPU usage issue, as I imagine that'd make it jitter rather than play slowly. Mar 29 01:42:02 here: OMAP SSI out (if that's what you want), then 320aic34 or what's it called, and finally the hs-amp which has its own I2C control Mar 29 01:42:50 tuning also too low? Mar 29 01:43:09 tuning? Mar 29 01:43:15 pitch? Mar 29 01:43:19 Yes. Mar 29 01:43:35 so it's like the actual wave is longer. Mar 29 01:43:42 then prolly the "audiocard" clock is lower than mplayer assumes Mar 29 01:44:27 try aplay Mar 29 01:45:39 same thing happens with aplay Mar 29 01:45:40 aplay -D -vv sound.wav Mar 29 01:45:46 but adding `-af resample=48000` to mplayer makes it sound better. Mar 29 01:46:24 yep, N900 has fixed audio clock of 48k iirc Mar 29 01:46:28 maybe alsa isn't resampling (the source is 44.1 kHz) Mar 29 01:46:32 Hm. Mar 29 01:46:36 exactly Mar 29 01:47:10 depends on your audiodev Mar 29 01:47:14 Mk, guess that makes sense. Mar 29 01:47:18 try plughw:0.0 Mar 29 01:47:43 maybe your !default def is odd Mar 29 01:47:45 but would've expected it to fail saying 44.1 kHz isn't supported by the output or something, maybe the driver's just not mature enough to do that yet. Mar 29 01:48:08 aplay -vv Mar 29 01:48:22 pastebin Mar 29 01:49:15 https://gist.githubusercontent.com/Maxdamantus/74dcacb75d126636a205/raw/02e08b30b9595b409dfda163cc0dec4b1ca29c51/gistfile1.txt Mar 29 01:49:53 rate : 44100 Mar 29 01:50:21 you shouldn't directly drive the hw:0.0 audio device Mar 29 01:50:35 try plughw:0.0 Mar 29 01:50:48 invalid value for card. Mar 29 01:51:08 What's plughw meant to be? Mar 29 01:51:32 plughw should be a combo of plug and hw Mar 29 01:51:51 plug is a universal resampling and mapping/convertig plugin Mar 29 01:52:49 Ah. Mar 29 01:52:53 prolly fremantle never heard of it and does everything in PolypAudio Mar 29 01:53:41 I'm not in freemantle. Mar 29 01:53:51 in a fairly plain Debian. Mar 29 01:54:16 * Maxdamantus will add a plug device. Mar 29 01:55:42 http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html Mar 29 01:57:14 works with dmix Mar 29 01:57:42 Automatic conversion plugin Mar 29 01:57:44 just adding a plug didn't seem to do anything, but I don't really understand it, so might've used it wrong. Mar 29 01:57:57 pcm.name { Mar 29 01:57:58 type plug # Automatic conversion PCM Mar 29 01:58:20 Yeah, that's what I had, then slave.pcm "hw:0,0" Mar 29 01:58:35 now I have slave.pcm "main" Mar 29 01:58:41 and pcm.main a dmix thing Mar 29 01:59:06 (didn't need to specify the rateā€”it must've at least figured that out automatically when creating the dmix device) Mar 29 02:00:12 ah, so you specify the rate in the slave configuration. Mar 29 02:01:28 and that works for multiple programs already, so don't need dmix, which would presumably have been a small amount of overhead. Mar 29 02:01:28 grep plughw -A 50 /usr/share/alsa/alsa.conf Mar 29 02:02:43 Mm .. there's something there. Mar 29 02:03:01 http://privatepaste.com/4c1c8d9bd5 Mar 29 02:04:00 http://privatepaste.com/716253453e Mar 29 02:06:07 Yeah, mine's the same for pcm.plughw at least. Mar 29 02:06:30 anyway, it all works by just adding the plug to /etc/asound.conf Mar 29 02:06:41 can make that pcm.!default there too. Mar 29 02:08:47 IroN900:~# diff /usr/share/alsa/alsa.conf.origJR /usr/share/alsa/alsa.conf Mar 29 02:08:48 59c59 Mar 29 02:08:50 < defaults.namehint.extended off Mar 29 02:08:51 --- Mar 29 02:08:53 > defaults.namehint.extended on Mar 29 02:08:54 ;-) Mar 29 02:10:42 plughw:0.0 is same as plug:'hw:0.0' Mar 29 02:11:49 the alsa plugin stack is basically just a set of nested "function calls", with parameters Mar 29 02:11:59 well, both of them seem to exist, but using them just says "Invalid value for card" Mar 29 02:12:30 yeah, is PA started? Mar 29 02:12:35 No. Mar 29 02:12:53 hmm, hw:0,0 ? Mar 29 02:13:19 ah, that doesn't work either. Mar 29 02:13:20 dunno, there been a catch but I forgot it, it's a known gotcha Mar 29 02:13:34 ah, should be card 1 Mar 29 02:13:37 heh Mar 29 02:13:42 maybe Mar 29 02:14:52 -vv for aplay help a lot to understand plugin stack and what it does Mar 29 02:15:05 aplay -l and aplay -L also helps Mar 29 02:15:09 eh, no, should be card 0. Mar 29 02:15:46 I used `pcm.main.slave.pcm "hw:0,0"` as part of the dmix thing and it worked. Mar 29 02:16:02 http://privatepaste.com/ba05eb5b5a Mar 29 02:16:12 agh, accidentally typed a . instead of , Mar 29 02:16:31 so plughw:0,0 does work, but it's still the wrong rate. Mar 29 02:16:44 when I made the plug device in /etc/asound.conf I had to specify the rate. Mar 29 02:16:49 slave no proper rate definition? Mar 29 02:17:29 hw:0,0 should have rate 48000 Mar 29 02:17:35 afaik Mar 29 02:17:40 How do you find out? Mar 29 02:18:49 I suspect the driver isn't reporting it as having that rate, or is reporting it as having that rate and others, while it only actually supports that rate. Mar 29 02:19:18 but not that familiar with alsa, so my suspiciouns aren't strong. Mar 29 02:19:25 there's only defaults.pcm.dmix.rate 48000 Mar 29 02:19:42 Not using dmix atm Mar 29 02:19:45 try slave dmix Mar 29 02:19:57 dmix works, but so does plug, as long as I specify the rate. Mar 29 02:20:05 sure Mar 29 02:20:08 pcm.!default.slave.rate 48000 Mar 29 02:20:15 use slave dmix for plug Mar 29 02:20:30 hmm Mar 29 02:21:05 using slave.pcm "hw:0,0" Mar 29 02:21:21 yep, and it seems that has no proper rate spec Mar 29 02:21:39 while dmix has Mar 29 02:21:41 Oh, I do need dmix to use multiple programs at once. Mar 29 02:21:46 yes Mar 29 02:22:23 so try: plug:dmix as device Mar 29 02:22:42 or plug:'dmix:0,0' Mar 29 02:23:10 Hm. That works. Mar 29 02:23:15 I'm not fluent in this stuff anymore Mar 29 02:23:19 without anything in /etc/asound.conf Mar 29 02:23:36 the first one does Mar 29 02:24:03 etc/asound.conf is just a extension to /usr/share/alsa/alsa.conf Mar 29 02:24:34 Yeah, suspected that. Mar 29 02:24:40 basically you shouldn't need etc/asound.conf Mar 29 02:24:42 just meant "without any extra configuration" Mar 29 02:25:00 what about for configuring a default device? Mar 29 02:25:01 nor .asoundrc Mar 29 02:25:23 if I leave it empty, just playing stuff with mplayer etc will work at the wrong rate, unless I specify a device. Mar 29 02:25:33 http://fc01.deviantart.net/fs71/i/2013/314/f/e/world_no_tobacco_day_by_sternen_gaukler-d5wrgxe.jpg Mar 29 02:25:37 oops Mar 29 02:25:38 sorry about that. Mar 29 02:26:05 can instead have pcm.!default { type plug; slave.pcm "dmix" } Mar 29 02:28:06 Maxdamantus: you might find some useful hints/inspirations in https://groups.yahoo.com/neo/groups/twinklephone/conversations/topics/1731 Mar 29 02:29:06 Creating a separate device and control for the ringer? Mar 29 02:29:12 Yeah, I'd've done something like that. Mar 29 02:32:15 yeah, I created a volume control for ringer, in alsamixer Mar 29 02:32:46 but it also shows some details about how to create a alsa plugin, and how to define slave Mar 29 02:33:49 nothing particularly exciting, once you read the ALSA plugin wikipage Mar 29 02:33:58 http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html Mar 29 02:34:24 Yeah, I figured that out when alsa on my new computer (Haswell) wouldn't mix sound automatically for some reason. Mar 29 02:35:15 wow, another one who actually learned some ALSA bits :-) Mar 29 02:35:39 some Mar 29 02:35:41 I thought I'm the only one who ever did Mar 29 02:36:36 eh, the orange LED went off. Mar 29 02:36:44 well, then you're set with the info that N900 hw can only do rate=48000 Mar 29 02:36:45 Maybe it was charging. Mar 29 02:36:53 or maybe it means it's about to run out of battery. Mar 29 02:37:10 it tries to "charge" to 3.6V, and it stops after 30min Mar 29 02:37:16 ~flatbatrecover Mar 29 02:37:17 Remove battery for 1 minute. Insert battery. Plug powered ***NOKIA WALLCHARGER*** to device. Watch steady amber. Let sit and charge. Do NOT try to boot. After 30 min, you got either a) a booted up N900, b) flashing amber which means you can boot, c) steady amber going off - in this case start over again with ~flatbatrecover. CAVEAT! Only works when ~rootfs is OK (no ~bootloop)!. Mar 29 02:37:36 the battery driver does, automatically? Mar 29 02:37:41 (without userspace intervention) Mar 29 02:37:43 the chip does Mar 29 02:37:47 Oh. Mar 29 02:37:55 NB 3.6V! Mar 29 02:38:12 which is closer to empty than to charged Mar 29 02:38:26 it was longer than 30 minutes. Mar 29 02:38:38 a few hours Mar 29 02:38:48 the chip timer is very random Mar 29 02:38:54 a few hours? Mar 29 02:38:57 duh! Mar 29 02:39:29 well, dunno which kernel modules you got Mar 29 02:40:23 there were two battery-related modules in /lib/modules/`uname -r`, didn't check which were loaded. Mar 29 02:41:22 as soon as something talks to chip via I2C, it goes into guided mode / slave mode, which means it needs a watchdog tickle every 15s, otherwise it resets. In that mode the chip can get configured to charge to higher volatge, arbitrary current, and you can control the LED Mar 29 02:42:00 he chip is bq24150 Mar 29 02:42:28 Mm .. it must've been charging .. rebooting back into Maemo shows 91% (the usual maximum charge) Mar 29 02:42:30 maybe pali has upstreamed the kernel module Mar 29 02:43:48 afk Mar 29 02:43:51 o/ **** ENDING LOGGING AT Sat Mar 29 03:00:00 2014