freemangordon | Wizzup: do cdrom and usb drives get auto-mounted in leste Vm for you? | 17:32 |
---|---|---|
freemangordon | I remember in ascii cdrom was auto-mounted, not the case anymore | 17:33 |
Wizzup | freemangordon: would have to test, but I assume not | 17:33 |
freemangordon | but,but... | 17:33 |
freemangordon | why is that? systemd is missing? | 17:33 |
freemangordon | and most-important - how to fix that? | 17:34 |
freemangordon | because I see those drives in hildon-fm | 17:34 |
freemangordon | but nothing happens when I click on them | 17:34 |
freemangordon | neither I can mount with gio mount commend | 17:34 |
freemangordon | user@devuan:~$ gio mount -d /dev/sr0 | 17:35 |
freemangordon | gio: /dev/sr0: No volume for device file | 17:35 |
freemangordon | parazyd: do you know how is that supposed to work indevuan? | 17:36 |
Wizzup | hm, I would not expect things to automount, but we can control it | 17:40 |
Wizzup | what do you want to automount and where specifically? | 17:40 |
freemangordon | well, I would expect gfvs automounts | 17:41 |
freemangordon | *gvfs | 17:41 |
freemangordon | like in ~/.gvfs | 17:41 |
freemangordon | Wizzup: seems it requires policykit | 18:12 |
Wizzup | mhm | 18:14 |
freemangordon | ok, aftre installing policykit (which removed libpam-ck-connector libsystemd-dev libsystemd0) I am able to mount with udisksctl | 18:18 |
Wizzup | sounds like a nice package ;P | 18:27 |
freemangordon | but still unable to mount with gio mount | 18:29 |
freemangordon | somehow gio volume doesn't get added | 18:31 |
_uvos_ | i strongly dislike stuff automounting | 18:41 |
_uvos_ | so if gvfs is supposed to do this and we unbreak it ill ned to find the switch to turn it off | 18:42 |
_uvos_ | also i hope it dosent automount mmc devices | 18:42 |
_uvos_ | since automounting the android/fremantle partitions is not a good idea | 18:43 |
Wizzup | uvos: yeah me too | 19:58 |
Wizzup | I think sd cards should be automounted though | 19:58 |
Wizzup | but that's quite different I think | 19:58 |
uvos | but how will it differentiate and sd card with the internal flash that just came in as a hotplug beacuse of udevadm trigger? | 20:06 |
uvos | we absolutly do not want it mounting the android system and bootloader partitions on mapphone for instance | 20:06 |
Wizzup | I think fremantle had logic for that | 20:09 |
freemangordon | ke-recv, yes | 20:13 |
freemangordon | but still, user should be somehow able to mount partition, without using shell that is | 20:13 |
uvos | doing so is impossible portably | 20:14 |
uvos | afaik | 20:14 |
freemangordon | doing what? | 20:14 |
uvos | filtering the devices | 20:14 |
uvos | i dont think there is a way to know that random mmcn interface is internal flash portably | 20:15 |
freemangordon | that's why we shall auto-mount everything, if possible. however, gvfs has options to disable auto-moutn for a particular volume, which could be part of device support package | 20:15 |
uvos | (portable as in between devices) | 20:15 |
Wizzup | dts can be used for this, or hardcoded hw paths | 20:15 |
uvos | automounting everything is not ok | 20:15 |
freemangordon | why not? | 20:15 |
Wizzup | android has like 20 partitions | 20:15 |
Wizzup | we don't want to mount those | 20:15 |
Wizzup | but I think this is an edge case | 20:15 |
uvos | and do you want to mount the bootloader with user permissions? | 20:16 |
uvos | thats asking for touble | 20:16 |
Wizzup | I think mounting an internal sd card that you need to open the phone case for to change is a feature, not a bug | 20:16 |
Wizzup | how we do it is up to us | 20:16 |
freemangordon | ok, nut what about usb flash driver, cd rom drives, etc | 20:16 |
* Wizzup dinner | 20:16 | |
freemangordon | *but | 20:16 |
uvos | just have the user select devices from a list to mount | 20:17 |
uvos | and dont automount anything | 20:17 |
uvos | that also avoids having to have speciall config for the partition layout of every device | 20:18 |
uvos | to avoid automounting bootloaders etc | 20:18 |
freemangordon | is this list persistent? | 20:18 |
freemangordon | also, what UI is this? | 20:18 |
uvos | sure | 20:18 |
uvos | dosent exist im suggesting something to implment | 20:18 |
freemangordon | ok, but until we have it? | 20:18 |
uvos | current behavior | 20:19 |
uvos | automount nothing or at least not suff that can be problematic | 20:19 |
uvos | ie cdrom would be ok | 20:19 |
freemangordon | which is - you can;t mount at all unless using console | 20:19 |
uvos | thats fine imo | 20:19 |
uvos | rn all our devices run from sdcard anyhow | 20:19 |
freemangordon | no, this is s phone dammit | 20:19 |
uvos | so you cant insert anything | 20:19 |
freemangordon | sure you can | 20:19 |
uvos | and connecting sutff via otg is eadge case | 20:19 |
freemangordon | most of the devices support OTG | 20:19 |
freemangordon | how is that? | 20:20 |
uvos | i dont think many people connect cdrom drives to phones | 20:20 |
uvos | but sure you can automount those classes of devices | 20:20 |
freemangordon | usb flash drives for sure | 20:20 |
uvos | as long as internal flashcant be mistaken for something to mount | 20:21 |
uvos | and the user can turn automounting off | 20:21 |
freemangordon | and we are to the point - nothing gets automounted, no matter the class | 20:21 |
freemangordon | it seems we are either missing a daemon or a setting | 20:21 |
uvos | well if its ke-recv | 20:21 |
uvos | ke-recv dosent work atm except for the slider key | 20:21 |
freemangordon | it *was*, in fremantle | 20:22 |
uvos | as it uses vendor interfaces | 20:22 |
freemangordon | not really | 20:22 |
freemangordon | it was using hal | 20:22 |
uvos | no not real hal | 20:22 |
uvos | lots of sysfs files too | 20:22 |
uvos | that are not anything | 20:22 |
freemangordon | for mounting it was using hal | 20:22 |
uvos | sure | 20:22 |
uvos | yeah | 20:22 |
uvos | mostly | 20:22 |
uvos | i think it checks some lid sysfs | 20:23 |
freemangordon | but I still wonder why gio mount fails | 20:23 |
freemangordon | uvos: forget about ke-recv | 20:23 |
freemangordon | the one that is supposed to work in shell does not | 20:23 |
uvos | ok | 20:23 |
freemangordon | 'gio mount -d $DEVICE' | 20:23 |
uvos | well the gio mount failing is likey down to perms | 20:23 |
freemangordon | do you have any idea? | 20:23 |
uvos | no | 20:23 |
freemangordon | well, idea how to trace it | 20:23 |
kona | strace -f gio mount -d $DEVICE # ??? | 20:32 |
freemangordon | I think I tried it | 20:32 |
freemangordon | but this doesn;t help much, as there is no GioVolume, and that's what gio mount complains about | 20:33 |
kona | :( | 20:38 |
freemangordon | ok, PEBCAK :) | 20:53 |
freemangordon | getting there: | 20:56 |
freemangordon | gio: /dev/sdb1: Not authorized to perform operation | 20:56 |
freemangordon | :) | 20:56 |
freemangordon | ok, it needs policykit-1 (and friends) installed. and it also needs policykit rules to enable mounting for group 'plugdev' (find that over the inet) and also adding user to gtoup 'plugdev | 21:09 |
freemangordon | *group | 21:10 |
uvos | hmm https://firmware.center/ dosent work for me anymore (try listing fw files) | 21:52 |
uvos | not great | 21:52 |
freemangordon | sigh: https://pastebin.com/eAqPFJiL | 22:46 |
freemangordon | Wizzup: kona: https://postimg.cc/fttN442g :) | 23:05 |
freemangordon | it segfaults when you try to open the list of messages, but still, I guess this is a progress | 23:06 |
Wizzup | \o/ | 23:21 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!