IRC log of #maemo for Thursday, 2018-03-22

*** dafox has quit IRC00:11
*** Oksana has joined #maemo00:20
*** xy2_ has quit IRC00:47
*** Pali has quit IRC00:53
bencohfor the record, dbus-send --print-reply --type=method_call --dest=org.marxoft.cutetube2 / org.marxoft.cutetube2.showResource string:"$URL" works00:58
bencohbut it only works for http:// urls (no https)00:58
bencoh(http:// results in a 302 redir to https page, which cutetube2 eventually follows)00:59
*** LauRoman has quit IRC01:08
*** r00t-home has quit IRC02:14
*** pkill9 has quit IRC02:16
*** r00t|home has joined #maemo02:20
DocScrutinizer05hmm, prolly by the time cutetube2 got coded, nobody thought sending broadcast content via HTTPS was a smart idea ;-)02:46
DocScrutinizer05actually I still doubt it02:46
DocScrutinizer05there are usecases where I explicitly want to be allowed to trade in "privacy" for significantly lower CPU load - youtube clearly being one of them02:49
*** Kilroo has joined #maemo02:58
*** florian has quit IRC03:19
*** LauRoman has joined #maemo03:23
*** tm has quit IRC03:39
*** tm has joined #maemo03:43
*** tm has quit IRC04:07
*** LauRoman has quit IRC04:17
*** Kabouik has joined #maemo04:42
*** Kabouik_ has joined #maemo04:43
*** Kabouik has quit IRC04:46
*** Kabouik_ has quit IRC05:20
*** nslu2-log has quit IRC05:25
*** nslu2-log has joined #maemo05:33
*** tm has joined #maemo05:36
*** Kilroo has quit IRC06:35
*** Oxyd76 has quit IRC07:36
*** Oxyd76 has joined #maemo07:36
*** Oxyd76 has quit IRC07:38
*** Oxyd76 has joined #maemo07:42
*** Oxyd76 has quit IRC07:46
*** Oxyd76 has joined #maemo07:47
*** Oxyd76 has quit IRC07:51
*** arcean has joined #maemo08:49
*** Venemo has joined #maemo08:52
*** xy2_ has joined #maemo09:00
*** geaaru has quit IRC09:06
*** xy2_ has quit IRC09:12
*** teotwaki has quit IRC09:25
*** how900 has quit IRC09:25
*** trumee has quit IRC09:25
*** drrty2 has quit IRC09:25
*** atk has quit IRC09:26
*** ecc3g has quit IRC09:26
*** atk has joined #maemo09:26
*** trumee has joined #maemo09:26
*** atk has quit IRC09:26
*** atk has joined #maemo09:26
*** how900 has joined #maemo09:26
*** how900 has joined #maemo09:27
*** dafox has joined #maemo09:28
*** ecc3g has joined #maemo09:28
*** teotwaki has joined #maemo09:29
*** ruskie has quit IRC09:59
*** ginggs has quit IRC10:03
*** dafox has quit IRC10:04
*** ginggs has joined #maemo10:05
*** Oxyd76 has joined #maemo10:08
*** ecloud is now known as ecloud_wfh10:10
*** xray256 has joined #maemo10:14
*** ruskie has joined #maemo10:15
*** florian has joined #maemo10:16
*** herekun has quit IRC10:27
*** FalconSpy has quit IRC10:28
*** florian has quit IRC10:29
*** geaaru has joined #maemo10:34
*** xray256 has left #maemo10:38
*** rhombus has joined #maemo10:54
*** FalconSpy has joined #maemo10:55
rhombusHi everybody! The first time I connect my N900 as a USB mass storage device after booting, I can see two shares, NOKIA and Nokia N900 . Every time after that, I see only NOKIA. In order to access the other share, I have to reboot the phone.10:59
KotCzarnydo you have anything that blocks sdcard from umounting?10:59
rhombusKotCzarny: unmounts seem to work fine, I unmount the device from my host device (a Linux laptop), get a message (from the laptop) saying the device is safe to remove, and then disconnect the cable.11:00
rhombusKotCzarny: You think maybe the share is not being unmounted cleanly?11:01
sicelowhat are those shares by the way? in other words, what is NOKIA? i guess Nokia N900 is MyDocs?11:02
rhombussicelo: NOKIA contains "DCIM" (Camera folder, I am assuming), "System Volume Information" and "systemBackups"11:03
rhombussicelo: contents of Nokia N900 do not correspond to what is in /home/user/MyDocs (which is empty)11:04
*** LauRoman has joined #maemo11:06
*** pkill9 has joined #maemo11:07
*** jskarvad has joined #maemo11:13
*** NotKit has joined #maemo11:19
*** TheKit has quit IRC11:22
*** zGrr has joined #maemo11:23
*** Halftux has joined #maemo11:25
HalftuxI think os can't unmount the mmc you could try /dev/mmcblk0p1 and see what happens11:29
Halftuxto mount it for mass storage it is /dev/mmcblk0p111:30
*** eMHa_ has quit IRC11:33
*** teotwaki has quit IRC11:34
*** teotwaki has joined #maemo11:36
*** florian has joined #maemo11:38
*** lostinthesnow has quit IRC11:50
*** geaaru has quit IRC11:59
*** Kabouik has joined #maemo12:00
*** Hurrian has quit IRC12:03
*** Hurrian has joined #maemo12:03
rhombusHalftux: where do I find It's not in the path (at least, for the unprivileged user)12:03
*** geaaru has joined #maemo12:04
*** eMHa_ has joined #maemo12:06
*** arcean_ has joined #maemo12:19
*** arcean has quit IRC12:22
*** florian_kc has joined #maemo12:48
*** florian has quit IRC12:49
*** Oxyd76 has quit IRC12:58
*** Oxyd76 has joined #maemo13:03
*** Oxyd76 has quit IRC13:05
Vajbbencoh: i have absolutely zero recollection what i meant :D13:09
Vajbi'll investigate and report back. I think i used custom url handler and that i used also some other tool to sniff dbus info13:10
Vajbmaybe mdbus213:10
Vajbbut now when i check custom url handlers it claims that i have none13:11
bencohVajb: nevermind, the line I posted a few hours later works :)13:12
bencohand yeah, mdbus2 is more convenient when it comes to discovery (introspection)13:12
KotCzarnywiki'ize it!13:12
KotCzarnyor better, ask cutetube2 author to provide handler?13:13
bencohhandler for?13:13
KotCzarnyfor youtube links maybe13:14
bencohyeah, but for? microb?13:14
bencohafaict all http(s):// links go to microb by default13:14
bencohso we'd need an extension for it13:14
KotCzarnyyes, but extension13:14
Vajbok nice to read it works13:14
bencohbut, err ... that'd be a good idea yeah13:15
bencohsince youtube isn't usable as-is anyway13:15
Vajbsome version of cutetube used to sniff clipboard fro yt urls, but that no longer works13:16
Vajbor is it just because of https?13:16
KotCzarnyi might compile my clipboard toy for maemo13:16
KotCzarnyhas gtk2 ui, so should work13:17
Vajbhmm i could use a tool that collects urls and opens them at laptop browser when i get to home wlan13:17
bencohVajb: it might be just because of https actually13:18
KotCzarnywould have to rewrite it as a systray tool though13:18
bencohactually that's one of the things I tried as well, and I was surprised to see it no longer worked13:18
KotCzarnyoh well, bbl13:19
bencohI guess adding support for https:// url in cutetube2 would be a good idea anyway (I don't think it should be hard since it follows the 302 redir anyway)13:19
Vajbis it opensource?13:19
bencohcutetube2? of course :)13:20
Vajbok. So you can edit it ;)13:21
bencohyeah, well I had a quick look and didn't really see a restriction tbh13:22
rhombusAny new ideas on how to make my mounts visible in USB mass storage mode? (I must admit to not understanding how they are even made available to the host device,I've never programmed a USB stick before ;-) )13:22
bencohI suppose it's related to how relevant qt objects are created13:22
bencoh(unless there really is an explicit check on http:// I missed)13:23
Vajbrhombus: i guess you have already installed usbhost mode? I just pick the third option from the menu and it works13:24
rhombusVajb: what is the usbhost mode? (please forgive my ignorance...)13:25
Vajbthe program that you use to be usbhost for memory stick13:26
Vajbor i didn't understand your question :)13:26
rhombusVajb: sorry, I guess it wasn't clear. I have an N900, and the first time I connect it to a laptop, I see two shares (NOKIA and Nokia N900); the second and all subsequent times, I see only NOKIA.13:27
rhombusThe only way to make the 'Nokia N900' share accessible is to restart the phone13:27
rhombusI'm trying to understand what is going wrong so that I can fix it :)13:28
sicelouse lsof13:28
Vajbok my bad then. I thought you were trying to use usb memory stick on n90013:28
Vajbbut why do you need usb connection? Why not to use ssh?13:29
bencoh"share", as in? samba? mounting mmc as a mass-storage? something else?13:29
Vajbi use putty for management and winscp if i need to move files around13:29
bencohVajb: it's admittedly slower than directly mounting MyDocs on PC though13:30
rhombusVajb: I prefer a serial connection, ssh connections have been slow13:30
bencoh(but I'm with you on this, I'm used to sshing stuff)13:30
rhombusbencoh: yes, I guess mounting mmc as a mass-storage device13:31
Vajbwell im not usually on a run when i sync my files ;)13:31
Vajbi even have custom script to connect to wlan while gprs stays intackt13:32
rhombusI don't really know what I am looking at; MyDocs doesn't correspond to what's in the 'Nokia N900' device13:32
Vajbi thought that one can't access to n900 filestructure via usb?13:33
Vajbjust my docs and mmc13:33
rhombusInteresting: my laptop sees 'Nokia N900' as /dev/sdb (no partition), and 'NOKIA' as /dev/sdc1 (partition)13:34
rhombussicelo: how do I use lsof to determine the state of the mmc?13:34
*** florian_kc is now known as florian13:36
siceloi don't know what's with your system, but maybe start by running 'mount' to see what mounts exist. you should be able to see which one corresponds to what your NOKIA & Nokia N900 are.13:37
sicelothen you can check with lsof what is keeping those in use13:38
sicelocould it be that you used a window machine with malware to look at your MyDocs at some point in time and it made things hidden (hence you see it as empty)?13:38
infobotsicelo meant: could it be that you used a Windows machine with malware to look at your MyDocs at some point in time and it made things hidden (hence you see it as empty)?13:39
rhombussicelo: lsof - on the mounting system, or on the N900?13:44
rhombussicelo: I only ever connect the N900 to my Linux laptop13:44
sicelolsof on N900, to see what's got your drive in use13:45
* sicelo won't be surprised it that's tracker13:45
rhombussicelo: how do I determine the paths for the drive?13:46
rhombussicelo: on the N900?13:46
rhombusI see a bunch of tmpfs mounts, then /dev/mmcblk0p2 on /home type ext3, then /home/opt on /opt type none (bind)13:49
rhombusI don't see how any of this has to do with the devices I see on the laptop13:49
rhombusokay, lsof | grep /dev/mmcblk brings up nothing13:50
siceloeither, as Halftux mentioed, your mounting scripts aren't working fine, or, as KotCzarny mentioned, something is keeping on of the mounts busy. makes sense?13:51
rhombussicelo: yes, it makes sense, but I don't even know where to start looking to fix this, I've never made a USB device available (that's what I meant by "programming a USB stick" earlier). I know how to mount USB mass storage devices, but I don't know how to "host" a USB mass storage device13:52
siceloyou have a memory card or not?13:53
rhombussicelo: yes, I am pretty sure there is a memory card13:53
rhombussicelo: yes, in "Storage" in "Settings" it shows a memory card :)13:53
sicelogawd. you mean you aren't sure if you inserted a memory card in the device?13:54
rhombusand it shows "USB cable connected" - which I would expect, as the device is mounted :)13:54
rhombussicelo: I did not insert a card, so know, I cannot automatically be sure that there is a card in the device13:55
rhombussicelo: what it has, it came with13:55
*** vahe has left #maemo14:04
siceloanyway as it was mentioend earlier, exportable mounts are only /home/user/MyDocs (not /home) and /media/mmc1.14:05
rhombussicelo: ok, after looking at this I understand a bit better14:05
rhombussicelo: The reason MyDocs is "empty" is that it is unmounted (on the N900) as long as the machine is connected as a USB mass storage device14:06
Halftuxrhombus: the scripts are in /usr/sbin14:06
rhombussicelo: but lsof | grep mmc doesn't give me any output. I have no idea how this thing is being made available14:06
Halftuxmaybe have a look into osso-usb-mass-storage-disable.sh14:08
rhombusHalftux: I see it, having a look now14:09 /dev/mmcblk0p1 /home/user/MyDocs/14:10
rhombusHalftux: I wonder if it has something to do with the way the device is named. "Nokia N900" has a space...14:10
rhombusHalftux: so /dev/mmcblk0p1 /home/user/MyDocs/ would make the device available as a USB mass storage device?14:11
Halftuxis it the host name?14:11
rhombusHalftux: no, that's the volume name14:11
Halftuxinitctl emit G_FILE_STORAGE_REMOVE     &    rmmod g_file_storage   &  sleep 1 & /dev/mmcblk0p1  & /dev/mmcblk0p1 /home/user/MyDocs/14:14
Halftuxthis is the mass storage disable script14:14
Halftux& means new line14:15
rhombusHalftux: hmm14:15
rhombusHalftux: is what you posted just now the contents of a script?14:18
*** arcean_ has quit IRC14:40
*** arcean has joined #maemo14:41
*** pkill9 has quit IRC15:06
*** sunshavi has quit IRC15:14
*** Oxyd76 has joined #maemo15:23
*** lostinthesnow has joined #maemo15:49
*** arcean has quit IRC16:02
DocScrutinizer05rhombus: (tl;dr backlog) you need to stop all apps that access (open filehandle) the volumes you want to export, before you connect device to USB. You MUST NOT start any apps that use the exported volumes while those volumes are exported, or you will create "stealth data" in the mountpoint dir that gets covered and is not visible anymore as soon as your volumes get remounted on device.16:09
rhombusDocScrutinizer05: There is no stealth data in the mountpoint dir, so I don't think that has been happening16:10
rhombusDocScrutinizer05: The problem is simply that the MyDocs volume is no longer exported after the first mount. When I reconnect the N900, I see only the NOKIA volume16:11
rhombusDocScrutinizer05: so you are saying it should be sufficient to close all applications before connecting the device to USB?16:12
rhombusI can test this right now16:12
DocScrutinizer05lsof is your friend16:14
DocScrutinizer05and fuser16:15
rhombusDocScrutinizer05: I'm still not clear how I can/should be using lsof here16:17
rhombusDocScrutinizer05: it generates many lines of output and I don't know what i should be filtering for16:17
DocScrutinizer05Pali: freemangordon: how about a tad smarter script for mass storage mode, that for example does a lsof on the volumes to export, asks user if they want to stop all processes with open filehandles, then bindmounts /dev/null to the unused mountpoints as long as mass storage active?16:17
rhombusDocScrutinizer05: that sounds like a clever fix :)16:18
*** xy2_ has joined #maemo16:19
*** Venemo has quit IRC16:20
DocScrutinizer05rhombus: along that line:16:24
DocScrutinizer05IroN900:~# lsof|grep /home/user/MyDocs16:24
DocScrutinizer05sh        14529       user  cwd    DIR      179,9    65536          1 /home/user/MyDocs16:24
DocScrutinizer05find the other mountpoint in `mount`16:24
DocScrutinizer05find the other mountpoints in `mount`16:24
rhombusDocScrutinizer05: yes16:24
*** trx has quit IRC16:32
DocScrutinizer05man fuser -> AUTHORS        Werner Almesberger   :-D16:33
DocScrutinizer05just wonder which GNU package this is, messybox fuser sucks, as usual16:34
DocScrutinizer05actually I can't make messybox fuser do *anything* useful16:39
DocScrutinizer05feels like messybox fuser is an alias for :16:42
DocScrutinizer05or `true`16:42
rhombusDocScrutinizer05: ok, this time it worked, I had only Settings and XTerminal open, and the volume appears when I connect the USB16:42
rhombusSorry for all the noise, I guess I just need to make sure I've closed everything when I want to connect16:43
DocScrutinizer05as long as your xterm isn't CDed to to one of the dirs, yes16:43
DocScrutinizer05np, it's an annoyance at very least, I'd tend to call it a flaw16:43
rhombusDocScrutinizer05: I should say that your lsof command does not produce any output, irrespective of whether the volume is mounted externally or not16:45
DocScrutinizer05yes, it only produces output for the filehandles that actually touch the volume you're checking16:46
rhombusDocScrutinizer05: ah, so I would use it and be able to see what's blocking the volume from being made available16:46
DocScrutinizer05xterm, cd /home/user/MyDocs; lsof|grep /home/user/MyDocs16:46
DocScrutinizer05yes, exactly16:46
rhombusDocScrutinizer05: I thought maybe some daemon was supposed to be managing it :)16:46
DocScrutinizer05fuser -k would even be able to instantly kill all those processes16:47
DocScrutinizer05if messybox [fuser] wasn'T such a pile of shit16:47
infobothmm... pkg is
DocScrutinizer05can't anybody tell me which gnu package is supposed to provide fuser?16:49
DocScrutinizer05hmm psmisc?16:50
DocScrutinizer05IroN900:~# apt-cache search psmisc16:51
DocScrutinizer05busybox-symlinks-psmisc - BusyBox symlinks to provide 'psmisc'16:51
DocScrutinizer05meh, wrong catalogs16:53
DocScrutinizer05  >> The following packages will be REMOVED:   busybox-symlinks-psmisc ***cell-modem-ui*** *mp-fremantle-community-pr*<<16:59
DocScrutinizer05merlin1991: to the rescue!17:00
DocScrutinizer05freemangordon: ^^^17:00
*** Vajb has quit IRC17:13
*** Vajb has joined #maemo17:15
DocScrutinizer05nothing Konqueror and Ark and sftp:// can't do ;-P
DocScrutinizer05  needs gnu-repackaging (move from /bin/fuser and /usr/bin/*  to /usr/bn/gnu/*, at least)17:19
DocScrutinizer05or you do like me and unpack the and move the executables straight to where they belong, on maemo17:21
DocScrutinizer05silly apt shit ;-P17:21
*** sunshavi has joined #maemo17:29
*** Oxyd76 has quit IRC17:33
*** Oxyd76 has joined #maemo17:39
*** trx has joined #maemo17:40
*** trx has quit IRC17:40
*** trx has joined #maemo17:40
*** Oxyd76 has joined #maemo17:44
rhombusDocScrutinizer05: thanks17:44
*** Oxyd76 has quit IRC18:04
*** Oxyd76 has joined #maemo18:04
*** rhombus has quit IRC18:06
*** Oxyd76 has quit IRC18:06
*** xy2_ has quit IRC18:08
HalftuxDocScrutinizer05: so psmisc needs an update and maemo optimization? you want binary in /opt/maemo/usr/bin/gnu ?18:12
*** xy2_ has joined #maemo18:12
*** pkill9 has joined #maemo18:16
siceloso it turned out to be an lso issue after al18:17
DocScrutinizer05the usual stuff18:18
Halftuxok I can update the package18:18
infobotsomebody said jrtools was
DocScrutinizer05### breaks cssu-t5.1 MP, so it's commented out. Use on own peril:18:20
DocScrutinizer05### allegedly fixed in mp-fremantle-community-pr 21.2011.38-1Tmaemo1118:20
DocScrutinizer05apt-get install procps18:20
DocScrutinizer05Halftux: refer procps pkg18:20
DocScrutinizer05and prolly findutils-gnu18:21
Halftuxok I will have a look18:22
DocScrutinizer05I didn't check the actual GNU relation18:23
DocScrutinizer05but obviously something is messed up in dependencies18:23
DocScrutinizer05maybe psmisc needs to become psmisc-gnu? no idea18:24
DocScrutinizer05or sth is fecked in busybox-symlinks-psmisc18:25
*** Oxyd76 has joined #maemo18:26
DocScrutinizer05and cell-modem-ui and mp-fremantle-community-pr ?18:26
DocScrutinizer05I *guess* the latter to depend on busybox-symlinks-psmisc rather than psmisc itself or the executables it provides18:28
*** Pali has joined #maemo18:28
DocScrutinizer05maemo, a dependency hell18:29
*** pkill9 has quit IRC18:30
* DocScrutinizer05 idly wonders if maemo-leste will fix this ancient annoying issue18:30
*** Oxyd76 has joined #maemo18:31
*** Oxyd76 has joined #maemo18:31
siceloi'd say already 'fixed' .. by not having it in te first place18:32
DocScrutinizer05Halftux: actually not /opt/maemo/usr/bin/gnu  but simply  /usr/bin/gnu18:32
DocScrutinizer05(though it's the same in the end)18:32
DocScrutinizer05err is it?18:32
Halftuxok to /usr/bin/gnu with maemo auto optify then?18:33
DocScrutinizer05I think optification not due here, too small18:35
DocScrutinizer05at least the binaries, for docs the situation may differ18:35
Halftuxi can look if configure has doc path18:36
DocScrutinizer05IroN900:~# ls -l `which fuser`18:36
DocScrutinizer05-rwxr-xr-x 1 root root 20460 2009-04-26 23:22 /usr/bin/gnu/fuser18:36
*** Oxyd76 has joined #maemo18:36
DocScrutinizer0520k, optification not warranted (in my book)18:37
DocScrutinizer05I ignored docs, since I got man-n900 anyway18:38
DocScrutinizer05and unless you got my docpurge patch, docs get purged on device anyway18:39
DocScrutinizer05docpurge patch :-P
Halftuxa docpurge patch from doc :-) I dont have it18:42
*** Cor-Ai has quit IRC18:49
*** Cor-Ai has joined #maemo18:51
Halftuxso busybox symlinks goes to /bin/fuser18:52
*** Halftux has quit IRC19:09
*** geaaru has quit IRC19:30
*** florian has quit IRC19:32
*** jskarvad has quit IRC19:47
*** shentey has joined #maemo20:14
*** ulyau has joined #maemo20:21
*** lostinthesnow has quit IRC20:22
*** louisdk has joined #maemo20:28
*** ulyau has quit IRC20:31
*** nyakze has joined #maemo20:31
*** zGrr has quit IRC20:42
*** drrty2 has joined #maemo20:47
*** Kabouik has quit IRC20:52
*** Oxyd76 has joined #maemo20:57
*** Oxyd76 has joined #maemo21:03
*** Oxyd76 has quit IRC21:08
*** eMHa_ has quit IRC21:11
*** Oxyd76 has joined #maemo21:13
*** nyakze has quit IRC21:14
*** nyakze has joined #maemo21:16
*** Oxyd76 has quit IRC21:16
*** Oxyd76 has joined #maemo21:18
*** Oxyd76 has quit IRC21:21
*** Pali has quit IRC21:22
*** Oxyd76 has joined #maemo21:24
*** Oxyd76 has quit IRC21:25
*** Oxyd76 has joined #maemo21:29
*** Oxyd76 has joined #maemo21:29
*** Oxyd76 has quit IRC21:34
*** eMHa_ has joined #maemo21:36
*** louisdk has quit IRC21:39
*** florian has joined #maemo21:44
*** Kabouik_ has joined #maemo21:46
*** Kabouik_ has quit IRC21:47
*** xy2_ has quit IRC21:49
*** Kabouik has joined #maemo21:50
*** Oxyd76 has joined #maemo21:50
*** louisdk has joined #maemo21:51
*** nyakze has quit IRC21:53
*** Oxyd76 has quit IRC21:55
*** Oxyd76 has joined #maemo21:56
*** Kabouik_ has joined #maemo21:58
*** Kabouik has quit IRC22:00
*** Oxyd76 has quit IRC22:02
*** Oxyd76 has joined #maemo22:06
*** Oxyd76 has quit IRC22:07
*** shentey has quit IRC22:11
*** Oxyd76 has joined #maemo22:11
*** Oxyd76 has quit IRC22:13
*** xy2_ has joined #maemo22:15
*** Oxyd76 has joined #maemo22:16
*** TheKit has joined #maemo22:19
*** NotKit has quit IRC22:23
*** Oxyd76 has quit IRC22:24
*** shentey has joined #maemo22:24
*** Oxyd76 has joined #maemo22:27
*** Oxyd76 has joined #maemo22:32
*** Oxyd76 has quit IRC22:34
*** Oxyd76 has joined #maemo22:37
*** shentey has quit IRC22:39
*** shentey has joined #maemo22:42
*** Oxyd76 has quit IRC22:42
*** Oxyd76 has joined #maemo22:48
*** louisdk has quit IRC22:49
*** louisdk has joined #maemo23:11
*** shentey has quit IRC23:19
*** louisdk has quit IRC23:22
*** pkill9 has joined #maemo23:25

Generated by 2.15.1 by Marius Gedminas - find it at!