**** BEGIN LOGGING AT Wed Jul 15 02:59:58 2015 Jul 15 06:41:52 ZetaR: talk.maemo.org/showthread.php?t=66756 Jul 15 07:02:40 anything kernel more recent than 2.6.28 for CSSU? :| Jul 15 13:05:05 Hi, i just removed 4 packages like opengles by fault and dont remember the names. now i can access device using ssh but screen hangs some times (while all other keep working). can i flash directly from the device using the flasher tool from repo? Jul 15 13:05:16 because my f****** usb port is broken Jul 15 13:05:23 ~0xfffff Jul 15 13:05:24 ~0xffff Jul 15 13:05:25 methinks 0xffff is https://github.com/pali/0xFFFF, or http://talk.maemo.org/showthread.php?t=87996 Jul 15 13:05:32 ~0xFFFF Jul 15 13:05:32 from memory, 0xffff is https://github.com/pali/0xFFFF, or http://talk.maemo.org/showthread.php?t=87996 Jul 15 13:05:48 see ^ Jul 15 13:06:05 I'd try reinstall the 4 packages first Jul 15 13:06:06 but watch out Jul 15 13:06:19 bencoh but i dont remember names :/ Jul 15 13:06:22 flashing live fs could be fatal Jul 15 13:06:49 derhat: want a dpkg -l from my device? Jul 15 13:06:52 DerHat: dont you have it in your bash history ? Jul 15 13:06:57 or in your apt logs ? Jul 15 13:07:16 bencoh: i looked at /var/log/aptitude but it wasnt there Jul 15 13:07:28 it is maybe 3 days ago and 100 reboots :D Jul 15 13:09:01 KotCzarny: fs = RX-51...VANILLA...bin and emmc = RX-51...COMBINED...bin, right? Jul 15 13:09:20 how do i check? but last time i remember it was stock fremantle 1.3 Jul 15 13:11:28 KotCzarny: can i get your dpkg -l please ^^ Jul 15 13:11:35 preparing Jul 15 13:11:53 mind you, its my system, so expect many packages not needed for os Jul 15 13:11:59 but you can always do diff Jul 15 13:14:43 https://transfer.sh/1fgz6N/fremantle1.3-custom.txt Jul 15 13:15:43 can i also get a "cat /etc/apt/sources.list.d/hildon-application-manager.list" or "cat /etc/apt/sources.list"? Jul 15 13:16:01 deb http://mirrors.muarf.org/maemo/apt-mirror/mirror/downloads.maemo.nokia.com/fremantle/ssu/apps/ ./ Jul 15 13:16:01 deb http://mirrors.muarf.org/maemo/apt-mirror/mirror/downloads.maemo.nokia.com/fremantle/ssu/mr0/ ./ Jul 15 13:16:01 deb http://repository.maemo.org/extras/ fremantle free non-free Jul 15 13:16:01 deb http://repository.maemo.org/community-testing/ fremantle free non-free Jul 15 13:16:08 ^ hildon-application-manager.list Jul 15 13:16:27 sources.list is empty Jul 15 13:18:15 thx KotCzarny Jul 15 13:18:24 but seriously, there should be a 'default config' wiki page on maemo.org Jul 15 13:19:14 yea, i never found mirrors.muarf.org and community testing! Jul 15 13:19:19 :) Jul 15 13:19:24 now you do Jul 15 13:19:34 and might be key to install those system packages Jul 15 13:20:30 lol http://pastebin.com/yHWktafa Jul 15 13:20:33 community-testing is not needed tho, unless you want to participate. and i would just use extras-devel :P Jul 15 13:20:44 yes, i tryed reinstall hildon-* but never found anyone Jul 15 13:21:07 extras-devel i found on repository.maemo.org :) Jul 15 13:21:18 yes, but dont keep it enabled Jul 15 13:21:26 might break your device easily Jul 15 13:21:32 s/device/system/ Jul 15 13:21:32 KotCzarny meant: might break your system easily Jul 15 13:21:59 xD Jul 15 13:22:28 you told us! Jul 15 13:24:54 but upgrade didnt find those missing deps Jul 15 13:25:03 so you still have to do a diff Jul 15 13:25:22 use: dpkg --get-selections Jul 15 13:25:35 then diff Jul 15 13:26:08 these 4 packages could not get upgraded, so i removed them X: Jul 15 13:26:37 i mean those 4 NOT on the list Jul 15 13:26:53 you still have to find what you removed earlier Jul 15 13:36:26 u mean the 4 i removed from the list! but maybe a apt-get upgrade will do that, because it upgrade maemo and hildon packages and see dependencies. Jul 15 13:36:39 nope, it didnt find them Jul 15 13:36:47 because there is no 'installing new' Jul 15 13:43:55 KotCzarny: after upgrade i can see clock now unlike before, but still freeze! Jul 15 13:44:08 find the missing ones Jul 15 13:44:09 and upgrade failed on replacing microb-engine Jul 15 13:44:24 most likely you miss something hildon related Jul 15 13:44:34 but just diff the lists Jul 15 13:46:55 realy hard to find, is there any error log file could help me? Jul 15 13:47:09 do you have 2 lists? Jul 15 13:52:16 yes but mine is a little bit diff Jul 15 13:52:25 you mean? Jul 15 13:53:09 yours is e.g. yappari Jul 15 13:53:15 and mine: ii yappari Jul 15 13:53:24 use --get-selections not -l Jul 15 13:54:28 sixwheeledbeast: Thanks for the link, but it seems the relevant bitcoin forum page/software is unavailable, even on archive.org. Unfortunately it seems that the software never made it into any repository that I can find. Jul 15 14:14:46 well, cant boot anymore :/ Jul 15 14:19:35 DerHat: FLASHING ON-DEVICE DOESN'T WORK Jul 15 14:19:53 doc: unless you flash from ramdisk booted os Jul 15 14:19:55 :) Jul 15 14:20:06 too late, anyway thx Jul 15 14:20:41 flash screen show up but win32 says "suitable dev not found, waiting" Jul 15 14:21:07 i hold u while connected via usb and then insert battery Jul 15 14:21:31 but you've said your usb port is b0rken Jul 15 14:21:50 my command: flasher-3.5.exe -F RX-51...COMBINED...bin -f Jul 15 14:21:58 ~flashing Jul 15 14:21:59 maemo-flashing is, like, http://wiki.maemo.org/Updating_the_tablet_firmware, or - on linux PC - download&extract http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz, cd into it, do sudo ./flash-it-all.sh Jul 15 14:21:59 some times it works, needs time to play with Jul 15 14:25:08 KotCzarny: even then Jul 15 14:25:15 huh? Jul 15 14:25:19 flashing depends on NOLO Jul 15 14:25:33 and you can't run NOLO when you run any system on device Jul 15 14:25:45 even with 0xffff ? Jul 15 14:25:49 yes Jul 15 14:25:59 how does 0xffff work then? Jul 15 14:26:14 i've always thought it just writes flash Jul 15 14:26:35 it talks to device via USB, on device there is a special software running that has full and exclusive access to whole NAND Jul 15 14:27:14 coldflashing runs a special NOLO version in RAM to flash NOLO to NAND Jul 15 14:27:20 uhum Jul 15 14:27:32 all other flashing is done by running NAND-based NOLO Jul 15 14:28:17 alternatively you *could* use uBoot if you had a matchng flasher prog on your PC Jul 15 14:28:50 once linux booted on device, you hardly can flash anything the usual way Jul 15 14:29:24 what's closest to on-device flashing is backupmenu-restore Jul 15 14:30:11 you *could* do mtdutils or nandwrite flashing under linux on device, but you need the proper image for that Jul 15 14:31:24 so mtdtools still work? Jul 15 14:31:41 in fact i though 0xffff was a maemo fork of mtdtools Jul 15 14:31:46 *thought Jul 15 14:32:18 no, 0xffff is a alternative flasher-3.5 Jul 15 14:32:29 why wouldn't they? Jul 15 14:32:36 while mtdutils is a on-device app Jul 15 14:33:39 i see an idea for restoreos Jul 15 14:33:40 :) Jul 15 14:33:57 backup/restore system to/from os or network Jul 15 14:34:23 rescueOS runs in RAM and thus can safely flash NAND Jul 15 14:34:32 that's the idea Jul 15 14:34:39 but 0xFFFF is not made to do this Jul 15 14:34:51 yeah, i know now Jul 15 14:35:02 you need your own tools and concept to accomplish such flashing Jul 15 14:35:18 256M isnt that much Jul 15 14:35:26 and you can pipe it through lzop Jul 15 14:35:44 i would simply save/restore whole thing Jul 15 14:36:04 ie. 'clean stock fremantle' or 'clean current cssu' Jul 15 14:37:13 :nod: Jul 15 14:37:23 much appreciated Jul 15 14:37:44 so far we only have a "clean maemo backupmenu image" Jul 15 14:38:16 which is a possible solution for DerHat Jul 15 14:38:31 he still would need to boot the device Jul 15 14:38:42 sure Jul 15 14:38:46 ): Jul 15 14:38:55 clean maemo image? where do i find that Jul 15 14:38:59 but only until backupmenu Jul 15 14:40:13 there is still issue of onboard sd Jul 15 14:40:42 but that could be solved by some pre-prepared data too Jul 15 14:40:53 now it shows only white nokia logo or if keyboard is open multiboot with no bootable option... Jul 15 14:40:57 oops sorry, I mixed that up: >>Here's a rootfs image from my N900 with BackupMenu 0.50-3 installed: flashable_rootfs_v0.56-1-20101109.img. This image can be flashed with the Nokia flasher, significantly reducing restore time if you have a "bricked" system.<< Jul 15 14:41:29 that's assuming you have backupmenu Jul 15 14:41:30 :) Jul 15 14:42:11 no, *this* is assuming you can flash Jul 15 14:42:21 that too Jul 15 14:42:32 but i cant charge battery Jul 15 14:42:43 derhat: use rescueos Jul 15 14:42:52 ? Jul 15 14:42:58 rescueOS needs USB Jul 15 14:43:00 ahm, nvm, bad usb Jul 15 14:43:13 usb works, some times :D Jul 15 14:43:27 dont everflex it Jul 15 14:43:38 just cant charge because of this nokia logo, it wont go ahead Jul 15 14:43:38 DerHat: you *could* install backupmenu and then find a clean-maemo backup archive and restore that Jul 15 14:43:43 prepare flasher and try to restore stock image Jul 15 14:43:54 doc: he cant boot anything at the moment Jul 15 14:43:56 DocScrutinizer05 no i cant boot device Jul 15 14:44:04 hmm? Jul 15 14:44:18 stuck at nokia logo Jul 15 14:44:24 and it wont flash if battery level is to low Jul 15 14:44:24 most likely b0rked main fs Jul 15 14:44:33 when you can't boot and you got broken USB port, you're between a stone and a hard place Jul 15 14:44:37 KotCzarny: i got multiboot installed Jul 15 14:44:53 for nitdroid, but i never do that again Jul 15 14:45:00 :> Jul 15 14:45:13 ~maemo-multiboot Jul 15 14:45:13 it has been said that maemo-multiboot is deprecated, and a horrible hack. PROBLEMS WITH NITDROID/MULTIBOOT? reflash rootfs&kernel aka COMBINED Jul 15 14:46:18 right, this made my nokia unbootable Jul 15 14:47:30 so what's the status of your USB? broken or just defunct due to software problems? Jul 15 14:47:42 broken, but works with wiggling Jul 15 14:47:48 :-/ Jul 15 14:47:57 you're pretty much in a pinch Jul 15 14:48:16 fix the USB port Jul 15 14:48:38 N900 has no alternative way to get you out of this deadlock Jul 15 14:48:52 KotCzarny: wiggling? seriously? Jul 15 14:49:12 derhat: that's what i understood from 'works sometimes' Jul 15 14:49:26 lol ok, i try that :D Jul 15 14:49:32 NO!!!!! Jul 15 14:49:36 don't Jul 15 14:49:59 ok Jul 15 14:50:48 DerHat: is your USB port known to be mechanically broken? Jul 15 14:51:38 its broken, i fixed last time by soldering but broke again Jul 15 14:52:26 i also stabilized by insert some paper between usb and case Jul 15 14:53:13 DerHat: I would open the case and check the port. If you tear off the PCB contacts for the USB port with unbootable firmware then the only way to fix it would be to go through the diagnostic pins. Jul 15 14:53:52 or buying another one Jul 15 14:54:56 DerHat: with physically broken USB your're screwed Jul 15 14:55:26 only alternative: use testpoints under battery Jul 15 14:55:47 or fix USB again - which is the preferrable alternative Jul 15 14:55:57 maybe this time do it right Jul 15 14:56:40 it is still able to detect usb connection, just wont flash now error: suitable usb dev not found, waiting..." Jul 15 14:56:58 turn it off first Jul 15 14:57:07 i removed battery Jul 15 14:57:11 start flasher, wait for 'waiting for' then connect Jul 15 14:57:19 done Jul 15 14:57:26 and only move cable at the pc side Jul 15 14:57:30 its not the first time i flash this device Jul 15 14:57:41 immobilize it somehow on the n900 side Jul 15 15:10:20 yellow led turned on while try to flash, but still "suitable dev not found..." Jul 15 15:11:43 let it charge if it pulses Jul 15 15:11:47 you will need it anyway Jul 15 15:13:02 no, its just static lid while try to flash Jul 15 15:14:13 you're lowbat-deadlocked Jul 15 15:14:26 ~flatbatrecover Jul 15 15:14:26 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 shut off -> start over again with ~flatbatrecover while already searching for a new battery. CAVEAT! Only works when ~rootfs OK (no ~bootloop) Jul 15 15:14:29 charge in other device? Jul 15 15:14:40 or just boot rescueos Jul 15 15:14:41 ~bootloop Jul 15 15:14:41 methinks bootloop is when your device has broken rootfilesystem, so during reboot it fails on some service startup or kernel module load and thus reboots. This *drains* battery! And you can't reflash to stop bootloop when battery is drained. Recharge your battery by other means before reflashing. E.g. using ~rescueOS. Or external charger or BL-5J compatible other device. Jul 15 15:15:06 rescueos? Jul 15 15:15:12 ~rescueos Jul 15 15:15:12 it has been said that rescueos is http://n900.quitesimple.org/rescueOS/ Jul 15 15:15:12 ~rescueos Jul 15 15:15:38 how to install? Jul 15 15:15:44 you dont install Jul 15 15:15:50 you boot via same flasher Jul 15 15:15:53 how to load Jul 15 15:15:56 read the link Jul 15 15:15:59 ok Jul 15 15:16:31 but remember flasher line differs slightly, so read cautiously Jul 15 15:16:56 why rescueos? i can also flash maemo to make it working Jul 15 15:17:19 you cant flash without battery charged to some extent Jul 15 15:19:10 i can flash rescueos with low battery? Jul 15 15:19:50 you dont flash rescueos Jul 15 15:19:56 you boot via flasher cmd line Jul 15 15:20:03 then you can start charging script Jul 15 15:20:07 told you, read the readme Jul 15 15:20:26 This is a download-only location. For documentation and scripts, Jul 15 15:20:27 refer to https://github.com/NIN101/N900_RescueOS Jul 15 15:20:32 this is the readme Jul 15 15:20:35 http://n900.quitesimple.org/rescueOS/rescueOS-1.2/documentation.txt Jul 15 15:20:38 this is the readme Jul 15 15:22:28 * DocScrutinizer05 thinks it's pretty difficult to get somebody out of a ^2 pitfall of broken-USB*flatbat Jul 15 15:25:16 one (flatbatt) blocking flashing 100% reliably, and the suggested fix (rescueOS) depends on the other (broken USB) giving you a 30% chance to just boot to the system which will then use the same broken USB to charge Jul 15 15:26:33 so prepare for a two dozen aborting/failing tries before you even charged battery Jul 15 15:27:00 I recommend chatging battery externally Jul 15 15:27:06 charging* Jul 15 15:34:18 in n9 are also so many problems? Jul 15 15:34:31 n9 has its own problems (software) Jul 15 15:37:39 derhat, i have my n900 for 6 years, usb port is working 100%, so its user handling in big part too Jul 15 15:38:29 i told a friend to charge on his computer, he broke my port! not me :D Jul 15 15:38:49 doh Jul 15 15:39:43 first rule of electronics, dont let other people touch it Jul 15 15:39:58 ~usbfix Jul 15 15:39:58 i guess usbfix is http://talk.maemo.org/showthread.php?t=75920 - and **NEVER** use epoxy (unless you want to seal your device for underwater), or https://www.youtube.com/watch?v=fYz5nIHH0iY#t=1866, you will basically need two irons: a small good one (or better hot-air reflow) and a 60+ Watt Jul 15 15:40:56 infobot: usbfix is http://talk.maemo.org/showthread.php?t=75920 - and take care when using epoxy (unless you want to seal your device for underwater), or https://www.youtube.com/watch?v=fYz5nIHH0iY#t=1866, you will basically need two irons: a small good one (or better hot-air reflow) and a 60+ Watt Jul 15 15:40:56 L29Ah: cannot alter locked factoids Jul 15 15:41:02 ;[ Jul 15 15:47:24 what should happen if i put usb in without battery? Jul 15 15:47:29 nothing Jul 15 15:47:34 zilch Jul 15 15:47:36 no led? Jul 15 15:47:37 battery is required Jul 15 15:47:54 after a 20min actually the steady yellow comes up - sometimes Jul 15 15:49:22 means nothing though, except "there's voltage on USB" Jul 15 15:51:52 when you watch extremely closely, you can see the 200microseconds of yellow LED flashing when connecting Jul 15 15:57:21 any emacs users around? Jul 15 15:58:04 Im interested about the best way to map alt key in emacs Jul 15 15:58:17 meta ? Jul 15 15:58:20 yes Jul 15 15:58:31 most term emulators map ESC to meta Jul 15 15:58:51 ZetaR: Well unfortunately that's the only working Bitcoin related thread on TMO. Maybe you can find bitcoind and compile it for maemo? Jul 15 15:59:03 good to know, thanks Jul 15 15:59:20 I think I've mapped ESC to fn+shift left-key Jul 15 16:01:27 true, it works as meta Jul 15 16:02:09 :) Jul 15 16:02:18 reminds me of http://s.mlkshk-cdn.com/r/37ET Jul 15 16:03:38 :) Jul 15 16:05:13 :D Jul 15 16:06:17 "work" Jul 15 18:20:55 aHa! back in the saddle again [singing] Jul 15 18:23:39 :) Jul 15 18:23:57 word of warning, irc is a big time waster Jul 15 18:24:11 had a hell of a time with my old handle.. Jul 15 18:24:19 you dont need a handle Jul 15 18:24:45 all this registering is.. well.. unnecessary imo Jul 15 18:26:46 well I'm a member of the voting minority so having ducks in a row definitely is chalenging :D esp. when I've forgotten my garage and community logins and passwords Jul 15 18:27:21 gotta work on those one day soon here Jul 15 18:28:11 just hit 'new password' on the login form? Jul 15 18:28:17 and email as a login Jul 15 18:28:45 ok, n800 is charging (luckily i've found it's charger) Jul 15 18:29:46 yeah ..it probably is that simple as "new login" ... I'm always figuring things are faaaar more complex :D Jul 15 18:30:20 nah, click lost password and enter email as a login Jul 15 18:30:30 or if there is specific field for it Jul 15 18:32:40 I'll deal with that this evening ...too much multi-tasking [gets up for a cup of joe] Jul 15 18:39:53 yeah...multi-tasking...can't spend long on here at the mo. "wash" day here...bedding...dog..Eddie [my 1-eyed, 3-legged bud doesn't care for "wash" day] Jul 15 18:40:11 no worries, just leave the window somewhere minimized Jul 15 18:43:47 yeah..back once I'm done...picked a hellava busy day [for me] to get gtkgep functioning Kot :D Jul 15 18:44:07 no worries, i'll try to port it to esound Jul 15 18:44:16 might take a bit, few docs Jul 15 18:45:32 ah...it'll be good to give the finger to all the buggers running amplitube off their phones :D Jul 15 18:45:40 :) Jul 15 18:46:04 porting it to gtk2 would be swell too, but it will be much more work Jul 15 18:47:44 hm...do you think we can get it running proper at least intially with gtk? I'm jones'n Jul 15 18:48:17 it works 100% with n900 now Jul 15 18:48:33 i don't expect anything troubling once i switch oss to esd Jul 15 18:48:45 grand Jul 15 18:49:25 unless n8x0 esd is quirky and interfere with audio stream (latency, cpu clog etc) Jul 15 18:49:56 hmmm... Jul 15 18:51:53 I did play with the interface via n900..and found it awkward with the windows popping up filling the whole bloody screen...isn't friendly for changing or configuring inputs on the fly Jul 15 18:52:21 yeah, but thats the way author made it Jul 15 18:52:36 tabs would be nice Jul 15 18:52:37 correction not "inputs" rather "plugin" Jul 15 18:52:45 "effects" Jul 15 18:52:47 :) Jul 15 18:52:59 fx :D Jul 15 18:53:19 still, it works, and if you only need particular effects set, it works Jul 15 18:53:27 sooo nice to be able to say that in conjunction with the tablets now... Jul 15 18:53:51 if you are impatient, you can always use esddsp wrapper Jul 15 18:54:15 don't know if it wraps capturing too, but it should Jul 15 18:54:19 tabs would be a better method than the whole screen Jul 15 18:55:13 naw I'm a patient..been working away at gtkgep long enough...learned some small modicum of patience from it Jul 15 18:56:49 kills me...you put it all together in a heartbeat what has taken me sloggin' through swampland it seems :D Jul 15 18:57:10 everyone has some talent Jul 15 19:00:06 well thanks to you and Android 808 and a few more people we now have gtkgep...and that will be a great allure to old and new maemoans alike... Jul 15 19:00:17 well, i didnt use their work Jul 15 19:00:31 i just grabbed gtkgep and compiled it in scratchbox Jul 15 19:05:41 well ...my thanks extend to all... it has been an education in audio for sure ... for me ... Jul 15 19:06:48 you should play with osc pixos one day Jul 15 19:11:59 osc pixos ...don't know that one. Jul 15 19:12:52 it's my app to turn few lines of c code into: https://www.youtube.com/watch?v=qGg-uhy6t3E Jul 15 19:13:21 or: https://www.youtube.com/watch?v=eVAwoFZKUSQ Jul 15 19:13:44 or: https://www.youtube.com/watch?v=MsGFinU22zA Jul 15 19:27:31 impressive very Jul 15 19:28:28 hmm, now, where did i put libesddsp Jul 15 19:28:50 (going lazy way, it works so far on n8x0, but i need to add wrapper) Jul 15 19:32:56 hrm, no full-duplex? Jul 15 19:33:09 i think n8x0 doesn't support full-duplex Jul 15 19:33:34 meaningggg ? Jul 15 19:33:43 needs usb audio Jul 15 19:33:46 in short Jul 15 19:33:53 ahhh Jul 15 19:34:00 unless you use network audio as input or outpu Jul 15 19:34:01 t Jul 15 19:34:55 that's with wrapper, but afair n8x0 had trouble with internet phone apps anyway due to lack of fullduplex Jul 15 19:35:44 hm... Jul 15 19:38:03 btw. as for n900 as a guitar amp, pair it with fm transmitter Jul 15 19:38:04 ;) Jul 15 19:38:25 ie. play guitar/harp on neighbours radios Jul 15 19:38:53 hahaha Jul 15 19:38:56 now.. THAT's something ;) Jul 15 19:39:15 pity it's quality is a bit.. low Jul 15 19:39:18 but still, funny Jul 15 19:39:54 oh man there is gonna be alotta people upset at only 1 station "radio endsormeans" :D Jul 15 19:40:05 nah, transmit power is low Jul 15 19:40:14 so don't expect it to override air radios Jul 15 19:40:24 but tuned to empty freq it should work Jul 15 19:40:55 'i don't have an amp with me.. but i have car radio!' Jul 15 19:41:12 now you only need packaging and a cool name Jul 15 19:41:29 |> Shpongle - Ineffable Mysteries From Shpongleland.wv (2009, Released by a-one) Jul 15 19:41:33 k, food time Jul 15 19:43:53 yeah I gotta give Eddie a bath and do some domestics around here...back when I'm done. Jul 15 19:44:07 uh it's you endso Jul 15 19:44:57 new nick Jul 15 19:44:58 hey Doc!... how you doin? :D Jul 15 19:45:27 very busy Jul 15 19:46:03 hmm Jul 15 19:46:14 another idea, n800 has fm-receiver Jul 15 19:46:21 n900 has fm-transmitter Jul 15 19:46:24 hint, hint Jul 15 19:46:50 just explained on chaos computer club chan why I don't like Jolla (or any of the other Android shared-RAM hw platforms) Jul 15 19:47:09 did they take it well? Jul 15 19:47:14 or were you banned? Jul 15 19:47:15 hehehee Jul 15 19:47:22 I think they did Jul 15 19:47:30 hahahaahaa Jul 15 19:48:52 okokok I wish I could stay..but I gotta give Eddie his bath...back when I'm done Jul 15 20:16:13 http://www.forbes.com/sites/ewanspence/2015/07/14/nokia-android-smartphone-plans/ Jul 15 20:16:30 we need more linux phones Jul 15 20:16:35 not another droid.. Jul 15 20:16:58 That means identifying a partner that can be responsible for all of the manufacturing, sales, marketing and customer support for a product. Jul 15 20:17:00 ayy lmao Jul 15 20:17:42 on another note, m$ is not doing well? or just 'sploring enemy territory? Jul 15 20:23:48 ((did they take it well?)) seems the problem of shared ram and proprietary closed supervisor on ring0 was new to them though Jul 15 20:24:30 well, new to one of them at least Jul 15 20:59:41 pine Jul 15 20:59:48 argh wrong window Jul 15 20:59:55 such is life Jul 15 21:22:52 in moscow Jul 15 21:25:19 ah..well have one clean pup...domestic issue no.12 of the day done... Jul 15 21:25:48 it's useless, it will get dirty in no time Jul 15 21:26:20 it's either home pup or stinky pup Jul 15 21:26:57 also, skype worked on n8x0, so maybe it's the esd wrapper failing Jul 15 21:27:16 esd wrapper? Jul 15 21:27:22 esddsp Jul 15 21:27:28 o.O Jul 15 21:27:39 didn't know skype using esd Jul 15 21:28:11 n8x0 has esound Jul 15 21:28:29 so unless it killed the daemon, it was using it Jul 15 21:28:50 hmm, which gives me an idea, he he Jul 15 21:28:58 well, they never got audio right, that's why I stopped betatesting their crap. Then I kicked it off all my devices when it started sucking on security and draining my N900 battery Jul 15 21:28:59 Hahaha thankfully he doesn't roll in the dirt or flop down in mud puddles .....So Kot ...no hope for gtkgep on the n8x0 then...odd I'd swear diablo turbo for sure already had esd ..I know it's in the ASUI Jul 15 21:29:31 endso, i didn't say my final word on that Jul 15 21:29:51 well there is a relief Jul 15 21:30:39 gonna kill the esd and open /dev/dsp directly Jul 15 21:30:47 It has to be some process kicking the crap out of it... Jul 15 21:32:03 uh-oh...time for a Michael Bay 'splosion... Jul 15 21:33:25 https://www.youtube.com/watch?v=itXjAuUTs2U Jul 15 21:34:17 ah, right, the marvelous /dev/dsptask* circus Jul 15 21:34:24 https://www.youtube.com/watch?v=v7ssUivM-eM Jul 15 21:55:44 wow, catting noise into /dev/dsptask/pcm1 closed ssh connection Jul 15 21:55:59 funky Jul 15 21:58:39 and dmesg is full of happy omapdsp Jul 15 21:59:37 and wtf is multimediad Jul 15 22:19:07 multimediad(aemon) perhaps? Jul 15 22:19:22 don't believe the names Jul 15 22:31:14 hm....I do believe it is very much so the Multimedia Daemon...refer to ASUI for more deets on it. If it is giving you probs...hm... Jul 15 22:31:45 nah, just grumbling Jul 15 22:31:49 https://garage.maemo.org/plugins/scmsvn/viewcvs.php/advanced-systemui/settings/services.c?root=asui&view=markup Jul 15 23:01:28 that audio system on n8x0 is.. fsckedup Jul 15 23:08:54 beauty ain't she? Jul 15 23:09:56 playing works, untill i try to record Jul 15 23:12:00 hrm, alsa output still works Jul 15 23:16:41 hold it a sec..just to know here's you at :D ...forget recording for a mo...so running gtkgep works on the n800? Jul 15 23:17:01 sure, no problem at all Jul 15 23:17:11 i'm hacking at the audio system though Jul 15 23:17:29 so far tried oss/esd combinations and all failed Jul 15 23:17:50 possible ways are gstreamer and alsa Jul 15 23:17:53 trying alsa now Jul 15 23:18:54 So you are attempting to get the device to record then...hm...alsa ..there is a good chance that will work better than esd...it is known to be a bit flaky on the n8x0 Jul 15 23:19:13 esd that is Jul 15 23:19:21 being flaky Jul 15 23:19:32 pity they left the oss emulation layer out of the kernel modules Jul 15 23:26:31 use ALSA Jul 15 23:26:44 doc, it's n8x0 Jul 15 23:26:50 so? Jul 15 23:26:57 so things are hairy there Jul 15 23:27:14 pity libao doesnt support recording Jul 15 23:27:15 dunno how they are hairy. I didn't check in depth Jul 15 23:27:50 anyway I'd consider PolypAudio more hairy than any ALSA Jul 15 23:29:53 and I'm relatively sure diablo came with ALSA like fremantle does Jul 15 23:30:12 sure, but esd grabs it all for itself Jul 15 23:30:25 check if there's aplay/arecord (same binary) Jul 15 23:30:53 right now i'm writing c code to init alsa device Jul 15 23:31:16 yeah sure, all sound servers are crap, esd just like PA and phonon and ... Jul 15 23:31:44 wouldnt mind esd if it actually worked Jul 15 23:31:51 get aplay c code, it is the reference implementation Jul 15 23:33:05 when there's a aplay/arecord binary on diablo, you're better off copying stuff from there rather than writing your own Jul 15 23:33:19 sure, but i have to hack it into other app Jul 15 23:33:30 that's ok Jul 15 23:33:30 which isn't always 1:1 Jul 15 23:33:40 well, for large parts it is Jul 15 23:33:48 devil is in details Jul 15 23:34:32 I know about such devilish details, I serviced the ALSA part of twinklephone Jul 15 23:35:02 do you know if i can open single stream for record and playback? Jul 15 23:35:10 sure Jul 15 23:35:42 you mean one for both? aka duplex? Jul 15 23:35:48 yes Jul 15 23:35:53 nah, afaik not Jul 15 23:36:03 fun. Jul 15 23:36:11 double initialization again Jul 15 23:36:46 you might reuse initialization, but you need to open one down stream and one up stream Jul 15 23:36:48 afaik Jul 15 23:37:21 it's not like you could use same buffer concurrently for sending and receiving samples Jul 15 23:37:45 hmm, but i found this piece of code: snd_pcm_hw_params_set_access (aR, hw_params, SND_PCM_ACCESS_RW_INTERLEAVED); Jul 15 23:38:00 does it mean it can be used both ways? Jul 15 23:38:32 sorry, I don't know the ALSA interface specs by heart Jul 15 23:38:59 prolly yes, yet you can open it *either* for read *or* for write Jul 15 23:39:24 not for readwrite Jul 15 23:40:23 http://www.alsa-project.org/alsa-doc/alsa-lib/index.html Jul 15 23:41:53 http://www.alsa-project.org/alsa-doc/alsa-lib/globals.html etc Jul 15 23:42:00 snd_pcm_open (&aP, argv[1], SND_PCM_STREAM_PLAYBACK, 0); Jul 15 23:42:17 second parameter is something in the way of "hw:0,0" ? Jul 15 23:43:17 sounds good Jul 15 23:43:35 not that much, can't guess names on n8x0 Jul 15 23:43:43 razher use e.g plughw:0,0 Jul 15 23:44:04 aplay -l, aplay -L Jul 15 23:44:16 no such commands Jul 15 23:44:28 diablo was castrated in the usual nokia's way Jul 15 23:44:36 that's a pity when there's no aplay Jul 15 23:44:51 gonna check diablo wheezy armel repo Jul 15 23:46:02 anyway there's only a few possibilities for soundcards: hw:0,0 hw:0,1 hw:1,0 hw:1,1 Jul 15 23:46:10 maybe 2 as well Jul 15 23:46:23 sure, unless it's nokia's os Jul 15 23:46:35 and there will be bazillion of different names Jul 15 23:46:38 the rest are PCM plugins which can be found in usr/*/*/alsa/* Jul 15 23:46:57 [root@Nokia-N800-43-7:~]# /aplay -l Jul 15 23:46:57 **** List of PLAYBACK Hardware Devices **** Jul 15 23:46:57 ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL hw:0 Jul 15 23:46:57 aplay: device_list:261: control open (0): No such file or directory Jul 15 23:47:00 [fun Jul 15 23:47:18 told you, nokia Jul 15 23:48:45 http://privatepaste.com/862908f551 Jul 15 23:48:48 luckily strace hinted /usr/share/alsa/alsa.conf Jul 15 23:49:33 pcm.!default { Jul 15 23:49:33 type alsa_dsp Jul 15 23:49:34 playback_device_file ["/dev/dsptask/pcm3"] Jul 15 23:49:34 recording_device_file ["/dev/dsptask/pcm_rec1"] Jul 15 23:49:34 } Jul 15 23:49:39 how do i use it? Jul 15 23:49:52 pcm.!default is the name i have to use in both cases? Jul 15 23:52:13 default is used when you don't give any device Jul 15 23:53:09 but yes, you also could use default explicitly, I guess Jul 15 23:53:53 don't ask me about the ! I never understood what's the exact meaning Jul 15 23:56:08 anyway you'll find somewhere a pcm definition for e.g. pcm.stereo or whatever and it has sth like {rate=8000; slave default} Jul 15 23:56:17 nope Jul 15 23:56:23 and you probbaly will find a pcm.hw somewhere Jul 15 23:56:29 that's the only sane entry Jul 15 23:57:07 sorry, no working diablo system here. See above pastebin for fremantle Jul 15 23:58:02 http://pastebin.com/raw.php?i=gBS8x9F1 Jul 15 23:58:34 http://privatepaste.com/bffa27d2e3 Jul 15 23:58:40 i'm curious about the last line, how do i get oss node? Jul 15 23:59:58 http://www.alsa-project.org/~jfulmer/alsa-faq.html Jul 16 00:00:32 i meant, can i get that node working without oss emulation module Jul 16 00:03:31 ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM pcm.!default Jul 16 00:03:36 fun. Jul 16 00:04:39 the ! is illegal char I'd guess Jul 16 00:04:52 it's a special meaning char not part of name Jul 16 00:05:28 umkay, something is working Jul 16 00:05:41 i even get some feedback when tapping on the mic Jul 16 00:05:50 honestly, an empty device string is same like "default" Jul 16 00:05:56 afaik Jul 16 00:07:34 afk, cya Jul 16 00:07:39 thx, and gn Jul 16 00:10:37 fun. device is still opened after program closed (and i did close both streams) Jul 16 00:14:41 you need to free them too iirc Jul 16 00:14:59 just closing isn't enough Jul 16 00:15:15 sure, but now that app closed, how do i free them? Jul 16 00:15:23 or rather, closing might actually fail when you didn't free them beforehand Jul 16 00:15:44 good question, prolly reload the als kernel module Jul 16 00:15:47 dunno Jul 16 00:15:49 hehe Jul 16 00:15:59 reboot then Jul 16 00:16:24 what makes you think they are still open? Jul 16 00:16:57 [ 3808.617187] EAC mode: play enabled, rec enabled Jul 16 00:17:09 and no 'disabled' line in dmesg later on Jul 16 00:17:16 also, can't run app second time Jul 16 00:17:22 hmm Jul 16 00:18:22 no idea. actually that type alsa_dsp is new to me Jul 16 00:18:39 told you, it's hairy Jul 16 00:18:59 must be the kernel interface to ... dsp ;-) Jul 16 00:19:02 pity they couldn't write proper kernel device Jul 16 00:19:27 that would keep to standards and failsafe from user hackings Jul 16 00:20:27 yeah, it fails at snd_pcm_open Jul 16 00:20:36 so i can't even reset it without the reboot Jul 16 00:21:06 OpenMAX IL Jul 16 00:21:20 yeah, 'open' 'max' Jul 16 00:21:26 both lies Jul 16 00:21:31 http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Architecture/Multimedia_Domain Jul 16 00:21:40 it's prolly a TI thing Jul 16 00:21:52 DSP-bridge Jul 16 00:22:07 but you are reading n900's docs Jul 16 00:22:42 yes, but the OMAP2 isn't that much different in that regard Jul 16 00:22:54 it is, driver is worse Jul 16 00:22:55 afaik it also has a DSP Jul 16 00:24:05 and I guess alsa_dsp is ALSA's interface to OpenMAX IL or whatever the thing is called on OMAP2 Jul 16 00:24:40 ok, so how do i close the bastard properly? Jul 16 00:24:45 snd_pcm_drop ? Jul 16 00:24:52 then snd_pcm_close? Jul 16 00:25:06 unload the kernel module omap-dsp or whatever it's called Jul 16 00:25:09 nope Jul 16 00:25:11 builtin Jul 16 00:25:15 aah Jul 16 00:25:30 check source for aplay Jul 16 00:25:41 it's the reference inplementation Jul 16 00:28:46 i think it just uses snd_pcm_close Jul 16 00:29:03 unless there is something to error handling Jul 16 00:30:36 as mentioned you need to free stuff before close will succeed Jul 16 00:31:05 ok, got disabled msg Jul 16 00:31:53 oh, fun, it stays opened when closing app via ctrl-c Jul 16 00:33:34 http://privatepaste.com/99b5d4da1f Jul 16 00:35:30 from /home/jr/Desktop/twinkle-1.1/src/audio/audio_device.cpp Jul 16 00:36:37 nah, it's just that author of the app didnt add snd stop func at all close cases Jul 16 00:38:01 sorry, can't help any further. That's the end of my alsa 'expertise' Jul 16 00:38:15 no worries, it almost works Jul 16 00:38:30 still have to hack at buffers (clicking etc) Jul 16 00:38:58 twinkle-1.1/src/audio/audio_device.cpp is about as much as I know about ALSA Jul 16 00:39:04 nice code Jul 16 00:39:30 I found the // Without the snd_pcm_hw_free, snd_pcm_close sometimes fails. Jul 16 00:40:05 i free hw just after init Jul 16 00:40:09 since nobody but me bothers to check error return code of a close() Jul 16 00:40:14 or not Jul 16 00:42:43 and yes, ALSA docs suck in that they don't exlain when and how to use snd_pcm_hw_free() and *close() etc Jul 16 00:47:40 get twinkle-1.*/src/audio/audio_device.cpp it's probably pretty instructive particularly when you like OSS Jul 16 00:48:00 i'm tired a bit Jul 16 00:48:08 so for now i just install signal handler Jul 16 00:49:16 http://privatepaste.com/ece01709c6 Jul 16 00:49:47 i wouldnt call it simple interface Jul 16 00:50:13 but in my case it was the missing signal handler Jul 16 00:50:28 i'm amazed that kernel doesnt close the device on it's own... Jul 16 00:50:56 i guess that's the reason of n8x0's audio being flaky (sometimes works, sometimes not) Jul 16 00:53:08 can i catch -KILL ? Jul 16 01:10:24 KotCzarny: SIGKILL cannot be caught. Jul 16 01:10:42 yeah. pity Jul 16 01:11:44 Well, it does give you a way to kill a program that is hanging and refusing to respond to other signals. Jul 16 01:12:28 yeah, still, if i will ever have to kill this app via -KILL, audio device will be blocked Jul 16 01:14:07 That... sounds like really poor design. Jul 16 01:14:19 on the nokia/ti, yes Jul 16 01:14:42 You should immediately free resources when the blocking program gets killed. Jul 16 01:18:59 Unfortunately, I don't really know much about OMAP and ALSA, so I can't really help you out. Jul 16 01:19:30 nah, as i've said, it was a missing signal handler, it's fixed now (to a point) Jul 16 01:19:49 do you know c? Jul 16 01:20:34 Yeah, but not real experienced. Jul 16 01:20:43 process_buffer[i]>>=1; Jul 16 01:20:46 what does it do? Jul 16 01:22:20 Hm, let me check K&R. Not sure what the >> is for. Jul 16 01:22:30 >> is bit shift Jul 16 01:22:36 but is >>= special? Jul 16 01:23:03 Oh, well that sounds like you have an array and you are bit shifting and assigning a 1. Jul 16 01:23:16 o.o Jul 16 01:23:29 i wonder what the author meant by it.. Jul 16 01:23:38 but for shift you need param Jul 16 01:23:46 as in var>>2 etc Jul 16 01:25:43 Hmm, maybe it is some other thing then. Jul 16 01:30:26 According to K&R, most of the binary operators have a corresponding assignment operator, which is what >>= is. So that line should be equivalent to "process_buffer[i] = process_buffer[i] >> 1;" Jul 16 01:30:42 uhum Jul 16 01:31:03 "expr1 op = expr2" is equivalent to "expr1 = (expr1) op (expr2)" Jul 16 01:31:41 i still don't know what app author wanted to achieve, because it only shifts by 1 bit then overwrites it next Jul 16 01:32:59 Unfortunately, K&R does not contain the necessary rituals for divining the intentions of other programmers. Jul 16 01:33:35 http://pastebin.com/raw.php?i=miq1Ty4j Jul 16 01:33:39 this is the part of the code Jul 16 01:33:44 ignore <---> Jul 16 01:34:02 process_buffer is audio data, 2ch, 16bit samples Jul 16 01:34:37 That doesn't overwrite it. Jul 16 01:34:39 if i read it correctly, it overwrites one channel with the other shifted by one bit Jul 16 01:35:17 Oh, I thought you meant it overwrites it uselessly. Jul 16 01:36:20 process_buffer data type is short Jul 16 01:37:15 So it shifts the samples in the array by one, and bitshifts the samples by one? Jul 16 01:37:32 it's late, i might be wrong/blind Jul 16 01:37:38 Sorry, I need to go AFK for ~30min. Jul 16 01:37:43 no worries Jul 16 02:01:09 hey, that divides by two (>>1) and copies left into right chan Jul 16 02:01:40 yeah, that's why i don't understand it Jul 16 02:02:04 which makes sense since stereo->mono later on adds both channels and thus compensates for the divide by 2 aka rightshift Jul 16 02:02:19 huh? Jul 16 02:02:50 so it's primitive stereo->mono code? Jul 16 02:02:53 it's prolly mono isgnal in left chan of a stereo stream Jul 16 02:03:40 this code copies left chan into right chan so it's balanced stereo, and compensates for the volume increase that causes Jul 16 02:04:03 what do you mean by 'balanced stereo' Jul 16 02:04:06 it's rather mono->stereo Jul 16 02:05:35 input is L?L?L?, output is (L/2)(L/2)(L/2)(L/2)(L/2)(L/2) Jul 16 02:05:50 ? is probably 0 Jul 16 02:05:58 or bogus data Jul 16 02:06:19 i could understand that it overwrites right chan with quited left chan Jul 16 02:06:29 a correct stereo input would be LRLRLR Jul 16 02:07:22 looks like what I'd do to a headset mic input Jul 16 02:07:46 unless your mic input is really stereo Jul 16 02:07:47 which per definition is on left channel when input is stereo Jul 16 02:07:57 or if input is line-in Jul 16 02:08:08 never seen a headset with stereo mic :-) Jul 16 02:08:34 this app comes from desktop Jul 16 02:08:50 but ok, thanks for helping me understand the author Jul 16 02:09:21 it copies left into right channel and attenuates both by 50% Jul 16 02:09:26 yeah Jul 16 02:09:42 now i have to tidy up the block sizes he uses Jul 16 02:14:01 It seems that DocScrutinizer05 knows the correct divining rituals we were missing. :) Jul 16 02:14:20 or just had his powernap Jul 16 02:14:21 ;) Jul 16 02:15:49 I think it is something like 4am where he is. Jul 16 02:18:04 on another note, im so gonna steal many of gtkgep effects and add them into oscp Jul 16 02:18:07 MUAHAHAHAHA Jul 16 02:21:59 Someone just turned into Mr. Hyde. Jul 16 02:22:23 anyway, thanks, and cya, time for my powernap Jul 16 02:22:36 Cya. **** ENDING LOGGING AT Thu Jul 16 02:59:59 2015