usb devices not showing in kde

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

usb devices not showing in kde

Alin Marin Elena-2
Hi,

I have a strange problem, all my usk storage devices do not show in kde's
device notifier.

I can see them fine with lsusb and mount them manually as root... but somehow I
lost the nicety of easy click.

any idea on what may cause it? I am tempted to blame policy-kit... but I do
not have the proof.

regards,
Alin
--
Without Questions there are no Answers!
______________________________________________________________________
Alin Marin ELENA
Advanced Molecular Simulation Research Laboratory
School of Physics, University College Dublin
----
Ardionsamblú Móilíneach Saotharlann Taighde
Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath

-----------------------------------------------------------------------------------
http://alin.elenaworld.net
______________________________________________________________________
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb devices not showing in kde

Karl Eichwalder
Alin M Elena <[hidden email]> writes:

> I have a strange problem, all my usk storage devices do not show in kde's
> device notifier.
>
> I can see them fine with lsusb and mount them manually as root... but somehow I
> lost the nicety of easy click.

Under xfce, they now get auto-mounted under /run/media/$USER --I was
also wondering...  Now sure about KDE, though.

Probably worth noting in the release notes.

--
Karl Eichwalder                              SUSE LINUX Products GmbH
R&D / Documentation                          Maxfeldstraße 5
                                             90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb devices not showing in kde

Karl Eichwalder
Karl Eichwalder <[hidden email]> writes:

> Under xfce, they now get auto-mounted under /run/media/$USER --I was
> also wondering...  Now sure about KDE, though.
>
> Probably worth noting in the release notes.

I'm about to add it: https://bugzilla.novell.com/show_bug.cgi?id=781131

--
Karl Eichwalder                              SUSE LINUX Products GmbH
R&D / Documentation                          Maxfeldstraße 5
                                             90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

/run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Karl Eichwalder
In reply to this post by Karl Eichwalder
Karl Eichwalder <[hidden email]> writes:

> Under xfce, they now get auto-mounted under /run/media/$USER --I was
> also wondering...  Now sure about KDE, though.

I forgot to mention that I'm running 12.2 (with all updates) and
systemd.

> Probably worth noting in the release notes.

> I'm about to add it: https://bugzilla.novell.com/show_bug.cgi?id=781131

I please need an expert who can shed light on this issue.  How is it
considered to work?  On my system, upgraded from 12.1 (and previous
versions) a tmpfs is also mounted on /media...

--
Karl Eichwalder                              SUSE LINUX Products GmbH
R&D / Documentation                          Maxfeldstraße 5
                                             90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Christian Boltz-5
Hello,

Am Donnerstag, 20. September 2012 schrieb Karl Eichwalder:
> Karl Eichwalder <[hidden email]> writes:
> > Under xfce, they now get auto-mounted under /run/media/$USER --I was
> > also wondering...  Now sure about KDE, though.

> > https://bugzilla.novell.com/show_bug.cgi?id=781131
> I please need an expert who can shed light on this issue.  How is it
> considered to work?  On my system, upgraded from 12.1 (and previous
> versions) a tmpfs is also mounted on /media...

With KDE4, I still have /media/$SOMETHING mountpoints as in previous
releases (and mointing is done after choosing for example "open in file
manager" in the popup that comes up after plugging in an USB memory
stick).

Maybe this is a xfce-specific change? And/or my system's history
(upgraded over several releases, including betas and factory) has
something special that forces the /media/$SOMETHING mountpoint?


Regards,

Christian Boltz
--
If we get Flemish, we should get also Plat-Duutsch, Beirisch and
Östereichish. (The last two are the same, but don't tell them that,
because the inhabitants think they are not, because they are better
then the other. :)   [houghi in opensuse]

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Patrick Shanahan-2
* Christian Boltz <[hidden email]> [09-20-12 15:03]:

