Bug 56151

Summary: Udisks does not detect xD card as a removable device
Product: udisks Reporter: dgvirtual
Component: detectionAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: NEEDINFO --- QA Contact:
Severity: normal    
Priority: medium CC: martin.pitt
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Output of udevadm info --export-db

Description dgvirtual 2012-10-18 15:55:35 UTC
Created attachment 68762 [details]
Output of udevadm info --export-db

I am using Kubuntu 12.04 with KDE 4.9.2. KDE device notifier detects Olympus xD-Picture card as a non-removable media. It turns out the problem is not KDE specific, but may be a udisks problem (or maybe - kernel driver problem).

Original bug report is here: https://bugs.kde.org/show_bug.cgi?id=308552

with the disk not mounted:

output of 'udisksctl dump' ; my system does not have such command...

output of 'udevadm info --export-db' (attached)

$ cat /proc/self/mountinfo
15 20 0:14 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sysfs rw
16 20 0:3 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw
17 20 0:5 / /dev rw,relatime - devtmpfs udev rw,size=1011988k,nr_inodes=214217,mode=755
18 17 0:11 / /dev/pts rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=000
19 20 0:15 / /run rw,nosuid,relatime - tmpfs tmpfs rw,size=409020k,mode=755
20 1 8:5 / / rw,relatime - ext4 /dev/disk/by-uuid/5ca99dcb-a1fb-4967-bf6d-4c2e10a6c334 rw,errors=remount-ro,user_xattr,acl,barrier=1,data=ordered
21 15 0:16 / /sys/fs/fuse/connections rw,relatime - fusectl none rw
22 15 0:6 / /sys/kernel/debug rw,relatime - debugfs none rw
23 15 0:10 / /sys/kernel/security rw,relatime - securityfs none rw
24 19 0:17 / /run/lock rw,nosuid,nodev,noexec,relatime - tmpfs none rw,size=5120k
25 19 0:18 / /run/shm rw,nosuid,nodev,relatime - tmpfs none rw
26 20 8:1 / /media/windows rw,nosuid,nodev,relatime - fuseblk /dev/sda1 rw,user_id=0,group_id=0,default_permissions,allow_other
27 20 8:7 / /media/duomenys rw,nosuid,nodev,noexec,relatime - ext2 /dev/sda7 rw,errors=continue,acl
28 20 8:7 /Video /home/dg/Video rw,nosuid,nodev,noexec,relatime - ext2 /dev/sda7 rw,errors=continue,acl
29 16 0:19 / /proc/sys/fs/binfmt_misc rw,nosuid,nodev,noexec,relatime - binfmt_misc binfmt_misc rw

$ cat /etc/fstab
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
## root particija
UUID=5ca99dcb-a1fb-4967-bf6d-4c2e10a6c334 /               ext4    errors=remount-ro,user_xattr 0       1
# swap particija
UUID=70cbdb27-59d0-44b0-a9c5-280785e2c731 none            swap    sw              0       0
## windows particija
UUID=3EF82685F8263C11 /media/windows ntfs    defaults,nls=utf8,umask=007,gid=46 0       0
## duomenys particija: dabar ji ext2 !!!
UUID=567a0499-300e-45e2-a019-a8748e86046c /media/duomenys ext2  users,rw,noexec,auto,acl 0       0
## cd:
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
## bind 
/media/duomenys/Video/   /home/dg/Video    ext2    bind   0  0
Comment 1 Martin Pitt 2014-12-18 11:33:01 UTC
Do you still have this problem on current Kubuntu versions with udisks 2.x? It seems to me that this was reported against udisks 1.x, which has been deprecated for some years.

If so, what does /sys/class/sdX/removable contain? (Replace X with the actual device that corresponds to your card reader). It should be "1".
 
Thanks!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.