Posts: 73
Joined: Aug 2016
Reputation:
0
Hello,
I want to use udisks2 with Kodi 18a2.
udisks1 worked well without additional configuration. With udisks2 the plugin of an USB device is detected but I'm not able to unmount. It also does not appear in the main menu.
What is wrong?
Posts: 7,650
Joined: Jun 2011
Reputation:
287
Are you running without a desktop? -> missing polkit permissions?
Posts: 73
Joined: Aug 2016
Reputation:
0
I didn't know that I need new permissions, now. I didn't need them with "udisks1".
Do you have more information about how to set up the permissions?
To get the permissions directly: Do I need a full desktop or is it enough to open a "kodi" session using "Light DM"?
Posts: 73
Joined: Aug 2016
Reputation:
0
I'll try that and report back.
For some reason mounting works but in file manager the context menu isn't shown, which makes it impossible to unmount. Maybe this is fixed with the permissions file.
Posts: 73
Joined: Aug 2016
Reputation:
0
2018-08-04, 11:45
(This post was last modified: 2018-08-04, 11:49 by M-Reimer.)
Still no success.
Does here actually someone have a context menu for the USB storage device in file manager?
Everything works but I'm not able to unmount the USB memory stick I'm using for testing.
Would have been nice to use "up-to-date" technology but currently I tend to installing udisks1 again.
This is all that I have about udisks in kodi.log.
[root@manuelsvdr temp]# grep -i udisks kodi.log
11:44:00.753 T:140411214345216 DEBUG: UDisks2: Mounting /dev/sdc1
11:44:02.870 T:140411214345216 INFO: UDisks2: Added /run/media/kodi/4E0C-F857
Is unmounting actually part of the implementation?
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
Just add it. You use, you build it, you are asked to contribute. Thx in advance.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 73
Joined: Aug 2016
Reputation:
0
I have no idea about what the requirements are that the context menu gets visible and I have no background knowledge about udisks2 at all.
Can someone at least give some basic information about the requirements for getting the context menu, so I can throw in some printf debug messages?
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
First check your permission. After you plugged it in, try with udisksctl to umount it from command line with the very same user. Start with udisksctl status and udisksctl dump
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 1,010
Joined: Sep 2014
Reputation:
102
asavah
Posting Freak
Posts: 1,010
I run my own builds straight from Kodi git on rpi3 and rock64.
On both udisks2 mounting and unmounting works as expected without need for weird hacks or patches ,just the perms for polkit as mentioned already.
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
You never know what Arch makes on day + 1 or how day - 1 worked.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
Yeah. I hope the archers can do that transformation ... as this is far beyond what kodi should do. Administrating own system should be a standard task. Alternatively run kodi on Android or LibreELEC or something ...
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.