> Am Donnerstag, 20. September 2012 schrieb Karl Eichwalder:
> > Karl Eichwalder <[hidden email]> writes:
> > > Under xfce, they now get auto-mounted under /run/media/$USER --I was
> > > also wondering...  Now sure about KDE, though.
>
> > > https://bugzilla.novell.com/show_bug.cgi?id=781131
> > I please need an expert who can shed light on this issue.  How is it
> > considered to work?  On my system, upgraded from 12.1 (and previous
> > versions) a tmpfs is also mounted on /media...
>
> With KDE4, I still have /media/$SOMETHING mountpoints as in previous
> releases (and mointing is done after choosing for example "open in file
> manager" in the popup that comes up after plugging in an USB memory
> stick).
>
> Maybe this is a xfce-specific change? And/or my system's history
> (upgraded over several releases, including betas and factory) has
> something special that forces the /media/$SOMETHING mountpoint?

I use Tumbleweed and lost auto-mounting although devices were recognized
and announced sometime during 12.1, but it came back sometime between rc1
and rc2 and is still functioning as is expected (kde).

--
(paka)Patrick Shanahan       Plainfield, Indiana, USA      HOG # US1244711
http://wahoo.no-ip.org        Photo Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org                           openSUSE Community Member
Registered Linux User #207535                    @ http://linuxcounter.net
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Alin Marin Elena-2
> I use Tumbleweed and lost auto-mounting although devices were recognized
> and announced sometime during 12.1, but it came back sometime between rc1
> and rc2 and is still functioning as is expected (kde).

just to be clear... the problem is not automount... I do not care and I do not
use it... the problem is that dolphin/device notifier do not present the usb
devices to be mounted.... the system at lower level sees them: (the only
exotic thing on this machine is the fact I installed 12.2 with lxdm and them
duped to factory and then installed kde --all clean confings)

[alin@abbaton:~]: udisksctl monitor                                                                                                                        
Monitoring the udisks daemon. Press Ctrl+C to exit.                                                                                                          
09:11:15.286: The udisks-daemon is running (name-owner :1.80).                                                                                                
09:11:17.178: Removed /org/freedesktop/UDisks2/block_devices/sdc1
09:11:17.178: Removed /org/freedesktop/UDisks2/block_devices/sdc
09:11:17.179: Removed
/org/freedesktop/UDisks2/drives/Kingmax_USB2_2e0_FlashDisk_4000000009261
09:11:23.517: Added
/org/freedesktop/UDisks2/drives/Kingmax_USB2_2e0_FlashDisk_4000000009261
  org.freedesktop.UDisks2.Drive:
    ConnectionBus:              usb
    Ejectable:                  true
    Media:                      
    MediaAvailable:             true
    MediaChangeDetected:        true
    MediaCompatibility:        
    MediaRemovable:             true
    Model:                      USB2.0 FlashDisk
    Optical:                    false
    OpticalBlank:               false
    OpticalNumAudioTracks:      0
    OpticalNumDataTracks:       0
    OpticalNumSessions:         0
    OpticalNumTracks:           0
    Removable:                  true
    Revision:                   0.0
    RotationRate:               -1
    Seat:                       seat0
    Serial:                     4000000009261
    Size:                       7952400384
    SortKey:                    01hotplug/1348215083516056
    TimeDetected:               1348215083516056
    TimeMediaDetected:          1348215083516056
    Vendor:                     Kingmax
    WWN:                        
09:11:23.524: Added /org/freedesktop/UDisks2/block_devices/sdc
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/sdc
    DeviceNumber:               2080
    Drive:                      
'/org/freedesktop/UDisks2/drives/Kingmax_USB2_2e0_FlashDisk_4000000009261'
    HintAuto:                   true
    HintIconName:              
    HintIgnore:                 false
    HintName:                  
    HintPartitionable:          true
    HintSystem:                 false
    IdLabel:                    
    IdType:                    
    IdUUID:                    
    IdUsage:                    
    IdVersion:                  
    PreferredDevice:            /dev/sdc
    ReadOnly:                   false
    Size:                       7952400384
    Symlinks:                   /dev/disk/by-id/usb-
