! 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 !
thunar not recognising /dev/mmcblk* devices via hal
Status:
RESOLVED: WONTFIX
Product:
Thunar-vfs
Component:
General

Comments

Description Niklas Närhinen 2008-01-12 00:17:54 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; fi; rv:1.9b2) Gecko/2007121016 Firefox/3.0b2
Build Identifier: 

When using my built-in mmc-reader on my laptop, thunar (as well as xfdesktop)
doesnt recognise my cards, which become /dev/mmcblk0p1

When attaching a usb stick becoming /dev/sdX# everything works fine.

Here's the info from /var/log/messages:
Jan 12 00:03:46 gandalf mmc0: new SD card at address 1234
Jan 12 00:03:46 gandalf mmcblk0: mmc0:1234 SD01G 962560KiB 
Jan 12 00:03:46 gandalf mmcblk0: p1
Jan 12 00:03:46 gandalf NetworkManager: <debug> [1200089026.083392]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/pci_1180_822_mmc_host_mmc_card_rca4660').


I'm using gentoo.


Reproducible: Always
Comment 1 Niklas Närhinen 2008-01-14 07:55:19 CET
Ok,
I dig around a little bit more, and if I start xfce with the SD card in the reader, I get the icon on my desktop and I can open it in thunar. But when I remove the card and put it back, it doesn't appear on the desktop or thunar again.
Comment 2 Benedikt Meurer editbugs 2008-01-14 08:31:58 CET
Please post the hal-device output for the SD card (including the storage device and the volume).
Comment 3 Niklas Närhinen 2008-01-14 09:24:57 CET
udi = '/org/freedesktop/Hal/devices/pci_1180_822_mmc_host_mmc_card_rca4660'
  mmc.serial = 2147483647  (0x7fffffff)  (int)
  info.bus = 'mmc'  (string)
  mmc.oem = 'Unknown (20552)'  (string)
  mmc.date = '09/2006'  (string)
  mmc.cid = '275048534430314711e540009a006900'  (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_1180_822_mmc_host_mmc_card_rca4660'  (string)
  mmc.vendor = 'Unknown (39)'  (string)
  linux.subsystem = 'mmc'  (string)
  mmc.csd = '004f00325f5983abf6dbff8f8a400000'  (string)
  mmc.scr = '0125000001000000'  (string)
  info.vendor = 'Unknown (39)'  (string)
  info.subsystem = 'mmc'  (string)
  mmc.rca = 4660  (0x1234)  (int)
  info.product = 'SD01G'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.sysfs_path = '/sys/class/mmc_host/mmc0/mmc0:1234'  (string)
  mmc.hwrev = 1  (0x1)  (int)
  mmc.fwrev = 1  (0x1)  (int)
  info.parent = '/org/freedesktop/Hal/devices/pci_1180_822_mmc_host'  (string)
  info.linux.driver = 'mmcblk'  (string)
Comment 4 Niklas Närhinen 2008-01-14 09:27:19 CET
37: udi = '/org/freedesktop/Hal/devices/pci_1180_822_mmc_host'
  mmc_host.host = 0  (0x0)  (int)
  info.capabilities = { 'mmc_host' } (string list)
  info.udi = '/org/freedesktop/Hal/devices/pci_1180_822_mmc_host'  (string)
  linux.subsystem = 'mmc_host'  (string)
  info.product = 'MMC/SD Host Adapter'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.sysfs_path = '/sys/class/mmc_host/mmc0'  (string)
  info.category = 'mmc_host'  (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_1180_822'  (string)



I'm sorry I missed that latter part of your request. Sorry for the spam.
Comment 5 Benedikt Meurer editbugs 2008-01-14 09:29:45 CET
Still missing the volume on the card.
Comment 6 Niklas Närhinen 2008-01-14 09:41:29 CET
I'm sorry I don't know how to get that information? Those two are the only information I get from hal about mmc.
Comment 7 Benedikt Meurer editbugs 2008-01-14 09:47:18 CET
Try hal-device-manager and check the devices below the MMC card.
Comment 8 Niklas Närhinen 2008-01-14 09:57:39 CET
All I can see is "SD01G", which is the same as I allready posted in Comment 3.
Comment 9 Benedikt Meurer editbugs 2008-01-14 10:02:53 CET
So, it looks like HAL does not detect the volume on the device for some reason, and hence there is no way for other software to know about it. It's not a bug in Thunar then, but a problem with HAL/udev on your system.
Comment 10 Nick Schermer editbugs 2014-12-03 09:19:32 CET
Close bug reports of archived products.

Bug #3798

Reported by:
Niklas Närhinen
Reported on: 2008-01-12
Last modified on: 2014-12-03

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information