Bug 32917 - EeePC 900 SD card reader icon looks like a usb stick in GNOME
Summary: EeePC 900 SD card reader icon looks like a usb stick in GNOME
Status: RESOLVED FIXED
Alias: None
Product: udisks
Classification: Unclassified
Component: detection (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-08 09:23 UTC by Sitsofe Wheeler
Modified: 2011-03-10 14:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
The sysfs output as reported by udevadm for the card reader in my EeePC 900 when it is at /dev/sdc (4.78 KB, text/plain)
2011-01-08 09:23 UTC, Sitsofe Wheeler
Details

Description Sitsofe Wheeler 2011-01-08 09:23:00 UTC
Created attachment 41774 [details]
The sysfs output as reported by udevadm for the card reader in my EeePC 900 when it is at /dev/sdc 

Description of the problem:
In Ubuntu 8.04 (when HAL was still being used) an update brought a welcome change where SD cards in my EeePC 900's internal SD card reader would actually get an SD card icon on the desktop rather than a standard USB icon. In 9.10 SD cards were back to looking like USB sticks (this issue remains in 10.10 too).

Steps to reproduce:
1. Insert SD card while GNOME is running.

Expected result:
Icon like /usr/share/icons/Humanity/devices/48/gnome-dev-media-sdmmc.svg to be shown on the desktop for the SD card partitions.

Actual result:
An icon like /usr/share/icons/Humanity/devices/48/drive-removable-media-usb.svg is shown.

How reproducible is the problem?
It is reproducible every time.

Additional information:
After talking to David Zeuthen, it turns out that fixing device types is currently being handled by udev rules in /lib/udev/rules.d/80-udisks.rules

A udev rule like
SUBSYSTEMS=="usb", ENV{ID_MODEL}=="*Reader*SD*", ENV{ID_DRIVE_FLASH_SD}="1"
(which I am currently putting in /etc/udev/rules.d/usb-sd.rules) shows the expected icon on my EeePC 900.

Originally filed on https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/460713 .
Comment 1 Sitsofe Wheeler 2011-01-08 10:00:44 UTC
Version Information:
Ubuntu 10.10
udisks 1.0.1+git20100614-3


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.