Kingmax_USB2.0_FlashDisk_4000000009261-0:0
                                /dev/disk/by-path/pci-0000:00:06.1-
usb-0:4:1.0-scsi-0:0:0:0
  org.freedesktop.UDisks2.PartitionTable:
    Type:               dos
09:11:23.565: Added /org/freedesktop/UDisks2/block_devices/sdc1
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/sdc1
    DeviceNumber:               2081
    Drive:                      
'/org/freedesktop/UDisks2/drives/Kingmax_USB2_2e0_FlashDisk_4000000009261'
    HintAuto:                   true
    HintIconName:              
    HintIgnore:                 false
    HintName:                  
    HintPartitionable:          true
    HintSystem:                 false
    IdLabel:                    
    IdType:                     vfat
    IdUUID:                     A916-CE81
    IdUsage:                    filesystem
    IdVersion:                  FAT32
    PreferredDevice:            /dev/sdc1
    ReadOnly:                   false
    Size:                       7951351808
    Symlinks:                   /dev/disk/by-id/usb-
Kingmax_USB2.0_FlashDisk_4000000009261-0:0-part1
                                /dev/disk/by-path/pci-0000:00:06.1-
usb-0:4:1.0-scsi-0:0:0:0-part1
                                /dev/disk/by-uuid/A916-CE81
  org.freedesktop.UDisks2.Filesystem:
    MountPoints:        
  org.freedesktop.UDisks2.Partition:
    Flags:              0
    IsContained:        false
    IsContainer:        false
    Name:              
    Number:             1
    Offset:             1048576
    Size:               7951351808
    Table:              '/org/freedesktop/UDisks2/block_devices/sdc'
    Type:               0x0c
    UUID:  


--
Without Questions there are no Answers!
______________________________________________________________________
Alin Marin ELENA
Advanced Molecular Simulation Research Laboratory
School of Physics, University College Dublin
----
Ardionsamblú Móilíneach Saotharlann Taighde
Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath

-----------------------------------------------------------------------------------
http://alin.elenaworld.net
______________________________________________________________________
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Dieter Werner
In reply to this post by Christian Boltz-5
On Thu, 20 Sep 2012 21:02:19 +0200
Christian Boltz <[hidden email]> wrote:

Hello,
I also want to report some observations about removable devices and
mounting.
I am running openSUSE 12.2 with all updates and systemd.
This machine has been updated ever since the initial 10.2
installation, no fresh install. kdepim/akonadi/nepomuk/strigi are
removed and deactivated as far as possible.

I usually boot to "runlevel 3" and start X/KDE4 after text login.
This requires "/usr/bin/Xorg            root:root       4755"
If I plugin a pendrive (USB stick) or insert a CD/DVD I am notified and
asked what to do, e.g. "open with dolphin".
If I select open with dolphin I get an error message that the device
can not be mounted, it suspect the mountpoint can not be created.

If I boot to "runlevel 5" the "open with dolphin" is working, the
device is mounted under /media/ .
But with my security settings I am
asked the root password for shutdown/reboot.

Therefore with this machine I stay with my "runlevel 3" default and use
"workaround mount points" in the fstab.

Kind regards,
        Dieter


> Hello,
>
> Am Donnerstag, 20. September 2012 schrieb Karl Eichwalder:
> > Karl Eichwalder <[hidden email]> writes:
> > > Under xfce, they now get auto-mounted under /run/media/$USER --I
> > > was also wondering...  Now sure about KDE, though.
>
> > > https://bugzilla.novell.com/show_bug.cgi?id=781131
> > I please need an expert who can shed light on this issue.  How is it
> > considered to work?  On my system, upgraded from 12.1 (and previous
> > versions) a tmpfs is also mounted on /media...
>
> With KDE4, I still have /media/$SOMETHING mountpoints as in previous
> releases (and mointing is done after choosing for example "open in
> file manager" in the popup that comes up after plugging in an USB
> memory stick).
>
> Maybe this is a xfce-specific change? And/or my system's history
> (upgraded over several releases, including betas and factory) has
> something special that forces the /media/$SOMETHING mountpoint?
>
>
> Regards,
>
> Christian Boltz

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Brüns, Stefan
In reply to this post by Karl Eichwalder


