780
|
1 |
--- gnome-device-manager/gdm-info-provider-usb.c.org 2008-01-10 15:35:19.718187000 +0800
|
|
2 |
+++ gnome-device-manager/gdm-info-provider-usb.c 2008-01-10 15:44:37.112749000 +0800
|
|
3 |
@@ -237,7 +237,7 @@
|
|
4 |
{
|
|
5 |
const char *subsys;
|
|
6 |
|
|
7 |
- subsys = gdm_device_get_property_string (device, "info.subsystem");
|
|
8 |
+ subsys = gdm_device_get_property_string (device, "info.bus");
|
|
9 |
if (subsys != NULL && g_ascii_strcasecmp (subsys, "usb_device") == 0)
|
|
10 |
return TRUE;
|
|
11 |
|
|
12 |
@@ -450,7 +450,7 @@
|
|
13 |
{
|
|
14 |
const char *subsys;
|
|
15 |
|
|
16 |
- subsys = gdm_device_get_property_string (device, "info.subsystem");
|
|
17 |
+ subsys = gdm_device_get_property_string (device, "info.bus");
|
|
18 |
if (subsys != NULL && g_ascii_strcasecmp (subsys, "usb") == 0)
|
|
19 |
return TRUE;
|
|
20 |
|
|
21 |
--- gnome-device-manager/gdm-info-provider-pci.c.org 2008-01-10 15:34:37.885821000 +0800
|
|
22 |
+++ gnome-device-manager/gdm-info-provider-pci.c 2008-01-10 15:35:01.385422000 +0800
|
|
23 |
@@ -220,7 +220,7 @@
|
|
24 |
{
|
|
25 |
const char *subsys;
|
|
26 |
|
|
27 |
- subsys = gdm_device_get_property_string (device, "info.subsystem");
|
|
28 |
+ subsys = gdm_device_get_property_string (device, "info.bus");
|
|
29 |
if (subsys != NULL && g_ascii_strcasecmp (subsys, "pci") == 0)
|
|
30 |
return TRUE;
|
|
31 |
|