Magellan Linux

Contents of /trunk/hal-info/patches/hal-info-20071212-dell-cdrom-nopoll.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 484 - (show annotations) (download)
Tue Feb 12 20:07:00 2008 UTC (16 years, 3 months ago) by niro
File size: 1014 byte(s)
-some hal-info fixes

1 --- hal-info-20070618/fdi/preprobe/10osvendor/10-ide-drives.fdi 2007-03-01 03:32:53.000000000 +0100
2 +++ hal-info-20070618.new/fdi/preprobe/10osvendor/10-ide-drives.fdi 2007-08-06 08:28:54.000000000 +0200
3 @@ -3,6 +3,19 @@
4 <deviceinfo version="0.2">
5
6 <device>
7 + <!-- Handle weird Dell Laptops that slow down the system if the optical
8 + drive is polled (RH Bug #138148) -->
9 + <match key="storage.bus" string="ide">
10 + <match key="storage.model" string="HL-DT-STCD-RW/DVD-ROM GCC-4240N">
11 + <match key="block.device" string="/dev/hdb">
12 + <merge key="storage.media_check_enabled" type="bool">false</merge>
13 + </match>
14 + <match key="block.device" string="/dev/hdd">
15 + <merge key="storage.media_check_enabled" type="bool">false</merge>
16 + </match>
17 + </match>
18 + </match>
19 +
20 <!-- Handle weird IDE drives (Jaz and Zip) by matching on the IDE model -->
21 <match key="storage.bus" string="ide">
22 <match key="storage.drive_type" string="disk">