Am 09/21/12, schrieb Alin M Elena  <[hidden email]>:

> > I use Tumbleweed and lost auto-mounting although devices were recognized
> > and announced sometime during 12.1, but it came back sometime between rc1
> > and rc2 and is still functioning as is expected (kde).
>
> just to be clear... the problem is not automount... I do not care and I do not
> use it... the problem is that dolphin/device notifier do not present the usb
> devices to be mounted.... the system at lower level sees them: (the only
> exotic thing on this machine is the fact I installed 12.2 with lxdm and them
> duped to factory and then installed kde --all clean confings)
>
> [alin@abbaton:~]: udisksctl monitor                                                                                                                        
> Monitoring the udisks daemon. Press Ctrl+C to exit.                                                                                                          
> 09:11:15.286: The udisks-daemon is running (name-owner :1.80).                                                                                               
> 09:11:17.178: Removed /org/freedesktop/UDisks2/block_devices/sdc1
> 09:11:17.178: Removed /org/freedesktop/UDisks2/block_devices/sdc
> 09:11:17.179: Removed
> /org/freedesktop/UDisks2/drives/Kingmax_USB2_2e0_FlashDisk_4000000009261
> 09:11:23.517: Added
> /org/freedesktop/UDisks2/drives/Kingmax_USB2_2e0_FlashDisk_4000000009261
>   org.freedesktop.UDisks2.Drive:

This is udisks *2*, but KDE might still be using udisk *1*.

The lowest level on the KDE side where you can check easily is "solid-hardware list", it should list all kind of hardware, including devices found through solids backend for udisks, at least the backend itself should be listed, e.g.:

$> solid-hardware list
...
udi = '/org/freedesktop/UDisks'
udi = '/org/freedesktop/UDisks/devices/sda'
...

I do not know if the solid UDisks2 backend is already stable and which backend KDE in 12.2 is using. If it is still using UDisks1, it might just not be installed (UDisks1 and UDisks2 can be installed and running side by side, according to its author).

Regards,

Stefan
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Alin Marin Elena-2
Stefan spot on.... that udisks was the problem. Thank you very much.

regards,
Alin

On Friday 21 Sep 2012 15:59:53 Stefan Brüns wrote:

> Am 09/21/12, schrieb Alin M Elena  <[hidden email]>:
> > > I use Tumbleweed and lost auto-mounting although devices were recognized
> > > and announced sometime during 12.1, but it came back sometime between
> > > rc1
> > > and rc2 and is still functioning as is expected (kde).
> >
> > just to be clear... the problem is not automount... I do not care and I do
> > not use it... the problem is that dolphin/device notifier do not present
> > the usb devices to be mounted.... the system at lower level sees them:
> > (the only exotic thing on this machine is the fact I installed 12.2 with
> > lxdm and them duped to factory and then installed kde --all clean
> > confings)
> >
> > [alin@abbaton:~]: udisksctl
> > monitor                                                                  
> >                                                        Monitoring the
> > udisks daemon. Press Ctrl+C to exit. 09:11:15.286: The udisks-daemon is
> > running (name-owner :1.80). 09:11:17.178: Removed
> > /org/freedesktop/UDisks2/block_devices/sdc1
> > 09:11:17.178: Removed /org/freedesktop/UDisks2/block_devices/sdc
> > 09:11:17.179: Removed
> > /org/freedesktop/UDisks2/drives/Kingmax_USB2_2e0_FlashDisk_4000000009261
> > 09:11:23.517: Added
> > /org/freedesktop/UDisks2/drives/Kingmax_USB2_2e0_FlashDisk_4000000009261
>
> >   org.freedesktop.UDisks2.Drive:
> This is udisks *2*, but KDE might still be using udisk *1*.
>
> The lowest level on the KDE side where you can check easily is
> "solid-hardware list", it should list all kind of hardware, including
> devices found through solids backend for udisks, at least the backend
> itself should be listed, e.g.:
>
> $> solid-hardware list
> ...
> udi = '/org/freedesktop/UDisks'
> udi = '/org/freedesktop/UDisks/devices/sda'
> ...
>
> I do not know if the solid UDisks2 backend is already stable and which
> backend KDE in 12.2 is using. If it is still using UDisks1, it might just
> not be installed (UDisks1 and UDisks2 can be installed and running side by
> side, according to its author).
>
> Regards,
>
> Stefan
--
Without Questions there are no Answers!
______________________________________________________________________
Alin Marin ELENA
Advanced Molecular Simulation Research Laboratory
School of Physics, University College Dublin
----
Ardionsamblú Móilíneach Saotharlann Taighde
Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath

