Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH 3/7] Input: pxa27x_keypad - Include linux/of.h header
From: Sachin Kamat @ 2013-09-27 11:52 UTC (permalink / raw)
  To: linux-input; +Cc: dmitry.torokhov, sachin.kamat
In-Reply-To: <1380282729-26669-1-git-send-email-sachin.kamat@linaro.org>

'of_match_ptr' is defined in linux/of.h. Include it explicitly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/input/keyboard/pxa27x_keypad.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/keyboard/pxa27x_keypad.c b/drivers/input/keyboard/pxa27x_keypad.c
index a2e758d..186138c 100644
--- a/drivers/input/keyboard/pxa27x_keypad.c
+++ b/drivers/input/keyboard/pxa27x_keypad.c
@@ -27,6 +27,7 @@
 #include <linux/err.h>
 #include <linux/input/matrix_keypad.h>
 #include <linux/slab.h>
+#include <linux/of.h>
 
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
-- 
1.7.9.5


^ permalink raw reply related

* [PATCH 2/7] Input: gpio_keys_polled - Include linux/of.h header
From: Sachin Kamat @ 2013-09-27 11:52 UTC (permalink / raw)
  To: linux-input; +Cc: dmitry.torokhov, sachin.kamat
In-Reply-To: <1380282729-26669-1-git-send-email-sachin.kamat@linaro.org>

'of_match_ptr' is defined in linux/of.h. Include it explicitly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/input/keyboard/gpio_keys_polled.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys_polled.c
index cd5ed9e..4e42819 100644
--- a/drivers/input/keyboard/gpio_keys_polled.c
+++ b/drivers/input/keyboard/gpio_keys_polled.c
@@ -25,6 +25,7 @@
 #include <linux/platform_device.h>
 #include <linux/gpio.h>
 #include <linux/gpio_keys.h>
+#include <linux/of.h>
 #include <linux/of_platform.h>
 #include <linux/of_gpio.h>
 
-- 
1.7.9.5


^ permalink raw reply related

* [PATCH 1/7] Input: gpio_keys - Include linux/of.h header
From: Sachin Kamat @ 2013-09-27 11:52 UTC (permalink / raw)
  To: linux-input; +Cc: dmitry.torokhov, sachin.kamat

'of_match_ptr' is defined in linux/of.h. Include it explicitly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/input/keyboard/gpio_keys.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c
index 440ce32..2db1324 100644
--- a/drivers/input/keyboard/gpio_keys.c
+++ b/drivers/input/keyboard/gpio_keys.c
@@ -26,6 +26,7 @@
 #include <linux/gpio_keys.h>
 #include <linux/workqueue.h>
 #include <linux/gpio.h>
+#include <linux/of.h>
 #include <linux/of_platform.h>
 #include <linux/of_gpio.h>
 #include <linux/spinlock.h>
-- 
1.7.9.5


^ permalink raw reply related

* Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup
From: Jiri Kosina @ 2013-09-27 10:50 UTC (permalink / raw)
  To: Joseph Salisbury
  Cc: list, Haiyang Zhang, LKML, open, Dan Carpenter, HID CORE LAYER,
	devel, thomas
In-Reply-To: <52432152.3030100@canonical.com>

On Wed, 25 Sep 2013, Joseph Salisbury wrote:

> After further testing reverting the following commit does in fact
> resolve the bug:
> 
> commit b1a1442a23776756b254b69786848a94d92445ba
> Author: Jiri Kosina <jkosina@suse.cz>
> Date: Mon Jun 3 11:27:48 2013 +0200
> 
>     HID: core: fix reporting of raw events
> 
> Reverting this commit in v3.12-rc2 prevents the system from locking up, 
> which happens when connecting a bluetooth trackpad.
> 
> Jiri, do you think we should revert this patch, or is there some further 
> debugging/data collecting you would like to do?

Hi Joseph,

in this mail:

	Message-ID: <5241992E.3090805@canonical.com>
	Date: Tue, 24 Sep 2013 09:52:46 -0400

you said that reverting this commit doesn't prevent the lockups, so I am 
rather confused ... ?

Thanks,

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply

* Re: [BUG?] HID: uhid: add devname module alias
From: Jiri Kosina @ 2013-09-26  9:06 UTC (permalink / raw)
  To: David Herrmann
  Cc: Tom Gundersen, Marcel Holtmann, Kay Sievers,
	linux-input@vger.kernel.org, LKML
In-Reply-To: <CANq1E4QNE7v1fV71E8EwPiKRR1A63erVKVYO07mJ0ySD+etG6g@mail.gmail.com>

On Mon, 9 Sep 2013, David Herrmann wrote:

> >
> > The above commit (60cbd53 in mainline) doesn't appear to work for me.
> > I.e., depmod does not create an entry in modules.devname and hence no
> > device node is created on boot.
> >
> > If I understand correctly, you'd also need to create the correct
> > "char-major-<MAJOR>-<MINOR>" alias (which I don't think you can do as
> > long as you are using MISC_DYNAMIC_MINOR).
> >
> > Or am I missing something?
> 
> Nope, that's correct as discussed on IRC. Patch pending as:
>   Subject: [PATCH] HID: uhid: allocate static minor
>   Message-Id: <1378744434-10883-1-git-send-email-dh.herrmann@gmail.com>

I have now queued that one. Thanks,

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply

* [PATCH] Scale up touch width and height values for Intuos Pro
From: Jason Gerecke @ 2013-09-25 23:22 UTC (permalink / raw)
  To: linuxwacom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	linux-input-u79uwXL29TY76Z2rM5mHXA,
	pinglinux-Re5JQEeQqe8AvxtiuMwx3w,
	dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w

The width and height values reported by the Intuos Pro are not in
surface units as required by the MT protocol. A simple multiplier
of 100x seems to be approximately correct based on my tests.

