<div dir="ltr"><span style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">Hi all,</span><br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">
<br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px"><span style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">Currently I'm facing a problem with the Device Notifier, which doesn't show the mounted devices of my users. My scenario is a bit complex, but resuming, my aim is to have one server and multiple thin-clients connected to it and use KDE. Only the server runs KDE sessions and it creates one per user. All this works fine, but when one of these clients stick in an USB drive, even if it actually is mounted, the user can browse thru it, etc, it's not shown up on the 'Device Notifier' applet.</span><br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">
<br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px"><span style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">My KDE version is 4.3.4 (yes, I'm aware it's an old version, but due to the above explaination, which uses a very specific hardware configuration, this version of KDE is a must).</span><br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">
<br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px"><span style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">Making some tests, turns out that the USB drive is recognized by the 'udisks' tool, so if I call 'udisks --dump' I see this information related to the device:</span><br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">
<br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px"><dl class="" style="margin-bottom:1.6em;border:1px solid rgba(0,0,0,0.247059);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;padding:5px;color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px;background:rgb(251,251,251)">
<dt style="line-height:1.6em;font-weight:bold;margin-left:5px;margin-right:5px;padding-bottom:3px;margin-bottom:8px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(229,229,229)">Code: <a href="https://forum.kde.org/viewtopic.php?f=17&t=121940&sid=be5c70b8d28ba04cde88bba8a487093b#" style="color:rgb(0,104,198);text-decoration:none">Select all</a></dt>
<dd style="line-height:1.6em;margin-left:5px;margin-right:5px;max-height:500px;overflow:auto"><code style="padding:2px 4px;font-family:Menlo,Monaco,Consolas,'Courier New',monospace;font-size:13.9px;color:rgb(99,99,99);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:0px;margin-left:0px;background-color:transparent">added: /org/freedesktop/UDisks/devices/utdisk1<br>
Showing information for /org/freedesktop/UDisks/devices/utdisk1<br> native-path: /sys/devices/virtual/block/utdisk1<br> device: 251:1<br> device-file: /dev/utdisk1<br>
presentation: /dev/utdisk1<br> detected at: mié 09 jul 2014 13:05:18 WEST<br> system internal: 0<br> removable: 1<br> has media: 1 (detected at mié 09 jul 2014 13:05:18 WEST)<br>
detects change: 1<br> detection by polling: 1<br> detection inhibitable: 1<br> detection inhibited: 0<br> is read only: 0<br> is mounted: 0<br> mount paths:<br>
mounted by uid: 0<br> presentation hide: 0<br> presentation nopolicy: 1<br> presentation name:<br> presentation icon:<br> size: 4284481536<br> block size: 512<br>
job underway: no<br> usage:<br> type:<br> version:<br> uuid:<br> label:<br> partition table:<br> scheme: mbr<br> count: 1<br> drive:<br> vendor:<br> model:<br>
revision:<br> serial:<br> WWN:<br> detachable: 0<br> can spindown: 0<br> rotational media: Yes, unknown rate<br> write-cache: unknown<br> ejectable: 0<br>
adapter: Unknown<br> ports:<br> similar devices:<br> media:<br> compat:<br> interface: (unknown)<br> if speed: (unknown)<br> ATA SMART: not available<br>
<br>added: /org/freedesktop/UDisks/devices/utdisk1p1<br>Showing information for /org/freedesktop/UDisks/devices/utdisk1p1<br> native-path: /sys/devices/virtual/block/utdisk1/utdisk1p1<br> device: 251:2<br>
device-file: /dev/utdisk1p1<br> presentation: /dev/utdisk1p1<br> by-id: /dev/disk/by-uuid/25E6-DE47<br> detected at: mié 09 jul 2014 13:05:23 WEST<br>
system internal: 0<br> removable: 0<br> has media: 1 (detected at mié 09 jul 2014 13:05:23 WEST)<br> detects change: 0<br> detection by polling: 0<br>
detection inhibitable: 0<br> detection inhibited: 0<br> is read only: 0<br> is mounted: 1<br> mount paths: /tmp/SUNWut/mnt/nicolas/noname<br> mounted by uid: 0<br>
presentation hide: 0<br> presentation nopolicy: 1<br> presentation name:<br> presentation icon:<br> size: 4284481536<br> block size: 512<br> job underway: no<br>
usage: filesystem<br> type: vfat<br> version: FAT32<br> uuid: 25E6-DE47<br> label: USB20FD<br> partition:<br>
part of: /org/freedesktop/UDisks/devices/utdisk1<br> scheme: mbr<br> number: 1<br> type: 0x0c<br> flags:<br> offset: 24576<br>
alignment offset: 0<br> size: 4284481536<br> label:<br> uuid:<br></code></dd></dl><span style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">On the other hand, the 'solid-hardware list' command (which seems to be the KDE's hardware control tool) doesn't list this device, which I guess is the problem. I also tried sticking the USB device to the server instead of the client, and it gets mounted and notified. So it's just the case where the user sticks in the USB drive into the thin-client and it gets mounted this way where it it's not shown.</span><br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">
<br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px"><span style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">Being stuck at this situation, I'd like to ask some questions to debug this:</span><br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">
<br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px"><span style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">1) What mechanism uses the 'Device notifier' to work? I mean, is it listening to HAL/UDEV/... and whenever something changes, it shows it up?</span><br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">
<span style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">2) Is there a way to manually notify a storage device, so it's shown upon some user's action to force it being shown?</span><br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">
<br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px"><span style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">Any help related with this will be very appreciated.</span><br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">
<br style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px"><span style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:21.280000686645508px">Thanks!</span><br>
</div>