-----------------------------------------------------------------------------------
http://alin.elenaworld.net
______________________________________________________________________
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

upscope-2
In reply to this post by Christian Boltz-5
On Thursday, September 20, 2012 09:02:19 PM Christian Boltz wrote:

> Hello,
>
> Am Donnerstag, 20. September 2012 schrieb Karl Eichwalder:
> > Karl Eichwalder <[hidden email]> writes:
> > > Under xfce, they now get auto-mounted under /run/media/$USER --I was
> > > also wondering...  Now sure about KDE, though.
> > >
> > > https://bugzilla.novell.com/show_bug.cgi?id=781131
> >
> > I please need an expert who can shed light on this issue.  How is it
> > considered to work?  On my system, upgraded from 12.1 (and previous
> > versions) a tmpfs is also mounted on /media...
>
> With KDE4, I still have /media/$SOMETHING mountpoints as in previous
> releases (and mointing is done after choosing for example "open in file
> manager" in the popup that comes up after plugging in an USB memory
> stick).
>
> Maybe this is a xfce-specific change? And/or my system's history
> (upgraded over several releases, including betas and factory) has
> something special that forces the /media/$SOMETHING mountpoint?
>
>
> Regards,
>
> Christian Boltz
I had a simular problem with 12.2 GM. MyComputer, Dolphin, Device Notifier and
K3B were no seeing any devices. Partitioner and Hardware info were. On boot I
was getting message " Consolekit failure" Also tested on 12.1 with 4.8.5 and
got same failure. After much looking and testing I dropped back from  KDE
4.8.5  to 4.8.4 on both systems. All devices were seen by all of above
mentioned applications. Then reinstalled KDE 4.8.5 on 12.1 (backup system -
actually dual boot, seperate harddrives) . It then worked. Did same on 12.2
and it is also working. Only thing I can think of was something in original
repo's was bad or ?

not sure what this will tell you.

Russ
--
openSUSE 12.2(Linux 3.4.6-2.10-desktop x86_64)|
KDE 4.8.5 "release 521"|Intel core2duo 2.5 MHZ,
|8GB DDR3|GeForce 8400GS(NVIDIA-Linux-x86_64-304.43)  

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Brüns, Stefan
In reply to this post by Alin Marin Elena-2
On Friday 21 September 2012 18:56:51 Alin M Elena wrote:
> Stefan spot on.... that udisks was the problem. Thank you very much.

i.e. udisks was not installed?

Can you please file a bugreport then?

Regards,

Stefan

--
Stefan Brüns  /  Bergstraße 21  /  52062 Aachen
phone: +49 241 53809034     mobile: +49 151 50412019
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Freek de Kruijf-2
Op vrijdag 21 september 2012 23:16:38 schreef Stefan Brüns:
> On Friday 21 September 2012 18:56:51 Alin M Elena wrote:
> > Stefan spot on.... that udisks was the problem. Thank you very much.
>
> i.e. udisks was not installed?

I have udisks, libudisks2-0, udisks-glue, udisks2 and udisks2-lang installed
in 12.2 but I don't have automatic mounting. I do get a pop-up showing the
disk connected to the USB port.

