sunshavi has quit [Read error: Connection reset by peer]
sunshavi has joined #maemo-leste
pere has joined #maemo-leste
rafael2k has joined #maemo-leste
<freemangordon>
Wizzup: do cdrom and usb drives get auto-mounted in leste Vm for you?
<freemangordon>
I remember in ascii cdrom was auto-mounted, not the case anymore
<Wizzup>
freemangordon: would have to test, but I assume not
<freemangordon>
but,but...
<freemangordon>
why is that? systemd is missing?
<freemangordon>
and most-important - how to fix that?
<freemangordon>
because I see those drives in hildon-fm
<freemangordon>
but nothing happens when I click on them
<freemangordon>
neither I can mount with gio mount commend
<freemangordon>
user@devuan:~$ gio mount -d /dev/sr0
<freemangordon>
gio: /dev/sr0: No volume for device file
<freemangordon>
parazyd: do you know how is that supposed to work indevuan?
<Wizzup>
hm, I would not expect things to automount, but we can control it
<Wizzup>
what do you want to automount and where specifically?
<freemangordon>
well, I would expect gfvs automounts
<freemangordon>
*gvfs
<freemangordon>
like in ~/.gvfs
rafael2k has quit [Ping timeout: 252 seconds]
<freemangordon>
Wizzup: seems it requires policykit
<Wizzup>
mhm
rafael2k has joined #maemo-leste
<freemangordon>
ok, aftre installing policykit (which removed libpam-ck-connector libsystemd-dev libsystemd0) I am able to mount with udisksctl
<Wizzup>
sounds like a nice package ;P
<freemangordon>
but still unable to mount with gio mount
rafael2k has quit [Ping timeout: 245 seconds]
<freemangordon>
somehow gio volume doesn't get added
Pali has joined #maemo-leste
_uvos_ has joined #maemo-leste
<_uvos_>
i strongly dislike stuff automounting
<_uvos_>
so if gvfs is supposed to do this and we unbreak it ill ned to find the switch to turn it off
<_uvos_>
also i hope it dosent automount mmc devices
<_uvos_>
since automounting the android/fremantle partitions is not a good idea
_uvos_ has quit [Quit: _uvos_]
uvos has joined #maemo-leste
<Wizzup>
uvos: yeah me too
<Wizzup>
I think sd cards should be automounted though
<Wizzup>
but that's quite different I think
<uvos>
but how will it differentiate and sd card with the internal flash that just came in as a hotplug beacuse of udevadm trigger?
<uvos>
we absolutly do not want it mounting the android system and bootloader partitions on mapphone for instance
<Wizzup>
I think fremantle had logic for that
<freemangordon>
ke-recv, yes
<freemangordon>
but still, user should be somehow able to mount partition, without using shell that is
<uvos>
doing so is impossible portably
<uvos>
afaik
<freemangordon>
doing what?
<uvos>
filtering the devices
<uvos>
i dont think there is a way to know that random mmcn interface is internal flash portably
<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
<uvos>
(portable as in between devices)
<Wizzup>
dts can be used for this, or hardcoded hw paths
<uvos>
automounting everything is not ok
<freemangordon>
why not?
<Wizzup>
android has like 20 partitions
<Wizzup>
we don't want to mount those
<Wizzup>
but I think this is an edge case
<uvos>
and do you want to mount the bootloader with user permissions?
<uvos>
thats asking for touble
<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
<Wizzup>
how we do it is up to us
<freemangordon>
ok, nut what about usb flash driver, cd rom drives, etc
* Wizzup
dinner
<freemangordon>
*but
<uvos>
just have the user select devices from a list to mount
<uvos>
and dont automount anything
<uvos>
that also avoids having to have speciall config for the partition layout of every device
<uvos>
to avoid automounting bootloaders etc
<freemangordon>
is this list persistent?
<freemangordon>
also, what UI is this?
<uvos>
sure
<uvos>
dosent exist im suggesting something to implment
<freemangordon>
ok, but until we have it?
<uvos>
current behavior
<uvos>
automount nothing or at least not suff that can be problematic
<uvos>
ie cdrom would be ok
<freemangordon>
which is - you can;t mount at all unless using console
<uvos>
thats fine imo
<uvos>
rn all our devices run from sdcard anyhow
<freemangordon>
no, this is s phone dammit
<uvos>
so you cant insert anything
<freemangordon>
sure you can
<uvos>
and connecting sutff via otg is eadge case
<freemangordon>
most of the devices support OTG
<freemangordon>
how is that?
<uvos>
i dont think many people connect cdrom drives to phones
<uvos>
but sure you can automount those classes of devices
<freemangordon>
usb flash drives for sure
<uvos>
as long as internal flashcant be mistaken for something to mount
<uvos>
and the user can turn automounting off
<freemangordon>
and we are to the point - nothing gets automounted, no matter the class
<freemangordon>
it seems we are either missing a daemon or a setting
<uvos>
well if its ke-recv
<uvos>
ke-recv dosent work atm except for the slider key
<freemangordon>
it *was*, in fremantle
<uvos>
as it uses vendor interfaces
<freemangordon>
not really
<freemangordon>
it was using hal
<uvos>
no not real hal
<uvos>
lots of sysfs files too
<uvos>
that are not anything
<freemangordon>
for mounting it was using hal
<uvos>
sure
<uvos>
yeah
<uvos>
mostly
<uvos>
i think it checks some lid sysfs
<freemangordon>
but I still wonder why gio mount fails
<freemangordon>
uvos: forget about ke-recv
<freemangordon>
the one that is supposed to work in shell does not
<uvos>
ok
<freemangordon>
'gio mount -d $DEVICE'
<uvos>
well the gio mount failing is likey down to perms
<freemangordon>
do you have any idea?
<uvos>
no
<freemangordon>
well, idea how to trace it
<kona>
strace -f gio mount -d $DEVICE # ???
<freemangordon>
I think I tried it
<freemangordon>
but this doesn;t help much, as there is no GioVolume, and that's what gio mount complains about
<kona>
:(
<freemangordon>
ok, PEBCAK :)
<freemangordon>
getting there:
<freemangordon>
gio: /dev/sdb1: Not authorized to perform operation
<freemangordon>
:)
<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