You are not logged in.

#1 2013-09-06 13:03:48

jazzi
Member
From: Xiamen
Registered: 2006-10-30
Posts: 57

[Resolved]USB not working while udisks2 installed

I am trying to get usb automatically mounted under PCManFM
After the search, I recompiled libfm to disable udisks
Then removed 'udisks' and installed 'udisks2' instead.
But this doesn't work, I run the following command and didn't find udisks2

#ps -aux | grep udisks2

I am working with systemd.
Please kindly let me know if any more information should offered.
Many thanks.

Last edited by jazzi (2013-09-06 23:45:02)

Offline

#2 2013-09-06 13:35:40

10PinkPanther
Member
From: Croatia
Registered: 2012-11-10
Posts: 374

Re: [Resolved]USB not working while udisks2 installed

Udiskie works for me.

Offline

#3 2013-09-06 14:09:14

jazzi
Member
From: Xiamen
Registered: 2006-10-30
Posts: 57

Re: [Resolved]USB not working while udisks2 installed

10PinkPanther wrote:

Udiskie works for me.

Thanks, but udiskie depends on udisks (not udisks2).

Offline

#4 2013-09-06 14:18:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Resolved]USB not working while udisks2 installed

udisks and udisks2 have completely different, not-compatible APIs. They are not interchangeable. You need the one installed that the program is written for.

Offline

#5 2013-09-06 15:07:13

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Resolved]USB not working while udisks2 installed

Why not just use udisks, as the pcmanfm devs intended? Do you have some issue with udisks?

Offline

#6 2013-09-06 23:44:15

jazzi
Member
From: Xiamen
Registered: 2006-10-30
Posts: 57

Re: [Resolved]USB not working while udisks2 installed

Thanks @tomK, @Scimmia and @10PinkPanther, it works with udisks+udevil, as well as following command

systemctl enable devmon@username.service

Offline

#7 2013-09-07 11:01:11

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Resolved]USB not working while udisks2 installed

OK... but it also works with pcmanfm+gvfs, as described in the wiki. You could have just stuck with that.

Offline

Board footer

Powered by FluxBB