--
fr.gr.

Freek de Kruijf

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Philipp Thomas-3
On Fri, 21 Sep 2012 23:33:43 +0200, Freek de Kruijf
<[hidden email]> wrote:

>I have udisks, libudisks2-0, udisks-glue, udisks2 and udisks2-lang installed
>in 12.2 but I don't have automatic mounting. I do get a pop-up showing the
>disk connected to the USB port.

AFAIK That's how it should be. At least in KDE you get a pop-up asking
you what action should be taken. If you do want automatic mounting you
have to configure it.

Philipp
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Raymond Wooninck-2
In reply to this post by Freek de Kruijf-2
On Friday 21 September 2012 23:33:43 Freek de Kruijf wrote:
> Op vrijdag 21 september 2012 23:16:38 schreef Stefan Brüns:
> > On Friday 21 September 2012 18:56:51 Alin M Elena wrote:
> > > Stefan spot on.... that udisks was the problem. Thank you very much.
> >
> > i.e. udisks was not installed?
>
> I have udisks, libudisks2-0, udisks-glue, udisks2 and udisks2-lang installed
> in 12.2 but I don't have automatic mounting. I do get a pop-up showing the
> disk connected to the USB port.

At this moment the solid backend of KDE doesn't provide udisks2 support. So if
an user only installed udisks2 on his system together with KDE, then KDE will
not be notified of any removable disks being plugged in.

Based on the upstream (KDE 4.10) udisks2 backend, I am creating a patch to
bring udisks2 support also for the current KDE version in Factory.  Alin
already tested the backend with a snapshot of KDE 4.10 and there the correct
behavior was restorted. So hopefully by the end of this week we should have an
updated version of kdelibs ready that will support udisks2. Be aware that this
is a switch and that the old udisks backend will not be build anymore.

Raymond
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Karl Eichwalder
In reply to this post by Philipp Thomas-3
Philipp Thomas <[hidden email]> writes:

> On Fri, 21 Sep 2012 23:33:43 +0200, Freek de Kruijf
> <[hidden email]> wrote:
>
>>I have udisks, libudisks2-0, udisks-glue, udisks2 and udisks2-lang installed
>>in 12.2 but I don't have automatic mounting. I do get a pop-up showing the
>>disk connected to the USB port.
>
> AFAIK That's how it should be. At least in KDE you get a pop-up asking
> you what action should be taken. If you do want automatic mounting you
> have to configure it.

Someone out there who know how you can use these tools without too much
pain from the command line?

With

    udisks --dump                (version 1)

or

    udisksctl dump               (version 2, cluttered with escape
                                  sequences...)

you can see a longish list of all devices with all the details...  Is
there a switch that quickly shows the USB card (SD) that I inserted in
the USB card reader?

Then with

    udisks --mount /dev/sdd1

it gets mounted at /media/4865-EF1A.  With udisksctl:

    udisksctl mount -b /dev/sdd1
    Mounted /dev/sdd1 at /run/media/ke/4865-EF1A.

Is there a way to mount the device in one go (without the dump and
searching in the output)?

--
Karl Eichwalder                              SUSE LINUX Products GmbH
R&D / Documentation                          Maxfeldstraße 5
                                             90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Brüns, Stefan
In reply to this post by Karl Eichwalder
Am 09/26/12, schrieb Karl Eichwalder  <[hidden email]>:

> Someone out there who know how you can use these tools without too much
> pain from the command line?

Hm, depends on what you want to achieve:

1. mount all SD cards
2. mount any USB storage when it becomes available
3. mount some storage with a known name/label

For the last point, you can use one of the symlinks in /dev/disk/by-*.

For the other ones, I think you have to write some script which either parses the output of --monitor/--dump respectively, or directly talk to udisks(2) via dbus.

Regards,

Stefan



--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Vincent Untz-5
In reply to this post by Karl Eichwalder
Hi,

Le mercredi 26 septembre 2012, à 09:46 +0200, Karl Eichwalder a écrit :

