How to make devkit automount the new class or removeable devices

Maxim Levitsky maximlevitsky at gmail.com
Mon Jan 4 11:57:51 PST 2010


On Sun, 2010-01-03 at 01:07 +0200, Maxim Levitsky wrote: 
> Hi folks,
> Could you save me some of my free time, and give me an advice on how to
> make devicekit and higher level libraries recognize xD picture cards,
> support for which I recently have written.
> When I feel confident that it works, I will release it under GPL of
> course.
> 
> Currently this is what I receive from udev:
> 
> 
> The xD device:
> UDEV  [1262469549.601179] change   /devices/virtual/mtd/mtd0/smblka (block)
> UDEV_LOG=3
> ACTION=change
> DEVPATH=/devices/virtual/mtd/mtd0/smblka
> SUBSYSTEM=block
> DEVNAME=/dev/smblka
> DEVTYPE=disk
> SEQNUM=1694
> ID_FS_UUID=1970-BEB3
> ID_FS_UUID_ENC=1970-BEB3
> ID_FS_VERSION=FAT32
> ID_FS_TYPE=vfat
> ID_FS_USAGE=filesystem
> DKD_MEDIA_AVAILABLE=1
> DKD_PARTITION_TABLE=1
> DKD_PARTITION_TABLE_SCHEME=mbr
> DKD_PRESENTATION_NOPOLICY=0
> MAJOR=4095
> MINOR=0
> DEVLINKS=/dev/block/4095:0 /dev/disk/by-uuid/1970-BEB3
> 
> ------------------------------------------------------------------
> 
> The SD card, which is automounted correctly:
> UDEV  [1262469429.481464] add      /devices/pci0000:00/0000:00:1e.0/0000:07:00.1/mmc_host/mmc0/mmc0:8001/block/mmcblk0 (block)
> UDEV_LOG=3
> ACTION=add
> DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:07:00.1/mmc_host/mmc0/mmc0:8001/block/mmcblk0
> SUBSYSTEM=block
> DEVNAME=/dev/mmcblk0
> DEVTYPE=disk
> SEQNUM=1679
> ID_NAME=SD01G
> ID_SERIAL=0x009cc3b6
> ID_PATH=pci-0000:07:00.1
> ID_FS_UUID=1DBA-773C
> ID_FS_UUID_ENC=1DBA-773C
> ID_FS_VERSION=FAT32
> ID_FS_TYPE=vfat
> ID_FS_USAGE=filesystem
> DKD_MEDIA_AVAILABLE=1
> DKD_PARTITION_TABLE=1
> DKD_PARTITION_TABLE_SCHEME=mbr
> DKD_PRESENTATION_NOPOLICY=0
> MAJOR=179
> MINOR=0
> DEVLINKS=/dev/block/179:0 /dev/disk/by-id/mmc-SD01G_0x009cc3b6 /dev/disk/by-path/pci-0000:07:00.1 /dev/disk/by-uuid/1DBA-773C
> 
> 
> Devicekit sees the xD device as a plain disk and doesn't automount it.
> (I think that nautilus does the automounting though)
> 
> 
> Best regards,
> 	Maxim Levitsky
> 

Anybody?

Best regardd,
Maxim Levitsky



More information about the devkit-devel mailing list