! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Card reader not visible through Thunar/XFdesktop
Status:
CLOSED: FIXED
Product:
Thunar-vfs
Component:
General

Comments

Description Sridhar Dhanapalan 2006-12-09 12:20:58 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)
Build Identifier: 

XFce shows mountable devices such as /dev/sda1 in Thunar and on the desktop. I have a card reader in my Dell Inspiron 9400 laptop which mounts inserted cards at the node /dev/mmcblk0p1. When I insert a card, it is not shown on the desktop or automatically mounted.

I can mount that node using 'mount' on the command line, so the device definitely is working. Adding the device node to /etc/fstab does not make a difference.

I am using Xubuntu 6.10 (Edgy).

The details of the card reader (from lspci) are as follows:

03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
03:01.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)

I suspect this is because the device node is not /dev/[hs]d? or /dev/scd?. My DVD drive (which is /dev/scd0) works as expected.

Reproducible: Always

Steps to Reproduce:
1. Place a card in the card reader.
2. Wait for Thunar and XFdesktop to update with an icon to mount it.

Actual Results:  
Nothing.

Expected Results:  
An icon should show on the desktop and in the left pane of Thunar, giving an option to mount the device.
Comment 1 Sridhar Dhanapalan 2006-12-09 13:02:43 CET
When a card is inserted, Nautilus displays the device as an "SD/MMC Drive" in the file browser and on the desktop. Thunar does not do this.

The following output is from 'lshal -m', running as a card is inserted, mounted and then unmounted and removed:

pci_1180_822_mmc_host_mmc_card_rca40956 added
pci_1180_822_mmc_host_mmc_card_rca40956_storage added
volume_uuid_3539_6237 added
volume_uuid_3539_6237 property volume.mount_point = '/media/card'
volume_uuid_3539_6237 property volume.is_mounted = true
volume_uuid_3539_6237 property volume.mount_point = ''
volume_uuid_3539_6237 property volume.is_mounted = false
volume_uuid_3539_6237 removed
pci_1180_822_mmc_host_mmc_card_rca40956 removed
pci_1180_822_mmc_host_mmc_card_rca40956_storage removed
Comment 2 Benedikt Meurer editbugs 2007-01-02 11:46:38 CET
Please post the output of hal-device for your device.
Comment 3 Sridhar Dhanapalan 2007-01-02 19:57:22 CET
Created attachment 917 
hal-device output for card reader
Comment 4 Benedikt Meurer editbugs 2007-01-03 10:11:32 CET
This one contains neither a block device nor a volume, nothing that could be mounted.
Comment 5 Sridhar Dhanapalan 2007-01-03 11:45:06 CET
Just in case I missed something, I'll attach my complete (unedited) output from hal-device and lspci -v. My card reader is a Ricoh R5C592.
Comment 6 Sridhar Dhanapalan 2007-01-03 11:45:53 CET
Created attachment 918 
hal-device
Comment 7 Sridhar Dhanapalan 2007-01-03 11:46:20 CET
Created attachment 919 
lspci -v
Comment 8 Benedikt Meurer editbugs 2007-01-03 11:52:10 CET
Your card reader doesn't seem to show up. Make sure you insert a card prior to running hal-device.
Comment 9 Sridhar Dhanapalan 2007-01-03 13:33:41 CET
Created attachment 922 
hal-device output after a card has been inserted and mounted
Comment 10 Benedikt Meurer editbugs 2007-01-06 21:17:25 CET
Created attachment 926 
Possible fix

Yes, that helped! Please try the attached patch, requires latest Thunar and libexo from SVN.
Comment 11 Benedikt Meurer editbugs 2007-01-07 23:10:53 CET
Fixed with revision 24301.

2007-01-08	Benedikt Meurer <benny@xfce.org>

	* thunar-vfs/thunar-vfs-volume-hal.c,
	  thunar-vfs/thunar-vfs-volume.{c,h}: Add support for memory cards and
	  generic removable disk drives. Bug #2652.

Comment 12 Benedikt Meurer editbugs 2007-01-16 13:06:47 CET
*** Bug 2762 has been marked as a duplicate of this bug. ***

Bug #2652

Reported by:
Sridhar Dhanapalan
Reported on: 2006-12-09
Last modified on: 2010-11-07
Duplicates (1):

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Version:
unspecified

Attachments

hal-device output for card reader (5.08 KB, text/plain)
2007-01-02 19:57 CET , Sridhar Dhanapalan
no flags
hal-device (108.49 KB, text/plain)
2007-01-03 11:45 CET , Sridhar Dhanapalan
no flags
lspci -v (6.27 KB, text/plain)
2007-01-03 11:46 CET , Sridhar Dhanapalan
no flags
hal-device output after a card has been inserted and mounted (113.21 KB, text/plain)
2007-01-03 13:33 CET , Sridhar Dhanapalan
no flags
Possible fix (3.33 KB, patch)
2007-01-06 21:17 CET , Benedikt Meurer
no flags

Additional information