> Philipp Thomas <[hidden email]> writes:
>
> > On Fri, 21 Sep 2012 23:33:43 +0200, Freek de Kruijf
> > <[hidden email]> wrote:
> >
> >>I have udisks, libudisks2-0, udisks-glue, udisks2 and udisks2-lang installed
> >>in 12.2 but I don't have automatic mounting. I do get a pop-up showing the
> >>disk connected to the USB port.
> >
> > AFAIK That's how it should be. At least in KDE you get a pop-up asking
> > you what action should be taken. If you do want automatic mounting you
> > have to configure it.
>
> Someone out there who know how you can use these tools without too much
> pain from the command line?
>
> With
>
>     udisks --dump                (version 1)
>
> or
>
>     udisksctl dump               (version 2, cluttered with escape
>                                   sequences...)
>
> you can see a longish list of all devices with all the details...  Is
> there a switch that quickly shows the USB card (SD) that I inserted in
> the USB card reader?
>
> Then with
>
>     udisks --mount /dev/sdd1
>
> it gets mounted at /media/4865-EF1A.  With udisksctl:
>
>     udisksctl mount -b /dev/sdd1
>     Mounted /dev/sdd1 at /run/media/ke/4865-EF1A.
>
> Is there a way to mount the device in one go (without the dump and
> searching in the output)?

Well, if you don't know the device, you need to find it somehow. So if
you want to only use the command line tools, I'm not sure how you could
combine the two steps in one.

Can you elaborate on why you want to directly use the command line
tools, instead of configuring the desktop to do the auto-mounting?

Cheers,

Vincent

--
Les gens heureux ne sont pas pressés.
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Karl Eichwalder
Vincent Untz <[hidden email]> writes:

> Can you elaborate on why you want to directly use the command line
> tools, instead of configuring the desktop to do the auto-mounting?

The desktop (xfce) no longer automatically mounts the devices and I'd
like to stick with desktop-defaults as much as possible.  But in the
end, I'll probably switch the default.  Oops, I just see that the
options are already enabled, but the filemanager does not actually mount
the device, it just displays the label; if you click it, it gets
mounted...  (I guess this is what Phillip meant).


"Stefan Brüns" <[hidden email]> writes:

> Am 09/26/12, schrieb Karl Eichwalder  <[hidden email]>:
>
>> Someone out there who know how you can use these tools without too much
>> pain from the command line?
>
> Hm, depends on what you want to achieve:
>
> 1. mount all SD cards
> 2. mount any USB storage when it becomes available
> 3. mount some storage with a known name/label
>
> For the last point, you can use one of the symlinks in /dev/disk/by-*.
>
> For the other ones, I think you have to write some script which either
> parses the output of --monitor/--dump respectively, or directly talk to
> udisks(2) via dbus.

Thanks for the backgorund info.  I was hoping someone out there had
already written such a script ;)

--
Karl Eichwalder                              SUSE LINUX Products GmbH
R&D / Documentation                          Maxfeldstraße 5
                                             90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: /run/media/$USER (Re: [opensuse-factory] usb devices not showing in kde)

Guido Berhoerster-6
* Karl Eichwalder <[hidden email]> [2012-09-26 10:23]:

> Vincent Untz <[hidden email]> writes:
>
> > Can you elaborate on why you want to directly use the command line
> > tools, instead of configuring the desktop to do the auto-mounting?
>
> The desktop (xfce) no longer automatically mounts the devices and I'd
> like to stick with desktop-defaults as much as possible.  But in the
> end, I'll probably switch the default.  Oops, I just see that the
> options are already enabled, but the filemanager does not actually mount
> the device, it just displays the label; if you click it, it gets
> mounted...  (I guess this is what Phillip meant).

Removable media management is handled by thunar-volume-manager
(which btw. builds on GIO which in turn uses udisks2 hence the
/run/media mountpoints) and it can be configured to automatically
mount drives and media when plugged in, see "Removable Drives and
Media" in the Xfce Settings Manager.
--
Guido Berhoerster
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

12