Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 643241 Details for
Bug 843605
expresscard test should not use HAL
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
expresscard: add auto-detection
0001-expresscard-add-auto-detection.patch (text/plain), 1.39 KB, created by
Caspar Zhang
on 2012-11-12 06:05:10 UTC
(
hide
)
Description:
expresscard: add auto-detection
Filename:
MIME Type:
Creator:
Caspar Zhang
Created:
2012-11-12 06:05:10 UTC
Size:
1.39 KB
patch
obsolete
>From 1c0af22c37814763ce080401ff167b3fc43633d9 Mon Sep 17 00:00:00 2001 >From: Caspar Zhang <czhang@redhat.com> >Date: Mon, 12 Nov 2012 14:00:17 +0800 >Subject: [PATCH] expresscard: add auto-detection > >we expect a laptop(has battery) with USB port and PCIE port is able to >test expresscard. > >Signed-off-by: Caspar Zhang <czhang@redhat.com> >--- > tests/expresscard/expresscard.py | 15 ++++++++++++++- > 1 file changed, 14 insertions(+), 1 deletion(-) > >diff --git a/tests/expresscard/expresscard.py b/tests/expresscard/expresscard.py >index 2b30efb..64e0e07 100644 >--- a/tests/expresscard/expresscard.py >+++ b/tests/expresscard/expresscard.py >@@ -44,7 +44,20 @@ class ExpressCardTest(USBTestBase): > > def plan(self, planner): > tests = list() >- # manually planned for now >+ hasUSB = False >+ hasBattery = False >+ hasPCIE = False >+ devices = planner.getUdevDeviceDetector().getDevices() >+ for device in devices: >+ if device.getProperty("SUBSYSTEM") == "usb": >+ hasUSB = True >+ if device.getProperty("SUBSYSTEM") == "power_supply": >+ hasBattery = True >+ if device.getProperty("DRIVER") == "pcieport": >+ hasPCIE = True >+ if hasUSB and hasBattery and hasPCIE: >+ test = self.makeCopy() >+ tests.append(test) > return tests > > def getPCIDevices(self): >-- >1.7.12.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
czhang
: review? (
gnichols
)
Actions:
View
|
Diff
Attachments on
bug 843605
:
641801
| 643241