|
|
@ -3800,7 +3800,7 @@ TQString TDEHardwareDevices::findPCIDeviceName(TQString vendorid, TQString model
|
|
|
|
if (!pci_id_map) {
|
|
|
|
if (!pci_id_map) {
|
|
|
|
pci_id_map = new TDEDeviceIDMap;
|
|
|
|
pci_id_map = new TDEDeviceIDMap;
|
|
|
|
|
|
|
|
|
|
|
|
TQString database_filename = "/usr/share/pci.ids";
|
|
|
|
TQString database_filename = "/usr/share/hwdata/pci.ids";
|
|
|
|
if (!TQFile::exists(database_filename)) {
|
|
|
|
if (!TQFile::exists(database_filename)) {
|
|
|
|
database_filename = "/usr/share/misc/pci.ids";
|
|
|
|
database_filename = "/usr/share/misc/pci.ids";
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -3910,7 +3910,7 @@ TQString TDEHardwareDevices::findUSBDeviceName(TQString vendorid, TQString model
|
|
|
|
if (!usb_id_map) {
|
|
|
|
if (!usb_id_map) {
|
|
|
|
usb_id_map = new TDEDeviceIDMap;
|
|
|
|
usb_id_map = new TDEDeviceIDMap;
|
|
|
|
|
|
|
|
|
|
|
|
TQString database_filename = "/usr/share/usb.ids";
|
|
|
|
TQString database_filename = "/usr/share/hwdata/usb.ids";
|
|
|
|
if (!TQFile::exists(database_filename)) {
|
|
|
|
if (!TQFile::exists(database_filename)) {
|
|
|
|
database_filename = "/usr/share/misc/usb.ids";
|
|
|
|
database_filename = "/usr/share/misc/usb.ids";
|
|
|
|
}
|
|
|
|
}
|
|
|
|