[Pkg-utopia-maintainers] Bug#592719: Udisks patch for floppy drives
BH
shoalcreek5 at gmail.com
Wed Mar 23 16:39:10 UTC 2011
Here's a patch that makes floppies work correctly in Gnome and many
other places (latest version of source code for Wheezy from apt-get
source). I still have a floppy, this compiles and works well where the
floppies do not work in the default version. I've also attached a diff file.
--- udisks-1.0.2/src/device.c 2011-03-23 10:18:23.000000000 -0600
+++ udisks-1.0.2.patched/src/device.c 2011-03-23 10:23:03.000000000 -0600
@@ -4486,7 +4486,8 @@
}
else
{
- if (g_udev_device_get_property_as_boolean (device->priv->d,
"ID_CDROM_MEDIA"))
+ if (g_udev_device_get_property_as_boolean (device->priv->d,
"ID_CDROM_MEDIA") ||
+ g_udev_device_get_property_as_boolean (device->priv->d,
"ID_DRIVE_FLOPPY"))
{
media_available = TRUE;
}
--
BH
~~~~~~~~~~~~~~~~~~~~
Random quotation:
Just remember: when you go to court, you are trusting your fate to
twelve people that weren't smart enough to get out of jury duty!
~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: device.c.diff
Type: text/x-patch
Size: 538 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20110323/918aa1a3/attachment-0001.bin>
More information about the Pkg-utopia-maintainers
mailing list