**** BEGIN LOGGING AT Mon May 23 02:59:58 2016 May 23 09:17:53 LMD:2872 :) May 23 14:27:59 Hi guys May 23 14:28:16 I have been playing on n800 with fmradio. May 23 14:28:39 Done is a c prg that chg the radio chanell on the fly May 23 14:29:27 :) May 23 14:29:29 based on the header that comes with fmradio pkg "fm_radio_utils.h" May 23 14:30:00 for n800 you had to shut down radio first to change frequency? O.o May 23 14:30:16 no, i am changing it on the fly May 23 14:30:26 not shutting down anything May 23 14:30:35 it is a very simple prg May 23 14:30:47 s/prg/program/ May 23 14:30:47 sunshavi meant: it is a very simple program May 23 14:30:56 lol. i understand what you're doing now .. i am asking what had to be done before...? May 23 14:31:41 well. on n800 from the cli, You can call fmradio binary. And it launches fmradio app May 23 14:31:59 i want to turn on the radio from cli now May 23 14:32:30 the header have just 5 functions May 23 14:32:39 okay. i don't think we understand each other. :) May 23 14:32:43 great work though May 23 14:33:05 one of the functions is "fm_radio_getsignal", any idea what is this for? May 23 14:33:20 maybe signal quality May 23 14:33:29 :) May 23 14:34:43 mmm, when i called fm_audio_unmute the progarm segfaulted. probably I need to set-up smth before calling that function May 23 14:34:55 it's good to know the quality of a connection for stereo purposes .. no point decoding stereo when your signal is bad. most household radios go momo if signal is bad, so yes, that's wht it likely is for, as KotCzarny said May 23 14:35:12 momo->mono May 23 14:36:06 ok. Thanks 4 the help guys. Let's keep experimenting with it May 23 14:36:14 :) May 23 14:37:34 btw. All os this part is close sourced by nokia yet. But in the kernel headers I have seen a v4l2 header. That could be handy too May 23 14:37:47 s/All os/All of/ May 23 14:37:47 sunshavi meant: btw. All of this part is close sourced by nokia yet. But in the kernel headers I have seen a v4l2 header. That could be handy too May 23 15:36:47 fm_radio_getsignal might possibly tell about signal strength May 23 15:46:14 thanks DocScrutinizer05 May 23 15:46:29 yw, wild guessing though on my side May 23 15:47:14 ok, if I got starting it from cli. I am going lo let You know guys May 23 18:15:54 chess game saving is not working. Or it seems to work, but when i try to open it. It can't be found. I mean program doesn't see my save file. May 23 18:28:02 Vajb: make sure your pathname is valid May 23 18:28:46 prolly bug reports are welcome May 23 18:38:34 DocScrutinizer05: tested it with memory card and internal memory. File is created, but game doesn't see it. May 23 18:39:03 hmmmm May 23 18:39:37 ls -l check permission flags and owner May 23 18:40:13 make sure any possible .ext is present in your filename May 23 18:47:44 -rwxrwxrwx 1 user root 173 May 23 15:30 Chess.game May 23 18:48:13 the group s wrong May 23 18:48:16 *is May 23 18:48:25 vajb, you can try running that chess app via strace May 23 18:48:37 and seeing which files it tries to open May 23 18:48:53 group permisssions are wrong but not the problem May 23 18:54:01 shouldn't hurt too much May 23 18:54:16 777 anyway May 23 18:54:55 Vajb: you took care about the uppercase C ? May 23 18:56:37 Vajb: please try a cat Chess.game (or, depending on what's available on your system, mcedit Chess.game; less Chess.game; od Chess.game; more Chess.game) May 23 18:57:13 also ls -ld . May 23 18:57:41 maybe the dir doesn't allow chess to execute aka list entries May 23 18:59:05 please also provide full pathname of the file May 23 19:04:05 drwxrwxrwx 3 user root 65536 May 23 21:13 . May 23 19:04:40 file is in /home/user/Mydocs/.documents. Default path suggested by chess itself May 23 19:05:10 KotCzarny: tried strace but it blurbed so much stuff that i was lost May 23 19:06:20 DocScrutinizer05: i opened file with leafpad. Should i look something specific from there? May 23 19:07:09 no, just make sure it's actuially readable and has content May 23 19:08:01 Vajb: did you cange MyDocs filesystem from vfat to e.g. ext3? May 23 19:08:34 mount|grep MyDoc May 23 19:09:34 didn't May 23 19:09:36 which should look like /dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noatime,nodiratime,noauto,nodev,exec,nosuid,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0000,rodir) May 23 19:11:12 /dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noatime,nodiratime,noauto,nodev,exec,nosuid,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0000,rodir) May 23 19:11:43 it's a match May 23 19:11:47 yep May 23 19:11:53 I'm starting chess May 23 19:12:08 (if I can find it on any of my active devices) May 23 19:12:13 vajb: strace 2>&1 app params |grep ^open May 23 19:12:25 you are interested in what it tries to open anyway May 23 19:14:30 got it May 23 19:16:31 works here May 23 19:17:10 :) May 23 19:17:33 * Sicelo had tested a while ago already. something's likely up with Vajb's FS May 23 19:17:36 :-/ May 23 19:18:07 Vajb: make sure that on "open" your filepicker dialog actually shows the same "Nokia N900/Documents" May 23 19:20:31 Vajb: http://maemo.cloud-7.de/share-service/20160523_001.jpg May 23 19:21:49 that filepicker dialog is a tad clumsy May 23 19:22:12 Vajb: by the way, since you can 'see' the file, what happens when you tap it open? May 23 19:22:32 aiui he "sees" it only in filemanager May 23 19:22:40 she? May 23 19:23:07 that's good enough .. tap open May 23 19:23:15 ack May 23 19:23:24 mimetypes should do the rest May 23 19:23:58 Sicelo: if i tap it at default filemanager it opens the game May 23 19:24:10 good enough for me i guess :) May 23 19:24:25 :) May 23 19:24:29 lol May 23 19:24:30 no, please check if your filepicker dialog in game is broken May 23 19:24:52 Vajb: http://maemo.cloud-7.de/share-service/20160523_001.jpg May 23 19:25:30 hmm could it make some problem that i removed osso-chess once and then reinstalled? Maybe it didn't do it cleanly. May 23 19:25:39 it's a very common problem of that dialog that users don't notice a different path in the upper button May 23 19:27:06 it looks like correct May 23 19:27:25 only difference is that i renamed my device to WTF May 23 19:27:38 also the path shown (and used) in this upper dirtree button is depending on name of device and locale May 23 19:27:43 could that be case? May 23 19:27:43 lol, WTF!!! May 23 19:27:47 that's why May 23 19:27:51 yep May 23 19:27:54 haha, just pulling your leg May 23 19:28:00 vajb, check what file it tries to save/open and compare paths May 23 19:28:42 please click on the button "Neo900/Dokumente" (or whatever) and make sure it points to the right dir May 23 19:30:27 it should prolly actually read "WTF/documents" May 23 19:30:47 not sure May 23 19:32:38 dang May 23 19:32:42 yes it does point to right dir May 23 19:32:53 s/Neo900/nokia N900/ May 23 19:32:59 haha May 23 19:33:13 someone's living in the future yet May 23 19:33:34 sicelo, we all do May 23 19:33:40 what makes you sure I didn't name my N900 "Neo900" ? May 23 19:33:52 imagine fitting all worlds libraries in the size of your nail May 23 19:34:24 Vajb: please actually click the button and explicitly browse the dir tree to select the right dir May 23 19:35:20 Vajb: as in: if it really would point to the right dir, you'd see the Chess file May 23 19:36:16 there's a symlink MyDocs/.documents/ in the filesystem, which would break stuff for you if missing May 23 19:37:19 sorry, it's no Symlink here, it's a true dir May 23 19:37:22 it doesn't help. Even if i choose it from the start May 23 19:37:35 meaning i slect WTF etc May 23 19:37:42 sth is messed up on your system May 23 19:38:11 also i created another chess.game at root of the memory card and it doesn't see it either May 23 19:38:27 lemme try to put it in some other folder May 23 19:40:53 * DocScrutinizer05 glares at freedesktop XDG May 23 19:42:08 https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html ***Lennart Poettering*** WAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHH!!!! May 23 19:42:51 * DocScrutinizer05 headdesks violently May 23 19:43:17 hmm strange indeed. I created folder "Chess" in WTF and it doesn't show up in chess, but when i created "chess" folder to memory card it is shown, but is empty. Altho it contains chess.game file. May 23 19:45:38 * Sicelo can't parse (the memory card part) .. May 23 19:46:12 ah.. you mean the application does not 'see' the file that in memory card/chess directory? May 23 19:53:46 yes May 23 19:54:24 i have /media/mmc1/chess/chess.game and chess game shows just empty directory May 23 19:55:09 also i created /home/user/.chess and game doesn't see it at all May 23 19:57:08 ok, this randomly picked N900 is thoroughly fsckdup May 23 19:57:27 icons in applauncher vanished May 23 19:57:43 starting chess nevertheless, reboots the device May 23 19:58:02 also i checked from .desktop file that exec for chess is /usr/bin/chessui.launch, but when i run that in terminal it segfaults May 23 19:58:57 "inernal error: program _calendar terminated" May 23 19:59:19 yes, you can't run that May 23 19:59:30 DocScrutinizer05: i got that rarely with settings May 23 20:00:43 i mean "internal error: programm settings terminated" May 23 20:02:47 Vajb: could you please do "SAVE" "NEW" create_a_folder "Test", click "Test", click "test" button, save game name "tttttt" May 23 20:02:53 but i have a theory; could it be that when i purged osso-chess and then installed it again after few months, some file priorities or something didn't got set as if default? May 23 20:03:41 some config files might not have been installed in a correct way, yes May 23 20:05:14 ((could you please)) after I do 2Open" then, it already gives me "Nokia N900/test" dir and shows "tttt" file May 23 20:05:20 s/2/"/ May 23 20:05:20 DocScrutinizer05 meant: ((could you please)) after I do "Open" then, it already gives me "Nokia N900/test" dir and shows "tttt" file May 23 20:06:02 it seems to me you're still using different paths for SAVE and OPEN May 23 20:06:28 or incorrect file permissions, or whatever May 23 20:06:56 but how can it be, if i browse to directory from the start of the tree? May 23 20:07:51 the filepicker dialog is severely messed up by design May 23 20:08:04 also when i select save game it doesn't give me option to create new folder. or i misunderstood u. May 23 20:08:07 it mangles pathnames May 23 20:08:31 i can just pick one of the excisting ones May 23 20:08:39 err, I have a button "NEW" in lower right corner May 23 20:09:04 you obvuously need to enter the dir selector function May 23 20:09:20 by clicking on the upper button left side May 23 20:09:31 wait... May 23 20:09:33 inside chess game? May 23 20:10:23 inside chess game start a new game May 23 20:11:27 click the back arrow upper right tp go to the root menu May 23 20:11:39 open dropdown menu May 23 20:11:47 select "Save" May 23 20:11:54 done May 23 20:12:18 click "storage location" (the lower button under the text input field May 23 20:12:36 on lower right you see "New" May 23 20:12:52 created folder saved game there and when i browse to folder to open game it says it is empty May 23 20:13:04 that's pretty mad May 23 20:13:33 and i can see the file being in there at file manager May 23 20:13:54 beats me May 23 20:14:34 vajb, did you check strace ? May 23 20:14:35 when i get home i'll do some comparison between my devices and see if i can figure out something odd May 23 20:14:46 apt-get purge osso-chess-ui osso-graphics-game-chess gnuchess osso-sounds-game-chess && May 23 20:14:55 apt-get install osso-chess-ui osso-graphics-game-chess gnuchess osso-sounds-game-chess May 23 20:15:02 at own risk! May 23 20:15:10 KotCzarny: i couldn't get it to launch game May 23 20:15:44 Vajb: you can't start stuff like that in terminal I guess May 23 20:15:57 how i check if i have all of those installed? May 23 20:16:34 dpkg something osso? May 23 20:20:06 chess is obviously started only via dbus May 23 20:22:04 MimeType=application/game X-Osso-Service=com.nokia.osso_chess.startup osso_games_startup May 23 20:22:49 at least i have all those files May 23 20:23:07 will comare their priorities and stuff at home May 23 20:23:16 priorities?? May 23 20:23:18 compare* May 23 20:23:57 I honestly suggest to purge and reinstall $everything-chess May 23 20:24:03 mm permissions maybe? May 23 20:25:15 http://paste.opensuse.org/41602168 May 23 20:27:11 you also might suffer from some weird messup in mimetypes May 23 20:27:38 though then probably clicking on a savedxxx.game in filemanager wouldn't start the game May 23 20:29:00 debugging this stuff is pretty much useless since it's obviously a broken config on your system, since none of us sees same effect May 23 20:29:43 so it would turn into a chase of "what did you do to XYZ a year ago?" May 23 20:30:21 where XYZ could be quite a number of things, from applauncher over mimetypes to XDG to filesystems to.... May 23 20:31:19 while such chase is _sometimes_ fun, it usually doesn't allow us to learn much useful stuff May 23 20:37:25 anyway other apps use the exactly same filepicker dialog, so you could test with another app - preferrably not one that sets a fixed "*.game" search pattern, if the problem is the same May 23 20:37:52 s/tern,/tern -/ May 23 20:37:54 DocScrutinizer05 meant: anyway other apps use the exactly same filepicker dialog, so you could test with another app - preferrably not one that sets a fixed "*.game" search pattern - if the problem is the same May 23 20:42:16 e.g. in stock filemanager the "Move" function (and basically whole filemanager) is using all the same dialogs May 23 20:42:22 like chess does May 23 20:44:02 we've seen other weird fsckup like camera-ui creating dirs in lowercase, then trying to open it in uppercase, which worked as long as the dir was on a VFAT FS May 23 20:45:11 I honestly have no clue what could cause chess to not see files it created, while they are actually there May 23 20:45:54 the most plausible thing would be you did something to the system while renaming the device May 23 20:46:36 but that wouldn't explain how chess can find dirs it created but doesn't find files it created in those dirs May 23 20:47:38 obviously chess sets a filter like "*.game" for the files to display, and mangles the name by stripping the extension. Sth with that must be wrong May 23 20:48:30 mimetypes are involved into that, as is the chess code itself obviously, then also char encoding settings and whatnot else May 23 20:56:33 i tried all sorts of renamings, uppercase, lowecase. Got nowhere May 23 21:31:10 did you try comverting UTF8 to ASCII or vice versa? honestly I think there's just no point in trying to debug that, rather do a re-install or even a reflash May 23 21:32:47 if you really want to 'fix' it, you need strace and tests in other apps May 23 21:34:49 maybe even gdb rather than strace May 23 21:49:19 maybe i'll try reinstalling first and see if it does any good May 23 21:50:10 and anyways i can live with it since i can access to save via filemanager May 23 21:50:31 thx for suggestions all May 23 22:51:51 Home at last and can confirm that my other device has same flaw. So it seems that removing and installing chess again doesn't bring full functionality back. My other device is cssu-thumb May 23 23:55:10 please be unambiguous! you have same problem on two devices now? May 23 23:56:43 I checked on a device with supposedly almost stock maemo, and on a CSSUt-recent, and both work fine May 23 23:57:14 DocScrutinizer05: could u try and purge and reinstall to see what happens? May 23 23:57:16 I'm pretty sure you installed some stuff that is messing up this May 23 23:57:34 why would I? stuff works for me May 23 23:58:11 just askig :) May 23 23:58:12 you're suggesting I try to break it? May 23 23:58:43 for you, I do almost everything May 23 23:58:47 ;-P May 23 23:59:01 :p May 24 00:01:25 so far so good http://paste.opensuse.org/22266020 May 24 00:03:00 and it works May 24 00:04:40 I'm telling you this is _not_ something chess related, or at best very faintly May 24 00:05:44 this is about stuff like mimetypes (the closest to actual chess package, though we can rule that out since filemanager clicking works) or some Qt or whatever libs, or dunnowhat May 24 00:06:47 please try to list **exactly** what you did to rename the device May 24 00:07:13 or simply do a goddamn reflash, and then restore your stuff May 24 00:07:35 ~flashing May 24 00:07:35 hmm... maemo-flashing is 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; or see ~flashing-cmdline May 24 00:07:45 ~flashing-cmdline May 24 00:07:45 from memory, flashing-cmdline is http://mg.pov.lt/maemo-irclog/%23maemo.2016-04-09.log.html#t2016-04-09T01:18:12 May 24 00:07:59 http://wiki.maemo.org/Updating_the_tablet_firmware#The_Lazy_Approach May 24 00:09:28 s/(.*)far(.*)good/\1good\2far/ May 24 00:14:49 lazyflashing May 24 00:14:53 ~lazyflashing May 24 00:14:53 extra, extra, read all about it, lazyflashing is ' tar xvz&&cd maemo-my-private-workdir&&sudo ./flash-it-all.sh' May 24 00:15:02 i think i changed it by doing "echo WTF >/etc/hostname" May 24 00:15:05 wtf? May 24 00:15:28 (echo >) that's exactly what I did as well May 24 00:15:58 maybe u can guess where did i pick that up? ;) **** ENDING LOGGING AT Tue May 24 02:59:58 2016