Signed-off-by: Jason Gerecke <killertofu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 drivers/input/tablet/wacom_wac.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
index 9c8eded..3f75f1d 100644
--- a/drivers/input/tablet/wacom_wac.c
+++ b/drivers/input/tablet/wacom_wac.c
@@ -1151,8 +1151,8 @@ static void wacom_bpt3_touch_msg(struct wacom_wac *wacom, unsigned char *data)
 		int width, height;
 
 		if (features->type >= INTUOSPS && features->type <= INTUOSPL) {
-			width  = data[5];
-			height = data[6];
+			width  = data[5] * 100;
+			height = data[6] * 100;
 		} else {
 			/*
 			 * "a" is a scaled-down area which we assume is
-- 
1.8.4


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk

^ permalink raw reply related

* Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup
From: Joseph Salisbury @ 2013-09-25 17:45 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Dan Carpenter, thomas, list, Haiyang Zhang, LKML, open,
	HID CORE LAYER, devel
In-Reply-To: <alpine.LNX.2.00.1309241129370.18703@pobox.suse.cz>

On 09/24/2013 05:29 AM, Jiri Kosina wrote:
> On Mon, 16 Sep 2013, Joseph Salisbury wrote:
>
>>>> Can you explain a little further?  Mark commit a4a23f6 as bad?  An
>>>> initial bisect already reported that was the first bad commit, so it
>>>> can't be marked bad.  The oops on memcpy() happens after commit a4a23f6
>>>> is reverted.  The oops on memcpy() did not happen before a4a23f6 was
>>>> committed, so I assume this new oops was introduced by a change later.
>>>>
>>>> Right now I'm bisecting down the oops on memcpy() by updating the bisect
>>>> with good or bad, depending if the test kernel hit the oops.  I then
>>>> revert a4a23f6, so that revert is the HEAD of the tree each time before
>>>> building the kernel again(As long as the commit spit out by bisect is
>>>> after when a4a23f6 was introduced).
>>> Yep.  Please continue bisecting the memcpy() oops.
>>>
>>> kmemdup() is just a kzalloc() followed by a memcpy().  When we split it
>>> apart by reverting the patch then we would expect the oops to move to
>>> the memcpy() part.  Somehow "desc" is a bogus pointer, but I don't
>>> immediately see how that is possible.
>>>
>>> regards,
>>> dan carpenter
>> Thanks for the details.  We'll continue the bisect and let you know how
>> it goes.
> Did this please yield any useful result?
>
> Thanks,
>

After further testing reverting the following commit does in fact
resolve the bug:

commit b1a1442a23776756b254b69786848a94d92445ba
Author: Jiri Kosina <jkosina@suse.cz>
Date: Mon Jun 3 11:27:48 2013 +0200

    HID: core: fix reporting of raw events

Reverting this commit in v3.12-rc2 prevents the system from locking up, which happens when connecting a bluetooth trackpad.

Jiri,  do you think we should revert this patch, or is there some further debugging/data collecting you would like to do?

Thanks,

Joe

^ permalink raw reply

* Re: [PATCH] hid-elo: some systems cannot stomach work around
From: Jiri Kosina @ 2013-09-25  9:29 UTC (permalink / raw)
  To: oliver-GvhC2dPhHPQdnm+yROfE0A
  Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-input-u79uwXL29TY76Z2rM5mHXA, jslaby-AlSwsSmVLrQ,
	Oliver Neukum
In-Reply-To: <1380094975-4481-1-git-send-email-oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>

On Wed, 25 Sep 2013, oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org wrote:

> Some systems although they have firmware class 'M', which usually
> needs a work around to not crash, must not be subjected to the
> work around because the work around crashes them. They cannot be
> told apart by their own device descriptor, but as they are part
> of compound devices, can be identified by looking at their siblings.

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply

* [PATCH] hid-elo: some systems cannot stomach work around
From: oliver @ 2013-09-25  7:42 UTC (permalink / raw)
  To: linux-usb, linux-input, jkosina, jslaby; +Cc: Oliver Neukum

From: Oliver Neukum <oneukum@suse.de>

Some systems although they have firmware class 'M', which usually
needs a work around to not crash, must not be subjected to the
work around because the work around crashes them. They cannot be
told apart by their own device descriptor, but as they are part
of compound devices, can be identified by looking at their siblings.

V2: fixed formatting

Signed-off-by: Oliver Neukum <oneukum@suse.de>
---
 drivers/hid/hid-elo.c | 35 ++++++++++++++++++++++++++++++++++-
 1 file changed, 34 insertions(+), 1 deletion(-)

diff --git a/drivers/hid/hid-elo.c b/drivers/hid/hid-elo.c
index f042a6c..4e49462 100644
--- a/drivers/hid/hid-elo.c
+++ b/drivers/hid/hid-elo.c
@@ -181,7 +181,40 @@ fail:
  */
 static bool elo_broken_firmware(struct usb_device *dev)
 {
-	return use_fw_quirk && le16_to_cpu(dev->descriptor.bcdDevice) == 0x10d;
+	struct usb_device *hub = dev->parent;
+	struct usb_device *child = NULL;
+	u16 fw_lvl = le16_to_cpu(dev->descriptor.bcdDevice);
+	u16 child_vid, child_pid;
+	int i;
+    
+	if (!use_fw_quirk)
+		return false;
+	if (fw_lvl != 0x10d)
+		return false;
+
+	/* iterate sibling devices of the touch controller */
+	usb_hub_for_each_child(hub, i, child) {
+		child_vid = le16_to_cpu(child->descriptor.idVendor);
+		child_pid = le16_to_cpu(child->descriptor.idProduct);
+
+		/*
+		 * If one of the devices below is present attached as a sibling of 
+		 * the touch controller then  this is a newer IBM 4820 monitor that 
+		 * does not need the IBM-requested workaround if fw level is
+		 * 0x010d - aka 'M'.
+		 * No other HW can have this combination.
+		 */
+		if (child_vid==0x04b3) {
+			switch (child_pid) {
+			case 0x4676: /* 4820 21x Video */
+			case 0x4677: /* 4820 51x Video */
+			case 0x4678: /* 4820 2Lx Video */
+			case 0x4679: /* 4820 5Lx Video */
+				return false;
+			}
+		}
+	}
+	return true;
 }
 
 static int elo_probe(struct hid_device *hdev, const struct hid_device_id *id)
-- 
1.8.3.1


^ permalink raw reply related

* comprehension for non-programmers: evdev, uTouch, Multi-Touch
From: ScotX @ 2013-09-24 22:16 UTC (permalink / raw)
  To: linux-input

Hi everybody,

if you have a look at this diagram of the Linux graphics stack [1] can somebody point out, how uTouch respectively multi-touch is build up?
Is it a user-space component like libdrm that talks to the kernel-module evdev? Is it a kernel module?

I also created some other diagrams as well [2]. //Obviously I am not a programmer//, I'd simply like to better comprehend the software I am running (or will be running in the future).

I would like to get a better grasp of the handling of touchscreens nonetheless. No, I do not have a touchscreen.
I read about Wayland, recreated the entire Mesa 3D article and wrote about the free and open-source graphics drivers [3]. What about the INPUT?

While I am at it, I would also like to query, whether there is some API for the INPUT, analogue to OpenGL for rendering acceleration or OpenAL for sound. SDL?

Regards,
ScotXW

[1] https://commons.wikimedia.org/wiki/File:Linux_Graphics_Stack_2013.svg
[2] https://commons.wikimedia.org/wiki/User:ScotXW
[3] https://en.wikipedia.org/wiki/Free_and_open-source_device_drivers:_graphics

^ permalink raw reply

* 045e:0745 [HP TouchSmart tm2t-2200] No scancode for several keys of Microsoft Comfort Desktop 5000
From: Ari Fogel @ 2013-09-24 18:43 UTC (permalink / raw)
  To: linux-input


[1]. Summary:
045e:0745 [HP TouchSmart tm2t-2200] No scancode for several keys of
Microsoft Comfort Desktop 5000

[2]. Link to original bug report in launchpad:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1168224

[2]. Bug description:
I wanted to map the keys labeled '1', '2', '3', '4', and '5' above the
F-keys between the camera key and the star key, and directly to the
right of the right ALT key but I discovered that these raise no events
whatsoever via dmesg, xev, nor showkey.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-40-generic 3.2.0-40.64
ProcVersionSignature: Ubuntu 3.2.0-40.64-generic 3.2.40
Uname: Linux 3.2.0-40-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: arifogel 1861 F.... pulseaudio
 /dev/snd/controlC0: arifogel 1861 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xc4500000 irq 45'
   Mixer name : 'IDT 92HD81B1X5'
   Components : 'HDA:111d7605,103c1486,00100402'
   Controls : 16
   Simple ctrls : 9
Card1.Amixer.info:
 Card hw:1 'Generic'/'HD-Audio Generic at 0xc4420000 irq 47'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 6
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Thu Apr 11 20:50:37 2013
HibernationDevice: RESUME=UUID=e46d0966-e5ee-4f6e-9e3f-1f21a65ac784
MachineType: Hewlett-Packard HP TouchSmart tm2 Notebook PC
MarkForUpload: True
ProcFB:
 0 inteldrmfb
 1 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-40-generic
root=UUID=3be4864c-c530-4049-8cbf-dc74129749b5 ro loop.max_part=63
acpi_osi=Linux acpi_backlight=vendor
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-40-generic N/A
 linux-backports-modules-3.2.0-40-generic N/A
 linux-firmware 1.79.1
SourcePackage: linux
StagingDrivers: mei
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/18/2011
dmi.bios.vendor: Insyde
dmi.bios.version: F.25
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 1486
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 83.20
dmi.chassis.asset.tag: CNU1120G9K
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias:
dmi:bvnInsyde:bvrF.25:bd02/18/2011:svnHewlett-Packard:pnHPTouchSmarttm2NotebookPC:pvr0587220000242A20000220100:rvnHewlett-Packard:rn1486:rvr83.20:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP TouchSmart tm2 Notebook PC
dmi.product.version: 0587220000242A20000220100
dmi.sys.vendor: Hewlett-Packard
[3]. Keywords (couldn't find authoritative list):
kernel

[4]. Kernel version (/proc/version)
Linux version 3.11.0-031100rc4-generic (apw@gomeisa) (gcc version 4.6.3
(Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201308041735 SMP Sun Aug 4 21:36:46
UTC 2013

[5]. N/A

[6]. N/A

[7]. Environment
Description:    Ubuntu 12.04.2 LTS
Release:    12.04

[7.1]. output of ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux vademecum 3.11.0-031100rc4-generic #201308041735 SMP Sun Aug 4
21:36:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Gnu C                  4.6
Gnu make               3.81
binutils               2.22
util-linux             2.20.1
mount                  support
module-init-tools      3.16
e2fsprogs              1.42
pcmciautils            018
PPP                    2.4.5
Linux C Library        2.15
Dynamic linker (ldd)   2.15
Procps                 3.2.8
Net-tools              1.60
Kbd                    1.15.2
Sh-utils               8.13
wireless-tools         30
Modules Loaded         bnep rfcomm parport_pc ppdev ext2
snd_hda_codec_hdmi arc4 uvcvideo snd_hda_codec_idt videobuf2_core
rt2800pci rt2x00mmio videodev rt2800lib usbhid crc_ccitt
videobuf2_vmalloc snd_hda_intel hid rt2x00pci wacom snd_hda_codec
rt2x00lib videobuf2_memops btusb bluetooth mac80211 radeon i915
snd_hwdep snd_pcm snd_seq_midi snd_rawmidi cfg80211 ttm psmouse
snd_seq_midi_event snd_seq mei_me snd_timer snd_seq_device
drm_kms_helper snd drm joydev mei soundcore intel_ips hp_accel hp_wmi
sparse_keymap i2c_algo_bit wmi lpc_ich serio_raw eeprom_93cx6
snd_page_alloc lis3lv02d video mac_hid input_polldev lp parport ahci
libahci r8169 mii

[7.2]. processor information from /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 37
model name    : Intel(R) Core(TM) i5 CPU       U 470  @ 1.33GHz
stepping    : 5
microcode    : 0x2
cpu MHz        : 666.000
cache size    : 3072 KB
physical id    : 0
siblings    : 4
core id        : 0
cpu cores    : 2
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 11
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
xtpr pdcm pcid sse4_1 sse4_2 popcnt lahf_lm ida arat dtherm tpr_shadow
vnmi flexpriority ept vpid
bogomips    : 2660.02
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

processor    : 1
vendor_id    : GenuineIntel
cpu family    : 6
model        : 37
model name    : Intel(R) Core(TM) i5 CPU       U 470  @ 1.33GHz
stepping    : 5
microcode    : 0x2
cpu MHz        : 666.000
cache size    : 3072 KB
physical id    : 0
siblings    : 4
core id        : 0
cpu cores    : 2
apicid        : 1
initial apicid    : 1
fpu        : yes
fpu_exception    : yes
cpuid level    : 11
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
xtpr pdcm pcid sse4_1 sse4_2 popcnt lahf_lm ida arat dtherm tpr_shadow
vnmi flexpriority ept vpid
bogomips    : 2660.02
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

processor    : 2
vendor_id    : GenuineIntel
cpu family    : 6
model        : 37
model name    : Intel(R) Core(TM) i5 CPU       U 470  @ 1.33GHz
stepping    : 5
microcode    : 0x2
cpu MHz        : 666.000
cache size    : 3072 KB
physical id    : 0
siblings    : 4
core id        : 2
cpu cores    : 2
apicid        : 4
initial apicid    : 4
fpu        : yes
fpu_exception    : yes
cpuid level    : 11
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
xtpr pdcm pcid sse4_1 sse4_2 popcnt lahf_lm ida arat dtherm tpr_shadow
vnmi flexpriority ept vpid
bogomips    : 2660.02
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

processor    : 3
vendor_id    : GenuineIntel
cpu family    : 6
model        : 37
model name    : Intel(R) Core(TM) i5 CPU       U 470  @ 1.33GHz
stepping    : 5
microcode    : 0x2
cpu MHz        : 666.000
cache size    : 3072 KB
physical id    : 0
siblings    : 4
core id        : 2
cpu cores    : 2
apicid        : 5
initial apicid    : 5
fpu        : yes
fpu_exception    : yes
cpuid level    : 11
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall
nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16
xtpr pdcm pcid sse4_1 sse4_2 popcnt lahf_lm ida arat dtherm tpr_shadow
vnmi flexpriority ept vpid
bogomips    : 2660.02
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

[7.3]. Moduel information from /proc/modules
hid_generic 12548 0 - Live 0x0000000000000000
bnep 23966 2 - Live 0x0000000000000000
rfcomm 74589 12 - Live 0x0000000000000000
parport_pc 32866 0 - Live 0x0000000000000000
ppdev 17711 0 - Live 0x0000000000000000
ext2 73792 1 - Live 0x0000000000000000
snd_hda_codec_hdmi 41688 1 - Live 0x0000000000000000
arc4 12573 2 - Live 0x0000000000000000
uvcvideo 82247 0 - Live 0x0000000000000000
snd_hda_codec_idt 55053 1 - Live 0x0000000000000000
videobuf2_core 40785 1 uvcvideo, Live 0x0000000000000000
rt2800pci 18966 0 - Live 0x0000000000000000
rt2x00mmio 13661 1 rt2800pci, Live 0x0000000000000000
videodev 138443 2 uvcvideo,videobuf2_core, Live 0x0000000000000000
rt2800lib 81942 1 rt2800pci, Live 0x0000000000000000
usbhid 53329 0 - Live 0x0000000000000000
crc_ccitt 12707 1 rt2800lib, Live 0x0000000000000000
videobuf2_vmalloc 13216 1 uvcvideo, Live 0x0000000000000000
snd_hda_intel 48717 5 - Live 0x0000000000000000
hid 105557 2 hid_generic,usbhid, Live 0x0000000000000000
rt2x00pci 13287 1 rt2800pci, Live 0x0000000000000000
wacom 63248 0 - Live 0x0000000000000000
snd_hda_codec 194727 3
snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel, Live 0x0000000000000000
rt2x00lib 56109 4 rt2800pci,rt2x00mmio,rt2800lib,rt2x00pci, Live
0x0000000000000000
videobuf2_memops 13362 1 videobuf2_vmalloc, Live 0x0000000000000000
btusb 28277 0 - Live 0x0000000000000000
bluetooth 391564 24 bnep,rfcomm,btusb, Live 0x0000000000000000
mac80211 619047 3 rt2800lib,rt2x00pci,rt2x00lib, Live 0x0000000000000000
radeon 1437836 0 - Live 0x0000000000000000
i915 678682 8 - Live 0x0000000000000000
snd_hwdep 13613 1 snd_hda_codec, Live 0x0000000000000000
snd_pcm 107140 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec, Live
0x0000000000000000
snd_seq_midi 13324 0 - Live 0x0000000000000000
snd_rawmidi 30416 1 snd_seq_midi, Live 0x0000000000000000
cfg80211 494624 2 rt2x00lib,mac80211, Live 0x0000000000000000
ttm 84705 1 radeon, Live 0x0000000000000000
psmouse 104015 0 - Live 0x0000000000000000
snd_seq_midi_event 14899 1 snd_seq_midi, Live 0x0000000000000000
snd_seq 66061 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
mei_me 18539 0 - Live 0x0000000000000000
snd_timer 29989 2 snd_pcm,snd_seq, Live 0x0000000000000000
snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live
0x0000000000000000
drm_kms_helper 53178 2 radeon,i915, Live 0x0000000000000000
snd 69657 21
snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq_midi,snd_rawmidi,snd_seq,snd_timer,snd_seq_device,
Live 0x0000000000000000
drm 298236 6 radeon,i915,ttm,drm_kms_helper, Live 0x0000000000000000
joydev 17613 0 - Live 0x0000000000000000
mei 78448 1 mei_me, Live 0x0000000000000000
soundcore 12680 1 snd, Live 0x0000000000000000
intel_ips 18520 0 - Live 0x0000000000000000
hp_accel 26012 0 - Live 0x0000000000000000
hp_wmi 18202 0 - Live 0x0000000000000000
sparse_keymap 13890 1 hp_wmi, Live 0x0000000000000000
i2c_algo_bit 13564 2 radeon,i915, Live 0x0000000000000000
wmi 19256 1 hp_wmi, Live 0x0000000000000000
lpc_ich 21163 0 - Live 0x0000000000000000
serio_raw 13413 0 - Live 0x0000000000000000
eeprom_93cx6 13344 1 rt2800pci, Live 0x0000000000000000
snd_page_alloc 18798 2 snd_hda_intel,snd_pcm, Live 0x0000000000000000
lis3lv02d 20280 1 hp_accel, Live 0x0000000000000000
video 19574 1 i915, Live 0x0000000000000000
mac_hid 13253 0 - Live 0x0000000000000000
input_polldev 13896 1 lis3lv02d, Live 0x0000000000000000
lp 17799 0 - Live 0x0000000000000000
parport 42466 3 parport_pc,ppdev,lp, Live 0x0000000000000000
ahci 30063 4 - Live 0x0000000000000000
libahci 32088 1 ahci, Live 0x0000000000000000
r8169 73111 0 - Live 0x0000000000000000
mii 13981 1 r8169, Live 0x0000000000000000

[7.4]. driver and hardware from /proc/ioports and /proc/iomem
/proc/ioports
0000-0cf7 : PCI Bus 0000:00
  0000-001f : dma1
  0020-0021 : pic1
  0040-0043 : timer0
  0050-0053 : timer1
  0060-0060 : keyboard
  0062-0062 : EC data
  0064-0064 : keyboard
  0066-0066 : EC cmd
  0070-0077 : rtc0
  0080-008f : dma page reg
  00a0-00a1 : pic2
  00c0-00df : dma2
  00f0-00ff : fpu
  0400-0403 : ACPI PM1a_EVT_BLK
  0404-0405 : ACPI PM1a_CNT_BLK
  0408-040b : ACPI PM_TMR
  0410-0415 : ACPI CPU throttle
  0420-042f : ACPI GPE0_BLK
  0430-0433 : iTCO_wdt
  0450-0450 : ACPI PM2_CNT_BLK
  0460-047f : iTCO_wdt
  0500-0501 : pnp 00:04
  0680-069f : pnp 00:04
  0700-077f : pnp 00:04
  0800-080f : pnp 00:04
  0810-0813 : pnp 00:04
0cf8-0cff : PCI conf1
0d00-ffff : PCI Bus 0000:00
  1000-1fff : PCI Bus 0000:03
  2000-2fff : PCI Bus 0000:02
    2000-20ff : 0000:02:00.0
      2000-20ff : r8169
  3000-3fff : PCI Bus 0000:01
    3000-30ff : 0000:01:00.0
  4000-401f : 0000:00:1f.3
  4020-403f : 0000:00:1f.2
    4020-403f : ahci
  4040-4047 : 0000:00:1f.2
    4040-4047 : ahci
  4048-404f : 0000:00:1f.2
    4048-404f : ahci
  4050-4057 : 0000:00:02.0
  4058-405b : 0000:00:1f.2
    4058-405b : ahci
  405c-405f : 0000:00:1f.2
    405c-405f : ahci
  ffff-ffff : pnp 00:04

/proc/iomem
00000000-00000fff : reserved
00001000-0009cfff : System RAM
0009d000-0009ffff : reserved
000a0000-000bffff : PCI Bus 0000:00
000c0000-000cefff : Video ROM
000e0000-000fffff : reserved
  000f0000-000fffff : System ROM
00100000-9b63efff : System RAM
  01000000-01737753 : Kernel code
  01737754-01d0eabf : Kernel data
  01e70000-01fe2fff : Kernel bss
9b63f000-9b6befff : reserved
9b6bf000-9b7befff : ACPI Non-volatile Storage
9b7bf000-9b7fefff : ACPI Tables
9b7ff000-9b7fffff : System RAM
9b800000-9fffffff : reserved
a0000000-feafffff : PCI Bus 0000:00
  a0000000-afffffff : PCI Bus 0000:01
    a0000000-afffffff : 0000:01:00.0
  b0000000-bfffffff : 0000:00:02.0
  c0000000-c03fffff : 0000:00:02.0
  c0400000-c13fffff : PCI Bus 0000:02
    c0400000-c0403fff : 0000:02:00.0
      c0400000-c0403fff : r8169
    c0404000-c0404fff : 0000:02:00.0
      c0404000-c0404fff : r8169
  c1400000-c23fffff : PCI Bus 0000:03
  c2400000-c33fffff : PCI Bus 0000:03
    c2400000-c240ffff : 0000:03:00.0
      c2400000-c240ffff : 0000:03:00.0
  c3400000-c43fffff : PCI Bus 0000:02
  c4400000-c44fffff : PCI Bus 0000:01
    c4400000-c441ffff : 0000:01:00.0
    c4420000-c4423fff : 0000:01:00.1
      c4420000-c4423fff : ICH HD audio
    c4440000-c445ffff : 0000:01:00.0
  c4500000-c4503fff : 0000:00:1b.0
    c4500000-c4503fff : ICH HD audio
  c4504000-c4504fff : 0000:00:1f.6
    c4504000-c4504fff : ips thermal sensor
  c4505000-c45057ff : 0000:00:1f.2
    c4505000-c45057ff : ahci
  c4505800-c4505bff : 0000:00:1d.0
    c4505800-c4505bff : ehci_hcd
  c4505c00-c4505fff : 0000:00:1a.0
    c4505c00-c4505fff : ehci_hcd
  c4506000-c45060ff : 0000:00:1f.3
  c4506100-c450610f : 0000:00:16.0
    c4506100-c450610f : mei_me
  c4507000-c4507fff : Intel Flush Page
  c4600000-c4600fff : pnp 00:09
  e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff]
    e0000000-efffffff : reserved
      e0000000-efffffff : pnp 00:09
feb00000-feb03fff : reserved
fec00000-fec00fff : reserved
  fec00000-fec003ff : IOAPIC 0
fed00000-fed003ff : HPET 0
fed10000-fed13fff : reserved
  fed10000-fed13fff : pnp 00:09
fed18000-fed19fff : reserved
  fed18000-fed18fff : pnp 00:09
  fed19000-fed19fff : pnp 00:09
fed1c000-fed1ffff : reserved
  fed1c000-fed1ffff : pnp 00:09
    fed1f410-fed1f414 : iTCO_wdt
fed20000-fed3ffff : pnp 00:09
fed45000-fed8ffff : pnp 00:09
fee00000-fee00fff : Local APIC
  fee00000-fee00fff : reserved
ffe00000-ffffffff : reserved
100000000-157ffffff : System RAM

[7.5]. PCI information
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller
(rev 02)
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort+ >SERR- <PERR- INTx-
    Latency: 0
    Capabilities: [e0] Vendor Specific Information: Len=0c <?>
    Kernel driver in use: agpgart-intel

00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16
Root Port (rev 02) (prog-if 00 [Normal decode])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    I/O behind bridge: 00003000-00003fff
    Memory behind bridge: c4400000-c44fffff
    Prefetchable memory behind bridge: 00000000a0000000-00000000afffffff
    Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- <SERR- <PERR-
    BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
        PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities: [88] Subsystem: Hewlett-Packard Company Device 1486
    Capabilities: [80] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Address: fee0f00c  Data: 4181
    Capabilities: [a0] Express (v2) Root Port (Slot+), MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns,
L1 <1us
            ExtTag- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
            RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
            MaxPayload 128 bytes, MaxReadReq 128 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
TransPend-
        LnkCap:    Port #2, Speed 2.5GT/s, Width x16, ASPM L0s L1,
Latency L0 <256ns, L1 <4us
            ClockPM- Surprise- LLActRep- BwNot+
        LnkCtl:    ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain-
CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+
DLActive- BWMgmt+ ABWMgmt-
        SltCap:    AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug-
Surprise-
            Slot #17, PowerLimit 75.000W; Interlock- NoCompl+
        SltCtl:    Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt-
HPIrq- LinkChg-
            Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
        SltSta:    Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+
Interlock-
            Changed: MRL- PresDet+ LinkState-
        RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna-
CRSVisible-
        RootCap: CRSVisible-
        RootSta: PME ReqID 0000, PMEStatus- PMEPending-
        DevCap2: Completion Timeout: Not Supported, TimeoutDis- ARIFwd-
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- ARIFwd-
        LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-,
Selectable De-emphasis: -6dB
             Transmit Margin: Normal Operating Range,
EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -6dB
    Capabilities: [100 v1] Virtual Channel
        Caps:    LPEVC=0 RefClk=100ns PATEntryBits=1
        Arb:    Fixed- WRR32- WRR64- WRR128-
        Ctrl:    ArbSelect=Fixed
        Status:    InProgress-
        VC0:    Caps:    PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
            Arb:    Fixed+ WRR32- WRR64- WRR128- TWRR128- WRR256-
            Ctrl:    Enable+ ID=0 ArbSelect=Fixed TC/VC=01
            Status:    NegoPending- InProgress-
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation Core Processor
Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 44
    Region 0: Memory at c0000000 (64-bit, non-prefetchable) [size=4M]
    Region 2: Memory at b0000000 (64-bit, prefetchable) [size=256M]
    Region 4: I/O ports at 4050 [size=8]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Address: fee0300c  Data: 41e1
    Capabilities: [d0] Power Management version 2
        Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [a4] PCI Advanced Features
        AFCap: TP+ FLR+
        AFCtrl: FLR-
        AFStatus: TP-
    Kernel driver in use: i915
    Kernel modules: i915

00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series
Chipset HECI Controller (rev 06)
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 43
    Region 0: Memory at c4506100 (64-bit, non-prefetchable) [size=16]
    Capabilities: [50] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Address: 00000000fee0f00c  Data: 41d1
    Kernel driver in use: mei_me
    Kernel modules: mei-me

00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset
USB2 Enhanced Host Controller (rev 05) (prog-if 20 [EHCI])
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at c4505c00 (32-bit, non-prefetchable) [size=1K]
    Capabilities: [50] Power Management version 2
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME+
    Capabilities: [58] Debug port: BAR=1 offset=00a0
    Capabilities: [98] PCI Advanced Features
        AFCap: TP+ FLR+
        AFCtrl: FLR-
        AFStatus: TP-
    Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset
High Definition Audio (rev 05)
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 45
    Region 0: Memory at c4500000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [50] Power Management version 2
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Address: 00000000fee0c00c  Data: 4142
    Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns,
L1 <1us
            ExtTag- RBE- FLReset+
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
            RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
            MaxPayload 128 bytes, MaxReadReq 128 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+
TransPend-
        LnkCap:    Port #0, Speed unknown, Width x0, ASPM unknown,
Latency L0 <64ns, L1 <1us
            ClockPM- Surprise- LLActRep- BwNot-
        LnkCtl:    ASPM Disabled; Disabled- Retrain- CommClk-
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed unknown, Width x0, TrErr- Train- SlotClk-
DLActive- BWMgmt- ABWMgmt-
    Capabilities: [100 v1] Virtual Channel
        Caps:    LPEVC=0 RefClk=100ns PATEntryBits=1
        Arb:    Fixed- WRR32- WRR64- WRR128-
        Ctrl:    ArbSelect=Fixed
        Status:    InProgress-
        VC0:    Caps:    PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
            Ctrl:    Enable+ ID=0 ArbSelect=Fixed TC/VC=01
            Status:    NegoPending- InProgress-
        VC1:    Caps:    PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
            Ctrl:    Enable+ ID=1 ArbSelect=Fixed TC/VC=02
            Status:    NegoPending- InProgress-
    Capabilities: [130 v1] Root Complex Link
        Desc:    PortNumber=0f ComponentID=00 EltType=Config
        Link0:    Desc:    TargetPort=00 TargetComponent=00 AssocRCRB-
LinkType=MemMapped LinkValid+
            Addr:    00000000fed1c000
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 1 (rev 05) (prog-if 00 [Normal decode])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    I/O behind bridge: 00002000-00002fff
    Memory behind bridge: c3400000-c43fffff
    Prefetchable memory behind bridge: 00000000c0400000-00000000c13fffff
    Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- <SERR- <PERR-
    BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
        PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns,
L1 <1us
            ExtTag- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
            RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
            MaxPayload 128 bytes, MaxReadReq 128 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+
TransPend-
        LnkCap:    Port #1, Speed 2.5GT/s, Width x1, ASPM L0s L1,
Latency L0 <256ns, L1 <4us
            ClockPM- Surprise- LLActRep+ BwNot-
        LnkCtl:    ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
DLActive+ BWMgmt- ABWMgmt-
        SltCap:    AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+
Surprise+
            Slot #0, PowerLimit 10.000W; Interlock- NoCompl+
        SltCtl:    Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt-
HPIrq- LinkChg-
            Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
        SltSta:    Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+
Interlock-
            Changed: MRL- PresDet- LinkState-
        RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna-
CRSVisible-
        RootCap: CRSVisible-
        RootSta: PME ReqID 0000, PMEStatus- PMEPending-
        DevCap2: Completion Timeout: Range BC, TimeoutDis+ ARIFwd-
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+ ARIFwd-
        LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-,
Selectable De-emphasis: -6dB
             Transmit Margin: Normal Operating Range,
EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -6dB
    Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Address: 00000000  Data: 0000
    Capabilities: [90] Subsystem: Hewlett-Packard Company Device 1486
    Capabilities: [a0] Power Management version 2
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 2 (rev 05) (prog-if 00 [Normal decode])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
    I/O behind bridge: 00001000-00001fff
    Memory behind bridge: c2400000-c33fffff
    Prefetchable memory behind bridge: 00000000c1400000-00000000c23fffff
    Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- <SERR- <PERR-
    BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
        PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns,
L1 <1us
            ExtTag- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
            RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
            MaxPayload 128 bytes, MaxReadReq 128 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+
TransPend-
        LnkCap:    Port #2, Speed 2.5GT/s, Width x1, ASPM L0s L1,
Latency L0 <256ns, L1 <4us
            ClockPM- Surprise- LLActRep+ BwNot-
        LnkCtl:    ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain-
CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
DLActive+ BWMgmt- ABWMgmt-
        SltCap:    AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+
Surprise+
            Slot #1, PowerLimit 10.000W; Interlock- NoCompl+
        SltCtl:    Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt-
HPIrq- LinkChg-
            Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
        SltSta:    Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+
Interlock-
            Changed: MRL- PresDet+ LinkState+
        RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna-
CRSVisible-
        RootCap: CRSVisible-
        RootSta: PME ReqID 0000, PMEStatus- PMEPending-
        DevCap2: Completion Timeout: Range BC, TimeoutDis+ ARIFwd-
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+ ARIFwd-
        LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-,
Selectable De-emphasis: -6dB
             Transmit Margin: Normal Operating Range,
EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -6dB
    Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Address: 00000000  Data: 0000
    Capabilities: [90] Subsystem: Hewlett-Packard Company Device 1486
    Capabilities: [a0] Power Management version 2
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset
USB2 Enhanced Host Controller (rev 05) (prog-if 20 [EHCI])
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 20
    Region 0: Memory at c4505800 (32-bit, non-prefetchable) [size=1K]
    Capabilities: [50] Power Management version 2
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [58] Debug port: BAR=1 offset=00a0
    Capabilities: [98] PCI Advanced Features
        AFCap: TP+ FLR+
        AFCtrl: FLR-
        AFStatus: TP-
    Kernel driver in use: ehci-pci

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
(prog-if 01 [Subtractive decode])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
    I/O behind bridge: 0000f000-00000fff
    Memory behind bridge: fff00000-000fffff
    Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
    Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ <SERR- <PERR-
    BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
        PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities: [50] Subsystem: Hewlett-Packard Company Device 1486

00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC
Interface Controller (rev 05)
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Capabilities: [e0] Vendor Specific Information: Len=10 <?>
    Kernel driver in use: lpc_ich
    Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset
4 port SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin B routed to IRQ 42
    Region 0: I/O ports at 4048 [size=8]
    Region 1: I/O ports at 405c [size=4]
    Region 2: I/O ports at 4040 [size=8]
    Region 3: I/O ports at 4058 [size=4]
    Region 4: I/O ports at 4020 [size=32]
    Region 5: Memory at c4505000 (32-bit, non-prefetchable) [size=2K]
    Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Address: fee0100c  Data: 41b1
    Capabilities: [70] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot+,D3cold-)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
    Capabilities: [b0] PCI Advanced Features
        AFCap: TP+ FLR+
        AFCtrl: FLR-
        AFStatus: TP-
    Kernel driver in use: ahci
    Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus
Controller (rev 05)
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin C routed to IRQ 10
    Region 0: Memory at c4506000 (64-bit, non-prefetchable) [size=256]
    Region 4: I/O ports at 4000 [size=32]
    Kernel modules: i2c-i801

00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400
Series Chipset Thermal Subsystem (rev 05)
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 21
    Region 0: Memory at c4504000 (64-bit, non-prefetchable) [size=4K]
    Capabilities: [50] Power Management version 3
        Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
        Address: 00000000  Data: 0000
    Kernel driver in use: intel ips
    Kernel modules: intel_ips

01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI
Manhattan [Mobility Radeon HD 5400 Series] (prog-if 00 [VGA controller])
    Subsystem: Hewlett-Packard Company TouchSmart tm2-2050er discrete
GPU (Mobility Radeon HD 5450)
    Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at a0000000 (64-bit, prefetchable) [size=256M]
    Region 2: Memory at c4400000 (64-bit, non-prefetchable) [size=128K]
    Region 4: I/O ports at 3000 [size=256]
    Expansion ROM at c4440000 [disabled] [size=128K]
    Capabilities: [50] Power Management version 3
        Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
        DevCap:    MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us,
L1 unlimited
            ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 128 bytes, MaxReadReq 512 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
TransPend-
        LnkCap:    Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1,
Latency L0 <64ns, L1 <1us
            ClockPM- Surprise- LLActRep- BwNot-
        LnkCtl:    ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain-
CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+
DLActive- BWMgmt- ABWMgmt-
        DevCap2: Completion Timeout: Not Supported, TimeoutDis-
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
        LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-,
Selectable De-emphasis: -6dB
             Transmit Margin: Normal Operating Range,
EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -6dB
    Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Address: 0000000000000000  Data: 0000
    Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1
Len=010 <?>
    Kernel driver in use: radeon
    Kernel modules: radeon

01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Cedar HDMI
Audio [Radeon HD 5400/6300 Series]
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin B routed to IRQ 47
    Region 0: Memory at c4420000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [50] Power Management version 3
        Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
        DevCap:    MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us,
L1 unlimited
            ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 128 bytes, MaxReadReq 512 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr-
TransPend-
        LnkCap:    Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1,
Latency L0 <64ns, L1 <1us
            ClockPM- Surprise- LLActRep- BwNot-
        LnkCtl:    ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain-
CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+
DLActive- BWMgmt- ABWMgmt-
        DevCap2: Completion Timeout: Not Supported, TimeoutDis-
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
        LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-,
Selectable De-emphasis: -6dB
             Transmit Margin: Normal Operating Range,
EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -6dB
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Address: 00000000fee0300c  Data: 4162
    Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1
Len=010 <?>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd-hda-intel

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 41
    Region 0: I/O ports at 2000 [size=256]
    Region 2: Memory at c0404000 (64-bit, prefetchable) [size=4K]
    Region 4: Memory at c0400000 (64-bit, prefetchable) [size=16K]
    Capabilities: [40] Power Management version 3
        Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)
        Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Address: 00000000fee0200c  Data: 4191
    Capabilities: [70] Express (v2) Endpoint, MSI 01
        DevCap:    MaxPayload 256 bytes, PhantFunc 0, Latency L0s
<512ns, L1 <64us
            ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
            MaxPayload 128 bytes, MaxReadReq 4096 bytes
        DevSta:    CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr+
TransPend-
        LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1,
Latency L0 <512ns, L1 <64us
            ClockPM+ Surprise- LLActRep- BwNot-
        LnkCtl:    ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
DLActive- BWMgmt- ABWMgmt-
        DevCap2: Completion Timeout: Not Supported, TimeoutDis+
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
        LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-,
Selectable De-emphasis: -6dB
             Transmit Margin: Normal Operating Range,
EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -6dB
    Capabilities: [ac] MSI-X: Enable- Count=4 Masked-
        Vector table: BAR=4 offset=00000000
        PBA: BAR=4 offset=00000800
    Capabilities: [cc] Vital Product Data
        Unknown small resource type 00, will not decode more.
    Capabilities: [100 v1] Advanced Error Reporting
        UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-
RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-
RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UESvrt:    DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt-
RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
        CESta:    RxErr+ BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
        CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
        AERCap:    First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
    Capabilities: [140 v1] Virtual Channel
        Caps:    LPEVC=0 RefClk=100ns PATEntryBits=1
        Arb:    Fixed- WRR32- WRR64- WRR128-
        Ctrl:    ArbSelect=Fixed
        Status:    InProgress-
        VC0:    Caps:    PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
            Ctrl:    Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
            Status:    NegoPending- InProgress-
    Capabilities: [160 v1] Device Serial Number 33-00-00-00-68-4c-e0-00
    Kernel driver in use: r8169
    Kernel modules: r8169

03:00.0 Network controller: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe
    Subsystem: Hewlett-Packard Company Device 1453
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 46
    Region 0: Memory at c2400000 (32-bit, non-prefetchable) [size=64K]
    Capabilities: [40] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [50] MSI: Enable+ Count=1/32 Maskable- 64bit+
        Address: 00000000fee0f00c  Data: 4152
    Capabilities: [70] Express (v2) Endpoint, MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s
<512ns, L1 unlimited
            ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
            MaxPayload 128 bytes, MaxReadReq 512 bytes
        DevSta:    CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr-
TransPend-
        LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1,
Latency L0 <512ns, L1 <64us
            ClockPM+ Surprise- LLActRep- BwNot-
        LnkCtl:    ASPM L0s L1 Enabled; RCB 64 bytes Disabled- Retrain-
CommClk+
            ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
DLActive- BWMgmt- ABWMgmt-
        DevCap2: Completion Timeout: Not Supported, TimeoutDis+
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+
        LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-,
Selectable De-emphasis: -6dB
             Transmit Margin: Normal Operating Range,
EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -6dB
    Capabilities: [100 v1] Advanced Error Reporting
        UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-
RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt-
RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UESvrt:    DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt-
RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
        CESta:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
        CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
        AERCap:    First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
    Capabilities: [140 v1] Device Serial Number 00-00-bd-d0-db-82-2a-e0
    Kernel driver in use: rt2800pci
    Kernel modules: rt2800pci

ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath
Architecture Generic Non-core Registers (rev 05)
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0

ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath
Architecture System Address Decoder (rev 05)
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0

ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0

ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0
(rev 05)
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0

ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0

ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
    Subsystem: Hewlett-Packard Company Device 1486
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0

[7.6]. SCSI information
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: WDC WD5000BEKT-6 Rev: 01.0
  Type:   Direct-Access                    ANSI  SCSI revision: 05

[7.7]. Other information
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 10
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1016
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1073
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1099
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 11
dr-xr-xr-x  9 syslog     syslog                   0 Aug  6 11:26 1136
dr-xr-xr-x  9 messagebus messagebus               0 Aug  6 11:26 1170
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1177
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 12
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1207
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1213
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1229
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1232
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1236
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1251
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1252
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1254
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1261
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1264
dr-xr-xr-x  9 daemon     daemon                   0 Aug  6 11:26 1265
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1267
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1280
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1292
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 13
dr-xr-xr-x  9 whoopsie   whoopsie                 0 Aug  6 11:26 1300
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1315
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1338
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1390
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 14
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1411
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1491
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 15
dr-xr-xr-x  9 nobody     dip                      0 Aug  6 11:26 1507
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1581
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 16
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 17
dr-xr-xr-x  9 colord     colord                   0 Aug  6 11:26 1729
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1743
dr-xr-xr-x  9 rtkit      rtkit                    0 Aug  6 11:26 1784
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 18
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1824
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1835
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1872
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1875
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1876
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1884
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1894
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1896
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 19
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1905
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1909
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1913
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1914
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1919
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1923
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1924
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1926
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1927
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1928
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1931
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1938
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1939
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1941
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1943
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 1944
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1961
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1967
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1969
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1971
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1972
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1973
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1974
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1975
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1977
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1993
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 1994
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 2
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 20
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2007
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2009
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2010
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2012
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2014
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2016
dr-xr-xr-x  9 arifogel   utmp                     0 Aug  6 11:26 2050
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2051
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 21
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2112
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2120
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2125
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2128
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2132
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2137
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2139
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2140
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2162
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:26 2184
dr-xr-xr-x  9 root       smmsp                    0 Aug  6 11:27 2199
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 22
dr-xr-xr-x  9 root       root                     0 Aug  6 11:33 2291
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 23
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:27 2300
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:30 2332
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:30 2336
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:30 2360
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 24
dr-xr-xr-x  9 root       root                     0 Aug  6 11:33 2417
dr-xr-xr-x  9 root       root                     0 Aug  6 11:43 2439
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 25
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 251
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 254
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 255
dr-xr-xr-x  9 root       root                     0 Aug  6 11:43 2573
dr-xr-xr-x  9 root       root                     0 Aug  6 11:43 2576
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 258
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 26
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 260
dr-xr-xr-x  9 root       root                     0 Aug  6 11:43 2602
dr-xr-xr-x  9 arifogel   arifogel                 0 Aug  6 11:43 2617
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 262
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 27
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 28
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 284
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 29
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 3
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 30
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 301
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 302
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 303
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 31
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 33
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 34
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 35
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 36
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 37
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 38
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 39
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 394
dr-xr-xr-x  9 root       root                     0 Aug  6 11:25 396
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 40
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 41
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 42
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 43
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 44
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 45
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 46
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 47
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 48
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 5
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 51
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 52
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 53
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 54
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 55
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 56
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 57
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 68
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 7
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 70
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 73
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 768
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 769
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 8
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 806
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 837
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 838
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 839
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 840
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 860
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 865
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 866
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 9
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 92
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 925
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 926
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 927
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 93
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 94
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 947
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 948
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 985
dr-xr-xr-x  9 root       root                     0 Aug  6 11:26 999
dr-xr-xr-x  3 root       root                     0 Aug  6 11:26 acpi
dr-xr-xr-x  5 root       root                     0 Aug  6 11:43 asound
-r--r--r--  1 root       root                     0 Aug  6 11:43 buddyinfo
dr-xr-xr-x  4 root       root                     0 Aug  6 11:43 bus
-r--r--r--  1 root       root                     0 Aug  6 11:43 cgroups
-r--r--r--  1 root       root                     0 Aug  6 11:43 cmdline
-r--r--r--  1 root       root                     0 Aug  6 11:43 consoles
-r--r--r--  1 root       root                     0 Aug  6 11:43 cpuinfo
-r--r--r--  1 root       root                     0 Aug  6 11:43 crypto
-r--r--r--  1 root       root                     0 Aug  6 11:43 devices
-r--r--r--  1 root       root                     0 Aug  6 11:43 diskstats
-r--r--r--  1 root       root                     0 Aug  6 11:43 dma
dr-xr-xr-x  4 root       root                     0 Aug  6 11:43 dri
dr-xr-xr-x  2 root       root                     0 Aug  6 11:43 driver
-r--r--r--  1 root       root                     0 Aug  6 11:43 execdomains
-r--r--r--  1 root       root                     0 Aug  6 11:43 fb
-r--r--r--  1 root       root                     0 Aug  6 11:43 filesystems
dr-xr-xr-x  5 root       root                     0 Aug  6 11:43 fs
-r--r--r--  1 root       root                     0 Aug  6 11:43 interrupts
-r--r--r--  1 root       root                     0 Aug  6 11:43 iomem
-r--r--r--  1 root       root                     0 Aug  6 11:43 ioports
dr-xr-xr-x 28 root       root                     0 Aug  6 11:43 irq
-r--r--r--  1 root       root                     0 Aug  6 11:43 kallsyms
-r--------  1 root       root       140737486266368 Aug  6 11:43 kcore
-r--r--r--  1 root       root                     0 Aug  6 11:43 key-users
-r--------  1 root       root                     0 Aug  6 11:26 kmsg
-r--------  1 root       root                     0 Aug  6 11:43 kpagecount
-r--------  1 root       root                     0 Aug  6 11:43 kpageflags
-rw-r--r--  1 root       root                     0 Aug  6 11:43
latency_stats
-r--r--r--  1 root       root                     0 Aug  6 11:43 loadavg
-r--r--r--  1 root       root                     0 Aug  6 11:43 locks
-r--r--r--  1 root       root                     0 Aug  6 11:26 mdstat
-r--r--r--  1 root       root                     0 Aug  6 11:43 meminfo
-r--r--r--  1 root       root                     0 Aug  6 11:43 misc
-r--r--r--  1 root       root                     0 Aug  6 11:43 modules
lrwxrwxrwx  1 root       root                    11 Aug  6 11:43 mounts
-> self/mounts
-rw-r--r--  1 root       root                     0 Aug  6 11:26 mtrr
lrwxrwxrwx  1 root       root                     8 Aug  6 11:43 net ->
self/net
-r--r--r--  1 root       root                     0 Aug  6 11:43
pagetypeinfo
-r--r--r--  1 root       root                     0 Aug  6 11:43 partitions
-r--r--r--  1 root       root                     0 Aug  6 11:43 sched_debug
-r--r--r--  1 root       root                     0 Aug  6 11:43 schedstat
dr-xr-xr-x  3 root       root                     0 Aug  6 11:43 scsi
lrwxrwxrwx  1 root       root                     0 Aug  6 04:25 self ->
2617
-r--------  1 root       root                     0 Aug  6 11:43 slabinfo
-r--r--r--  1 root       root                     0 Aug  6 11:43 softirqs
-r--r--r--  1 root       root                     0 Aug  6 11:43 stat
-r--r--r--  1 root       root                     0 Aug  6 11:43 swaps
dr-xr-xr-x  1 root       root                     0 Aug  6 04:25 sys
--w-------  1 root       root                     0 Aug  6 11:43
sysrq-trigger
dr-xr-xr-x  2 root       root                     0 Aug  6 11:43 sysvipc
-r--r--r--  1 root       root                     0 Aug  6 11:43 timer_list
-rw-r--r--  1 root       root                     0 Aug  6 11:43 timer_stats
dr-xr-xr-x  4 root       root                     0 Aug  6 11:43 tty
-r--r--r--  1 root       root                     0 Aug  6 11:43 uptime
-r--r--r--  1 root       root                     0 Aug  6 11:43 version
-r--------  1 root       root                     0 Aug  6 11:43 vmallocinfo
-r--r--r--  1 root       root                     0 Aug  6 11:43 vmstat
-r--r--r--  1 root       root                     0 Aug  6 11:43 zoneinfo

[X].
I don't understand what debugging information is being asked for.
Comments:
In the downstream report linked here, when I was asked to do hotkey
troubleshooting, I did that on a different computer at the time. All
other tests were done on this computer. The results for that particular
test are the same for this computer (the one from which all of the other
information, including that in this email, was produced).
Final meta-summary:
Six keys on the microsoft wireless comfort desktop 5000 keyboard are not
detectable in any way using methods described in the downstream report.

^ permalink raw reply

* Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup
From: Joseph Salisbury @ 2013-09-24 18:25 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: list, Haiyang Zhang, LKML, open, Dan Carpenter, HID CORE LAYER,
	devel, thomas
In-Reply-To: <alpine.LNX.2.00.1309241129370.18703@pobox.suse.cz>

On 09/24/2013 05:29 AM, Jiri Kosina wrote:
> On Mon, 16 Sep 2013, Joseph Salisbury wrote:
>
>>>> Can you explain a little further?  Mark commit a4a23f6 as bad?  An
>>>> initial bisect already reported that was the first bad commit, so it
>>>> can't be marked bad.  The oops on memcpy() happens after commit a4a23f6
>>>> is reverted.  The oops on memcpy() did not happen before a4a23f6 was
>>>> committed, so I assume this new oops was introduced by a change later.
>>>>
>>>> Right now I'm bisecting down the oops on memcpy() by updating the bisect
>>>> with good or bad, depending if the test kernel hit the oops.  I then
>>>> revert a4a23f6, so that revert is the HEAD of the tree each time before
>>>> building the kernel again(As long as the commit spit out by bisect is
>>>> after when a4a23f6 was introduced).
>>> Yep.  Please continue bisecting the memcpy() oops.
>>>
>>> kmemdup() is just a kzalloc() followed by a memcpy().  When we split it
>>> apart by reverting the patch then we would expect the oops to move to
>>> the memcpy() part.  Somehow "desc" is a bogus pointer, but I don't
>>> immediately see how that is possible.
>>>
>>> regards,
>>> dan carpenter
>> Thanks for the details.  We'll continue the bisect and let you know how
>> it goes.
> Did this please yield any useful result?
>
> Thanks,
>

We also tested the 3.12-rc2 kernel, but it also produces an oops and
lockup.  In case it's of use, the 3.12-rc2 oops can be seen at:
https://launchpadlibrarian.net/151359441/kern.log

^ permalink raw reply

* atmel_mxt_ts driver DTS adoption
From: Dan Murphy @ 2013-09-24 17:31 UTC (permalink / raw)
  To: linux-input

All

I have been looking around and I am finding numerous patches for the atmel_mxt_ts file to adopt it to DTS.

The last status I have seen was we were waiting for some re-write of the file and that was in April.

Are there any recent patches for this?  And are they ready?

I have not followed the input list so I am sorry for not being up to date on this.

Dan

-- 
------------------
Dan Murphy


^ permalink raw reply

* Re: [PATCH] HID: uhid: allocate static minor
From: David Herrmann @ 2013-09-24 16:28 UTC (permalink / raw)
  To: Tom Gundersen
  Cc: linux-input@vger.kernel.org, Kay Sievers, Marcel Holtmann, LKML,
	Jiri Kosina
In-Reply-To: <CAG-2HqVFJgz0cQTGZ-AAYBt8YrVaXPMtrjb=CfAg+=2H=rjmdg@mail.gmail.com>

Hey Jiri

I forgot to put you on CC on the initial patch. Any comments on this?

Cheers
David

On Mon, Sep 9, 2013 at 6:51 PM, Tom Gundersen <teg@jklm.no> wrote:
> On Mon, Sep 9, 2013 at 6:33 PM, David Herrmann <dh.herrmann@gmail.com> wrote:
>> udev has this nice feature of creating "dead" /dev/<node> device-nodes if
>> it finds a devnode:<node> modalias. Once the node is accessed, the kernel
>> automatically loads the module that provides the node. However, this
>> requires udev to know the major:minor code to use for the node. This
>> feature was introduced by:
>>
>>   commit 578454ff7eab61d13a26b568f99a89a2c9edc881
>>   Author: Kay Sievers <kay.sievers@vrfy.org>
>>   Date:   Thu May 20 18:07:20 2010 +0200
>>
>>       driver core: add devname module aliases to allow module on-demand auto-loading
>>
>> However, uhid uses dynamic minor numbers so this doesn't actually work. We
>> need to load uhid to know which minor it's going to use.
>>
>> Hence, allocate a static minor (just like uinput does) and we're good
>> to go.
>>
>> Reported-by: Tom Gundersen <teg@jklm.no>
>
> Thanks, this works (I only tested the creation of the device node, not
> the actual module loading).
>
>> Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
>> ---
>>  drivers/hid/uhid.c         | 3 ++-
>>  include/linux/miscdevice.h | 1 +
>>  2 files changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/hid/uhid.c b/drivers/hid/uhid.c
>> index 5bf2fb7..93b00d7 100644
>> --- a/drivers/hid/uhid.c
>> +++ b/drivers/hid/uhid.c
>> @@ -615,7 +615,7 @@ static const struct file_operations uhid_fops = {
>>
>>  static struct miscdevice uhid_misc = {
>>         .fops           = &uhid_fops,
>> -       .minor          = MISC_DYNAMIC_MINOR,
>> +       .minor          = UHID_MINOR,
>>         .name           = UHID_NAME,
>>  };
>>
>> @@ -634,4 +634,5 @@ module_exit(uhid_exit);
>>  MODULE_LICENSE("GPL");
>>  MODULE_AUTHOR("David Herrmann <dh.herrmann@gmail.com>");
>>  MODULE_DESCRIPTION("User-space I/O driver support for HID subsystem");
>> +MODULE_ALIAS_MISCDEV(UHID_MINOR);
>>  MODULE_ALIAS("devname:" UHID_NAME);
>> diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h
>> index 09c2300..cb35835 100644
>> --- a/include/linux/miscdevice.h
>> +++ b/include/linux/miscdevice.h
>> @@ -45,6 +45,7 @@
>>  #define MAPPER_CTRL_MINOR      236
>>  #define LOOP_CTRL_MINOR                237
>>  #define VHOST_NET_MINOR                238
>> +#define UHID_MINOR             239
>>  #define MISC_DYNAMIC_MINOR     255
>>
>>  struct device;
>> --
>> 1.8.4
>>

^ permalink raw reply

* [PATCH 1/1] Input: cypress_ps2 - Return zero finger count if palm is detected.
From: Joseph Salisbury @ 2013-09-24 15:44 UTC (permalink / raw)
  To: linux-kernel
  Cc: dmitry.torokhov, rydberg, kamal, dudl, git, tim.gardner,
	linux-input, stable
In-Reply-To: <cover.1379968154.git.joseph.salisbury@canonical.com>

BugLink: http://bugs.launchpad.net/bugs/1229361

This patch sets the finger count to 0 in the case of palm contact.

Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> (maintainer:INPUT (KEYBOARD,...,commit_signer:2/2=100%)
Cc: Henrik Rydberg <rydberg@euromail.se> (maintainer:INPUT MULTITOUCH...)
Cc: Kamal Mostafa <kamal@canonical.com> (commit_signer:2/2=100%)
Cc: Dudley Du <dudl@cypress.com> (commit_signer:2/2=100%)
Cc: Kyle Fazzari <git@status.e4ward.com> (commit_signer:1/2=50%)
Cc: Tim Gardner <tim.gardner@canonical.com> (commit_signer:1/2=50%)
Cc: linux-input@vger.kernel.org (open list:INPUT (KEYBOARD,...)
Cc: linux-kernel@vger.kernel.org (open list)
Cc: stable@vger.kernel.org

---
 drivers/input/mouse/cypress_ps2.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/mouse/cypress_ps2.c b/drivers/input/mouse/cypress_ps2.c
index 45b3eda..95b2c40 100644
--- a/drivers/input/mouse/cypress_ps2.c
+++ b/drivers/input/mouse/cypress_ps2.c
@@ -441,7 +441,7 @@ static int cypress_get_finger_count(unsigned char header_byte)
 			case 2: return 5;
 			default:
 				/* Invalid contact (e.g. palm). Ignore it. */
-				return -1;
+				return 0;
 		}
 	}
 
@@ -460,7 +460,7 @@ static int cypress_parse_packet(struct psmouse *psmouse,
 
 	contact_cnt = cypress_get_finger_count(header_byte);
 
-	if (contact_cnt < 0) /* e.g. palm detect */
+	if (contact_cnt < 0)
 		return -EINVAL;
 
 	report_data->contact_cnt = contact_cnt;
-- 
1.7.9.5

^ permalink raw reply related

* Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup
From: Joseph Salisbury @ 2013-09-24 13:52 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Dan Carpenter, thomas, list, Haiyang Zhang, LKML, open,
	HID CORE LAYER, devel
In-Reply-To: <alpine.LNX.2.00.1309241129370.18703@pobox.suse.cz>

On 09/24/2013 05:29 AM, Jiri Kosina wrote:
> On Mon, 16 Sep 2013, Joseph Salisbury wrote:
>
>>>> Can you explain a little further?  Mark commit a4a23f6 as bad?  An
>>>> initial bisect already reported that was the first bad commit, so it
>>>> can't be marked bad.  The oops on memcpy() happens after commit a4a23f6
>>>> is reverted.  The oops on memcpy() did not happen before a4a23f6 was
>>>> committed, so I assume this new oops was introduced by a change later.
>>>>
>>>> Right now I'm bisecting down the oops on memcpy() by updating the bisect
>>>> with good or bad, depending if the test kernel hit the oops.  I then
>>>> revert a4a23f6, so that revert is the HEAD of the tree each time before
>>>> building the kernel again(As long as the commit spit out by bisect is
>>>> after when a4a23f6 was introduced).
>>> Yep.  Please continue bisecting the memcpy() oops.
>>>
>>> kmemdup() is just a kzalloc() followed by a memcpy().  When we split it
>>> apart by reverting the patch then we would expect the oops to move to
>>> the memcpy() part.  Somehow "desc" is a bogus pointer, but I don't
>>> immediately see how that is possible.
>>>
>>> regards,
>>> dan carpenter
>> Thanks for the details.  We'll continue the bisect and let you know how
>> it goes.
> Did this please yield any useful result?
>
> Thanks,
>
Thanks for following up, Jiri.  It's been a little tricky narrowing this
one down.  We bisected a couple of times, and both bisects indicated the
following commits as the first bad:

commit b1a1442a23776756b254b69786848a94d92445ba
Author: Jiri Kosina <jkosina@suse.cz>
Date: Mon Jun 3 11:27:48 2013 +0200

    HID: core: fix reporting of raw events

However, reverting this commit does not stop the system from locking up,
when the wireless trackpad is connected.  I was thinking of maybe using
a brute force method and pulling out all the HID changes, added in
3.11-rc1 to ensure the bug goes away.  Then add a group back in at a
time to narrow down the commit that introduced this.  The bisect should
have done this, but I'm not sure why it didn't.  It would be greatly
appreciated if you had any other suggestions on tracking down the cause?

Thanks,

Joe




^ permalink raw reply

* Re: [PATCH 1/9] Staging/iio/adc/touchscreen/MXS: add proper clock handling
From: Fabio Estevam @ 2013-09-24 13:50 UTC (permalink / raw)
  To: Jürgen Beisert
  Cc: Fabio Estevam, Marek Vašut, devel, linux-iio,
	Jonathan Cameron, linux-input,
	linux-arm-kernel@lists.infradead.org
In-Reply-To: <201309240950.54789.jbe@pengutronix.de>

On Tue, Sep 24, 2013 at 4:50 AM, Jürgen Beisert <jbe@pengutronix.de> wrote:
> Hi Fabio,
>
> On Monday 23 September 2013 17:13:03 Fabio Estevam wrote:
>> On 09/23/2013 11:36 AM, Juergen Beisert wrote:
>> > +   lradc->clk = devm_clk_get(&pdev->dev, NULL);
>> > +   clk_prepare_enable(lradc->clk);
>>
>> clk_prepare_enable() may fail, so better check its return value.
>
> Thanks for the comment. Better this way?

Yes, looks better.

Thanks,

Fabio Estevam
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply

* Re: [PATCH] hid-elo: some systems cannot stomach work around
From: Jiri Kosina @ 2013-09-24 10:08 UTC (permalink / raw)
  To: oliver; +Cc: linux-usb, linux-input, jslaby, Oliver Neukum
In-Reply-To: <1378721819-26479-1-git-send-email-oliver@neukum.org>

On Mon, 9 Sep 2013, oliver@neukum.org wrote:

> From: Oliver Neukum <oneukum@suse.de>
> 
> Some systems although they have firmware class 'M', which usually
> needs a work around to not crash, must not be subjected to the
> work around because the work around crashes them. They cannot be
> told apart by their own device descriptor, but as they are part
> of compound devices can be identified by looking at their siblings.

What a mess ... :/

> 
> Signed-off-by: Oliver Neukum <oneukum@suse.de>
> ---
>  drivers/hid/hid-elo.c | 35 ++++++++++++++++++++++++++++++++++-
>  1 file changed, 34 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/hid/hid-elo.c b/drivers/hid/hid-elo.c
> index f042a6c..64ac53e 100644
> --- a/drivers/hid/hid-elo.c
> +++ b/drivers/hid/hid-elo.c
> @@ -181,7 +181,40 @@ fail:
>   */
>  static bool elo_broken_firmware(struct usb_device *dev)
>  {
> -	return use_fw_quirk && le16_to_cpu(dev->descriptor.bcdDevice) == 0x10d;
> +	struct usb_device *hub = dev->parent;
> +	struct usb_device *child = NULL;
> +	u16 fw_lvl = le16_to_cpu(dev->descriptor.bcdDevice);
> +	u16 child_vid, child_pid;
> +	int i;
> +    
> +	if (!use_fw_quirk)
> +		return false;
> +	if (fw_lvl != 0x10d)
> +		return false;
> +
> +	/*iterate sibling devices of the touch controller*/

Could you please resubmit with comment reformated (spaces before/after 
asterisk)?

> +	usb_hub_for_each_child(hub, i, child) {
> +		child_vid = le16_to_cpu(child->descriptor.idVendor);
> +		child_pid = le16_to_cpu(child->descriptor.idProduct);
> +
> +		/*
> +		 * If one of the devices below is present attached as a sibling of 
> +		 * the touch controller then  this is a newer IBM 4820 monitor that 
> +		 * does not need the IBM-requested workaround if fw level is
> +		 * 0x010d - aka 'M'.
> +		 * No other HW can have this combination.
> +		*/
> +		if (child_vid==0x04b3) {
> +			switch (child_pid) {
> +			case 0x4676: /*4820 21x Video*/
> +			case 0x4677: /*4820 51x Video*/
> +			case 0x4678: /*4820 2Lx Video*/
> +			case 0x4679: /*4820 5Lx Video*/

Here as well.

Thanks,

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply

* Re: [PATCH 0/3] Few cleanups
From: Jiri Kosina @ 2013-09-24  9:48 UTC (permalink / raw)
  To: Benjamin Tissoires; +Cc: Benjamin Tissoires, linux-input, linux-kernel
In-Reply-To: <1378930345-6670-1-git-send-email-benjamin.tissoires@redhat.com>

On Wed, 11 Sep 2013, Benjamin Tissoires wrote:

> Well, while debugging hid-lenovo-tpkbd, I also cleaned it up a little (so this
> goes on top of the CVE series):
> - use devres API
> - remove usb references (so that the regressions tests through uhid are working)
> 
> This has also been tested by https://bugzilla.redhat.com/show_bug.cgi?id=1003998
> 
> And I also had a patch for sony that I wanted to send, but I was waiting for a
> complete drop of usb, which I still did not managed to do.

It took me some time, as I wanted to think a little bit more about 
cleaning up 2/3, but didn't really come up with something that'd be 
substantially nicer.

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply

* Re: [PATCH 1/3] HID: Delay opening HID device
From: Jiri Kosina @ 2013-09-24  9:32 UTC (permalink / raw)
  To: Srinivas Pandruvada
  Cc: linux-input-u79uwXL29TY76Z2rM5mHXA,
	linux-iio-u79uwXL29TY76Z2rM5mHXA, jic23-DgEjT+Ai2ygdnm+yROfE0A,
	holler-SXC+2es9fhnfWeYVQQPykw
In-Reply-To: <1379524399-16995-1-git-send-email-srinivas.pandruvada-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>

On Wed, 18 Sep 2013, Srinivas Pandruvada wrote:

> Don't call hid_open_device till there is actually an user. This saves
> power by not opening underlying transport for HID. Also close device
> if there are no active mfd client using HID sensor hub.
> 
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>

Signed-off-by: Jiri Kosina <jkosina-AlSwsSmVLrQ@public.gmane.org>

Jonathan, I'd be good if I pass this to you to apply the whole lot.

Thanks.

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply

* Re: [v3.11][Regression] HID: hyperv: convert alloc+memcpy to memdup
From: Jiri Kosina @ 2013-09-24  9:29 UTC (permalink / raw)
  To: Joseph Salisbury
  Cc: Dan Carpenter, thomas, list, Haiyang Zhang, LKML, open,
	HID CORE LAYER, devel
In-Reply-To: <5237A5D5.8010006@canonical.com>

On Mon, 16 Sep 2013, Joseph Salisbury wrote:

> >> Can you explain a little further?  Mark commit a4a23f6 as bad?  An
> >> initial bisect already reported that was the first bad commit, so it
> >> can't be marked bad.  The oops on memcpy() happens after commit a4a23f6
> >> is reverted.  The oops on memcpy() did not happen before a4a23f6 was
> >> committed, so I assume this new oops was introduced by a change later.
> >>
> >> Right now I'm bisecting down the oops on memcpy() by updating the bisect
> >> with good or bad, depending if the test kernel hit the oops.  I then
> >> revert a4a23f6, so that revert is the HEAD of the tree each time before
> >> building the kernel again(As long as the commit spit out by bisect is
> >> after when a4a23f6 was introduced).
> > Yep.  Please continue bisecting the memcpy() oops.
> >
> > kmemdup() is just a kzalloc() followed by a memcpy().  When we split it
> > apart by reverting the patch then we would expect the oops to move to
> > the memcpy() part.  Somehow "desc" is a bogus pointer, but I don't
> > immediately see how that is possible.
> >
> > regards,
> > dan carpenter
> 
> Thanks for the details.  We'll continue the bisect and let you know how
> it goes.

Did this please yield any useful result?

Thanks,

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply

* Q: weird hidraw behaviour
From: Mika Westerberg @ 2013-09-24  8:56 UTC (permalink / raw)
  To: Jiri Kosina, Manoj Chourasia; +Cc: linux-input

Hi,

I noticed that after commit 212a871a393 (HID: hidraw: correctly deallocate
memory on device disconnect) hidraw doesn't close the underlying hid device
when the device node is closed last time.

For example I have a touch panel (HID over I2C) device with added debug
prints in i2c_hid_open()/i2c_hid_close():

	# od -x /dev/hidraw0
	[   41.363813] i2c_hid 1-004c: i2c_hid_power lvl:32
	[   41.368464] i2c_hid 1-004c: i2c_hid_set_power
	[   41.372831] i2c_hid 1-004c: __i2c_hid_command: cmd=54 01 00 08
	[   41.451455] i2c_hid 1-004c: i2c_hid_open
	^C

	# od -x /dev/hidraw0
	[   58.420928] i2c_hid 1-004c: i2c_hid_power lvl:32
	[   58.425577] i2c_hid 1-004c: i2c_hid_set_power
	[   58.429945] i2c_hid 1-004c: __i2c_hid_command: cmd=54 01 00 08
	[   58.525276] i2c_hid 1-004c: i2c_hid_open
	^C

i2c_hid_close() is never called. Is this intended or am I missing
something?

Thanks.

^ permalink raw reply

* Re: [PATCH 1/9] Staging/iio/adc/touchscreen/MXS: add proper clock handling
From: Jürgen Beisert @ 2013-09-24  7:50 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: Fabio Estevam, linux-iio-u79uwXL29TY76Z2rM5mHXA,
	devel-gWbeCf7V1WCQmaza687I9mD2FQJk+8+b, marex-ynQEQJNshbs,
	jic23-KWPb1pKIrIJaa/9Udqfwiw, linux-input-u79uwXL29TY76Z2rM5mHXA
In-Reply-To: <52405A7F.1050801-KZfg59tc24xl57MIdRCFDg@public.gmane.org>

Hi Fabio,

On Monday 23 September 2013 17:13:03 Fabio Estevam wrote:
> On 09/23/2013 11:36 AM, Juergen Beisert wrote:
> > +	lradc->clk = devm_clk_get(&pdev->dev, NULL);
> > +	clk_prepare_enable(lradc->clk);
>
> clk_prepare_enable() may fail, so better check its return value.

Thanks for the comment. Better this way?

commit 825c5bb787a0dc9d25d480178e117be08810639c
Author: Juergen Beisert <jbe-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
Date:   Mon Sep 23 16:10:56 2013 +0200

    Staging/iio/adc/touchscreen/MXS: add proper clock handling
    
    The delay units inside the LRADC depend on the presence of a 2 kHz clock.
    This change enables the clock to be able to use the delay unit for the
    touchscreen part of the driver.
    
    Signed-off-by: Juergen Beisert <jbe-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi
index 28b5ce2..07caf76 100644
--- a/arch/arm/boot/dts/imx23.dtsi
+++ b/arch/arm/boot/dts/imx23.dtsi
@@ -430,6 +430,7 @@
 				reg = <0x80050000 0x2000>;
 				interrupts = <36 37 38 39 40 41 42 43 44>;
 				status = "disabled";
+				clocks = <&clks 26>;
 			};
 
 			spdif@80054000 {
diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index 7363fde..175deef 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -902,6 +902,7 @@
 				interrupts = <10 14 15 16 17 18 19
 						20 21 22 23 24 25>;
 				status = "disabled";
+				clocks = <&clks 41>;
 			};
 
 			spdif: spdif@80054000 {
diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging/iio/adc/mxs-lradc.c
index a08c173..eaca1ae 100644
--- a/drivers/staging/iio/adc/mxs-lradc.c
+++ b/drivers/staging/iio/adc/mxs-lradc.c
@@ -35,6 +35,7 @@
 #include <linux/completion.h>
 #include <linux/delay.h>
 #include <linux/input.h>
+#include <linux/clk.h>
 
 #include <linux/iio/iio.h>
 #include <linux/iio/buffer.h>
@@ -134,6 +135,8 @@ struct mxs_lradc {
 	void __iomem		*base;
 	int			irq[13];
 
+	struct clk		*clk;
+
 	uint32_t		*buffer;
 	struct iio_trigger	*trig;
 
@@ -928,6 +931,17 @@ static int mxs_lradc_probe(struct platform_device *pdev)
 	if (IS_ERR(lradc->base))
 		return PTR_ERR(lradc->base);
 
+	lradc->clk = devm_clk_get(&pdev->dev, NULL);
+	if (IS_ERR(lradc->clk)) {
+		dev_err(dev, "Failed to get the delay unit clock\n");
+		return PTR_ERR(lradc->clk);
+	}
+	ret = clk_prepare_enable(lradc->clk);
+	if (ret != 0) {
+		dev_err(dev, "Failed to enable the delay unit clock\n");
+		return ret;
+	}
+
 	INIT_WORK(&lradc->ts_work, mxs_lradc_ts_work);
 
 	/* Check if touchscreen is enabled in DT. */
@@ -1020,6 +1034,7 @@ static int mxs_lradc_remove(struct platform_device *pdev)
 	iio_triggered_buffer_cleanup(iio);
 	mxs_lradc_trigger_remove(iio);
 
+	clk_disable_unprepare(lradc->clk);
 	return 0;
 }
 
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

^ permalink raw reply related

* Re: [PATCH 1/9] Staging/iio/adc/touchscreen/MXS: add proper clock handling
From: Jürgen Beisert @ 2013-09-24  7:39 UTC (permalink / raw)
  To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: Lothar Waßmann, linux-iio-u79uwXL29TY76Z2rM5mHXA,
	devel-gWbeCf7V1WCQmaza687I9mD2FQJk+8+b, marex-ynQEQJNshbs,
	fabio.estevam-KZfg59tc24xl57MIdRCFDg,
	jic23-KWPb1pKIrIJaa/9Udqfwiw, linux-input-u79uwXL29TY76Z2rM5mHXA
In-Reply-To: <21056.24202.312851.105281-VjFSrY7JcPWvSplVBqRQBQ@public.gmane.org>

Hi Lothar,

On Monday 23 September 2013 17:30:18 Lothar Waßmann wrote:
> > [...]
> > @@ -928,6 +931,9 @@ static int mxs_lradc_probe(struct platform_device
> > *pdev) if (IS_ERR(lradc->base))
> >  		return PTR_ERR(lradc->base);
> >
> > +	lradc->clk = devm_clk_get(&pdev->dev, NULL);
> > +	clk_prepare_enable(lradc->clk);
> > +
>
> Wouldn't it make sense to enable the clock only when the device is
> opened to save power while not actually in use?

Sure. But I haven't analyzed yet if the IIO part of the driver also uses the 
delay units and - more important - when it use them.

@Marek: can you tell us, where the clock should be enabled in your part of the 
driver (if required)?

BTW: do we also need to get and enable the 24 MHz clock (used by the ADC 
itself)? I'm not sure if this clock is the "CLK_ANA24M" shown in 
their "Logical Diagram of Clock Domains". The datasheets also mention 
the "clk_xtal24m" clock for "analog 24 MHz clock domains". But does "Fixed 
clock domains" mean they are not switchable and thus always enabled?

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

^ permalink raw reply

* Re: [PATCH V2 1/1] Drivers: input: serio: New driver to support Hyper-V synthetic keyboard
From: Dmitry Torokhov @ 2013-09-23 21:18 UTC (permalink / raw)
  To: Olaf Hering
  Cc: gregkh, jasowang, linux-kernel, vojtech, linux-input, apw, devel,
	dan.carpenter
In-Reply-To: <20130923210812.GA19953@aepfle.de>

On Monday, September 23, 2013 11:08:12 PM Olaf Hering wrote:
> On Wed, Sep 18, Dmitry Torokhov wrote:
> > This looks much better. Could you tell me if the patch below (on top of
> > yours) still works?
> 
> The help text is slightly incorrect, its a dash not underscore:
> drivers/input/serio/hyperv-keyboard.ko

Module code converts all dashes to underscores if you check lsmod.

Thanks.

-- 
Dmitry

^ permalink raw reply


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox