Package: unknown
Severity: wishlist
Tags: patch
Reporting this after reading Martin Zobel-Helas's "How YOU can help Debian!"
blog post [0].
For quite some time, I've been using an ExpressCard CompactFlash card reader.
It did however require manual operations:
sudo modprobe pciehp pciehp_force=1
sudo mount /dev/sdc1 /mnt
and for a long time, I've been wondering how to make this as simple as reacting
to events reported by KDE's device notifier, like what happens for USB thumb
drives or CD.
First part was fixed by adding
---
pciehp pciehp_force=1
---
to /etc/modules
Second part was fixed by creating /etc/hal/fdi/information/CompactFlash.fdi
with the following content:
---
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.product" string="CF Card">
<merge key="storage.removable" type="bool">true</merge>
</match>
</device>
</deviceinfo>
---
In case you have to debug a similar issue, some friends:
---
hal-device |less
sudo hald --daemon=no --verbose=yes 2>&1 | tee hal.log
---
and [1].
HTH,
Jean-Marc Ranger
[0] http://blog.zobel.ftbfs.de/2011/06/how-you-can-help-debian-1.html
[1] http://people.freedesktop.org/~dkukawka/hal-spec-git/hal-spec.html
-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]