Linux Input/HID development
 help / color / mirror / Atom feed
* Re: hid-replay captured data
From: Benjamin Tissoires @ 2014-12-08 22:04 UTC (permalink / raw)
  To: josep.sanchez.ferreres
  Cc: linux-input, Ping Cheng, Jason Gerecke, Aaron Skomra
In-Reply-To: <20141208215218.w5d4pi1sg8s0s4wo@webmail.fib.upc.es>

Thanks for the logs (both way arrived in my mailbox, attached file or pastebin).

I'll try to have a look at them on Wednesday.

On Mon, Dec 8, 2014 at 3:52 PM,  <josep.sanchez.ferreres@est.fib.upc.edu> wrote:
> I attach a .tar.gz with all the captures I took, the filenames should be
> self explanatory. If you prefer me to dump all that into the e-mail text
> field just ask, but it's quite a big amount of data.
>
> Both 3.16 and 3.18 kernels seemed to respond to the same events. Oddly
> enough I've noticed that although 3 devices for rawhid were listed, only two
> captured events. Here's the output from hid-replay that shows my devices:
>
> Available devices:
> /dev/hidraw0:   USB Keyboard
> /dev/hidraw1:   USB Keyboard
> /dev/hidraw2:   USB OPTICAL MOUSE
> /dev/hidraw3:   Wacom Co.,Ltd. Bamboo Pad, USB
> /dev/hidraw4:   Wacom Co.,Ltd. Bamboo Pad, USB
> /dev/hidraw5:   Wacom Co.,Ltd. Bamboo Pad, USB
>
> Only hidraw4 and 5 reported events to hid-replay. Also note that hidraw5
> corresponds to the touchpad while hidraw5 corresponds to the stylus.
>
> I also just found out that the stylus hardware button is captured by the
> touchpad device and not by the stylus one (that actually makes more sense as
> it acts like a mouse button), so all the data I put about the stylus key
> should just contain stylus movement data. I added a file stylus-key.hid
> which is actually capturing the clicks for that button.
>
> I should also say that some events, like clicking the screen with the stylus
> will be mixed with the mouse movement (I tried to avoid that by clicking
> fast enough but I guess it's impossible to completely avoid it).
>
> PD: I see you're using a gmail address to reply, should I reply to that
> address better?

I think that's better to keep all the people in CC of the thread. we
generally have rules to filter linux-input/lkml mails, so it avoids
losing traces of a thread.

Cheers,
Benjamin

^ permalink raw reply

* RE: hid-replay captured data
From: josep.sanchez.ferreres @ 2014-12-08 20:58 UTC (permalink / raw)
  To: linux-input

Hmmm.. something went wrong when sending the attachement, I'm gonna  
include them in pastebin links, is that ok?

Kernel 3.16

stylus: http://pastebin.com/eaykpi0y
touchpad: http://pastebin.com/FuaKHBkD

Kernel 3.18

stylus: http://pastebin.com/AArFyztg
stylus button: http://pastebin.com/wEtnqrg4
touchpad: http://pastebin.com/L1iSbMD7

Hope that's ok, let me know if you need any more data!

Thanks!

^ permalink raw reply

* hid-replay captured data
From: josep.sanchez.ferreres @ 2014-12-08 20:52 UTC (permalink / raw)
  To: linux-input

[-- Attachment #1: Type: text/plain, Size: 1530 bytes --]

I attach a .tar.gz with all the captures I took, the filenames should  
be self explanatory. If you prefer me to dump all that into the e-mail  
text field just ask, but it's quite a big amount of data.

Both 3.16 and 3.18 kernels seemed to respond to the same events. Oddly  
enough I've noticed that although 3 devices for rawhid were listed,  
only two captured events. Here's the output from hid-replay that shows  
my devices:

Available devices:
/dev/hidraw0:	USB Keyboard
/dev/hidraw1:	USB Keyboard
/dev/hidraw2:	USB OPTICAL MOUSE
/dev/hidraw3:	Wacom Co.,Ltd. Bamboo Pad, USB
/dev/hidraw4:	Wacom Co.,Ltd. Bamboo Pad, USB
/dev/hidraw5:	Wacom Co.,Ltd. Bamboo Pad, USB

Only hidraw4 and 5 reported events to hid-replay. Also note that  
hidraw5 corresponds to the touchpad while hidraw5 corresponds to the  
stylus.

I also just found out that the stylus hardware button is captured by  
the touchpad device and not by the stylus one (that actually makes  
more sense as it acts like a mouse button), so all the data I put  
about the stylus key should just contain stylus movement data. I added  
a file stylus-key.hid which is actually capturing the clicks for that  
button.

I should also say that some events, like clicking the screen with the  
stylus will be mixed with the mouse movement (I tried to avoid that by  
clicking fast enough but I guess it's impossible to completely avoid  
it).

PD: I see you're using a gmail address to reply, should I reply to  
that address better?

[-- Attachment #2: HID_LOG.tar.gz --]
[-- Type: application/gzip, Size: 38239 bytes --]

^ permalink raw reply

* Re: Bug report - Input device stopped working ater 3.17 (and isn't working with the latest kernel)
From: Benjamin Tissoires @ 2014-12-08 20:22 UTC (permalink / raw)
  To: josep.sanchez.ferreres; +Cc: linux-input
In-Reply-To: <20141208210942.l7sfuqbb2g48gw0g@webmail.fib.upc.es>

On Mon, Dec 8, 2014 at 3:09 PM,  <josep.sanchez.ferreres@est.fib.upc.edu> wrote:
> Thank you very much.
>
> I am collecting the requested data and I'll try to have it ASAP.
>
> Just to make sure, I'm making two log files with hid-replay, one for 3.16
> and the other for 3.18 (should I do 3.17 as well?).

3.16 and 3.18 only should be enough.

>
> For each file I'll record all this cases (each one is a consecutive stream
> of data, I'll separate between cases).
>
> For the touchpad (finger)
>
> - Some circular movements (like moving the mouse cursor)
> - Random taps on the screen
> - Double click (to drag and drop)
> - Pinch zoom gesture
> - Two finger swipes in all directions
> - Three finger swipes in all directions
>
> For the pen (stylus)
>
> - Some circular movements
> - Random clicks on the screen
> - Click and drag and drop
> - Stylus physical button
>
> For the keys
>
> - Test both buttons
>
> Should that be enough? Is it too much?

It should be enough. We must have some extra gestures in the pile, but
that will be interesting enough to see if the hardware provides such
gestures as keyboard shortcuts or if it just forwards all the raw
events directly.
So, thanks for recording all of these.

Cheers,
Benjamin

>
> Thanks!
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-input" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply

* RE: Bug report - Input device stopped working ater 3.17 (and isn't working with the latest kernel)
From: josep.sanchez.ferreres @ 2014-12-08 20:09 UTC (permalink / raw)
  To: linux-input

Thank you very much.

I am collecting the requested data and I'll try to have it ASAP.

Just to make sure, I'm making two log files with hid-replay, one for  
3.16 and the other for 3.18 (should I do 3.17 as well?).

For each file I'll record all this cases (each one is a consecutive  
stream of data, I'll separate between cases).

For the touchpad (finger)

- Some circular movements (like moving the mouse cursor)
- Random taps on the screen
- Double click (to drag and drop)
- Pinch zoom gesture
- Two finger swipes in all directions
- Three finger swipes in all directions

For the pen (stylus)

- Some circular movements
- Random clicks on the screen
- Click and drag and drop
- Stylus physical button

For the keys

- Test both buttons

Should that be enough? Is it too much?

Thanks!


^ permalink raw reply

* Re: PROBLEM: [HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a hardware click
From: Amordea Whiteoak @ 2014-12-08 19:33 UTC (permalink / raw)
  To: Benjamin Tissoires; +Cc: linux-input, Peter Hutterer, Andrew Duggan
In-Reply-To: <CAN+gG=E=3kG9t9XTNe0X1kFumdkQ3CfM-ViXnOBGThmyJDNJ4g@mail.gmail.com>

> My guess would be:
> try open the settings panel, go into mouse (or touchpad, or whatever
> it is called), look for an option which should allow you to change
> this setting. If there are none, complain to the Ubuntu team by
> opening a new bug on their launchpad.

Aye, I will be opening a new report on Launchpad it seems. Thank you
for all your help!

> I hope Andrew will be able to fix your touchpad soonish. Thanks for
> the followup BTW Andrew.

And yes, thank you Andrew!!


On Mon, Dec 8, 2014 at 2:26 PM, Benjamin Tissoires
<benjamin.tissoires@gmail.com> wrote:
> On Mon, Dec 8, 2014 at 2:16 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>> While I have the ears of the touchpad gods, there is one more tiny
>> issue I'd like to report. This may be simply a configuration issue,
>> but I would not know how to fix it.
>>
>> The window for double-tapping (tapping the touchpad twice to simulate
>> a double-click) is remarkably brief. Let me be clear, double-tapping
>> on the touchpad does work, however if you do not get the second tap
>> within about a 200ms window after the first, it seems to fail to
>> register as a double-click, counting it as two unrelated single
>> clicks--this is an uncomfortably short window of opportunity. A
>> temporary workaround seems to be triple-tapping which for whatever
>> reason allow for a broader window (much closer to a full second) and
>> registers as a double-tap, but that just seems to be a happy accident
>> and is certainly not an expected feature. Is there any way to broaden
>> that window?
>
> This is usually an Xorg configuration problem (definitively not a
> kernel one). However, you are using ubuntu 14.10 and I don't know if
> they decided to switch to MIR yet. If so, I have no clues on what is
> driving the touchpad, so I won't be of any help.
>
> My guess would be:
> try open the settings panel, go into mouse (or touchpad, or whatever
> it is called), look for an option which should allow you to change
> this setting. If there are none, complain to the Ubuntu team by
> opening a new bug on their launchpad.
>
>>
>> I did not have this problem on my previous laptop with Lubuntu
>> installed (though it had 14.04 not 14.10--it's no longer operational
>> after suffering an unfortunate accident so I can't do comparison
>> testing with it any longer).
>
> ouch :/
>
>>
>> I promise this is my last remaining issue with the touchpad. :)
>
> No problem. We prefer having responsive users who tries to solve their
> problems than frustrated users :)
>
> I hope Andrew will be able to fix your touchpad soonish. Thanks for
> the followup BTW Andrew.
>
> Cheers,
> Benjamin
>
>>
>> On Mon, Dec 8, 2014 at 1:39 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>> My Linux newbieness is showing. :)
>>>
>>> I attempted to edit and boot the grub configuration, but I don't think
>>> I did it right. I went with the seemingly more sure-fire way to get
>>> your data and followed the second set of instructions.
>>>
>>> Enclosed is all the dmesg output once I got that working.
>>>
>>> On Mon, Dec 8, 2014 at 12:59 PM, Benjamin Tissoires
>>> <benjamin.tissoires@gmail.com> wrote:
>>>> On Mon, Dec 8, 2014 at 12:14 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>>> There may be a thing I am failing to understand about dmesg here, but
>>>>> a grep through both dmesg and /var/log/dmesg yielded no hits on
>>>>> "i2c_hid.debug=1". I did find plenty of hits on just "i2c_hid", which
>>>>> yielded several repetitive lines of what appears to be various
>>>>> modules. Please let me know if there is something I am failing to
>>>>> understand here, but I could not find the requested phrase in my
>>>>> dmesg.
>>>>
>>>> I meant that when you reboot the laptop, in grub, append
>>>> "i2c_hid.debug=1" to the kernel command line.
>>>>
>>>> This should be seen in one of the first few lines of dmesg (the one
>>>> starting by "[    0.000000] Command line:
>>>> BOOT_IMAGE=/boot/vmlinuz-3.18.0-031800rc7-generic "), and a lot of raw
>>>> events should be dumped in the dmesg.
>>>>
>>>>>
>>>>> I do have the hid-recorder output though, which I am attaching here.
>>>>> This time I used a non-conductive pen to only generate clicks without
>>>>> all the positioning data piling in on top. This is a recording of two
>>>>> left clicks.
>>>>>
>>>>
>>>> Ok, so at least, the device sends a sane behavior (one event per
>>>> click/release, with one bit changed). Unfortunately, I think the
>>>> problem lies in the configuration of your device by hid-rmi. So the
>>>> dmesg output while i2c_hid.debug=1 is set should help to figure out
>>>> the problem.
>>>>
>>>> If for whatever reasons you do not manage to get the parameter
>>>> appended to your command line, the following commands should suffice
>>>> (as root):
>>>> #> rmmod hid-rmi
>>>> #> echo 1 > /sys/module/i2c_hid/parameters/debug
>>>> #> modprobe hid-rmi
>>>>
>>>> do a few events on the touchpad (with clicks)
>>>>
>>>> #> echo 0 > /sys/module/i2c_hid/parameters/debug
>>>>
>>>> and send out the dmesg.
>>>>
>>>> Cheers,
>>>> Benjamin
>>>>
>>>>> If there is anything else I can provide, please let me know.
>>>>>
>>>>> Thank you for helping with this bug. :)
>>>>>
>>>>> On Mon, Dec 8, 2014 at 11:44 AM, Benjamin Tissoires
>>>>> <benjamin.tissoires@gmail.com> wrote:
>>>>>> Hi Amordea,
>>>>>>
>>>>>> On Mon, Dec 8, 2014 at 11:20 AM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>>>>> My apologies if my bug report was inadequate. It is the first upstream
>>>>>>> report I've ever filed, though I did attempt to give all the
>>>>>>> information they requested to the best of my ability.
>>>>>>
>>>>>> Oh, no, I was not complaining about your way of reporting the bug. I
>>>>>> know that it can be difficult for users to report _and_ provide all
>>>>>> the necessary information unless you already know a little bit about
>>>>>> the communities, how they work and what tool they use.
>>>>>> My complain was more that the way it was triaged: try an upstream
>>>>>> kernel; oh, does not work; send it upstream because it's a "poor
>>>>>> driver implementation". Whereas here, there may be any part of the
>>>>>> stack involved unless we look at the evemu-record (which is the output
>>>>>> of the kernel BTW). And saying that the driver is badly designed
>>>>>> really does not help...
>>>>>> Last, the "meta bug" they have is either a problem in the kernel
>>>>>> drivers they ship, or a not up to date Xorg stack. FWIW, I don't think
>>>>>> we have this on Fedora.
>>>>>>
>>>>>> Anyway, thanks for the explanations that you give in the next
>>>>>> paragraph, it gives a more comprehensive bug report :)
>>>>>>
>>>>>>>
>>>>>>> If it helps: to be clear about the design of this clickpad, it is one
>>>>>>> where the entire pad is touch-sensitive, even the area over the
>>>>>>> hardware click buttons which are on the bottom. The entire pad is one
>>>>>>> piece, so the pad itself shifts when you click a button. The
>>>>>>> malfunction occurs whenever any of these buttons are clicked, but the
>>>>>>> simulated clicks (tapping on the pad) behave adequately and do not
>>>>>>> cause any mouse input lock-ups. The malfunction itself causes ALL
>>>>>>> subsequent mouse clicks from any source (including a USB mouse) to
>>>>>>> only act in the spot where the first hardware click from the clickpad
>>>>>>> was performed and cannot be adjusted until the clickpad has been
>>>>>>> disabled (xinput disable <id>). The hardware buttons on the clickpad
>>>>>>> itself do not register as clicks at all, they only cause all mouse
>>>>>>> input to malfunction as previously described.
>>>>>>>
>>>>>>> I am enclosing the requested evemu-record data. This is a recording of
>>>>>>> my clicking the left hardware click button three times in rapid
>>>>>>> succession, but failure generally occurs after the first click.
>>>>>>
>>>>>> Many thanks for the logs. So here, I can see that when you click on
>>>>>> the touchpad, both BTN_LEFT and BTN_RIGHT are emitted, but they are
>>>>>> never released :) I do not see either the 2 other clicks.
>>>>>> So yes, here the driver is at fault and misses to release the clicks.
>>>>>> This infers the cross-device problem in X BTW.
>>>>>>
>>>>>>>
>>>>>>> A curious behavior I noticed in the process of getting this recording
>>>>>>> is that on the first click, I received a pasted text line in my
>>>>>>> terminal. I could not reproduce this behavior by doing an
>>>>>>> enable/disable cycle on the trackpad, but to confirm I rebooted a few
>>>>>>> times to test and sure enough, the very first click each boot triggers
>>>>>>> a clipboard paste event.
>>>>>>
>>>>>> You must have the middle button emulation enabled in Xorg (hitting
>>>>>> both left and right button will trigger a middle button). So when we
>>>>>> will be able to fix this bug, the spurious middle click should
>>>>>> disappear.
>>>>>>
>>>>>>>
>>>>>>> If there is any more information I can provide, please let me know.
>>>>>>
>>>>>> Ideally, I'd like to punt this one to Andrew, but I think we would be
>>>>>> grateful if you could also provide 2 more things:
>>>>>> - the dmesg when "i2c_hid.debug=1" is appended to the kernel boot line
>>>>>> (without the quotes)
>>>>>> - the hid-recorder output when you trigger the bug
>>>>>>
>>>>>> hid-recorder should be installed from sources in Ubuntu I guess:
>>>>>> http://bentiss.github.io/hid-replay-docs/
>>>>>>
>>>>>> The hid-recorder output might not be absolutely needed, so as long as
>>>>>> we have the dmesg with i2c_hid.debug=1, we should be fine.
>>>>>>
>>>>>> Cheers,
>>>>>> Benjamin
>>>>>>
>>>>>>>
>>>>>>> Thank you!
>>>>>>>
>>>>>>> On Mon, Dec 8, 2014 at 10:01 AM, Benjamin Tissoires
>>>>>>> <benjamin.tissoires@gmail.com> wrote:
>>>>>>>> Hi Amordea,
>>>>>>>>
>>>>>>>> I must say, the bug triaging is worse and worse with ubuntu :(
>>>>>>>>
>>>>>>>> From the bug description, I can not tell if the problem lies in the
>>>>>>>> kernel, or if it is the synaptics input driver or the xserver which is
>>>>>>>> in fault. I would be tempted to say that the problem lies in the upper
>>>>>>>> layers given the cross-devices problem.
>>>>>>>>
>>>>>>>> Anyway, to be able to understand the problem, we will need to get an
>>>>>>>> evemu-record output of your device when you are reproducing the bug.
>>>>>>>> You can find evemu in your distribution channels, or here:
>>>>>>>> http://www.freedesktop.org/wiki/Evemu/
>>>>>>>>
>>>>>>>> Given that you have an hid-rmi/i2c device, I am adding Andrew in CC,
>>>>>>>> and Peter for the upper layers if there is anything wrong there.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Benjamin
>>>>>>>>
>>>>>>>> On Sun, Dec 7, 2014 at 5:50 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>>>>>>> Original Bug Report:
>>>>>>>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398533
>>>>>>>>>
>>>>>>>>> Bug Description: After clicking once at the bottom of my clickpad on
>>>>>>>>> either button, if I move my cursor elsewhere on the screen, and then
>>>>>>>>> subsequently click again (with either clickpad or external mouse this
>>>>>>>>> time) it registers a click at the location where my cursor icon was
>>>>>>>>> originally. I can continue to move my cursor anywhere on the screen,
>>>>>>>>> and it still registers the click in the original location.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> cat /proc/version
>>>>>>>>> Linux version 3.18.0-031800rc7-generic (apw@gomeisa) (gcc version
>>>>>>>>> 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201411302035 SMP Mon Dec 1
>>>>>>>>> 01:36:38 UTC 2014
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> lsb_release -rd
>>>>>>>>> Description: Ubuntu 14.10
>>>>>>>>> Release: 14.10
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> sh /usr/src/linux-headers-3.18.0-031800rc7/scripts/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 woprjr 3.18.0-031800rc7-generic #201411302035 SMP Mon Dec 1
>>>>>>>>> 01:36:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>>>>>>>>>
>>>>>>>>> Gnu C
>>>>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux:
>>>>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: 20:
>>>>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: ld: not
>>>>>>>>> found
>>>>>>>>> binutils
>>>>>>>>> util-linux             2.25.1
>>>>>>>>> mount                  debug
>>>>>>>>> module-init-tools      18
>>>>>>>>> e2fsprogs              1.42.10
>>>>>>>>> PPP                    2.4.5
>>>>>>>>> Linux C Library        2.19
>>>>>>>>> Dynamic linker (ldd)   2.19
>>>>>>>>> Procps                 3.3.9
>>>>>>>>> Net-tools              1.60
>>>>>>>>> Kbd                    1.15.5
>>>>>>>>> Sh-utils               8.23
>>>>>>>>> wireless-tools         30
>>>>>>>>> Modules Loaded         snd_hda_codec_hdmi snd_hda_codec_realtek
>>>>>>>>> snd_hda_codec_generic ctr ccm joydev hp_wmi hid_rmi sparse_keymap
>>>>>>>>> rfcomm bnep arc4 rtl8723be btcoexist rtl8723_common intel_rapl
>>>>>>>>> uvcvideo rtl_pci intel_soc_dts_thermal intel_powerclamp
>>>>>>>>> videobuf2_vmalloc videobuf2_memops coretemp rtlwifi videobuf2_core
>>>>>>>>> v4l2_common videodev mac80211 media kvm cfg80211 btusb
>>>>>>>>> crct10dif_pclmul crc32_pclmul bluetooth ghash_clmulni_intel serio_raw
>>>>>>>>> cryptd wmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
>>>>>>>>> snd_seq_midi snd_seq_midi_event snd_rawmidi snd_soc_rt5640
>>>>>>>>> snd_soc_rl6231 snd_soc_core snd_compress dw_dmac i915
>>>>>>>>> snd_pcm_dmaengine dw_dmac_core snd_seq int3400_thermal int3403_thermal
>>>>>>>>> acpi_thermal_rel nls_iso8859_1 snd_pcm i2c_hid video
>>>>>>>>> intel_smartconnect drm_kms_helper hid drm rfkill_gpio snd_seq_device
>>>>>>>>> i2c_designware_platform i2c_algo_bit snd_soc_sst_acpi 8250_dw
>>>>>>>>> snd_timer i2c_designware_core hp_wireless shpchp spi_pxa2xx_platform
>>>>>>>>> snd pwm_lpss_platform lpc_ich mac_hid mei_txe pwm_lpss iosf_mbi mei
>>>>>>>>> soundcore parport_pc ppdev lp parport uas usb_storage mmc_block
>>>>>>>>> sdhci_acpi sdhci
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> cat /proc/cpuinfo
>>>>>>>>> processor : 0
>>>>>>>>> vendor_id : GenuineIntel
>>>>>>>>> cpu family : 6
>>>>>>>>> model : 55
>>>>>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>>>>>> stepping : 8
>>>>>>>>> microcode : 0x829
>>>>>>>>> cpu MHz : 499.741
>>>>>>>>> cache size : 1024 KB
>>>>>>>>> physical id : 0
>>>>>>>>> siblings : 2
>>>>>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>>>>>> bugs :
>>>>>>>>> bogomips : 4326.40
>>>>>>>>> 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 : 55
>>>>>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>>>>>> stepping : 8
>>>>>>>>> microcode : 0x829
>>>>>>>>> cpu MHz : 499.741
>>>>>>>>> cache size : 1024 KB
>>>>>>>>> physical id : 0
>>>>>>>>> siblings : 2
>>>>>>>>> core id : 1
>>>>>>>>> cpu cores : 2
>>>>>>>>> apicid : 2
>>>>>>>>> initial apicid : 2
>>>>>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>>>>>> bugs :
>>>>>>>>> bogomips : 4326.40
>>>>>>>>> clflush size : 64
>>>>>>>>> cache_alignment : 64
>>>>>>>>> address sizes : 36 bits physical, 48 bits virtual
>>>>>>>>> power management:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> cat /proc/modules
>>>>>>>>> snd_hda_codec_hdmi 52670 1 - Live 0x0000000000000000
>>>>>>>>> snd_hda_codec_realtek 80420 1 - Live 0x0000000000000000
>>>>>>>>> snd_hda_codec_generic 69995 1 snd_hda_codec_realtek, Live 0x0000000000000000
>>>>>>>>> ctr 13193 1 - Live 0x0000000000000000
>>>>>>>>> ccm 17856 1 - Live 0x0000000000000000
>>>>>>>>> joydev 17587 0 - Live 0x0000000000000000
>>>>>>>>> hp_wmi 14017 0 - Live 0x0000000000000000
>>>>>>>>> hid_rmi 18060 0 - Live 0x0000000000000000
>>>>>>>>> sparse_keymap 13890 1 hp_wmi, Live 0x0000000000000000
>>>>>>>>> rfcomm 75066 8 - Live 0x0000000000000000
>>>>>>>>> bnep 23980 2 - Live 0x0000000000000000
>>>>>>>>> arc4 12573 2 - Live 0x0000000000000000
>>>>>>>>> rtl8723be 96097 0 - Live 0x0000000000000000
>>>>>>>>> btcoexist 51822 1 rtl8723be, Live 0x0000000000000000
>>>>>>>>> rtl8723_common 23662 1 rtl8723be, Live 0x0000000000000000
>>>>>>>>> intel_rapl 19196 0 - Live 0x0000000000000000
>>>>>>>>> uvcvideo 86723 0 - Live 0x0000000000000000
>>>>>>>>> rtl_pci 27417 1 rtl8723be, Live 0x0000000000000000
>>>>>>>>> intel_soc_dts_thermal 13523 0 - Live 0x0000000000000000
>>>>>>>>> intel_powerclamp 19099 0 - Live 0x0000000000000000
>>>>>>>>> videobuf2_vmalloc 13216 1 uvcvideo, Live 0x0000000000000000
>>>>>>>>> videobuf2_memops 13362 1 videobuf2_vmalloc, Live 0x0000000000000000
>>>>>>>>> coretemp 13638 0 - Live 0x0000000000000000
>>>>>>>>> rtlwifi 74744 2 rtl8723be,rtl_pci, Live 0x0000000000000000
>>>>>>>>> videobuf2_core 51547 1 uvcvideo, Live 0x0000000000000000
>>>>>>>>> v4l2_common 15715 1 videobuf2_core, Live 0x0000000000000000
>>>>>>>>> videodev 163831 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
>>>>>>>>> mac80211 697159 3 rtl8723be,rtl_pci,rtlwifi, Live 0x0000000000000000
>>>>>>>>> media 22008 2 uvcvideo,videodev, Live 0x0000000000000000
>>>>>>>>> kvm 475237 0 - Live 0x0000000000000000
>>>>>>>>> cfg80211 520257 2 rtlwifi,mac80211, Live 0x0000000000000000
>>>>>>>>> btusb 32691 0 - Live 0x0000000000000000
>>>>>>>>> crct10dif_pclmul 14268 0 - Live 0x0000000000000000
>>>>>>>>> crc32_pclmul 13180 0 - Live 0x0000000000000000
>>>>>>>>> bluetooth 486890 22 rfcomm,bnep,btusb, Live 0x0000000000000000
>>>>>>>>> ghash_clmulni_intel 13230 0 - Live 0x0000000000000000
>>>>>>>>> serio_raw 13483 0 - Live 0x0000000000000000
>>>>>>>>> cryptd 20531 1 ghash_clmulni_intel, Live 0x0000000000000000
>>>>>>>>> wmi 19379 1 hp_wmi, Live 0x0000000000000000
>>>>>>>>> snd_hda_intel 30824 1 - Live 0x0000000000000000
>>>>>>>>> snd_hda_controller 32234 1 snd_hda_intel, Live 0x0000000000000000
>>>>>>>>> snd_hda_codec 144641 5
>>>>>>>>> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,
>>>>>>>>> Live 0x0000000000000000
>>>>>>>>> snd_hwdep 17709 1 snd_hda_codec, Live 0x0000000000000000
>>>>>>>>> snd_seq_midi 13564 0 - Live 0x0000000000000000
>>>>>>>>> snd_seq_midi_event 14899 1 snd_seq_midi, Live 0x0000000000000000
>>>>>>>>> snd_rawmidi 31197 1 snd_seq_midi, Live 0x0000000000000000
>>>>>>>>> snd_soc_rt5640 93325 0 - Live 0x0000000000000000
>>>>>>>>> snd_soc_rl6231 13037 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>>>>>> snd_soc_core 207780 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>>>>>> snd_compress 19395 1 snd_soc_core, Live 0x0000000000000000
>>>>>>>>> dw_dmac 12835 0 - Live 0x0000000000000000
>>>>>>>>> i915 1031996 2 - Live 0x0000000000000000
>>>>>>>>> snd_pcm_dmaengine 15229 1 snd_soc_core, Live 0x0000000000000000
>>>>>>>>> dw_dmac_core 28558 1 dw_dmac, Live 0x0000000000000000
>>>>>>>>> snd_seq 63540 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
>>>>>>>>> int3400_thermal 13040 0 - Live 0x0000000000000000
>>>>>>>>> int3403_thermal 13255 0 - Live 0x0000000000000000
>>>>>>>>> acpi_thermal_rel 13807 1 int3400_thermal, Live 0x0000000000000000
>>>>>>>>> nls_iso8859_1 12713 2 - Live 0x0000000000000000
>>>>>>>>> snd_pcm 106273 7
>>>>>>>>> snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec,snd_soc_rt5640,snd_soc_core,snd_pcm_dmaengine,
>>>>>>>>> Live 0x0000000000000000
>>>>>>>>> i2c_hid 19065 0 - Live 0x0000000000000000
>>>>>>>>> video 20649 1 i915, Live 0x0000000000000000
>>>>>>>>> intel_smartconnect 12637 0 - Live 0x0000000000000000
>>>>>>>>> drm_kms_helper 99802 1 i915, Live 0x0000000000000000
>>>>>>>>> hid 110572 2 hid_rmi,i2c_hid, Live 0x0000000000000000
>>>>>>>>> drm 323675 4 i915,drm_kms_helper, Live 0x0000000000000000
>>>>>>>>> rfkill_gpio 12761 0 - Live 0x0000000000000000
>>>>>>>>> snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000
>>>>>>>>> i2c_designware_platform 13025 0 - Live 0x0000000000000000
>>>>>>>>> i2c_algo_bit 13564 1 i915, Live 0x0000000000000000
>>>>>>>>> snd_soc_sst_acpi 13007 0 - Live 0x0000000000000000
>>>>>>>>> 8250_dw 13474 0 - Live 0x0000000000000000
>>>>>>>>> snd_timer 30118 2 snd_seq,snd_pcm, Live 0x0000000000000000
>>>>>>>>> i2c_designware_core 14990 1 i2c_designware_platform, Live 0x0000000000000000
>>>>>>>>> hp_wireless 12637 0 - Live 0x0000000000000000
>>>>>>>>> shpchp 37216 0 - Live 0x0000000000000000
>>>>>>>>> spi_pxa2xx_platform 23256 0 - Live 0x0000000000000000
>>>>>>>>> snd 84025 15 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_soc_core,snd_compress,snd_seq,snd_pcm,snd_seq_device,snd_timer,
>>>>>>>>> Live 0x0000000000000000
>>>>>>>>> pwm_lpss_platform 12703 0 - Live 0x0000000000000000
>>>>>>>>> lpc_ich 21176 0 - Live 0x0000000000000000
>>>>>>>>> mac_hid 13275 0 - Live 0x0000000000000000
>>>>>>>>> mei_txe 19808 0 - Live 0x0000000000000000
>>>>>>>>> pwm_lpss 13281 1 pwm_lpss_platform, Live 0x0000000000000000
>>>>>>>>> iosf_mbi 13865 1 intel_soc_dts_thermal, Live 0x0000000000000000
>>>>>>>>> mei 88473 1 mei_txe, Live 0x0000000000000000
>>>>>>>>> soundcore 15091 2 snd_hda_codec,snd, Live 0x0000000000000000
>>>>>>>>> parport_pc 32909 0 - Live 0x0000000000000000
>>>>>>>>> ppdev 17711 0 - Live 0x0000000000000000
>>>>>>>>> lp 17799 0 - Live 0x0000000000000000
>>>>>>>>> parport 42481 3 parport_pc,ppdev,lp, Live 0x0000000000000000
>>>>>>>>> uas 22673 0 - Live 0x0000000000000000
>>>>>>>>> usb_storage 67010 2 uas, Live 0x0000000000000000
>>>>>>>>> mmc_block 36596 4 - Live 0x0000000000000000
>>>>>>>>> sdhci_acpi 13502 0 - Live 0x0000000000000000
>>>>>>>>> sdhci 43929 1 sdhci_acpi, Live 0x0000000000000000
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> /proc/ioports
>>>>>>>>> 0000-006f : PCI Bus 0000:00
>>>>>>>>>   0000-001f : dma1
>>>>>>>>>   0020-0021 : pic1
>>>>>>>>>   0040-0043 : timer0
>>>>>>>>>   0050-0053 : timer1
>>>>>>>>>   0060-0060 : keyboard
>>>>>>>>>   0062-0062 : PNP0C09:00
>>>>>>>>>     0062-0062 : EC data
>>>>>>>>>   0064-0064 : keyboard
>>>>>>>>>   0066-0066 : PNP0C09:00
>>>>>>>>>     0066-0066 : EC cmd
>>>>>>>>> 0070-0077 : rtc0
>>>>>>>>> 0078-0cf7 : PCI Bus 0000:00
>>>>>>>>>   0080-008f : dma page reg
>>>>>>>>>   00a0-00a1 : pic2
>>>>>>>>>   00c0-00df : dma2
>>>>>>>>>   00f0-00ff : fpu
>>>>>>>>>   03f8-03ff : serial
>>>>>>>>>   0400-047f : pnp 00:01
>>>>>>>>>     0400-0403 : ACPI PM1a_EVT_BLK
>>>>>>>>>     0404-0405 : ACPI PM1a_CNT_BLK
>>>>>>>>>     0408-040b : ACPI PM_TMR
>>>>>>>>>     0420-042f : ACPI GPE0_BLK
>>>>>>>>>     0430-0433 : iTCO_wdt
>>>>>>>>>     0450-0450 : ACPI PM2_CNT_BLK
>>>>>>>>>     0460-047f : iTCO_wdt
>>>>>>>>>   0500-05fe : pnp 00:01
>>>>>>>>>   0600-061f : pnp 00:01
>>>>>>>>>   0680-069f : pnp 00:01
>>>>>>>>> 0cf8-0cff : PCI conf1
>>>>>>>>> 0d00-ffff : PCI Bus 0000:00
>>>>>>>>>   1000-1fff : PCI Bus 0000:01
>>>>>>>>>     1000-10ff : 0000:01:00.0
>>>>>>>>>       1000-10ff : rtl_pci
>>>>>>>>>   2000-201f : 0000:00:1f.3
>>>>>>>>>   2050-2057 : 0000:00:02.0
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> cat /proc/iomem
>>>>>>>>> 00000000-00000fff : reserved
>>>>>>>>> 00001000-0006efff : System RAM
>>>>>>>>> 0006f000-0006ffff : ACPI Non-volatile Storage
>>>>>>>>> 00070000-00084fff : System RAM
>>>>>>>>> 00085000-00086fff : reserved
>>>>>>>>> 00087000-00087fff : System RAM
>>>>>>>>> 00088000-0009ffff : reserved
>>>>>>>>> 000a0000-000bffff : PCI Bus 0000:00
>>>>>>>>> 000c0000-000dffff : PCI Bus 0000:00
>>>>>>>>> 000e0000-000fffff : PCI Bus 0000:00
>>>>>>>>>   000f0000-000fffff : System ROM
>>>>>>>>> 00100000-1effffff : System RAM
>>>>>>>>>   02000000-027b8537 : Kernel code
>>>>>>>>>   027b8538-02d2123f : Kernel data
>>>>>>>>>   02e87000-02fcffff : Kernel bss
>>>>>>>>> 1f000000-1f0fffff : reserved
>>>>>>>>> 1f100000-1fffffff : System RAM
>>>>>>>>> 20000000-200fffff : reserved
>>>>>>>>> 20100000-75867fff : System RAM
>>>>>>>>> 75868000-75892fff : reserved
>>>>>>>>> 75893000-78892fff : System RAM
>>>>>>>>> 78893000-78922fff : reserved
>>>>>>>>> 78923000-791a3fff : reserved
>>>>>>>>> 791a4000-792a2fff : ACPI Non-volatile Storage
>>>>>>>>> 792a3000-792e2fff : ACPI Tables
>>>>>>>>> 792e3000-79ffffff : System RAM
>>>>>>>>> 7a000000-7affffff : RAM buffer
>>>>>>>>> 7b000000-7effffff : reserved
>>>>>>>>>   7b000000-7effffff : Graphics Stolen Memory
>>>>>>>>> 80000000-907ffffe : PCI Bus 0000:00
>>>>>>>>>   80000000-8fffffff : 0000:00:02.0
>>>>>>>>>   90000000-903fffff : 0000:00:02.0
>>>>>>>>>   90400000-904fffff : PCI Bus 0000:01
>>>>>>>>>     90400000-90403fff : 0000:01:00.0
>>>>>>>>>       90400000-90403fff : rtl_pci
>>>>>>>>>   90500000-905fffff : 0000:00:1a.0
>>>>>>>>>     90500000-905fffff : mei_txe
>>>>>>>>>   90600000-906fffff : 0000:00:1a.0
>>>>>>>>>     90600000-906fffff : mei_txe
>>>>>>>>>   90700000-9070ffff : 0000:00:14.0
>>>>>>>>>     90700000-9070ffff : xhci-hcd
>>>>>>>>>   90710000-90713fff : 0000:00:1b.0
>>>>>>>>>     90710000-90713fff : ICH HD audio
>>>>>>>>>   90718000-9071801f : 0000:00:1f.3
>>>>>>>>> 90800000-90800fff : 80860F14:01
>>>>>>>>>   90800000-90800fff : 80860F14:01
>>>>>>>>> 90803000-90803fff : 80860F41:00
>>>>>>>>>   90803000-90803fff : 80860F41:00
>>>>>>>>> 90804000-90807fff : INTL9C60:01
>>>>>>>>>   90804000-90807fff : INTL9C60:01
>>>>>>>>> 90c00000-90ffffff : PCI Bus 0000:00
>>>>>>>>> e0000000-e3ffffff : PCI MMCONFIG 0000 [bus 00-3f]
>>>>>>>>>   e00000d0-e00000db : INT33BD:00
>>>>>>>>>   e00f8000-e00f8fff : reserved
>>>>>>>>> fec00000-fec003ff : IOAPIC 0
>>>>>>>>> fed00000-fed003ff : HPET 0
>>>>>>>>>   fed00000-fed003ff : PNP0103:00
>>>>>>>>> fed01000-fed01fff : reserved
>>>>>>>>>   fed01000-fed01fff : pnp 00:03
>>>>>>>>> fed03000-fed03fff : pnp 00:03
>>>>>>>>>   fed03008-fed0300c : iTCO_wdt
>>>>>>>>> fed04000-fed04fff : pnp 00:03
>>>>>>>>> fed05000-fed057ff : INT3401:00
>>>>>>>>> fed08000-fed08fff : pnp 00:03
>>>>>>>>> fed0c000-fed0cfff : INT33FC:00
>>>>>>>>>   fed0c000-fed0cfff : INT33FC:00
>>>>>>>>> fed0d000-fed0dfff : INT33FC:01
>>>>>>>>>   fed0d000-fed0dfff : INT33FC:01
>>>>>>>>> fed0e000-fed0efff : INT33FC:02
>>>>>>>>>   fed0e000-fed0efff : INT33FC:02
>>>>>>>>> fed1c000-fed1cfff : pnp 00:03
>>>>>>>>> fed40000-fed44fff : pnp 00:01
>>>>>>>>> fee00000-feefffff : pnp 00:03
>>>>>>>>>   fee00000-fee00fff : Local APIC
>>>>>>>>> fef00000-feffffff : pnp 00:03
>>>>>>>>> ff000000-ffffffff : INT0800:00
>>>>>>>>>   ffb80000-ffffffff : reserved
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> sudo lspci -vvv
>>>>>>>>> 00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>>>> Series SoC Transaction Register (rev 0e)
>>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>>> 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
>>>>>>>>> Kernel driver in use: iosf_mbi_pci
>>>>>>>>>
>>>>>>>>> 00:02.0 VGA compatible controller: Intel Corporation Atom Processor
>>>>>>>>> Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA
>>>>>>>>> controller])
>>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>>> 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 263
>>>>>>>>> Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
>>>>>>>>> Region 2: Memory at 80000000 (32-bit, prefetchable) [size=256M]
>>>>>>>>> Region 4: I/O ports at 2050 [size=8]
>>>>>>>>> Expansion ROM at <unassigned> [disabled]
>>>>>>>>> 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: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>>>>>> Address: fee0300c  Data: 4162
>>>>>>>>> Capabilities: [b0] Vendor Specific Information: Len=07 <?>
>>>>>>>>> Kernel driver in use: i915
>>>>>>>>>
>>>>>>>>> 00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>>>> Series USB xHCI (rev 0e) (prog-if 30 [XHCI])
>>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>>> 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 261
>>>>>>>>> Region 0: Memory at 90700000 (64-bit, non-prefetchable) [size=64K]
>>>>>>>>> Capabilities: [70] 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: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>>>>>>>>> Address: 00000000fee0300c  Data: 41d1
>>>>>>>>> Kernel driver in use: xhci_hcd
>>>>>>>>>
>>>>>>>>> 00:1a.0 Encryption controller: Intel Corporation Atom Processor
>>>>>>>>> Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
>>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>>> 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 262
>>>>>>>>> Region 0: Memory at 90600000 (32-bit, non-prefetchable) [size=1M]
>>>>>>>>> Region 1: Memory at 90500000 (32-bit, non-prefetchable) [size=1M]
>>>>>>>>> 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: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>>>>>> Address: fee0300c  Data: 4122
>>>>>>>>> Kernel driver in use: mei_txe
>>>>>>>>>
>>>>>>>>> 00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>>>> Series High Definition Audio Controller (rev 0e)
>>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>>> 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 264
>>>>>>>>> Region 0: Memory at 90710000 (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: 00000000fee0300c  Data: 4182
>>>>>>>>> Kernel driver in use: snd_hda_intel
>>>>>>>>>
>>>>>>>>> 00:1c.0 PCI bridge: Intel Corporation Device 0f48 (rev 0e) (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: 00001000-00001fff
>>>>>>>>> Memory behind bridge: 90400000-904fffff
>>>>>>>>> Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
>>>>>>>>> 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
>>>>>>>>> ExtTag- RBE+
>>>>>>>>> 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 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s
>>>>>>>>> <512ns, L1 <4us
>>>>>>>>> ClockPM- Surprise- LLActRep+ BwNot+
>>>>>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR-, OBFF Not
>>>>>>>>> Supported ARIFwd-
>>>>>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF
>>>>>>>>> Disabled ARIFwd-
>>>>>>>>> LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
>>>>>>>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>>>>>> ComplianceSOS-
>>>>>>>>>  Compliance De-emphasis: -6dB
>>>>>>>>> LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-,
>>>>>>>>> EqualizationPhase1-
>>>>>>>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>>>>>> Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
>>>>>>>>> Address: 00000000  Data: 0000
>>>>>>>>> Capabilities: [90] Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>>> Capabilities: [a0] 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-
>>>>>>>>> Kernel driver in use: pcieport
>>>>>>>>>
>>>>>>>>> 00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>>>> Series Power Control Unit (rev 0e)
>>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>>> 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=0c <?>
>>>>>>>>> Kernel driver in use: lpc_ich
>>>>>>>>>
>>>>>>>>> 00:1f.3 SMBus: Intel Corporation Device 0f12 (rev 0e)
>>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>>> 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 B routed to IRQ 255
>>>>>>>>> Region 0: Memory at 90718000 (32-bit, non-prefetchable) [size=32]
>>>>>>>>> Region 4: I/O ports at 2000 [size=32]
>>>>>>>>> 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-
>>>>>>>>>
>>>>>>>>> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE
>>>>>>>>> PCIe Wireless Network Adapter
>>>>>>>>> Subsystem: Hewlett-Packard Company Device 2231
>>>>>>>>> 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 16
>>>>>>>>> Region 0: I/O ports at 1000 [size=256]
>>>>>>>>> Region 2: Memory at 90400000 (64-bit, non-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: 0000000000000000  Data: 0000
>>>>>>>>> Capabilities: [70] Express (v2) Endpoint, MSI 00
>>>>>>>>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, 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 512 bytes
>>>>>>>>> DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
>>>>>>>>> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency
>>>>>>>>> L0s <512ns, L1 <64us
>>>>>>>>> ClockPM+ Surprise- LLActRep- BwNot-
>>>>>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR+, OBFF
>>>>>>>>> Via message/WAKE#
>>>>>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+, LTR+, OBFF Disabled
>>>>>>>>> LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
>>>>>>>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>>>>>> ComplianceSOS-
>>>>>>>>>  Compliance De-emphasis: -6dB
>>>>>>>>> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,
>>>>>>>>> EqualizationPhase1-
>>>>>>>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>>>>>> Capabilities: [100 v2] 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: 0d, GenCap+ CGenEn- ChkCap+ ChkEn-
>>>>>>>>> Capabilities: [140 v1] Device Serial Number 00-23-b7-fe-ff-4c-e0-00
>>>>>>>>> Capabilities: [150 v1] Latency Tolerance Reporting
>>>>>>>>> Max snoop latency: 71680ns
>>>>>>>>> Max no snoop latency: 71680ns
>>>>>>>>> Capabilities: [158 v1] L1 PM Substates
>>>>>>>>> L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
>>>>>>>>>   PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
>>>>>>>>> Kernel driver in use: rtl8723be
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> cat /proc/scsi/scsi
>>>>>>>>> Attached devices:
>>>>>>>>> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>>>>>>>>>   Vendor: Generic- Model: SD/MMC/MS PRO    Rev: 1.00
>>>>>>>>>   Type:   Direct-Access                    ANSI  SCSI revision: 04
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ls /proc
>>>>>>>>> 1     12    14    1667  1745  18    1963  2345  292   35    470   55
>>>>>>>>> 7201  asound     execdomains  kmsg        pagetypeinfo   sysvipc
>>>>>>>>> 10    1218  1410  1685  1761  1804  2     2388  296   3573  471   554
>>>>>>>>> 728   buddyinfo  fb           kpagecount  partitions     thread-self
>>>>>>>>> 1020  125   142   1687  1764  1805  20    24    3     359   473   56
>>>>>>>>> 755   bus        filesystems  kpageflags  sched_debug    timer_list
>>>>>>>>> 1025  126   1420  1690  1767  1818  21    25    30    3623  474   57
>>>>>>>>> 76    cgroups    fs           loadavg     schedstat      timer_stats
>>>>>>>>> 1032  127   1423  17    1769  1828  2169  2528  31    378   485   585
>>>>>>>>> 77    cmdline    interrupts   locks       scsi           tty
>>>>>>>>> 1033  128   143   1701  1771  1853  2187  254   3181  3822  5     606
>>>>>>>>> 7886  consoles   iomem        mdstat      self           uptime
>>>>>>>>> 1038  129   1444  1710  1772  1876  2197  26    33    39    509   654
>>>>>>>>> 8     cpuinfo    ioports      meminfo     slabinfo       version
>>>>>>>>> 1042  13    1485  1718  1781  1883  2198  2670  3309  3932  516   655
>>>>>>>>> 8743  crypto     irq          misc        softirqs       vmallocinfo
>>>>>>>>> 1069  130   15    1722  1787  1893  22    2672  34    40    53    695
>>>>>>>>> 9     devices    kallsyms     modules     stat           vmstat
>>>>>>>>> 1070  131   1568  1725  1789  1896  2202  27    3419  41    539   7
>>>>>>>>> 9040  diskstats  kcore        mounts      swaps          zoneinfo
>>>>>>>>> 11    132   1645  1727  1792  19    2248  28    3433  468   542   709
>>>>>>>>> 9056  dma        keys         mtrr        sys
>>>>>>>>> 1144  1331  1655  1732  1796  1905  23    29    3437  469   5421  715
>>>>>>>>> acpi  driver     key-users    net         sysrq-trigger
>>>>>>>>> --
>>>>>>>>> To unsubscribe from this list: send the line "unsubscribe linux-input" in
>>>>>>>>> the body of a message to majordomo@vger.kernel.org
>>>>>>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply

* Re: PROBLEM: [HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a hardware click
From: Benjamin Tissoires @ 2014-12-08 19:26 UTC (permalink / raw)
  To: Amordea Whiteoak; +Cc: linux-input, Peter Hutterer, Andrew Duggan
In-Reply-To: <CALmnu0aMX8RuDJFozCwP6GmP11Uep=R6bc0EqPYzBknwpHBmpA@mail.gmail.com>

On Mon, Dec 8, 2014 at 2:16 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
> While I have the ears of the touchpad gods, there is one more tiny
> issue I'd like to report. This may be simply a configuration issue,
> but I would not know how to fix it.
>
> The window for double-tapping (tapping the touchpad twice to simulate
> a double-click) is remarkably brief. Let me be clear, double-tapping
> on the touchpad does work, however if you do not get the second tap
> within about a 200ms window after the first, it seems to fail to
> register as a double-click, counting it as two unrelated single
> clicks--this is an uncomfortably short window of opportunity. A
> temporary workaround seems to be triple-tapping which for whatever
> reason allow for a broader window (much closer to a full second) and
> registers as a double-tap, but that just seems to be a happy accident
> and is certainly not an expected feature. Is there any way to broaden
> that window?

This is usually an Xorg configuration problem (definitively not a
kernel one). However, you are using ubuntu 14.10 and I don't know if
they decided to switch to MIR yet. If so, I have no clues on what is
driving the touchpad, so I won't be of any help.

My guess would be:
try open the settings panel, go into mouse (or touchpad, or whatever
it is called), look for an option which should allow you to change
this setting. If there are none, complain to the Ubuntu team by
opening a new bug on their launchpad.

>
> I did not have this problem on my previous laptop with Lubuntu
> installed (though it had 14.04 not 14.10--it's no longer operational
> after suffering an unfortunate accident so I can't do comparison
> testing with it any longer).

ouch :/

>
> I promise this is my last remaining issue with the touchpad. :)

No problem. We prefer having responsive users who tries to solve their
problems than frustrated users :)

I hope Andrew will be able to fix your touchpad soonish. Thanks for
the followup BTW Andrew.

Cheers,
Benjamin

>
> On Mon, Dec 8, 2014 at 1:39 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>> My Linux newbieness is showing. :)
>>
>> I attempted to edit and boot the grub configuration, but I don't think
>> I did it right. I went with the seemingly more sure-fire way to get
>> your data and followed the second set of instructions.
>>
>> Enclosed is all the dmesg output once I got that working.
>>
>> On Mon, Dec 8, 2014 at 12:59 PM, Benjamin Tissoires
>> <benjamin.tissoires@gmail.com> wrote:
>>> On Mon, Dec 8, 2014 at 12:14 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>> There may be a thing I am failing to understand about dmesg here, but
>>>> a grep through both dmesg and /var/log/dmesg yielded no hits on
>>>> "i2c_hid.debug=1". I did find plenty of hits on just "i2c_hid", which
>>>> yielded several repetitive lines of what appears to be various
>>>> modules. Please let me know if there is something I am failing to
>>>> understand here, but I could not find the requested phrase in my
>>>> dmesg.
>>>
>>> I meant that when you reboot the laptop, in grub, append
>>> "i2c_hid.debug=1" to the kernel command line.
>>>
>>> This should be seen in one of the first few lines of dmesg (the one
>>> starting by "[    0.000000] Command line:
>>> BOOT_IMAGE=/boot/vmlinuz-3.18.0-031800rc7-generic "), and a lot of raw
>>> events should be dumped in the dmesg.
>>>
>>>>
>>>> I do have the hid-recorder output though, which I am attaching here.
>>>> This time I used a non-conductive pen to only generate clicks without
>>>> all the positioning data piling in on top. This is a recording of two
>>>> left clicks.
>>>>
>>>
>>> Ok, so at least, the device sends a sane behavior (one event per
>>> click/release, with one bit changed). Unfortunately, I think the
>>> problem lies in the configuration of your device by hid-rmi. So the
>>> dmesg output while i2c_hid.debug=1 is set should help to figure out
>>> the problem.
>>>
>>> If for whatever reasons you do not manage to get the parameter
>>> appended to your command line, the following commands should suffice
>>> (as root):
>>> #> rmmod hid-rmi
>>> #> echo 1 > /sys/module/i2c_hid/parameters/debug
>>> #> modprobe hid-rmi
>>>
>>> do a few events on the touchpad (with clicks)
>>>
>>> #> echo 0 > /sys/module/i2c_hid/parameters/debug
>>>
>>> and send out the dmesg.
>>>
>>> Cheers,
>>> Benjamin
>>>
>>>> If there is anything else I can provide, please let me know.
>>>>
>>>> Thank you for helping with this bug. :)
>>>>
>>>> On Mon, Dec 8, 2014 at 11:44 AM, Benjamin Tissoires
>>>> <benjamin.tissoires@gmail.com> wrote:
>>>>> Hi Amordea,
>>>>>
>>>>> On Mon, Dec 8, 2014 at 11:20 AM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>>>> My apologies if my bug report was inadequate. It is the first upstream
>>>>>> report I've ever filed, though I did attempt to give all the
>>>>>> information they requested to the best of my ability.
>>>>>
>>>>> Oh, no, I was not complaining about your way of reporting the bug. I
>>>>> know that it can be difficult for users to report _and_ provide all
>>>>> the necessary information unless you already know a little bit about
>>>>> the communities, how they work and what tool they use.
>>>>> My complain was more that the way it was triaged: try an upstream
>>>>> kernel; oh, does not work; send it upstream because it's a "poor
>>>>> driver implementation". Whereas here, there may be any part of the
>>>>> stack involved unless we look at the evemu-record (which is the output
>>>>> of the kernel BTW). And saying that the driver is badly designed
>>>>> really does not help...
>>>>> Last, the "meta bug" they have is either a problem in the kernel
>>>>> drivers they ship, or a not up to date Xorg stack. FWIW, I don't think
>>>>> we have this on Fedora.
>>>>>
>>>>> Anyway, thanks for the explanations that you give in the next
>>>>> paragraph, it gives a more comprehensive bug report :)
>>>>>
>>>>>>
>>>>>> If it helps: to be clear about the design of this clickpad, it is one
>>>>>> where the entire pad is touch-sensitive, even the area over the
>>>>>> hardware click buttons which are on the bottom. The entire pad is one
>>>>>> piece, so the pad itself shifts when you click a button. The
>>>>>> malfunction occurs whenever any of these buttons are clicked, but the
>>>>>> simulated clicks (tapping on the pad) behave adequately and do not
>>>>>> cause any mouse input lock-ups. The malfunction itself causes ALL
>>>>>> subsequent mouse clicks from any source (including a USB mouse) to
>>>>>> only act in the spot where the first hardware click from the clickpad
>>>>>> was performed and cannot be adjusted until the clickpad has been
>>>>>> disabled (xinput disable <id>). The hardware buttons on the clickpad
>>>>>> itself do not register as clicks at all, they only cause all mouse
>>>>>> input to malfunction as previously described.
>>>>>>
>>>>>> I am enclosing the requested evemu-record data. This is a recording of
>>>>>> my clicking the left hardware click button three times in rapid
>>>>>> succession, but failure generally occurs after the first click.
>>>>>
>>>>> Many thanks for the logs. So here, I can see that when you click on
>>>>> the touchpad, both BTN_LEFT and BTN_RIGHT are emitted, but they are
>>>>> never released :) I do not see either the 2 other clicks.
>>>>> So yes, here the driver is at fault and misses to release the clicks.
>>>>> This infers the cross-device problem in X BTW.
>>>>>
>>>>>>
>>>>>> A curious behavior I noticed in the process of getting this recording
>>>>>> is that on the first click, I received a pasted text line in my
>>>>>> terminal. I could not reproduce this behavior by doing an
>>>>>> enable/disable cycle on the trackpad, but to confirm I rebooted a few
>>>>>> times to test and sure enough, the very first click each boot triggers
>>>>>> a clipboard paste event.
>>>>>
>>>>> You must have the middle button emulation enabled in Xorg (hitting
>>>>> both left and right button will trigger a middle button). So when we
>>>>> will be able to fix this bug, the spurious middle click should
>>>>> disappear.
>>>>>
>>>>>>
>>>>>> If there is any more information I can provide, please let me know.
>>>>>
>>>>> Ideally, I'd like to punt this one to Andrew, but I think we would be
>>>>> grateful if you could also provide 2 more things:
>>>>> - the dmesg when "i2c_hid.debug=1" is appended to the kernel boot line
>>>>> (without the quotes)
>>>>> - the hid-recorder output when you trigger the bug
>>>>>
>>>>> hid-recorder should be installed from sources in Ubuntu I guess:
>>>>> http://bentiss.github.io/hid-replay-docs/
>>>>>
>>>>> The hid-recorder output might not be absolutely needed, so as long as
>>>>> we have the dmesg with i2c_hid.debug=1, we should be fine.
>>>>>
>>>>> Cheers,
>>>>> Benjamin
>>>>>
>>>>>>
>>>>>> Thank you!
>>>>>>
>>>>>> On Mon, Dec 8, 2014 at 10:01 AM, Benjamin Tissoires
>>>>>> <benjamin.tissoires@gmail.com> wrote:
>>>>>>> Hi Amordea,
>>>>>>>
>>>>>>> I must say, the bug triaging is worse and worse with ubuntu :(
>>>>>>>
>>>>>>> From the bug description, I can not tell if the problem lies in the
>>>>>>> kernel, or if it is the synaptics input driver or the xserver which is
>>>>>>> in fault. I would be tempted to say that the problem lies in the upper
>>>>>>> layers given the cross-devices problem.
>>>>>>>
>>>>>>> Anyway, to be able to understand the problem, we will need to get an
>>>>>>> evemu-record output of your device when you are reproducing the bug.
>>>>>>> You can find evemu in your distribution channels, or here:
>>>>>>> http://www.freedesktop.org/wiki/Evemu/
>>>>>>>
>>>>>>> Given that you have an hid-rmi/i2c device, I am adding Andrew in CC,
>>>>>>> and Peter for the upper layers if there is anything wrong there.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Benjamin
>>>>>>>
>>>>>>> On Sun, Dec 7, 2014 at 5:50 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>>>>>> Original Bug Report:
>>>>>>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398533
>>>>>>>>
>>>>>>>> Bug Description: After clicking once at the bottom of my clickpad on
>>>>>>>> either button, if I move my cursor elsewhere on the screen, and then
>>>>>>>> subsequently click again (with either clickpad or external mouse this
>>>>>>>> time) it registers a click at the location where my cursor icon was
>>>>>>>> originally. I can continue to move my cursor anywhere on the screen,
>>>>>>>> and it still registers the click in the original location.
>>>>>>>>
>>>>>>>>
>>>>>>>> cat /proc/version
>>>>>>>> Linux version 3.18.0-031800rc7-generic (apw@gomeisa) (gcc version
>>>>>>>> 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201411302035 SMP Mon Dec 1
>>>>>>>> 01:36:38 UTC 2014
>>>>>>>>
>>>>>>>>
>>>>>>>> lsb_release -rd
>>>>>>>> Description: Ubuntu 14.10
>>>>>>>> Release: 14.10
>>>>>>>>
>>>>>>>>
>>>>>>>> sh /usr/src/linux-headers-3.18.0-031800rc7/scripts/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 woprjr 3.18.0-031800rc7-generic #201411302035 SMP Mon Dec 1
>>>>>>>> 01:36:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>>>>>>>>
>>>>>>>> Gnu C
>>>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux:
>>>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: 20:
>>>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: ld: not
>>>>>>>> found
>>>>>>>> binutils
>>>>>>>> util-linux             2.25.1
>>>>>>>> mount                  debug
>>>>>>>> module-init-tools      18
>>>>>>>> e2fsprogs              1.42.10
>>>>>>>> PPP                    2.4.5
>>>>>>>> Linux C Library        2.19
>>>>>>>> Dynamic linker (ldd)   2.19
>>>>>>>> Procps                 3.3.9
>>>>>>>> Net-tools              1.60
>>>>>>>> Kbd                    1.15.5
>>>>>>>> Sh-utils               8.23
>>>>>>>> wireless-tools         30
>>>>>>>> Modules Loaded         snd_hda_codec_hdmi snd_hda_codec_realtek
>>>>>>>> snd_hda_codec_generic ctr ccm joydev hp_wmi hid_rmi sparse_keymap
>>>>>>>> rfcomm bnep arc4 rtl8723be btcoexist rtl8723_common intel_rapl
>>>>>>>> uvcvideo rtl_pci intel_soc_dts_thermal intel_powerclamp
>>>>>>>> videobuf2_vmalloc videobuf2_memops coretemp rtlwifi videobuf2_core
>>>>>>>> v4l2_common videodev mac80211 media kvm cfg80211 btusb
>>>>>>>> crct10dif_pclmul crc32_pclmul bluetooth ghash_clmulni_intel serio_raw
>>>>>>>> cryptd wmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
>>>>>>>> snd_seq_midi snd_seq_midi_event snd_rawmidi snd_soc_rt5640
>>>>>>>> snd_soc_rl6231 snd_soc_core snd_compress dw_dmac i915
>>>>>>>> snd_pcm_dmaengine dw_dmac_core snd_seq int3400_thermal int3403_thermal
>>>>>>>> acpi_thermal_rel nls_iso8859_1 snd_pcm i2c_hid video
>>>>>>>> intel_smartconnect drm_kms_helper hid drm rfkill_gpio snd_seq_device
>>>>>>>> i2c_designware_platform i2c_algo_bit snd_soc_sst_acpi 8250_dw
>>>>>>>> snd_timer i2c_designware_core hp_wireless shpchp spi_pxa2xx_platform
>>>>>>>> snd pwm_lpss_platform lpc_ich mac_hid mei_txe pwm_lpss iosf_mbi mei
>>>>>>>> soundcore parport_pc ppdev lp parport uas usb_storage mmc_block
>>>>>>>> sdhci_acpi sdhci
>>>>>>>>
>>>>>>>>
>>>>>>>> cat /proc/cpuinfo
>>>>>>>> processor : 0
>>>>>>>> vendor_id : GenuineIntel
>>>>>>>> cpu family : 6
>>>>>>>> model : 55
>>>>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>>>>> stepping : 8
>>>>>>>> microcode : 0x829
>>>>>>>> cpu MHz : 499.741
>>>>>>>> cache size : 1024 KB
>>>>>>>> physical id : 0
>>>>>>>> siblings : 2
>>>>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>>>>> bugs :
>>>>>>>> bogomips : 4326.40
>>>>>>>> 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 : 55
>>>>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>>>>> stepping : 8
>>>>>>>> microcode : 0x829
>>>>>>>> cpu MHz : 499.741
>>>>>>>> cache size : 1024 KB
>>>>>>>> physical id : 0
>>>>>>>> siblings : 2
>>>>>>>> core id : 1
>>>>>>>> cpu cores : 2
>>>>>>>> apicid : 2
>>>>>>>> initial apicid : 2
>>>>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>>>>> bugs :
>>>>>>>> bogomips : 4326.40
>>>>>>>> clflush size : 64
>>>>>>>> cache_alignment : 64
>>>>>>>> address sizes : 36 bits physical, 48 bits virtual
>>>>>>>> power management:
>>>>>>>>
>>>>>>>>
>>>>>>>> cat /proc/modules
>>>>>>>> snd_hda_codec_hdmi 52670 1 - Live 0x0000000000000000
>>>>>>>> snd_hda_codec_realtek 80420 1 - Live 0x0000000000000000
>>>>>>>> snd_hda_codec_generic 69995 1 snd_hda_codec_realtek, Live 0x0000000000000000
>>>>>>>> ctr 13193 1 - Live 0x0000000000000000
>>>>>>>> ccm 17856 1 - Live 0x0000000000000000
>>>>>>>> joydev 17587 0 - Live 0x0000000000000000
>>>>>>>> hp_wmi 14017 0 - Live 0x0000000000000000
>>>>>>>> hid_rmi 18060 0 - Live 0x0000000000000000
>>>>>>>> sparse_keymap 13890 1 hp_wmi, Live 0x0000000000000000
>>>>>>>> rfcomm 75066 8 - Live 0x0000000000000000
>>>>>>>> bnep 23980 2 - Live 0x0000000000000000
>>>>>>>> arc4 12573 2 - Live 0x0000000000000000
>>>>>>>> rtl8723be 96097 0 - Live 0x0000000000000000
>>>>>>>> btcoexist 51822 1 rtl8723be, Live 0x0000000000000000
>>>>>>>> rtl8723_common 23662 1 rtl8723be, Live 0x0000000000000000
>>>>>>>> intel_rapl 19196 0 - Live 0x0000000000000000
>>>>>>>> uvcvideo 86723 0 - Live 0x0000000000000000
>>>>>>>> rtl_pci 27417 1 rtl8723be, Live 0x0000000000000000
>>>>>>>> intel_soc_dts_thermal 13523 0 - Live 0x0000000000000000
>>>>>>>> intel_powerclamp 19099 0 - Live 0x0000000000000000
>>>>>>>> videobuf2_vmalloc 13216 1 uvcvideo, Live 0x0000000000000000
>>>>>>>> videobuf2_memops 13362 1 videobuf2_vmalloc, Live 0x0000000000000000
>>>>>>>> coretemp 13638 0 - Live 0x0000000000000000
>>>>>>>> rtlwifi 74744 2 rtl8723be,rtl_pci, Live 0x0000000000000000
>>>>>>>> videobuf2_core 51547 1 uvcvideo, Live 0x0000000000000000
>>>>>>>> v4l2_common 15715 1 videobuf2_core, Live 0x0000000000000000
>>>>>>>> videodev 163831 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
>>>>>>>> mac80211 697159 3 rtl8723be,rtl_pci,rtlwifi, Live 0x0000000000000000
>>>>>>>> media 22008 2 uvcvideo,videodev, Live 0x0000000000000000
>>>>>>>> kvm 475237 0 - Live 0x0000000000000000
>>>>>>>> cfg80211 520257 2 rtlwifi,mac80211, Live 0x0000000000000000
>>>>>>>> btusb 32691 0 - Live 0x0000000000000000
>>>>>>>> crct10dif_pclmul 14268 0 - Live 0x0000000000000000
>>>>>>>> crc32_pclmul 13180 0 - Live 0x0000000000000000
>>>>>>>> bluetooth 486890 22 rfcomm,bnep,btusb, Live 0x0000000000000000
>>>>>>>> ghash_clmulni_intel 13230 0 - Live 0x0000000000000000
>>>>>>>> serio_raw 13483 0 - Live 0x0000000000000000
>>>>>>>> cryptd 20531 1 ghash_clmulni_intel, Live 0x0000000000000000
>>>>>>>> wmi 19379 1 hp_wmi, Live 0x0000000000000000
>>>>>>>> snd_hda_intel 30824 1 - Live 0x0000000000000000
>>>>>>>> snd_hda_controller 32234 1 snd_hda_intel, Live 0x0000000000000000
>>>>>>>> snd_hda_codec 144641 5
>>>>>>>> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,
>>>>>>>> Live 0x0000000000000000
>>>>>>>> snd_hwdep 17709 1 snd_hda_codec, Live 0x0000000000000000
>>>>>>>> snd_seq_midi 13564 0 - Live 0x0000000000000000
>>>>>>>> snd_seq_midi_event 14899 1 snd_seq_midi, Live 0x0000000000000000
>>>>>>>> snd_rawmidi 31197 1 snd_seq_midi, Live 0x0000000000000000
>>>>>>>> snd_soc_rt5640 93325 0 - Live 0x0000000000000000
>>>>>>>> snd_soc_rl6231 13037 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>>>>> snd_soc_core 207780 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>>>>> snd_compress 19395 1 snd_soc_core, Live 0x0000000000000000
>>>>>>>> dw_dmac 12835 0 - Live 0x0000000000000000
>>>>>>>> i915 1031996 2 - Live 0x0000000000000000
>>>>>>>> snd_pcm_dmaengine 15229 1 snd_soc_core, Live 0x0000000000000000
>>>>>>>> dw_dmac_core 28558 1 dw_dmac, Live 0x0000000000000000
>>>>>>>> snd_seq 63540 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
>>>>>>>> int3400_thermal 13040 0 - Live 0x0000000000000000
>>>>>>>> int3403_thermal 13255 0 - Live 0x0000000000000000
>>>>>>>> acpi_thermal_rel 13807 1 int3400_thermal, Live 0x0000000000000000
>>>>>>>> nls_iso8859_1 12713 2 - Live 0x0000000000000000
>>>>>>>> snd_pcm 106273 7
>>>>>>>> snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec,snd_soc_rt5640,snd_soc_core,snd_pcm_dmaengine,
>>>>>>>> Live 0x0000000000000000
>>>>>>>> i2c_hid 19065 0 - Live 0x0000000000000000
>>>>>>>> video 20649 1 i915, Live 0x0000000000000000
>>>>>>>> intel_smartconnect 12637 0 - Live 0x0000000000000000
>>>>>>>> drm_kms_helper 99802 1 i915, Live 0x0000000000000000
>>>>>>>> hid 110572 2 hid_rmi,i2c_hid, Live 0x0000000000000000
>>>>>>>> drm 323675 4 i915,drm_kms_helper, Live 0x0000000000000000
>>>>>>>> rfkill_gpio 12761 0 - Live 0x0000000000000000
>>>>>>>> snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000
>>>>>>>> i2c_designware_platform 13025 0 - Live 0x0000000000000000
>>>>>>>> i2c_algo_bit 13564 1 i915, Live 0x0000000000000000
>>>>>>>> snd_soc_sst_acpi 13007 0 - Live 0x0000000000000000
>>>>>>>> 8250_dw 13474 0 - Live 0x0000000000000000
>>>>>>>> snd_timer 30118 2 snd_seq,snd_pcm, Live 0x0000000000000000
>>>>>>>> i2c_designware_core 14990 1 i2c_designware_platform, Live 0x0000000000000000
>>>>>>>> hp_wireless 12637 0 - Live 0x0000000000000000
>>>>>>>> shpchp 37216 0 - Live 0x0000000000000000
>>>>>>>> spi_pxa2xx_platform 23256 0 - Live 0x0000000000000000
>>>>>>>> snd 84025 15 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_soc_core,snd_compress,snd_seq,snd_pcm,snd_seq_device,snd_timer,
>>>>>>>> Live 0x0000000000000000
>>>>>>>> pwm_lpss_platform 12703 0 - Live 0x0000000000000000
>>>>>>>> lpc_ich 21176 0 - Live 0x0000000000000000
>>>>>>>> mac_hid 13275 0 - Live 0x0000000000000000
>>>>>>>> mei_txe 19808 0 - Live 0x0000000000000000
>>>>>>>> pwm_lpss 13281 1 pwm_lpss_platform, Live 0x0000000000000000
>>>>>>>> iosf_mbi 13865 1 intel_soc_dts_thermal, Live 0x0000000000000000
>>>>>>>> mei 88473 1 mei_txe, Live 0x0000000000000000
>>>>>>>> soundcore 15091 2 snd_hda_codec,snd, Live 0x0000000000000000
>>>>>>>> parport_pc 32909 0 - Live 0x0000000000000000
>>>>>>>> ppdev 17711 0 - Live 0x0000000000000000
>>>>>>>> lp 17799 0 - Live 0x0000000000000000
>>>>>>>> parport 42481 3 parport_pc,ppdev,lp, Live 0x0000000000000000
>>>>>>>> uas 22673 0 - Live 0x0000000000000000
>>>>>>>> usb_storage 67010 2 uas, Live 0x0000000000000000
>>>>>>>> mmc_block 36596 4 - Live 0x0000000000000000
>>>>>>>> sdhci_acpi 13502 0 - Live 0x0000000000000000
>>>>>>>> sdhci 43929 1 sdhci_acpi, Live 0x0000000000000000
>>>>>>>>
>>>>>>>>
>>>>>>>> /proc/ioports
>>>>>>>> 0000-006f : PCI Bus 0000:00
>>>>>>>>   0000-001f : dma1
>>>>>>>>   0020-0021 : pic1
>>>>>>>>   0040-0043 : timer0
>>>>>>>>   0050-0053 : timer1
>>>>>>>>   0060-0060 : keyboard
>>>>>>>>   0062-0062 : PNP0C09:00
>>>>>>>>     0062-0062 : EC data
>>>>>>>>   0064-0064 : keyboard
>>>>>>>>   0066-0066 : PNP0C09:00
>>>>>>>>     0066-0066 : EC cmd
>>>>>>>> 0070-0077 : rtc0
>>>>>>>> 0078-0cf7 : PCI Bus 0000:00
>>>>>>>>   0080-008f : dma page reg
>>>>>>>>   00a0-00a1 : pic2
>>>>>>>>   00c0-00df : dma2
>>>>>>>>   00f0-00ff : fpu
>>>>>>>>   03f8-03ff : serial
>>>>>>>>   0400-047f : pnp 00:01
>>>>>>>>     0400-0403 : ACPI PM1a_EVT_BLK
>>>>>>>>     0404-0405 : ACPI PM1a_CNT_BLK
>>>>>>>>     0408-040b : ACPI PM_TMR
>>>>>>>>     0420-042f : ACPI GPE0_BLK
>>>>>>>>     0430-0433 : iTCO_wdt
>>>>>>>>     0450-0450 : ACPI PM2_CNT_BLK
>>>>>>>>     0460-047f : iTCO_wdt
>>>>>>>>   0500-05fe : pnp 00:01
>>>>>>>>   0600-061f : pnp 00:01
>>>>>>>>   0680-069f : pnp 00:01
>>>>>>>> 0cf8-0cff : PCI conf1
>>>>>>>> 0d00-ffff : PCI Bus 0000:00
>>>>>>>>   1000-1fff : PCI Bus 0000:01
>>>>>>>>     1000-10ff : 0000:01:00.0
>>>>>>>>       1000-10ff : rtl_pci
>>>>>>>>   2000-201f : 0000:00:1f.3
>>>>>>>>   2050-2057 : 0000:00:02.0
>>>>>>>>
>>>>>>>>
>>>>>>>> cat /proc/iomem
>>>>>>>> 00000000-00000fff : reserved
>>>>>>>> 00001000-0006efff : System RAM
>>>>>>>> 0006f000-0006ffff : ACPI Non-volatile Storage
>>>>>>>> 00070000-00084fff : System RAM
>>>>>>>> 00085000-00086fff : reserved
>>>>>>>> 00087000-00087fff : System RAM
>>>>>>>> 00088000-0009ffff : reserved
>>>>>>>> 000a0000-000bffff : PCI Bus 0000:00
>>>>>>>> 000c0000-000dffff : PCI Bus 0000:00
>>>>>>>> 000e0000-000fffff : PCI Bus 0000:00
>>>>>>>>   000f0000-000fffff : System ROM
>>>>>>>> 00100000-1effffff : System RAM
>>>>>>>>   02000000-027b8537 : Kernel code
>>>>>>>>   027b8538-02d2123f : Kernel data
>>>>>>>>   02e87000-02fcffff : Kernel bss
>>>>>>>> 1f000000-1f0fffff : reserved
>>>>>>>> 1f100000-1fffffff : System RAM
>>>>>>>> 20000000-200fffff : reserved
>>>>>>>> 20100000-75867fff : System RAM
>>>>>>>> 75868000-75892fff : reserved
>>>>>>>> 75893000-78892fff : System RAM
>>>>>>>> 78893000-78922fff : reserved
>>>>>>>> 78923000-791a3fff : reserved
>>>>>>>> 791a4000-792a2fff : ACPI Non-volatile Storage
>>>>>>>> 792a3000-792e2fff : ACPI Tables
>>>>>>>> 792e3000-79ffffff : System RAM
>>>>>>>> 7a000000-7affffff : RAM buffer
>>>>>>>> 7b000000-7effffff : reserved
>>>>>>>>   7b000000-7effffff : Graphics Stolen Memory
>>>>>>>> 80000000-907ffffe : PCI Bus 0000:00
>>>>>>>>   80000000-8fffffff : 0000:00:02.0
>>>>>>>>   90000000-903fffff : 0000:00:02.0
>>>>>>>>   90400000-904fffff : PCI Bus 0000:01
>>>>>>>>     90400000-90403fff : 0000:01:00.0
>>>>>>>>       90400000-90403fff : rtl_pci
>>>>>>>>   90500000-905fffff : 0000:00:1a.0
>>>>>>>>     90500000-905fffff : mei_txe
>>>>>>>>   90600000-906fffff : 0000:00:1a.0
>>>>>>>>     90600000-906fffff : mei_txe
>>>>>>>>   90700000-9070ffff : 0000:00:14.0
>>>>>>>>     90700000-9070ffff : xhci-hcd
>>>>>>>>   90710000-90713fff : 0000:00:1b.0
>>>>>>>>     90710000-90713fff : ICH HD audio
>>>>>>>>   90718000-9071801f : 0000:00:1f.3
>>>>>>>> 90800000-90800fff : 80860F14:01
>>>>>>>>   90800000-90800fff : 80860F14:01
>>>>>>>> 90803000-90803fff : 80860F41:00
>>>>>>>>   90803000-90803fff : 80860F41:00
>>>>>>>> 90804000-90807fff : INTL9C60:01
>>>>>>>>   90804000-90807fff : INTL9C60:01
>>>>>>>> 90c00000-90ffffff : PCI Bus 0000:00
>>>>>>>> e0000000-e3ffffff : PCI MMCONFIG 0000 [bus 00-3f]
>>>>>>>>   e00000d0-e00000db : INT33BD:00
>>>>>>>>   e00f8000-e00f8fff : reserved
>>>>>>>> fec00000-fec003ff : IOAPIC 0
>>>>>>>> fed00000-fed003ff : HPET 0
>>>>>>>>   fed00000-fed003ff : PNP0103:00
>>>>>>>> fed01000-fed01fff : reserved
>>>>>>>>   fed01000-fed01fff : pnp 00:03
>>>>>>>> fed03000-fed03fff : pnp 00:03
>>>>>>>>   fed03008-fed0300c : iTCO_wdt
>>>>>>>> fed04000-fed04fff : pnp 00:03
>>>>>>>> fed05000-fed057ff : INT3401:00
>>>>>>>> fed08000-fed08fff : pnp 00:03
>>>>>>>> fed0c000-fed0cfff : INT33FC:00
>>>>>>>>   fed0c000-fed0cfff : INT33FC:00
>>>>>>>> fed0d000-fed0dfff : INT33FC:01
>>>>>>>>   fed0d000-fed0dfff : INT33FC:01
>>>>>>>> fed0e000-fed0efff : INT33FC:02
>>>>>>>>   fed0e000-fed0efff : INT33FC:02
>>>>>>>> fed1c000-fed1cfff : pnp 00:03
>>>>>>>> fed40000-fed44fff : pnp 00:01
>>>>>>>> fee00000-feefffff : pnp 00:03
>>>>>>>>   fee00000-fee00fff : Local APIC
>>>>>>>> fef00000-feffffff : pnp 00:03
>>>>>>>> ff000000-ffffffff : INT0800:00
>>>>>>>>   ffb80000-ffffffff : reserved
>>>>>>>>
>>>>>>>>
>>>>>>>> sudo lspci -vvv
>>>>>>>> 00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>>> Series SoC Transaction Register (rev 0e)
>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>> 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
>>>>>>>> Kernel driver in use: iosf_mbi_pci
>>>>>>>>
>>>>>>>> 00:02.0 VGA compatible controller: Intel Corporation Atom Processor
>>>>>>>> Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA
>>>>>>>> controller])
>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>> 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 263
>>>>>>>> Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
>>>>>>>> Region 2: Memory at 80000000 (32-bit, prefetchable) [size=256M]
>>>>>>>> Region 4: I/O ports at 2050 [size=8]
>>>>>>>> Expansion ROM at <unassigned> [disabled]
>>>>>>>> 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: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>>>>> Address: fee0300c  Data: 4162
>>>>>>>> Capabilities: [b0] Vendor Specific Information: Len=07 <?>
>>>>>>>> Kernel driver in use: i915
>>>>>>>>
>>>>>>>> 00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>>> Series USB xHCI (rev 0e) (prog-if 30 [XHCI])
>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>> 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 261
>>>>>>>> Region 0: Memory at 90700000 (64-bit, non-prefetchable) [size=64K]
>>>>>>>> Capabilities: [70] 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: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>>>>>>>> Address: 00000000fee0300c  Data: 41d1
>>>>>>>> Kernel driver in use: xhci_hcd
>>>>>>>>
>>>>>>>> 00:1a.0 Encryption controller: Intel Corporation Atom Processor
>>>>>>>> Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>> 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 262
>>>>>>>> Region 0: Memory at 90600000 (32-bit, non-prefetchable) [size=1M]
>>>>>>>> Region 1: Memory at 90500000 (32-bit, non-prefetchable) [size=1M]
>>>>>>>> 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: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>>>>> Address: fee0300c  Data: 4122
>>>>>>>> Kernel driver in use: mei_txe
>>>>>>>>
>>>>>>>> 00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>>> Series High Definition Audio Controller (rev 0e)
>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>> 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 264
>>>>>>>> Region 0: Memory at 90710000 (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: 00000000fee0300c  Data: 4182
>>>>>>>> Kernel driver in use: snd_hda_intel
>>>>>>>>
>>>>>>>> 00:1c.0 PCI bridge: Intel Corporation Device 0f48 (rev 0e) (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: 00001000-00001fff
>>>>>>>> Memory behind bridge: 90400000-904fffff
>>>>>>>> Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
>>>>>>>> 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
>>>>>>>> ExtTag- RBE+
>>>>>>>> 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 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s
>>>>>>>> <512ns, L1 <4us
>>>>>>>> ClockPM- Surprise- LLActRep+ BwNot+
>>>>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR-, OBFF Not
>>>>>>>> Supported ARIFwd-
>>>>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF
>>>>>>>> Disabled ARIFwd-
>>>>>>>> LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
>>>>>>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>>>>> ComplianceSOS-
>>>>>>>>  Compliance De-emphasis: -6dB
>>>>>>>> LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-,
>>>>>>>> EqualizationPhase1-
>>>>>>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>>>>> Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
>>>>>>>> Address: 00000000  Data: 0000
>>>>>>>> Capabilities: [90] Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>> Capabilities: [a0] 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-
>>>>>>>> Kernel driver in use: pcieport
>>>>>>>>
>>>>>>>> 00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>>> Series Power Control Unit (rev 0e)
>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>> 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=0c <?>
>>>>>>>> Kernel driver in use: lpc_ich
>>>>>>>>
>>>>>>>> 00:1f.3 SMBus: Intel Corporation Device 0f12 (rev 0e)
>>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>>> 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 B routed to IRQ 255
>>>>>>>> Region 0: Memory at 90718000 (32-bit, non-prefetchable) [size=32]
>>>>>>>> Region 4: I/O ports at 2000 [size=32]
>>>>>>>> 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-
>>>>>>>>
>>>>>>>> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE
>>>>>>>> PCIe Wireless Network Adapter
>>>>>>>> Subsystem: Hewlett-Packard Company Device 2231
>>>>>>>> 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 16
>>>>>>>> Region 0: I/O ports at 1000 [size=256]
>>>>>>>> Region 2: Memory at 90400000 (64-bit, non-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: 0000000000000000  Data: 0000
>>>>>>>> Capabilities: [70] Express (v2) Endpoint, MSI 00
>>>>>>>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, 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 512 bytes
>>>>>>>> DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
>>>>>>>> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency
>>>>>>>> L0s <512ns, L1 <64us
>>>>>>>> ClockPM+ Surprise- LLActRep- BwNot-
>>>>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR+, OBFF
>>>>>>>> Via message/WAKE#
>>>>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+, LTR+, OBFF Disabled
>>>>>>>> LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
>>>>>>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>>>>> ComplianceSOS-
>>>>>>>>  Compliance De-emphasis: -6dB
>>>>>>>> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,
>>>>>>>> EqualizationPhase1-
>>>>>>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>>>>> Capabilities: [100 v2] 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: 0d, GenCap+ CGenEn- ChkCap+ ChkEn-
>>>>>>>> Capabilities: [140 v1] Device Serial Number 00-23-b7-fe-ff-4c-e0-00
>>>>>>>> Capabilities: [150 v1] Latency Tolerance Reporting
>>>>>>>> Max snoop latency: 71680ns
>>>>>>>> Max no snoop latency: 71680ns
>>>>>>>> Capabilities: [158 v1] L1 PM Substates
>>>>>>>> L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
>>>>>>>>   PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
>>>>>>>> Kernel driver in use: rtl8723be
>>>>>>>>
>>>>>>>>
>>>>>>>> cat /proc/scsi/scsi
>>>>>>>> Attached devices:
>>>>>>>> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>>>>>>>>   Vendor: Generic- Model: SD/MMC/MS PRO    Rev: 1.00
>>>>>>>>   Type:   Direct-Access                    ANSI  SCSI revision: 04
>>>>>>>>
>>>>>>>>
>>>>>>>> ls /proc
>>>>>>>> 1     12    14    1667  1745  18    1963  2345  292   35    470   55
>>>>>>>> 7201  asound     execdomains  kmsg        pagetypeinfo   sysvipc
>>>>>>>> 10    1218  1410  1685  1761  1804  2     2388  296   3573  471   554
>>>>>>>> 728   buddyinfo  fb           kpagecount  partitions     thread-self
>>>>>>>> 1020  125   142   1687  1764  1805  20    24    3     359   473   56
>>>>>>>> 755   bus        filesystems  kpageflags  sched_debug    timer_list
>>>>>>>> 1025  126   1420  1690  1767  1818  21    25    30    3623  474   57
>>>>>>>> 76    cgroups    fs           loadavg     schedstat      timer_stats
>>>>>>>> 1032  127   1423  17    1769  1828  2169  2528  31    378   485   585
>>>>>>>> 77    cmdline    interrupts   locks       scsi           tty
>>>>>>>> 1033  128   143   1701  1771  1853  2187  254   3181  3822  5     606
>>>>>>>> 7886  consoles   iomem        mdstat      self           uptime
>>>>>>>> 1038  129   1444  1710  1772  1876  2197  26    33    39    509   654
>>>>>>>> 8     cpuinfo    ioports      meminfo     slabinfo       version
>>>>>>>> 1042  13    1485  1718  1781  1883  2198  2670  3309  3932  516   655
>>>>>>>> 8743  crypto     irq          misc        softirqs       vmallocinfo
>>>>>>>> 1069  130   15    1722  1787  1893  22    2672  34    40    53    695
>>>>>>>> 9     devices    kallsyms     modules     stat           vmstat
>>>>>>>> 1070  131   1568  1725  1789  1896  2202  27    3419  41    539   7
>>>>>>>> 9040  diskstats  kcore        mounts      swaps          zoneinfo
>>>>>>>> 11    132   1645  1727  1792  19    2248  28    3433  468   542   709
>>>>>>>> 9056  dma        keys         mtrr        sys
>>>>>>>> 1144  1331  1655  1732  1796  1905  23    29    3437  469   5421  715
>>>>>>>> acpi  driver     key-users    net         sysrq-trigger
>>>>>>>> --
>>>>>>>> To unsubscribe from this list: send the line "unsubscribe linux-input" in
>>>>>>>> the body of a message to majordomo@vger.kernel.org
>>>>>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply

* Re: PROBLEM: [HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a hardware click
From: Amordea Whiteoak @ 2014-12-08 19:16 UTC (permalink / raw)
  To: Benjamin Tissoires; +Cc: linux-input, Peter Hutterer, Andrew Duggan
In-Reply-To: <CALmnu0agW-mN9RON1FT9DCxE9POiwS2Jhj7hXZaW+6escc7OGw@mail.gmail.com>

While I have the ears of the touchpad gods, there is one more tiny
issue I'd like to report. This may be simply a configuration issue,
but I would not know how to fix it.

The window for double-tapping (tapping the touchpad twice to simulate
a double-click) is remarkably brief. Let me be clear, double-tapping
on the touchpad does work, however if you do not get the second tap
within about a 200ms window after the first, it seems to fail to
register as a double-click, counting it as two unrelated single
clicks--this is an uncomfortably short window of opportunity. A
temporary workaround seems to be triple-tapping which for whatever
reason allow for a broader window (much closer to a full second) and
registers as a double-tap, but that just seems to be a happy accident
and is certainly not an expected feature. Is there any way to broaden
that window?

I did not have this problem on my previous laptop with Lubuntu
installed (though it had 14.04 not 14.10--it's no longer operational
after suffering an unfortunate accident so I can't do comparison
testing with it any longer).

I promise this is my last remaining issue with the touchpad. :)

On Mon, Dec 8, 2014 at 1:39 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
> My Linux newbieness is showing. :)
>
> I attempted to edit and boot the grub configuration, but I don't think
> I did it right. I went with the seemingly more sure-fire way to get
> your data and followed the second set of instructions.
>
> Enclosed is all the dmesg output once I got that working.
>
> On Mon, Dec 8, 2014 at 12:59 PM, Benjamin Tissoires
> <benjamin.tissoires@gmail.com> wrote:
>> On Mon, Dec 8, 2014 at 12:14 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>> There may be a thing I am failing to understand about dmesg here, but
>>> a grep through both dmesg and /var/log/dmesg yielded no hits on
>>> "i2c_hid.debug=1". I did find plenty of hits on just "i2c_hid", which
>>> yielded several repetitive lines of what appears to be various
>>> modules. Please let me know if there is something I am failing to
>>> understand here, but I could not find the requested phrase in my
>>> dmesg.
>>
>> I meant that when you reboot the laptop, in grub, append
>> "i2c_hid.debug=1" to the kernel command line.
>>
>> This should be seen in one of the first few lines of dmesg (the one
>> starting by "[    0.000000] Command line:
>> BOOT_IMAGE=/boot/vmlinuz-3.18.0-031800rc7-generic "), and a lot of raw
>> events should be dumped in the dmesg.
>>
>>>
>>> I do have the hid-recorder output though, which I am attaching here.
>>> This time I used a non-conductive pen to only generate clicks without
>>> all the positioning data piling in on top. This is a recording of two
>>> left clicks.
>>>
>>
>> Ok, so at least, the device sends a sane behavior (one event per
>> click/release, with one bit changed). Unfortunately, I think the
>> problem lies in the configuration of your device by hid-rmi. So the
>> dmesg output while i2c_hid.debug=1 is set should help to figure out
>> the problem.
>>
>> If for whatever reasons you do not manage to get the parameter
>> appended to your command line, the following commands should suffice
>> (as root):
>> #> rmmod hid-rmi
>> #> echo 1 > /sys/module/i2c_hid/parameters/debug
>> #> modprobe hid-rmi
>>
>> do a few events on the touchpad (with clicks)
>>
>> #> echo 0 > /sys/module/i2c_hid/parameters/debug
>>
>> and send out the dmesg.
>>
>> Cheers,
>> Benjamin
>>
>>> If there is anything else I can provide, please let me know.
>>>
>>> Thank you for helping with this bug. :)
>>>
>>> On Mon, Dec 8, 2014 at 11:44 AM, Benjamin Tissoires
>>> <benjamin.tissoires@gmail.com> wrote:
>>>> Hi Amordea,
>>>>
>>>> On Mon, Dec 8, 2014 at 11:20 AM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>>> My apologies if my bug report was inadequate. It is the first upstream
>>>>> report I've ever filed, though I did attempt to give all the
>>>>> information they requested to the best of my ability.
>>>>
>>>> Oh, no, I was not complaining about your way of reporting the bug. I
>>>> know that it can be difficult for users to report _and_ provide all
>>>> the necessary information unless you already know a little bit about
>>>> the communities, how they work and what tool they use.
>>>> My complain was more that the way it was triaged: try an upstream
>>>> kernel; oh, does not work; send it upstream because it's a "poor
>>>> driver implementation". Whereas here, there may be any part of the
>>>> stack involved unless we look at the evemu-record (which is the output
>>>> of the kernel BTW). And saying that the driver is badly designed
>>>> really does not help...
>>>> Last, the "meta bug" they have is either a problem in the kernel
>>>> drivers they ship, or a not up to date Xorg stack. FWIW, I don't think
>>>> we have this on Fedora.
>>>>
>>>> Anyway, thanks for the explanations that you give in the next
>>>> paragraph, it gives a more comprehensive bug report :)
>>>>
>>>>>
>>>>> If it helps: to be clear about the design of this clickpad, it is one
>>>>> where the entire pad is touch-sensitive, even the area over the
>>>>> hardware click buttons which are on the bottom. The entire pad is one
>>>>> piece, so the pad itself shifts when you click a button. The
>>>>> malfunction occurs whenever any of these buttons are clicked, but the
>>>>> simulated clicks (tapping on the pad) behave adequately and do not
>>>>> cause any mouse input lock-ups. The malfunction itself causes ALL
>>>>> subsequent mouse clicks from any source (including a USB mouse) to
>>>>> only act in the spot where the first hardware click from the clickpad
>>>>> was performed and cannot be adjusted until the clickpad has been
>>>>> disabled (xinput disable <id>). The hardware buttons on the clickpad
>>>>> itself do not register as clicks at all, they only cause all mouse
>>>>> input to malfunction as previously described.
>>>>>
>>>>> I am enclosing the requested evemu-record data. This is a recording of
>>>>> my clicking the left hardware click button three times in rapid
>>>>> succession, but failure generally occurs after the first click.
>>>>
>>>> Many thanks for the logs. So here, I can see that when you click on
>>>> the touchpad, both BTN_LEFT and BTN_RIGHT are emitted, but they are
>>>> never released :) I do not see either the 2 other clicks.
>>>> So yes, here the driver is at fault and misses to release the clicks.
>>>> This infers the cross-device problem in X BTW.
>>>>
>>>>>
>>>>> A curious behavior I noticed in the process of getting this recording
>>>>> is that on the first click, I received a pasted text line in my
>>>>> terminal. I could not reproduce this behavior by doing an
>>>>> enable/disable cycle on the trackpad, but to confirm I rebooted a few
>>>>> times to test and sure enough, the very first click each boot triggers
>>>>> a clipboard paste event.
>>>>
>>>> You must have the middle button emulation enabled in Xorg (hitting
>>>> both left and right button will trigger a middle button). So when we
>>>> will be able to fix this bug, the spurious middle click should
>>>> disappear.
>>>>
>>>>>
>>>>> If there is any more information I can provide, please let me know.
>>>>
>>>> Ideally, I'd like to punt this one to Andrew, but I think we would be
>>>> grateful if you could also provide 2 more things:
>>>> - the dmesg when "i2c_hid.debug=1" is appended to the kernel boot line
>>>> (without the quotes)
>>>> - the hid-recorder output when you trigger the bug
>>>>
>>>> hid-recorder should be installed from sources in Ubuntu I guess:
>>>> http://bentiss.github.io/hid-replay-docs/
>>>>
>>>> The hid-recorder output might not be absolutely needed, so as long as
>>>> we have the dmesg with i2c_hid.debug=1, we should be fine.
>>>>
>>>> Cheers,
>>>> Benjamin
>>>>
>>>>>
>>>>> Thank you!
>>>>>
>>>>> On Mon, Dec 8, 2014 at 10:01 AM, Benjamin Tissoires
>>>>> <benjamin.tissoires@gmail.com> wrote:
>>>>>> Hi Amordea,
>>>>>>
>>>>>> I must say, the bug triaging is worse and worse with ubuntu :(
>>>>>>
>>>>>> From the bug description, I can not tell if the problem lies in the
>>>>>> kernel, or if it is the synaptics input driver or the xserver which is
>>>>>> in fault. I would be tempted to say that the problem lies in the upper
>>>>>> layers given the cross-devices problem.
>>>>>>
>>>>>> Anyway, to be able to understand the problem, we will need to get an
>>>>>> evemu-record output of your device when you are reproducing the bug.
>>>>>> You can find evemu in your distribution channels, or here:
>>>>>> http://www.freedesktop.org/wiki/Evemu/
>>>>>>
>>>>>> Given that you have an hid-rmi/i2c device, I am adding Andrew in CC,
>>>>>> and Peter for the upper layers if there is anything wrong there.
>>>>>>
>>>>>> Cheers,
>>>>>> Benjamin
>>>>>>
>>>>>> On Sun, Dec 7, 2014 at 5:50 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>>>>> Original Bug Report:
>>>>>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398533
>>>>>>>
>>>>>>> Bug Description: After clicking once at the bottom of my clickpad on
>>>>>>> either button, if I move my cursor elsewhere on the screen, and then
>>>>>>> subsequently click again (with either clickpad or external mouse this
>>>>>>> time) it registers a click at the location where my cursor icon was
>>>>>>> originally. I can continue to move my cursor anywhere on the screen,
>>>>>>> and it still registers the click in the original location.
>>>>>>>
>>>>>>>
>>>>>>> cat /proc/version
>>>>>>> Linux version 3.18.0-031800rc7-generic (apw@gomeisa) (gcc version
>>>>>>> 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201411302035 SMP Mon Dec 1
>>>>>>> 01:36:38 UTC 2014
>>>>>>>
>>>>>>>
>>>>>>> lsb_release -rd
>>>>>>> Description: Ubuntu 14.10
>>>>>>> Release: 14.10
>>>>>>>
>>>>>>>
>>>>>>> sh /usr/src/linux-headers-3.18.0-031800rc7/scripts/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 woprjr 3.18.0-031800rc7-generic #201411302035 SMP Mon Dec 1
>>>>>>> 01:36:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>>>>>>>
>>>>>>> Gnu C
>>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux:
>>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: 20:
>>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: ld: not
>>>>>>> found
>>>>>>> binutils
>>>>>>> util-linux             2.25.1
>>>>>>> mount                  debug
>>>>>>> module-init-tools      18
>>>>>>> e2fsprogs              1.42.10
>>>>>>> PPP                    2.4.5
>>>>>>> Linux C Library        2.19
>>>>>>> Dynamic linker (ldd)   2.19
>>>>>>> Procps                 3.3.9
>>>>>>> Net-tools              1.60
>>>>>>> Kbd                    1.15.5
>>>>>>> Sh-utils               8.23
>>>>>>> wireless-tools         30
>>>>>>> Modules Loaded         snd_hda_codec_hdmi snd_hda_codec_realtek
>>>>>>> snd_hda_codec_generic ctr ccm joydev hp_wmi hid_rmi sparse_keymap
>>>>>>> rfcomm bnep arc4 rtl8723be btcoexist rtl8723_common intel_rapl
>>>>>>> uvcvideo rtl_pci intel_soc_dts_thermal intel_powerclamp
>>>>>>> videobuf2_vmalloc videobuf2_memops coretemp rtlwifi videobuf2_core
>>>>>>> v4l2_common videodev mac80211 media kvm cfg80211 btusb
>>>>>>> crct10dif_pclmul crc32_pclmul bluetooth ghash_clmulni_intel serio_raw
>>>>>>> cryptd wmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
>>>>>>> snd_seq_midi snd_seq_midi_event snd_rawmidi snd_soc_rt5640
>>>>>>> snd_soc_rl6231 snd_soc_core snd_compress dw_dmac i915
>>>>>>> snd_pcm_dmaengine dw_dmac_core snd_seq int3400_thermal int3403_thermal
>>>>>>> acpi_thermal_rel nls_iso8859_1 snd_pcm i2c_hid video
>>>>>>> intel_smartconnect drm_kms_helper hid drm rfkill_gpio snd_seq_device
>>>>>>> i2c_designware_platform i2c_algo_bit snd_soc_sst_acpi 8250_dw
>>>>>>> snd_timer i2c_designware_core hp_wireless shpchp spi_pxa2xx_platform
>>>>>>> snd pwm_lpss_platform lpc_ich mac_hid mei_txe pwm_lpss iosf_mbi mei
>>>>>>> soundcore parport_pc ppdev lp parport uas usb_storage mmc_block
>>>>>>> sdhci_acpi sdhci
>>>>>>>
>>>>>>>
>>>>>>> cat /proc/cpuinfo
>>>>>>> processor : 0
>>>>>>> vendor_id : GenuineIntel
>>>>>>> cpu family : 6
>>>>>>> model : 55
>>>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>>>> stepping : 8
>>>>>>> microcode : 0x829
>>>>>>> cpu MHz : 499.741
>>>>>>> cache size : 1024 KB
>>>>>>> physical id : 0
>>>>>>> siblings : 2
>>>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>>>> bugs :
>>>>>>> bogomips : 4326.40
>>>>>>> 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 : 55
>>>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>>>> stepping : 8
>>>>>>> microcode : 0x829
>>>>>>> cpu MHz : 499.741
>>>>>>> cache size : 1024 KB
>>>>>>> physical id : 0
>>>>>>> siblings : 2
>>>>>>> core id : 1
>>>>>>> cpu cores : 2
>>>>>>> apicid : 2
>>>>>>> initial apicid : 2
>>>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>>>> bugs :
>>>>>>> bogomips : 4326.40
>>>>>>> clflush size : 64
>>>>>>> cache_alignment : 64
>>>>>>> address sizes : 36 bits physical, 48 bits virtual
>>>>>>> power management:
>>>>>>>
>>>>>>>
>>>>>>> cat /proc/modules
>>>>>>> snd_hda_codec_hdmi 52670 1 - Live 0x0000000000000000
>>>>>>> snd_hda_codec_realtek 80420 1 - Live 0x0000000000000000
>>>>>>> snd_hda_codec_generic 69995 1 snd_hda_codec_realtek, Live 0x0000000000000000
>>>>>>> ctr 13193 1 - Live 0x0000000000000000
>>>>>>> ccm 17856 1 - Live 0x0000000000000000
>>>>>>> joydev 17587 0 - Live 0x0000000000000000
>>>>>>> hp_wmi 14017 0 - Live 0x0000000000000000
>>>>>>> hid_rmi 18060 0 - Live 0x0000000000000000
>>>>>>> sparse_keymap 13890 1 hp_wmi, Live 0x0000000000000000
>>>>>>> rfcomm 75066 8 - Live 0x0000000000000000
>>>>>>> bnep 23980 2 - Live 0x0000000000000000
>>>>>>> arc4 12573 2 - Live 0x0000000000000000
>>>>>>> rtl8723be 96097 0 - Live 0x0000000000000000
>>>>>>> btcoexist 51822 1 rtl8723be, Live 0x0000000000000000
>>>>>>> rtl8723_common 23662 1 rtl8723be, Live 0x0000000000000000
>>>>>>> intel_rapl 19196 0 - Live 0x0000000000000000
>>>>>>> uvcvideo 86723 0 - Live 0x0000000000000000
>>>>>>> rtl_pci 27417 1 rtl8723be, Live 0x0000000000000000
>>>>>>> intel_soc_dts_thermal 13523 0 - Live 0x0000000000000000
>>>>>>> intel_powerclamp 19099 0 - Live 0x0000000000000000
>>>>>>> videobuf2_vmalloc 13216 1 uvcvideo, Live 0x0000000000000000
>>>>>>> videobuf2_memops 13362 1 videobuf2_vmalloc, Live 0x0000000000000000
>>>>>>> coretemp 13638 0 - Live 0x0000000000000000
>>>>>>> rtlwifi 74744 2 rtl8723be,rtl_pci, Live 0x0000000000000000
>>>>>>> videobuf2_core 51547 1 uvcvideo, Live 0x0000000000000000
>>>>>>> v4l2_common 15715 1 videobuf2_core, Live 0x0000000000000000
>>>>>>> videodev 163831 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
>>>>>>> mac80211 697159 3 rtl8723be,rtl_pci,rtlwifi, Live 0x0000000000000000
>>>>>>> media 22008 2 uvcvideo,videodev, Live 0x0000000000000000
>>>>>>> kvm 475237 0 - Live 0x0000000000000000
>>>>>>> cfg80211 520257 2 rtlwifi,mac80211, Live 0x0000000000000000
>>>>>>> btusb 32691 0 - Live 0x0000000000000000
>>>>>>> crct10dif_pclmul 14268 0 - Live 0x0000000000000000
>>>>>>> crc32_pclmul 13180 0 - Live 0x0000000000000000
>>>>>>> bluetooth 486890 22 rfcomm,bnep,btusb, Live 0x0000000000000000
>>>>>>> ghash_clmulni_intel 13230 0 - Live 0x0000000000000000
>>>>>>> serio_raw 13483 0 - Live 0x0000000000000000
>>>>>>> cryptd 20531 1 ghash_clmulni_intel, Live 0x0000000000000000
>>>>>>> wmi 19379 1 hp_wmi, Live 0x0000000000000000
>>>>>>> snd_hda_intel 30824 1 - Live 0x0000000000000000
>>>>>>> snd_hda_controller 32234 1 snd_hda_intel, Live 0x0000000000000000
>>>>>>> snd_hda_codec 144641 5
>>>>>>> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,
>>>>>>> Live 0x0000000000000000
>>>>>>> snd_hwdep 17709 1 snd_hda_codec, Live 0x0000000000000000
>>>>>>> snd_seq_midi 13564 0 - Live 0x0000000000000000
>>>>>>> snd_seq_midi_event 14899 1 snd_seq_midi, Live 0x0000000000000000
>>>>>>> snd_rawmidi 31197 1 snd_seq_midi, Live 0x0000000000000000
>>>>>>> snd_soc_rt5640 93325 0 - Live 0x0000000000000000
>>>>>>> snd_soc_rl6231 13037 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>>>> snd_soc_core 207780 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>>>> snd_compress 19395 1 snd_soc_core, Live 0x0000000000000000
>>>>>>> dw_dmac 12835 0 - Live 0x0000000000000000
>>>>>>> i915 1031996 2 - Live 0x0000000000000000
>>>>>>> snd_pcm_dmaengine 15229 1 snd_soc_core, Live 0x0000000000000000
>>>>>>> dw_dmac_core 28558 1 dw_dmac, Live 0x0000000000000000
>>>>>>> snd_seq 63540 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
>>>>>>> int3400_thermal 13040 0 - Live 0x0000000000000000
>>>>>>> int3403_thermal 13255 0 - Live 0x0000000000000000
>>>>>>> acpi_thermal_rel 13807 1 int3400_thermal, Live 0x0000000000000000
>>>>>>> nls_iso8859_1 12713 2 - Live 0x0000000000000000
>>>>>>> snd_pcm 106273 7
>>>>>>> snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec,snd_soc_rt5640,snd_soc_core,snd_pcm_dmaengine,
>>>>>>> Live 0x0000000000000000
>>>>>>> i2c_hid 19065 0 - Live 0x0000000000000000
>>>>>>> video 20649 1 i915, Live 0x0000000000000000
>>>>>>> intel_smartconnect 12637 0 - Live 0x0000000000000000
>>>>>>> drm_kms_helper 99802 1 i915, Live 0x0000000000000000
>>>>>>> hid 110572 2 hid_rmi,i2c_hid, Live 0x0000000000000000
>>>>>>> drm 323675 4 i915,drm_kms_helper, Live 0x0000000000000000
>>>>>>> rfkill_gpio 12761 0 - Live 0x0000000000000000
>>>>>>> snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000
>>>>>>> i2c_designware_platform 13025 0 - Live 0x0000000000000000
>>>>>>> i2c_algo_bit 13564 1 i915, Live 0x0000000000000000
>>>>>>> snd_soc_sst_acpi 13007 0 - Live 0x0000000000000000
>>>>>>> 8250_dw 13474 0 - Live 0x0000000000000000
>>>>>>> snd_timer 30118 2 snd_seq,snd_pcm, Live 0x0000000000000000
>>>>>>> i2c_designware_core 14990 1 i2c_designware_platform, Live 0x0000000000000000
>>>>>>> hp_wireless 12637 0 - Live 0x0000000000000000
>>>>>>> shpchp 37216 0 - Live 0x0000000000000000
>>>>>>> spi_pxa2xx_platform 23256 0 - Live 0x0000000000000000
>>>>>>> snd 84025 15 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_soc_core,snd_compress,snd_seq,snd_pcm,snd_seq_device,snd_timer,
>>>>>>> Live 0x0000000000000000
>>>>>>> pwm_lpss_platform 12703 0 - Live 0x0000000000000000
>>>>>>> lpc_ich 21176 0 - Live 0x0000000000000000
>>>>>>> mac_hid 13275 0 - Live 0x0000000000000000
>>>>>>> mei_txe 19808 0 - Live 0x0000000000000000
>>>>>>> pwm_lpss 13281 1 pwm_lpss_platform, Live 0x0000000000000000
>>>>>>> iosf_mbi 13865 1 intel_soc_dts_thermal, Live 0x0000000000000000
>>>>>>> mei 88473 1 mei_txe, Live 0x0000000000000000
>>>>>>> soundcore 15091 2 snd_hda_codec,snd, Live 0x0000000000000000
>>>>>>> parport_pc 32909 0 - Live 0x0000000000000000
>>>>>>> ppdev 17711 0 - Live 0x0000000000000000
>>>>>>> lp 17799 0 - Live 0x0000000000000000
>>>>>>> parport 42481 3 parport_pc,ppdev,lp, Live 0x0000000000000000
>>>>>>> uas 22673 0 - Live 0x0000000000000000
>>>>>>> usb_storage 67010 2 uas, Live 0x0000000000000000
>>>>>>> mmc_block 36596 4 - Live 0x0000000000000000
>>>>>>> sdhci_acpi 13502 0 - Live 0x0000000000000000
>>>>>>> sdhci 43929 1 sdhci_acpi, Live 0x0000000000000000
>>>>>>>
>>>>>>>
>>>>>>> /proc/ioports
>>>>>>> 0000-006f : PCI Bus 0000:00
>>>>>>>   0000-001f : dma1
>>>>>>>   0020-0021 : pic1
>>>>>>>   0040-0043 : timer0
>>>>>>>   0050-0053 : timer1
>>>>>>>   0060-0060 : keyboard
>>>>>>>   0062-0062 : PNP0C09:00
>>>>>>>     0062-0062 : EC data
>>>>>>>   0064-0064 : keyboard
>>>>>>>   0066-0066 : PNP0C09:00
>>>>>>>     0066-0066 : EC cmd
>>>>>>> 0070-0077 : rtc0
>>>>>>> 0078-0cf7 : PCI Bus 0000:00
>>>>>>>   0080-008f : dma page reg
>>>>>>>   00a0-00a1 : pic2
>>>>>>>   00c0-00df : dma2
>>>>>>>   00f0-00ff : fpu
>>>>>>>   03f8-03ff : serial
>>>>>>>   0400-047f : pnp 00:01
>>>>>>>     0400-0403 : ACPI PM1a_EVT_BLK
>>>>>>>     0404-0405 : ACPI PM1a_CNT_BLK
>>>>>>>     0408-040b : ACPI PM_TMR
>>>>>>>     0420-042f : ACPI GPE0_BLK
>>>>>>>     0430-0433 : iTCO_wdt
>>>>>>>     0450-0450 : ACPI PM2_CNT_BLK
>>>>>>>     0460-047f : iTCO_wdt
>>>>>>>   0500-05fe : pnp 00:01
>>>>>>>   0600-061f : pnp 00:01
>>>>>>>   0680-069f : pnp 00:01
>>>>>>> 0cf8-0cff : PCI conf1
>>>>>>> 0d00-ffff : PCI Bus 0000:00
>>>>>>>   1000-1fff : PCI Bus 0000:01
>>>>>>>     1000-10ff : 0000:01:00.0
>>>>>>>       1000-10ff : rtl_pci
>>>>>>>   2000-201f : 0000:00:1f.3
>>>>>>>   2050-2057 : 0000:00:02.0
>>>>>>>
>>>>>>>
>>>>>>> cat /proc/iomem
>>>>>>> 00000000-00000fff : reserved
>>>>>>> 00001000-0006efff : System RAM
>>>>>>> 0006f000-0006ffff : ACPI Non-volatile Storage
>>>>>>> 00070000-00084fff : System RAM
>>>>>>> 00085000-00086fff : reserved
>>>>>>> 00087000-00087fff : System RAM
>>>>>>> 00088000-0009ffff : reserved
>>>>>>> 000a0000-000bffff : PCI Bus 0000:00
>>>>>>> 000c0000-000dffff : PCI Bus 0000:00
>>>>>>> 000e0000-000fffff : PCI Bus 0000:00
>>>>>>>   000f0000-000fffff : System ROM
>>>>>>> 00100000-1effffff : System RAM
>>>>>>>   02000000-027b8537 : Kernel code
>>>>>>>   027b8538-02d2123f : Kernel data
>>>>>>>   02e87000-02fcffff : Kernel bss
>>>>>>> 1f000000-1f0fffff : reserved
>>>>>>> 1f100000-1fffffff : System RAM
>>>>>>> 20000000-200fffff : reserved
>>>>>>> 20100000-75867fff : System RAM
>>>>>>> 75868000-75892fff : reserved
>>>>>>> 75893000-78892fff : System RAM
>>>>>>> 78893000-78922fff : reserved
>>>>>>> 78923000-791a3fff : reserved
>>>>>>> 791a4000-792a2fff : ACPI Non-volatile Storage
>>>>>>> 792a3000-792e2fff : ACPI Tables
>>>>>>> 792e3000-79ffffff : System RAM
>>>>>>> 7a000000-7affffff : RAM buffer
>>>>>>> 7b000000-7effffff : reserved
>>>>>>>   7b000000-7effffff : Graphics Stolen Memory
>>>>>>> 80000000-907ffffe : PCI Bus 0000:00
>>>>>>>   80000000-8fffffff : 0000:00:02.0
>>>>>>>   90000000-903fffff : 0000:00:02.0
>>>>>>>   90400000-904fffff : PCI Bus 0000:01
>>>>>>>     90400000-90403fff : 0000:01:00.0
>>>>>>>       90400000-90403fff : rtl_pci
>>>>>>>   90500000-905fffff : 0000:00:1a.0
>>>>>>>     90500000-905fffff : mei_txe
>>>>>>>   90600000-906fffff : 0000:00:1a.0
>>>>>>>     90600000-906fffff : mei_txe
>>>>>>>   90700000-9070ffff : 0000:00:14.0
>>>>>>>     90700000-9070ffff : xhci-hcd
>>>>>>>   90710000-90713fff : 0000:00:1b.0
>>>>>>>     90710000-90713fff : ICH HD audio
>>>>>>>   90718000-9071801f : 0000:00:1f.3
>>>>>>> 90800000-90800fff : 80860F14:01
>>>>>>>   90800000-90800fff : 80860F14:01
>>>>>>> 90803000-90803fff : 80860F41:00
>>>>>>>   90803000-90803fff : 80860F41:00
>>>>>>> 90804000-90807fff : INTL9C60:01
>>>>>>>   90804000-90807fff : INTL9C60:01
>>>>>>> 90c00000-90ffffff : PCI Bus 0000:00
>>>>>>> e0000000-e3ffffff : PCI MMCONFIG 0000 [bus 00-3f]
>>>>>>>   e00000d0-e00000db : INT33BD:00
>>>>>>>   e00f8000-e00f8fff : reserved
>>>>>>> fec00000-fec003ff : IOAPIC 0
>>>>>>> fed00000-fed003ff : HPET 0
>>>>>>>   fed00000-fed003ff : PNP0103:00
>>>>>>> fed01000-fed01fff : reserved
>>>>>>>   fed01000-fed01fff : pnp 00:03
>>>>>>> fed03000-fed03fff : pnp 00:03
>>>>>>>   fed03008-fed0300c : iTCO_wdt
>>>>>>> fed04000-fed04fff : pnp 00:03
>>>>>>> fed05000-fed057ff : INT3401:00
>>>>>>> fed08000-fed08fff : pnp 00:03
>>>>>>> fed0c000-fed0cfff : INT33FC:00
>>>>>>>   fed0c000-fed0cfff : INT33FC:00
>>>>>>> fed0d000-fed0dfff : INT33FC:01
>>>>>>>   fed0d000-fed0dfff : INT33FC:01
>>>>>>> fed0e000-fed0efff : INT33FC:02
>>>>>>>   fed0e000-fed0efff : INT33FC:02
>>>>>>> fed1c000-fed1cfff : pnp 00:03
>>>>>>> fed40000-fed44fff : pnp 00:01
>>>>>>> fee00000-feefffff : pnp 00:03
>>>>>>>   fee00000-fee00fff : Local APIC
>>>>>>> fef00000-feffffff : pnp 00:03
>>>>>>> ff000000-ffffffff : INT0800:00
>>>>>>>   ffb80000-ffffffff : reserved
>>>>>>>
>>>>>>>
>>>>>>> sudo lspci -vvv
>>>>>>> 00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>> Series SoC Transaction Register (rev 0e)
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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
>>>>>>> Kernel driver in use: iosf_mbi_pci
>>>>>>>
>>>>>>> 00:02.0 VGA compatible controller: Intel Corporation Atom Processor
>>>>>>> Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA
>>>>>>> controller])
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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 263
>>>>>>> Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
>>>>>>> Region 2: Memory at 80000000 (32-bit, prefetchable) [size=256M]
>>>>>>> Region 4: I/O ports at 2050 [size=8]
>>>>>>> Expansion ROM at <unassigned> [disabled]
>>>>>>> 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: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>>>> Address: fee0300c  Data: 4162
>>>>>>> Capabilities: [b0] Vendor Specific Information: Len=07 <?>
>>>>>>> Kernel driver in use: i915
>>>>>>>
>>>>>>> 00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>> Series USB xHCI (rev 0e) (prog-if 30 [XHCI])
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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 261
>>>>>>> Region 0: Memory at 90700000 (64-bit, non-prefetchable) [size=64K]
>>>>>>> Capabilities: [70] 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: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>>>>>>> Address: 00000000fee0300c  Data: 41d1
>>>>>>> Kernel driver in use: xhci_hcd
>>>>>>>
>>>>>>> 00:1a.0 Encryption controller: Intel Corporation Atom Processor
>>>>>>> Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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 262
>>>>>>> Region 0: Memory at 90600000 (32-bit, non-prefetchable) [size=1M]
>>>>>>> Region 1: Memory at 90500000 (32-bit, non-prefetchable) [size=1M]
>>>>>>> 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: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>>>> Address: fee0300c  Data: 4122
>>>>>>> Kernel driver in use: mei_txe
>>>>>>>
>>>>>>> 00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>> Series High Definition Audio Controller (rev 0e)
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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 264
>>>>>>> Region 0: Memory at 90710000 (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: 00000000fee0300c  Data: 4182
>>>>>>> Kernel driver in use: snd_hda_intel
>>>>>>>
>>>>>>> 00:1c.0 PCI bridge: Intel Corporation Device 0f48 (rev 0e) (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: 00001000-00001fff
>>>>>>> Memory behind bridge: 90400000-904fffff
>>>>>>> Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
>>>>>>> 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
>>>>>>> ExtTag- RBE+
>>>>>>> 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 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s
>>>>>>> <512ns, L1 <4us
>>>>>>> ClockPM- Surprise- LLActRep+ BwNot+
>>>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR-, OBFF Not
>>>>>>> Supported ARIFwd-
>>>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF
>>>>>>> Disabled ARIFwd-
>>>>>>> LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
>>>>>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>>>> ComplianceSOS-
>>>>>>>  Compliance De-emphasis: -6dB
>>>>>>> LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-,
>>>>>>> EqualizationPhase1-
>>>>>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>>>> Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
>>>>>>> Address: 00000000  Data: 0000
>>>>>>> Capabilities: [90] Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> Capabilities: [a0] 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-
>>>>>>> Kernel driver in use: pcieport
>>>>>>>
>>>>>>> 00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>> Series Power Control Unit (rev 0e)
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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=0c <?>
>>>>>>> Kernel driver in use: lpc_ich
>>>>>>>
>>>>>>> 00:1f.3 SMBus: Intel Corporation Device 0f12 (rev 0e)
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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 B routed to IRQ 255
>>>>>>> Region 0: Memory at 90718000 (32-bit, non-prefetchable) [size=32]
>>>>>>> Region 4: I/O ports at 2000 [size=32]
>>>>>>> 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-
>>>>>>>
>>>>>>> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE
>>>>>>> PCIe Wireless Network Adapter
>>>>>>> Subsystem: Hewlett-Packard Company Device 2231
>>>>>>> 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 16
>>>>>>> Region 0: I/O ports at 1000 [size=256]
>>>>>>> Region 2: Memory at 90400000 (64-bit, non-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: 0000000000000000  Data: 0000
>>>>>>> Capabilities: [70] Express (v2) Endpoint, MSI 00
>>>>>>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, 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 512 bytes
>>>>>>> DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
>>>>>>> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency
>>>>>>> L0s <512ns, L1 <64us
>>>>>>> ClockPM+ Surprise- LLActRep- BwNot-
>>>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR+, OBFF
>>>>>>> Via message/WAKE#
>>>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+, LTR+, OBFF Disabled
>>>>>>> LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
>>>>>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>>>> ComplianceSOS-
>>>>>>>  Compliance De-emphasis: -6dB
>>>>>>> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,
>>>>>>> EqualizationPhase1-
>>>>>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>>>> Capabilities: [100 v2] 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: 0d, GenCap+ CGenEn- ChkCap+ ChkEn-
>>>>>>> Capabilities: [140 v1] Device Serial Number 00-23-b7-fe-ff-4c-e0-00
>>>>>>> Capabilities: [150 v1] Latency Tolerance Reporting
>>>>>>> Max snoop latency: 71680ns
>>>>>>> Max no snoop latency: 71680ns
>>>>>>> Capabilities: [158 v1] L1 PM Substates
>>>>>>> L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
>>>>>>>   PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
>>>>>>> Kernel driver in use: rtl8723be
>>>>>>>
>>>>>>>
>>>>>>> cat /proc/scsi/scsi
>>>>>>> Attached devices:
>>>>>>> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>>>>>>>   Vendor: Generic- Model: SD/MMC/MS PRO    Rev: 1.00
>>>>>>>   Type:   Direct-Access                    ANSI  SCSI revision: 04
>>>>>>>
>>>>>>>
>>>>>>> ls /proc
>>>>>>> 1     12    14    1667  1745  18    1963  2345  292   35    470   55
>>>>>>> 7201  asound     execdomains  kmsg        pagetypeinfo   sysvipc
>>>>>>> 10    1218  1410  1685  1761  1804  2     2388  296   3573  471   554
>>>>>>> 728   buddyinfo  fb           kpagecount  partitions     thread-self
>>>>>>> 1020  125   142   1687  1764  1805  20    24    3     359   473   56
>>>>>>> 755   bus        filesystems  kpageflags  sched_debug    timer_list
>>>>>>> 1025  126   1420  1690  1767  1818  21    25    30    3623  474   57
>>>>>>> 76    cgroups    fs           loadavg     schedstat      timer_stats
>>>>>>> 1032  127   1423  17    1769  1828  2169  2528  31    378   485   585
>>>>>>> 77    cmdline    interrupts   locks       scsi           tty
>>>>>>> 1033  128   143   1701  1771  1853  2187  254   3181  3822  5     606
>>>>>>> 7886  consoles   iomem        mdstat      self           uptime
>>>>>>> 1038  129   1444  1710  1772  1876  2197  26    33    39    509   654
>>>>>>> 8     cpuinfo    ioports      meminfo     slabinfo       version
>>>>>>> 1042  13    1485  1718  1781  1883  2198  2670  3309  3932  516   655
>>>>>>> 8743  crypto     irq          misc        softirqs       vmallocinfo
>>>>>>> 1069  130   15    1722  1787  1893  22    2672  34    40    53    695
>>>>>>> 9     devices    kallsyms     modules     stat           vmstat
>>>>>>> 1070  131   1568  1725  1789  1896  2202  27    3419  41    539   7
>>>>>>> 9040  diskstats  kcore        mounts      swaps          zoneinfo
>>>>>>> 11    132   1645  1727  1792  19    2248  28    3433  468   542   709
>>>>>>> 9056  dma        keys         mtrr        sys
>>>>>>> 1144  1331  1655  1732  1796  1905  23    29    3437  469   5421  715
>>>>>>> acpi  driver     key-users    net         sysrq-trigger
>>>>>>> --
>>>>>>> To unsubscribe from this list: send the line "unsubscribe linux-input" in
>>>>>>> the body of a message to majordomo@vger.kernel.org
>>>>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply

* Re: PROBLEM: [HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a hardware click
From: Andrew Duggan @ 2014-12-08 18:48 UTC (permalink / raw)
  To: Amordea Whiteoak, Benjamin Tissoires; +Cc: linux-input, Peter Hutterer
In-Reply-To: <CALmnu0agW-mN9RON1FT9DCxE9POiwS2Jhj7hXZaW+6escc7OGw@mail.gmail.com>

On 12/08/2014 10:39 AM, Amordea Whiteoak wrote:
> My Linux newbieness is showing. :)
>
> I attempted to edit and boot the grub configuration, but I don't think
> I did it right. I went with the seemingly more sure-fire way to get
> your data and followed the second set of instructions.
>
> Enclosed is all the dmesg output once I got that working.

Thanks, based on the log I can see that this firmware has the larger 
input report size which confirms my suspicion that this touchpad has the 
new feature which I referred to in my previous email.

Andrew

>
> On Mon, Dec 8, 2014 at 12:59 PM, Benjamin Tissoires
> <benjamin.tissoires@gmail.com> wrote:
>> On Mon, Dec 8, 2014 at 12:14 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>> There may be a thing I am failing to understand about dmesg here, but
>>> a grep through both dmesg and /var/log/dmesg yielded no hits on
>>> "i2c_hid.debug=1". I did find plenty of hits on just "i2c_hid", which
>>> yielded several repetitive lines of what appears to be various
>>> modules. Please let me know if there is something I am failing to
>>> understand here, but I could not find the requested phrase in my
>>> dmesg.
>> I meant that when you reboot the laptop, in grub, append
>> "i2c_hid.debug=1" to the kernel command line.
>>
>> This should be seen in one of the first few lines of dmesg (the one
>> starting by "[    0.000000] Command line:
>> BOOT_IMAGE=/boot/vmlinuz-3.18.0-031800rc7-generic "), and a lot of raw
>> events should be dumped in the dmesg.
>>
>>> I do have the hid-recorder output though, which I am attaching here.
>>> This time I used a non-conductive pen to only generate clicks without
>>> all the positioning data piling in on top. This is a recording of two
>>> left clicks.
>>>
>> Ok, so at least, the device sends a sane behavior (one event per
>> click/release, with one bit changed). Unfortunately, I think the
>> problem lies in the configuration of your device by hid-rmi. So the
>> dmesg output while i2c_hid.debug=1 is set should help to figure out
>> the problem.
>>
>> If for whatever reasons you do not manage to get the parameter
>> appended to your command line, the following commands should suffice
>> (as root):
>> #> rmmod hid-rmi
>> #> echo 1 > /sys/module/i2c_hid/parameters/debug
>> #> modprobe hid-rmi
>>
>> do a few events on the touchpad (with clicks)
>>
>> #> echo 0 > /sys/module/i2c_hid/parameters/debug
>>
>> and send out the dmesg.
>>
>> Cheers,
>> Benjamin
>>
>>> If there is anything else I can provide, please let me know.
>>>
>>> Thank you for helping with this bug. :)
>>>
>>> On Mon, Dec 8, 2014 at 11:44 AM, Benjamin Tissoires
>>> <benjamin.tissoires@gmail.com> wrote:
>>>> Hi Amordea,
>>>>
>>>> On Mon, Dec 8, 2014 at 11:20 AM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>>> My apologies if my bug report was inadequate. It is the first upstream
>>>>> report I've ever filed, though I did attempt to give all the
>>>>> information they requested to the best of my ability.
>>>> Oh, no, I was not complaining about your way of reporting the bug. I
>>>> know that it can be difficult for users to report _and_ provide all
>>>> the necessary information unless you already know a little bit about
>>>> the communities, how they work and what tool they use.
>>>> My complain was more that the way it was triaged: try an upstream
>>>> kernel; oh, does not work; send it upstream because it's a "poor
>>>> driver implementation". Whereas here, there may be any part of the
>>>> stack involved unless we look at the evemu-record (which is the output
>>>> of the kernel BTW). And saying that the driver is badly designed
>>>> really does not help...
>>>> Last, the "meta bug" they have is either a problem in the kernel
>>>> drivers they ship, or a not up to date Xorg stack. FWIW, I don't think
>>>> we have this on Fedora.
>>>>
>>>> Anyway, thanks for the explanations that you give in the next
>>>> paragraph, it gives a more comprehensive bug report :)
>>>>
>>>>> If it helps: to be clear about the design of this clickpad, it is one
>>>>> where the entire pad is touch-sensitive, even the area over the
>>>>> hardware click buttons which are on the bottom. The entire pad is one
>>>>> piece, so the pad itself shifts when you click a button. The
>>>>> malfunction occurs whenever any of these buttons are clicked, but the
>>>>> simulated clicks (tapping on the pad) behave adequately and do not
>>>>> cause any mouse input lock-ups. The malfunction itself causes ALL
>>>>> subsequent mouse clicks from any source (including a USB mouse) to
>>>>> only act in the spot where the first hardware click from the clickpad
>>>>> was performed and cannot be adjusted until the clickpad has been
>>>>> disabled (xinput disable <id>). The hardware buttons on the clickpad
>>>>> itself do not register as clicks at all, they only cause all mouse
>>>>> input to malfunction as previously described.
>>>>>
>>>>> I am enclosing the requested evemu-record data. This is a recording of
>>>>> my clicking the left hardware click button three times in rapid
>>>>> succession, but failure generally occurs after the first click.
>>>> Many thanks for the logs. So here, I can see that when you click on
>>>> the touchpad, both BTN_LEFT and BTN_RIGHT are emitted, but they are
>>>> never released :) I do not see either the 2 other clicks.
>>>> So yes, here the driver is at fault and misses to release the clicks.
>>>> This infers the cross-device problem in X BTW.
>>>>
>>>>> A curious behavior I noticed in the process of getting this recording
>>>>> is that on the first click, I received a pasted text line in my
>>>>> terminal. I could not reproduce this behavior by doing an
>>>>> enable/disable cycle on the trackpad, but to confirm I rebooted a few
>>>>> times to test and sure enough, the very first click each boot triggers
>>>>> a clipboard paste event.
>>>> You must have the middle button emulation enabled in Xorg (hitting
>>>> both left and right button will trigger a middle button). So when we
>>>> will be able to fix this bug, the spurious middle click should
>>>> disappear.
>>>>
>>>>> If there is any more information I can provide, please let me know.
>>>> Ideally, I'd like to punt this one to Andrew, but I think we would be
>>>> grateful if you could also provide 2 more things:
>>>> - the dmesg when "i2c_hid.debug=1" is appended to the kernel boot line
>>>> (without the quotes)
>>>> - the hid-recorder output when you trigger the bug
>>>>
>>>> hid-recorder should be installed from sources in Ubuntu I guess:
>>>> http://bentiss.github.io/hid-replay-docs/
>>>>
>>>> The hid-recorder output might not be absolutely needed, so as long as
>>>> we have the dmesg with i2c_hid.debug=1, we should be fine.
>>>>
>>>> Cheers,
>>>> Benjamin
>>>>
>>>>> Thank you!
>>>>>
>>>>> On Mon, Dec 8, 2014 at 10:01 AM, Benjamin Tissoires
>>>>> <benjamin.tissoires@gmail.com> wrote:
>>>>>> Hi Amordea,
>>>>>>
>>>>>> I must say, the bug triaging is worse and worse with ubuntu :(
>>>>>>
>>>>>>  From the bug description, I can not tell if the problem lies in the
>>>>>> kernel, or if it is the synaptics input driver or the xserver which is
>>>>>> in fault. I would be tempted to say that the problem lies in the upper
>>>>>> layers given the cross-devices problem.
>>>>>>
>>>>>> Anyway, to be able to understand the problem, we will need to get an
>>>>>> evemu-record output of your device when you are reproducing the bug.
>>>>>> You can find evemu in your distribution channels, or here:
>>>>>> http://www.freedesktop.org/wiki/Evemu/
>>>>>>
>>>>>> Given that you have an hid-rmi/i2c device, I am adding Andrew in CC,
>>>>>> and Peter for the upper layers if there is anything wrong there.
>>>>>>
>>>>>> Cheers,
>>>>>> Benjamin
>>>>>>
>>>>>> On Sun, Dec 7, 2014 at 5:50 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>>>>> Original Bug Report:
>>>>>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398533
>>>>>>>
>>>>>>> Bug Description: After clicking once at the bottom of my clickpad on
>>>>>>> either button, if I move my cursor elsewhere on the screen, and then
>>>>>>> subsequently click again (with either clickpad or external mouse this
>>>>>>> time) it registers a click at the location where my cursor icon was
>>>>>>> originally. I can continue to move my cursor anywhere on the screen,
>>>>>>> and it still registers the click in the original location.
>>>>>>>
>>>>>>>
>>>>>>> cat /proc/version
>>>>>>> Linux version 3.18.0-031800rc7-generic (apw@gomeisa) (gcc version
>>>>>>> 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201411302035 SMP Mon Dec 1
>>>>>>> 01:36:38 UTC 2014
>>>>>>>
>>>>>>>
>>>>>>> lsb_release -rd
>>>>>>> Description: Ubuntu 14.10
>>>>>>> Release: 14.10
>>>>>>>
>>>>>>>
>>>>>>> sh /usr/src/linux-headers-3.18.0-031800rc7/scripts/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 woprjr 3.18.0-031800rc7-generic #201411302035 SMP Mon Dec 1
>>>>>>> 01:36:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>>>>>>>
>>>>>>> Gnu C
>>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux:
>>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: 20:
>>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: ld: not
>>>>>>> found
>>>>>>> binutils
>>>>>>> util-linux             2.25.1
>>>>>>> mount                  debug
>>>>>>> module-init-tools      18
>>>>>>> e2fsprogs              1.42.10
>>>>>>> PPP                    2.4.5
>>>>>>> Linux C Library        2.19
>>>>>>> Dynamic linker (ldd)   2.19
>>>>>>> Procps                 3.3.9
>>>>>>> Net-tools              1.60
>>>>>>> Kbd                    1.15.5
>>>>>>> Sh-utils               8.23
>>>>>>> wireless-tools         30
>>>>>>> Modules Loaded         snd_hda_codec_hdmi snd_hda_codec_realtek
>>>>>>> snd_hda_codec_generic ctr ccm joydev hp_wmi hid_rmi sparse_keymap
>>>>>>> rfcomm bnep arc4 rtl8723be btcoexist rtl8723_common intel_rapl
>>>>>>> uvcvideo rtl_pci intel_soc_dts_thermal intel_powerclamp
>>>>>>> videobuf2_vmalloc videobuf2_memops coretemp rtlwifi videobuf2_core
>>>>>>> v4l2_common videodev mac80211 media kvm cfg80211 btusb
>>>>>>> crct10dif_pclmul crc32_pclmul bluetooth ghash_clmulni_intel serio_raw
>>>>>>> cryptd wmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
>>>>>>> snd_seq_midi snd_seq_midi_event snd_rawmidi snd_soc_rt5640
>>>>>>> snd_soc_rl6231 snd_soc_core snd_compress dw_dmac i915
>>>>>>> snd_pcm_dmaengine dw_dmac_core snd_seq int3400_thermal int3403_thermal
>>>>>>> acpi_thermal_rel nls_iso8859_1 snd_pcm i2c_hid video
>>>>>>> intel_smartconnect drm_kms_helper hid drm rfkill_gpio snd_seq_device
>>>>>>> i2c_designware_platform i2c_algo_bit snd_soc_sst_acpi 8250_dw
>>>>>>> snd_timer i2c_designware_core hp_wireless shpchp spi_pxa2xx_platform
>>>>>>> snd pwm_lpss_platform lpc_ich mac_hid mei_txe pwm_lpss iosf_mbi mei
>>>>>>> soundcore parport_pc ppdev lp parport uas usb_storage mmc_block
>>>>>>> sdhci_acpi sdhci
>>>>>>>
>>>>>>>
>>>>>>> cat /proc/cpuinfo
>>>>>>> processor : 0
>>>>>>> vendor_id : GenuineIntel
>>>>>>> cpu family : 6
>>>>>>> model : 55
>>>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>>>> stepping : 8
>>>>>>> microcode : 0x829
>>>>>>> cpu MHz : 499.741
>>>>>>> cache size : 1024 KB
>>>>>>> physical id : 0
>>>>>>> siblings : 2
>>>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>>>> bugs :
>>>>>>> bogomips : 4326.40
>>>>>>> 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 : 55
>>>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>>>> stepping : 8
>>>>>>> microcode : 0x829
>>>>>>> cpu MHz : 499.741
>>>>>>> cache size : 1024 KB
>>>>>>> physical id : 0
>>>>>>> siblings : 2
>>>>>>> core id : 1
>>>>>>> cpu cores : 2
>>>>>>> apicid : 2
>>>>>>> initial apicid : 2
>>>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>>>> bugs :
>>>>>>> bogomips : 4326.40
>>>>>>> clflush size : 64
>>>>>>> cache_alignment : 64
>>>>>>> address sizes : 36 bits physical, 48 bits virtual
>>>>>>> power management:
>>>>>>>
>>>>>>>
>>>>>>> cat /proc/modules
>>>>>>> snd_hda_codec_hdmi 52670 1 - Live 0x0000000000000000
>>>>>>> snd_hda_codec_realtek 80420 1 - Live 0x0000000000000000
>>>>>>> snd_hda_codec_generic 69995 1 snd_hda_codec_realtek, Live 0x0000000000000000
>>>>>>> ctr 13193 1 - Live 0x0000000000000000
>>>>>>> ccm 17856 1 - Live 0x0000000000000000
>>>>>>> joydev 17587 0 - Live 0x0000000000000000
>>>>>>> hp_wmi 14017 0 - Live 0x0000000000000000
>>>>>>> hid_rmi 18060 0 - Live 0x0000000000000000
>>>>>>> sparse_keymap 13890 1 hp_wmi, Live 0x0000000000000000
>>>>>>> rfcomm 75066 8 - Live 0x0000000000000000
>>>>>>> bnep 23980 2 - Live 0x0000000000000000
>>>>>>> arc4 12573 2 - Live 0x0000000000000000
>>>>>>> rtl8723be 96097 0 - Live 0x0000000000000000
>>>>>>> btcoexist 51822 1 rtl8723be, Live 0x0000000000000000
>>>>>>> rtl8723_common 23662 1 rtl8723be, Live 0x0000000000000000
>>>>>>> intel_rapl 19196 0 - Live 0x0000000000000000
>>>>>>> uvcvideo 86723 0 - Live 0x0000000000000000
>>>>>>> rtl_pci 27417 1 rtl8723be, Live 0x0000000000000000
>>>>>>> intel_soc_dts_thermal 13523 0 - Live 0x0000000000000000
>>>>>>> intel_powerclamp 19099 0 - Live 0x0000000000000000
>>>>>>> videobuf2_vmalloc 13216 1 uvcvideo, Live 0x0000000000000000
>>>>>>> videobuf2_memops 13362 1 videobuf2_vmalloc, Live 0x0000000000000000
>>>>>>> coretemp 13638 0 - Live 0x0000000000000000
>>>>>>> rtlwifi 74744 2 rtl8723be,rtl_pci, Live 0x0000000000000000
>>>>>>> videobuf2_core 51547 1 uvcvideo, Live 0x0000000000000000
>>>>>>> v4l2_common 15715 1 videobuf2_core, Live 0x0000000000000000
>>>>>>> videodev 163831 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
>>>>>>> mac80211 697159 3 rtl8723be,rtl_pci,rtlwifi, Live 0x0000000000000000
>>>>>>> media 22008 2 uvcvideo,videodev, Live 0x0000000000000000
>>>>>>> kvm 475237 0 - Live 0x0000000000000000
>>>>>>> cfg80211 520257 2 rtlwifi,mac80211, Live 0x0000000000000000
>>>>>>> btusb 32691 0 - Live 0x0000000000000000
>>>>>>> crct10dif_pclmul 14268 0 - Live 0x0000000000000000
>>>>>>> crc32_pclmul 13180 0 - Live 0x0000000000000000
>>>>>>> bluetooth 486890 22 rfcomm,bnep,btusb, Live 0x0000000000000000
>>>>>>> ghash_clmulni_intel 13230 0 - Live 0x0000000000000000
>>>>>>> serio_raw 13483 0 - Live 0x0000000000000000
>>>>>>> cryptd 20531 1 ghash_clmulni_intel, Live 0x0000000000000000
>>>>>>> wmi 19379 1 hp_wmi, Live 0x0000000000000000
>>>>>>> snd_hda_intel 30824 1 - Live 0x0000000000000000
>>>>>>> snd_hda_controller 32234 1 snd_hda_intel, Live 0x0000000000000000
>>>>>>> snd_hda_codec 144641 5
>>>>>>> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,
>>>>>>> Live 0x0000000000000000
>>>>>>> snd_hwdep 17709 1 snd_hda_codec, Live 0x0000000000000000
>>>>>>> snd_seq_midi 13564 0 - Live 0x0000000000000000
>>>>>>> snd_seq_midi_event 14899 1 snd_seq_midi, Live 0x0000000000000000
>>>>>>> snd_rawmidi 31197 1 snd_seq_midi, Live 0x0000000000000000
>>>>>>> snd_soc_rt5640 93325 0 - Live 0x0000000000000000
>>>>>>> snd_soc_rl6231 13037 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>>>> snd_soc_core 207780 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>>>> snd_compress 19395 1 snd_soc_core, Live 0x0000000000000000
>>>>>>> dw_dmac 12835 0 - Live 0x0000000000000000
>>>>>>> i915 1031996 2 - Live 0x0000000000000000
>>>>>>> snd_pcm_dmaengine 15229 1 snd_soc_core, Live 0x0000000000000000
>>>>>>> dw_dmac_core 28558 1 dw_dmac, Live 0x0000000000000000
>>>>>>> snd_seq 63540 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
>>>>>>> int3400_thermal 13040 0 - Live 0x0000000000000000
>>>>>>> int3403_thermal 13255 0 - Live 0x0000000000000000
>>>>>>> acpi_thermal_rel 13807 1 int3400_thermal, Live 0x0000000000000000
>>>>>>> nls_iso8859_1 12713 2 - Live 0x0000000000000000
>>>>>>> snd_pcm 106273 7
>>>>>>> snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec,snd_soc_rt5640,snd_soc_core,snd_pcm_dmaengine,
>>>>>>> Live 0x0000000000000000
>>>>>>> i2c_hid 19065 0 - Live 0x0000000000000000
>>>>>>> video 20649 1 i915, Live 0x0000000000000000
>>>>>>> intel_smartconnect 12637 0 - Live 0x0000000000000000
>>>>>>> drm_kms_helper 99802 1 i915, Live 0x0000000000000000
>>>>>>> hid 110572 2 hid_rmi,i2c_hid, Live 0x0000000000000000
>>>>>>> drm 323675 4 i915,drm_kms_helper, Live 0x0000000000000000
>>>>>>> rfkill_gpio 12761 0 - Live 0x0000000000000000
>>>>>>> snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000
>>>>>>> i2c_designware_platform 13025 0 - Live 0x0000000000000000
>>>>>>> i2c_algo_bit 13564 1 i915, Live 0x0000000000000000
>>>>>>> snd_soc_sst_acpi 13007 0 - Live 0x0000000000000000
>>>>>>> 8250_dw 13474 0 - Live 0x0000000000000000
>>>>>>> snd_timer 30118 2 snd_seq,snd_pcm, Live 0x0000000000000000
>>>>>>> i2c_designware_core 14990 1 i2c_designware_platform, Live 0x0000000000000000
>>>>>>> hp_wireless 12637 0 - Live 0x0000000000000000
>>>>>>> shpchp 37216 0 - Live 0x0000000000000000
>>>>>>> spi_pxa2xx_platform 23256 0 - Live 0x0000000000000000
>>>>>>> snd 84025 15 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_soc_core,snd_compress,snd_seq,snd_pcm,snd_seq_device,snd_timer,
>>>>>>> Live 0x0000000000000000
>>>>>>> pwm_lpss_platform 12703 0 - Live 0x0000000000000000
>>>>>>> lpc_ich 21176 0 - Live 0x0000000000000000
>>>>>>> mac_hid 13275 0 - Live 0x0000000000000000
>>>>>>> mei_txe 19808 0 - Live 0x0000000000000000
>>>>>>> pwm_lpss 13281 1 pwm_lpss_platform, Live 0x0000000000000000
>>>>>>> iosf_mbi 13865 1 intel_soc_dts_thermal, Live 0x0000000000000000
>>>>>>> mei 88473 1 mei_txe, Live 0x0000000000000000
>>>>>>> soundcore 15091 2 snd_hda_codec,snd, Live 0x0000000000000000
>>>>>>> parport_pc 32909 0 - Live 0x0000000000000000
>>>>>>> ppdev 17711 0 - Live 0x0000000000000000
>>>>>>> lp 17799 0 - Live 0x0000000000000000
>>>>>>> parport 42481 3 parport_pc,ppdev,lp, Live 0x0000000000000000
>>>>>>> uas 22673 0 - Live 0x0000000000000000
>>>>>>> usb_storage 67010 2 uas, Live 0x0000000000000000
>>>>>>> mmc_block 36596 4 - Live 0x0000000000000000
>>>>>>> sdhci_acpi 13502 0 - Live 0x0000000000000000
>>>>>>> sdhci 43929 1 sdhci_acpi, Live 0x0000000000000000
>>>>>>>
>>>>>>>
>>>>>>> /proc/ioports
>>>>>>> 0000-006f : PCI Bus 0000:00
>>>>>>>    0000-001f : dma1
>>>>>>>    0020-0021 : pic1
>>>>>>>    0040-0043 : timer0
>>>>>>>    0050-0053 : timer1
>>>>>>>    0060-0060 : keyboard
>>>>>>>    0062-0062 : PNP0C09:00
>>>>>>>      0062-0062 : EC data
>>>>>>>    0064-0064 : keyboard
>>>>>>>    0066-0066 : PNP0C09:00
>>>>>>>      0066-0066 : EC cmd
>>>>>>> 0070-0077 : rtc0
>>>>>>> 0078-0cf7 : PCI Bus 0000:00
>>>>>>>    0080-008f : dma page reg
>>>>>>>    00a0-00a1 : pic2
>>>>>>>    00c0-00df : dma2
>>>>>>>    00f0-00ff : fpu
>>>>>>>    03f8-03ff : serial
>>>>>>>    0400-047f : pnp 00:01
>>>>>>>      0400-0403 : ACPI PM1a_EVT_BLK
>>>>>>>      0404-0405 : ACPI PM1a_CNT_BLK
>>>>>>>      0408-040b : ACPI PM_TMR
>>>>>>>      0420-042f : ACPI GPE0_BLK
>>>>>>>      0430-0433 : iTCO_wdt
>>>>>>>      0450-0450 : ACPI PM2_CNT_BLK
>>>>>>>      0460-047f : iTCO_wdt
>>>>>>>    0500-05fe : pnp 00:01
>>>>>>>    0600-061f : pnp 00:01
>>>>>>>    0680-069f : pnp 00:01
>>>>>>> 0cf8-0cff : PCI conf1
>>>>>>> 0d00-ffff : PCI Bus 0000:00
>>>>>>>    1000-1fff : PCI Bus 0000:01
>>>>>>>      1000-10ff : 0000:01:00.0
>>>>>>>        1000-10ff : rtl_pci
>>>>>>>    2000-201f : 0000:00:1f.3
>>>>>>>    2050-2057 : 0000:00:02.0
>>>>>>>
>>>>>>>
>>>>>>> cat /proc/iomem
>>>>>>> 00000000-00000fff : reserved
>>>>>>> 00001000-0006efff : System RAM
>>>>>>> 0006f000-0006ffff : ACPI Non-volatile Storage
>>>>>>> 00070000-00084fff : System RAM
>>>>>>> 00085000-00086fff : reserved
>>>>>>> 00087000-00087fff : System RAM
>>>>>>> 00088000-0009ffff : reserved
>>>>>>> 000a0000-000bffff : PCI Bus 0000:00
>>>>>>> 000c0000-000dffff : PCI Bus 0000:00
>>>>>>> 000e0000-000fffff : PCI Bus 0000:00
>>>>>>>    000f0000-000fffff : System ROM
>>>>>>> 00100000-1effffff : System RAM
>>>>>>>    02000000-027b8537 : Kernel code
>>>>>>>    027b8538-02d2123f : Kernel data
>>>>>>>    02e87000-02fcffff : Kernel bss
>>>>>>> 1f000000-1f0fffff : reserved
>>>>>>> 1f100000-1fffffff : System RAM
>>>>>>> 20000000-200fffff : reserved
>>>>>>> 20100000-75867fff : System RAM
>>>>>>> 75868000-75892fff : reserved
>>>>>>> 75893000-78892fff : System RAM
>>>>>>> 78893000-78922fff : reserved
>>>>>>> 78923000-791a3fff : reserved
>>>>>>> 791a4000-792a2fff : ACPI Non-volatile Storage
>>>>>>> 792a3000-792e2fff : ACPI Tables
>>>>>>> 792e3000-79ffffff : System RAM
>>>>>>> 7a000000-7affffff : RAM buffer
>>>>>>> 7b000000-7effffff : reserved
>>>>>>>    7b000000-7effffff : Graphics Stolen Memory
>>>>>>> 80000000-907ffffe : PCI Bus 0000:00
>>>>>>>    80000000-8fffffff : 0000:00:02.0
>>>>>>>    90000000-903fffff : 0000:00:02.0
>>>>>>>    90400000-904fffff : PCI Bus 0000:01
>>>>>>>      90400000-90403fff : 0000:01:00.0
>>>>>>>        90400000-90403fff : rtl_pci
>>>>>>>    90500000-905fffff : 0000:00:1a.0
>>>>>>>      90500000-905fffff : mei_txe
>>>>>>>    90600000-906fffff : 0000:00:1a.0
>>>>>>>      90600000-906fffff : mei_txe
>>>>>>>    90700000-9070ffff : 0000:00:14.0
>>>>>>>      90700000-9070ffff : xhci-hcd
>>>>>>>    90710000-90713fff : 0000:00:1b.0
>>>>>>>      90710000-90713fff : ICH HD audio
>>>>>>>    90718000-9071801f : 0000:00:1f.3
>>>>>>> 90800000-90800fff : 80860F14:01
>>>>>>>    90800000-90800fff : 80860F14:01
>>>>>>> 90803000-90803fff : 80860F41:00
>>>>>>>    90803000-90803fff : 80860F41:00
>>>>>>> 90804000-90807fff : INTL9C60:01
>>>>>>>    90804000-90807fff : INTL9C60:01
>>>>>>> 90c00000-90ffffff : PCI Bus 0000:00
>>>>>>> e0000000-e3ffffff : PCI MMCONFIG 0000 [bus 00-3f]
>>>>>>>    e00000d0-e00000db : INT33BD:00
>>>>>>>    e00f8000-e00f8fff : reserved
>>>>>>> fec00000-fec003ff : IOAPIC 0
>>>>>>> fed00000-fed003ff : HPET 0
>>>>>>>    fed00000-fed003ff : PNP0103:00
>>>>>>> fed01000-fed01fff : reserved
>>>>>>>    fed01000-fed01fff : pnp 00:03
>>>>>>> fed03000-fed03fff : pnp 00:03
>>>>>>>    fed03008-fed0300c : iTCO_wdt
>>>>>>> fed04000-fed04fff : pnp 00:03
>>>>>>> fed05000-fed057ff : INT3401:00
>>>>>>> fed08000-fed08fff : pnp 00:03
>>>>>>> fed0c000-fed0cfff : INT33FC:00
>>>>>>>    fed0c000-fed0cfff : INT33FC:00
>>>>>>> fed0d000-fed0dfff : INT33FC:01
>>>>>>>    fed0d000-fed0dfff : INT33FC:01
>>>>>>> fed0e000-fed0efff : INT33FC:02
>>>>>>>    fed0e000-fed0efff : INT33FC:02
>>>>>>> fed1c000-fed1cfff : pnp 00:03
>>>>>>> fed40000-fed44fff : pnp 00:01
>>>>>>> fee00000-feefffff : pnp 00:03
>>>>>>>    fee00000-fee00fff : Local APIC
>>>>>>> fef00000-feffffff : pnp 00:03
>>>>>>> ff000000-ffffffff : INT0800:00
>>>>>>>    ffb80000-ffffffff : reserved
>>>>>>>
>>>>>>>
>>>>>>> sudo lspci -vvv
>>>>>>> 00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>> Series SoC Transaction Register (rev 0e)
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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
>>>>>>> Kernel driver in use: iosf_mbi_pci
>>>>>>>
>>>>>>> 00:02.0 VGA compatible controller: Intel Corporation Atom Processor
>>>>>>> Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA
>>>>>>> controller])
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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 263
>>>>>>> Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
>>>>>>> Region 2: Memory at 80000000 (32-bit, prefetchable) [size=256M]
>>>>>>> Region 4: I/O ports at 2050 [size=8]
>>>>>>> Expansion ROM at <unassigned> [disabled]
>>>>>>> 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: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>>>> Address: fee0300c  Data: 4162
>>>>>>> Capabilities: [b0] Vendor Specific Information: Len=07 <?>
>>>>>>> Kernel driver in use: i915
>>>>>>>
>>>>>>> 00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>> Series USB xHCI (rev 0e) (prog-if 30 [XHCI])
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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 261
>>>>>>> Region 0: Memory at 90700000 (64-bit, non-prefetchable) [size=64K]
>>>>>>> Capabilities: [70] 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: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>>>>>>> Address: 00000000fee0300c  Data: 41d1
>>>>>>> Kernel driver in use: xhci_hcd
>>>>>>>
>>>>>>> 00:1a.0 Encryption controller: Intel Corporation Atom Processor
>>>>>>> Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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 262
>>>>>>> Region 0: Memory at 90600000 (32-bit, non-prefetchable) [size=1M]
>>>>>>> Region 1: Memory at 90500000 (32-bit, non-prefetchable) [size=1M]
>>>>>>> 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: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>>>> Address: fee0300c  Data: 4122
>>>>>>> Kernel driver in use: mei_txe
>>>>>>>
>>>>>>> 00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>> Series High Definition Audio Controller (rev 0e)
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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 264
>>>>>>> Region 0: Memory at 90710000 (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: 00000000fee0300c  Data: 4182
>>>>>>> Kernel driver in use: snd_hda_intel
>>>>>>>
>>>>>>> 00:1c.0 PCI bridge: Intel Corporation Device 0f48 (rev 0e) (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: 00001000-00001fff
>>>>>>> Memory behind bridge: 90400000-904fffff
>>>>>>> Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
>>>>>>> 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
>>>>>>> ExtTag- RBE+
>>>>>>> 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 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s
>>>>>>> <512ns, L1 <4us
>>>>>>> ClockPM- Surprise- LLActRep+ BwNot+
>>>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR-, OBFF Not
>>>>>>> Supported ARIFwd-
>>>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF
>>>>>>> Disabled ARIFwd-
>>>>>>> LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
>>>>>>>   Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>>>> ComplianceSOS-
>>>>>>>   Compliance De-emphasis: -6dB
>>>>>>> LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-,
>>>>>>> EqualizationPhase1-
>>>>>>>   EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>>>> Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
>>>>>>> Address: 00000000  Data: 0000
>>>>>>> Capabilities: [90] Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> Capabilities: [a0] 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-
>>>>>>> Kernel driver in use: pcieport
>>>>>>>
>>>>>>> 00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>>> Series Power Control Unit (rev 0e)
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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=0c <?>
>>>>>>> Kernel driver in use: lpc_ich
>>>>>>>
>>>>>>> 00:1f.3 SMBus: Intel Corporation Device 0f12 (rev 0e)
>>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>>> 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 B routed to IRQ 255
>>>>>>> Region 0: Memory at 90718000 (32-bit, non-prefetchable) [size=32]
>>>>>>> Region 4: I/O ports at 2000 [size=32]
>>>>>>> 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-
>>>>>>>
>>>>>>> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE
>>>>>>> PCIe Wireless Network Adapter
>>>>>>> Subsystem: Hewlett-Packard Company Device 2231
>>>>>>> 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 16
>>>>>>> Region 0: I/O ports at 1000 [size=256]
>>>>>>> Region 2: Memory at 90400000 (64-bit, non-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: 0000000000000000  Data: 0000
>>>>>>> Capabilities: [70] Express (v2) Endpoint, MSI 00
>>>>>>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, 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 512 bytes
>>>>>>> DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
>>>>>>> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency
>>>>>>> L0s <512ns, L1 <64us
>>>>>>> ClockPM+ Surprise- LLActRep- BwNot-
>>>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR+, OBFF
>>>>>>> Via message/WAKE#
>>>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+, LTR+, OBFF Disabled
>>>>>>> LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
>>>>>>>   Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>>>> ComplianceSOS-
>>>>>>>   Compliance De-emphasis: -6dB
>>>>>>> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,
>>>>>>> EqualizationPhase1-
>>>>>>>   EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>>>> Capabilities: [100 v2] 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: 0d, GenCap+ CGenEn- ChkCap+ ChkEn-
>>>>>>> Capabilities: [140 v1] Device Serial Number 00-23-b7-fe-ff-4c-e0-00
>>>>>>> Capabilities: [150 v1] Latency Tolerance Reporting
>>>>>>> Max snoop latency: 71680ns
>>>>>>> Max no snoop latency: 71680ns
>>>>>>> Capabilities: [158 v1] L1 PM Substates
>>>>>>> L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
>>>>>>>    PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
>>>>>>> Kernel driver in use: rtl8723be
>>>>>>>
>>>>>>>
>>>>>>> cat /proc/scsi/scsi
>>>>>>> Attached devices:
>>>>>>> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>>>>>>>    Vendor: Generic- Model: SD/MMC/MS PRO    Rev: 1.00
>>>>>>>    Type:   Direct-Access                    ANSI  SCSI revision: 04
>>>>>>>
>>>>>>>
>>>>>>> ls /proc
>>>>>>> 1     12    14    1667  1745  18    1963  2345  292   35    470   55
>>>>>>> 7201  asound     execdomains  kmsg        pagetypeinfo   sysvipc
>>>>>>> 10    1218  1410  1685  1761  1804  2     2388  296   3573  471   554
>>>>>>> 728   buddyinfo  fb           kpagecount  partitions     thread-self
>>>>>>> 1020  125   142   1687  1764  1805  20    24    3     359   473   56
>>>>>>> 755   bus        filesystems  kpageflags  sched_debug    timer_list
>>>>>>> 1025  126   1420  1690  1767  1818  21    25    30    3623  474   57
>>>>>>> 76    cgroups    fs           loadavg     schedstat      timer_stats
>>>>>>> 1032  127   1423  17    1769  1828  2169  2528  31    378   485   585
>>>>>>> 77    cmdline    interrupts   locks       scsi           tty
>>>>>>> 1033  128   143   1701  1771  1853  2187  254   3181  3822  5     606
>>>>>>> 7886  consoles   iomem        mdstat      self           uptime
>>>>>>> 1038  129   1444  1710  1772  1876  2197  26    33    39    509   654
>>>>>>> 8     cpuinfo    ioports      meminfo     slabinfo       version
>>>>>>> 1042  13    1485  1718  1781  1883  2198  2670  3309  3932  516   655
>>>>>>> 8743  crypto     irq          misc        softirqs       vmallocinfo
>>>>>>> 1069  130   15    1722  1787  1893  22    2672  34    40    53    695
>>>>>>> 9     devices    kallsyms     modules     stat           vmstat
>>>>>>> 1070  131   1568  1725  1789  1896  2202  27    3419  41    539   7
>>>>>>> 9040  diskstats  kcore        mounts      swaps          zoneinfo
>>>>>>> 11    132   1645  1727  1792  19    2248  28    3433  468   542   709
>>>>>>> 9056  dma        keys         mtrr        sys
>>>>>>> 1144  1331  1655  1732  1796  1905  23    29    3437  469   5421  715
>>>>>>> acpi  driver     key-users    net         sysrq-trigger
>>>>>>> --
>>>>>>> To unsubscribe from this list: send the line "unsubscribe linux-input" in
>>>>>>> the body of a message to majordomo@vger.kernel.org
>>>>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply

* Bug report - Input device stopped working ater 3.17 (and isn't working with the latest kernel)
From: josep.sanchez.ferreres @ 2014-12-08 18:39 UTC (permalink / raw)
  To: linux-input

Dear Sir or Madam,

I'm sending a bug report to describe an issue I've encountered with  
the linux kernel and haven't been able to solve nor anyone I asked (in  
forums and irc) knows about. It appears to be a bug with newer  
versions of the kernel and the HID has certainly something to do about  
it.

Please don't hesitate to contact me back at this e-mail address for  
any additional information, and please forgive for any errors in my  
english writting.

Thank you very much.

===========================
         BUG REPORT

Following the format from  
https://www.kernel.org/pub/linux/docs/lkml/reporting-bugs.html

===========================

[1.] One-line summary

A device (Wacom Bamboo Pad) was working fine under 3.16 kernel, but  
required the NO_IGNORE flag for usbhid.quirks (0x40000000). With  
kernel 3.17 the device is completely ignored by the kernel and with  
kernel 3.18 it's recognised but still not working

[2.] Full description

I have an input device (graphics tablet) named Wacom Bamboo Pad  
(major:minor 0x056a:0318). It's recognised by the kernel and Xorg used  
to call it: "Wacom Co.,Ltd. Bamboo Pad, USB". Note that until kernel  
3.16 the device was working just fine with the evdev driver, although  
it required some adjustment as the device was being ignored by the  
kernel.

Passing the following parameter to the kernel at boot made the device  
work perfectly:

     usbhid.quirks=0x056a:0x0318:0x40000000

Note that neither Wacom nor the linux wacom project support this  
tablet with any drivers, but evdev works just fine with it, all its  
features.


Now the problem came when I updated to kernel 3.17. The newer kernel  
refused to recognise the device despite the NO_IGNORE (0x40000000)  
flag being set for the device. The only thing listing it was lsusb but  
the Xorg log never said anything related to that device. This is a  
relevant part of the Xorg server log when using 3.16 kernel:

[    15.716] (II) config/udev: Adding input device Wacom Co.,Ltd.  
Bamboo Pad, USB (/dev/input/event3)
[    15.716] (**) Wacom Co.,Ltd. Bamboo Pad, USB: Applying InputClass  
"evdev tablet catchall"
[    15.716] (II) Using input driver 'evdev' for 'Wacom Co.,Ltd.  
Bamboo Pad, USB'
[    15.717] (**) Wacom Co.,Ltd. Bamboo Pad, USB: always reports core events
[    15.717] (**) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Device:  
"/dev/input/event3"
[    15.717] (--) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Vendor 0x56a  
Product 0x318
[    15.717] (--) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Found 1 mouse buttons
[    15.717] (--) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Found absolute axes
[    15.717] (--) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Found x and y  
absolute axes
[    15.717] (--) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Found  
absolute tablet.
[    15.717] (II) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Configuring as tablet
[    15.717] (**) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: YAxisMapping:  
buttons 4 and 5
[    15.717] (**) evdev: Wacom Co.,Ltd. Bamboo Pad, USB:  
EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    15.717] (**) Option "config_info"  
"udev:/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2.4/2-2.4.3/2-2.4.3:1.1/0003:056A:0318.0005/input/input5/event3"
[    15.717] (II) XINPUT: Adding extended input device "Wacom Co.,Ltd.  
Bamboo Pad, USB" (type: TABLET, id 11)
[    15.717] (II) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: initialized  
for absolute axes.
[    15.717] (**) Wacom Co.,Ltd. Bamboo Pad, USB: (accel) keeping  
acceleration scheme 1
[    15.717] (**) Wacom Co.,Ltd. Bamboo Pad, USB: (accel) acceleration  
profile 0
[    15.717] (**) Wacom Co.,Ltd. Bamboo Pad, USB: (accel) acceleration  
factor: 2.000
[    15.717] (**) Wacom Co.,Ltd. Bamboo Pad, USB: (accel) acceleration  
threshold: 4
[    15.717] (II) config/udev: Adding input device Wacom Co.,Ltd.  
Bamboo Pad, USB (/dev/input/mouse1)
[    15.717] (II) No input driver specified, ignoring this device.
[    15.717] (II) This device may have been added with another device file.
[    15.718] (II) config/udev: Adding input device Wacom Co.,Ltd.  
Bamboo Pad, USB (/dev/input/event4)
[    15.718] (**) Wacom Co.,Ltd. Bamboo Pad, USB: Applying InputClass  
"evdev pointer catchall"
[    15.718] (**) Wacom Co.,Ltd. Bamboo Pad, USB: Applying InputClass  
"evdev keyboard catchall"
[    15.718] (II) Using input driver 'evdev' for 'Wacom Co.,Ltd.  
Bamboo Pad, USB'
[    15.718] (**) Wacom Co.,Ltd. Bamboo Pad, USB: always reports core events
[    15.718] (**) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Device:  
"/dev/input/event4"
[    15.718] (--) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Vendor 0x56a  
Product 0x318
[    15.718] (--) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Found 9 mouse buttons
[    15.718] (--) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Found scroll wheel(s)
[    15.718] (--) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Found relative axes
[    15.718] (--) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Found x and y  
relative axes
[    15.718] (--) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Found keys
[    15.718] (II) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Configuring as mouse
[    15.718] (II) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Configuring  
as keyboard
[    15.718] (II) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: Adding  
scrollwheel support
[    15.718] (**) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: YAxisMapping:  
buttons 4 and 5
[    15.718] (**) evdev: Wacom Co.,Ltd. Bamboo Pad, USB:  
EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    15.718] (**) Option "config_info"  
"udev:/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2.4/2-2.4.3/2-2.4.3:1.2/0003:056A:0318.0006/input/input6/event4"
[    15.718] (II) XINPUT: Adding extended input device "Wacom Co.,Ltd.  
Bamboo Pad, USB" (type: KEYBOARD, id 12)
[    15.718] (**) Option "xkb_rules" "evdev"
[    15.718] (**) Option "xkb_model" "pc104"
[    15.718] (**) Option "xkb_layout" "us"
[    15.718] (II) evdev: Wacom Co.,Ltd. Bamboo Pad, USB: initialized  
for relative axes.
[    15.719] (**) Wacom Co.,Ltd. Bamboo Pad, USB: (accel) keeping  
acceleration scheme 1
[    15.719] (**) Wacom Co.,Ltd. Bamboo Pad, USB: (accel) acceleration  
profile 0
[    15.719] (**) Wacom Co.,Ltd. Bamboo Pad, USB: (accel) acceleration  
factor: 2.000
[    15.719] (**) Wacom Co.,Ltd. Bamboo Pad, USB: (accel) acceleration  
threshold: 4
[    15.719] (II) config/udev: Adding input device Wacom Co.,Ltd.  
Bamboo Pad, USB (/dev/input/mouse2)

Notice how the device is handled as three different parts, as it's a  
graphics tablet which can be used both as a trackpad (with finger) and  
stylus device as well. As for the keyboard part, it's handling the two  
physical buttons of the device, i think.

Now, under 3.17 kernel no line at all is being printed. As I said the  
kernel completely ignores the device.

Taking some other users advice, before reporting the bug I tried the  
newest kernel, 3.18rc7-1 and found out this time Xorg was trying to  
handle the device, but oddly enough the name being assigned to it was  
different, and the evdev driver didn't know how to handle the device,  
when it clearly could before. This is the relevant log for Xorg now:

[    16.155] (II) config/udev: Adding input device Wacom HID Pen  
(/dev/input/event20)
[    16.155] (**) Wacom HID Pen: Applying InputClass "tableta wacom"
[    16.155] (II) Using input driver 'evdev' for 'Wacom HID Pen'
[    16.155] (**) Wacom HID Pen: always reports core events
[    16.155] (**) evdev: Wacom HID Pen: Device: "/dev/input/event20"
[    16.155] (--) evdev: Wacom HID Pen: Vendor 0x56a Product 0x318
[    16.155] (WW) evdev: Wacom HID Pen: Don't know how to use device
[    16.210] (EE) PreInit returned 8 for "Wacom HID Pen"
[    16.210] (II) UnloadModule: "evdev"
[    16.210] (II) config/udev: Adding input device Wacom HID Pen  
(/dev/input/event21)
[    16.210] (**) Wacom HID Pen: Applying InputClass "tableta wacom"
[    16.210] (II) Using input driver 'evdev' for 'Wacom HID Pen'
[    16.210] (**) Wacom HID Pen: always reports core events
[    16.210] (**) evdev: Wacom HID Pen: Device: "/dev/input/event21"
[    16.210] (--) evdev: Wacom HID Pen: Vendor 0x56a Product 0x318
[    16.210] (WW) evdev: Wacom HID Pen: Don't know how to use device
[    16.290] (EE) PreInit returned 8 for "Wacom HID Pen"
[    16.290] (II) UnloadModule: "evdev"
[    16.290] (II) config/udev: Adding input device Wacom HID Pen  
(/dev/input/event22)
[    16.290] (**) Wacom HID Pen: Applying InputClass "tableta wacom"
[    16.290] (II) Using input driver 'evdev' for 'Wacom HID Pen'
[    16.290] (**) Wacom HID Pen: always reports core events
[    16.290] (**) evdev: Wacom HID Pen: Device: "/dev/input/event22"
[    16.290] (--) evdev: Wacom HID Pen: Vendor 0x56a Product 0x318
[    16.290] (WW) evdev: Wacom HID Pen: Don't know how to use device
[    16.346] (EE) PreInit returned 8 for "Wacom HID Pen"
[    16.346] (II) UnloadModule: "evdev"

As I said, now evdev doesn't know how to handle my device. And oddly  
enough, the name changed from the previous one to "Wacom HID Pen".  
Also note how I had to create a custom section in Xorg in order for it  
to catch the Tablet and set it to the evdev driver, as "MatchIsTablet"  
wasn't able to get it this time.

This is all the information I could get, I should also say that I  
haven't changed anything besides the kernel, and switching back to the  
older kernel makes the device work again. I've done it several times  
to confirm the issue.o

[3.] Keywords
modules kernel device ignored evdev graphics-tablet

[4.] Kernel version
Linux version 3.18.0-1-mainline

[7.2] Output of /proc/cpuinfo

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 26
model name	: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
stepping	: 5
microcode	: 0xf
cpu MHz		: 1600.000
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 0
cpu cores	: 4
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 sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi  
flexpriority ept vpid
bugs		:
bogomips	: 5347.16
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		: 26
model name	: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
stepping	: 5
microcode	: 0xf
cpu MHz		: 1600.000
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 1
cpu cores	: 4
apicid		: 2
initial apicid	: 2
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 sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi  
flexpriority ept vpid
bugs		:
bogomips	: 5347.16
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		: 26
model name	: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
stepping	: 5
microcode	: 0xf
cpu MHz		: 1600.000
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 2
cpu cores	: 4
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 sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi  
flexpriority ept vpid
bugs		:
bogomips	: 5347.16
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		: 26
model name	: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
stepping	: 5
microcode	: 0xf
cpu MHz		: 1600.000
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 3
cpu cores	: 4
apicid		: 6
initial apicid	: 6
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 sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi  
flexpriority ept vpid
bugs		:
bogomips	: 5347.16
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 4
vendor_id	: GenuineIntel
cpu family	: 6
model		: 26
model name	: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
stepping	: 5
microcode	: 0xf
cpu MHz		: 1600.000
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 0
cpu cores	: 4
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 sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi  
flexpriority ept vpid
bugs		:
bogomips	: 5347.16
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 5
vendor_id	: GenuineIntel
cpu family	: 6
model		: 26
model name	: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
stepping	: 5
microcode	: 0xf
cpu MHz		: 1600.000
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 1
cpu cores	: 4
apicid		: 3
initial apicid	: 3
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 sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi  
flexpriority ept vpid
bugs		:
bogomips	: 5347.16
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 6
vendor_id	: GenuineIntel
cpu family	: 6
model		: 26
model name	: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
stepping	: 5
microcode	: 0xf
cpu MHz		: 1600.000
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 2
cpu cores	: 4
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 sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi  
flexpriority ept vpid
bugs		:
bogomips	: 5347.16
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 7
vendor_id	: GenuineIntel
cpu family	: 6
model		: 26
model name	: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
stepping	: 5
microcode	: 0xf
cpu MHz		: 1600.000
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 3
cpu cores	: 4
apicid		: 7
initial apicid	: 7
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 sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi  
flexpriority ept vpid
bugs		:
bogomips	: 5347.16
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

[7.3] Output of /proc/modules

fuse 87410 3 - Live 0xffffffffa065d000
ctr 12927 2 - Live 0xffffffffa0388000
ccm 17534 2 - Live 0xffffffffa0382000
arc4 12536 2 - Live 0xffffffffa0526000
radeon 1540212 4 - Live 0xffffffffa06a7000
ttm 73540 1 radeon, Live 0xffffffffa064a000
rt73usb 34383 0 - Live 0xffffffffa0530000
drm_kms_helper 80935 1 radeon, Live 0xffffffffa0511000
rt2x00usb 17642 1 rt73usb, Live 0xffffffffa0467000
rt2x00lib 46262 2 rt73usb,rt2x00usb, Live 0xffffffffa0504000
led_class 12855 1 rt2x00lib, Live 0xffffffffa0462000
mac80211 608599 2 rt2x00usb,rt2x00lib, Live 0xffffffffa05b4000
drm 263481 7 radeon,ttm,drm_kms_helper, Live 0xffffffffa04c2000
cfg80211 453926 2 rt2x00lib,mac80211, Live 0xffffffffa0544000
evdev 21544 7 - Live 0xffffffffa04bb000
nls_utf8 12456 1 - Live 0xffffffffa044f000
ntfs 202187 1 - Live 0xffffffffa0488000
rfkill 18867 2 cfg80211, Live 0xffffffffa0456000
r8169 80917 0 - Live 0xffffffffa0473000
iTCO_wdt 12831 0 - Live 0xffffffffa03da000
iTCO_vendor_support 12649 1 iTCO_wdt, Live 0xffffffffa044a000
coretemp 12820 0 - Live 0xffffffffa046e000
tpm_infineon 16882 0 - Live 0xffffffffa045c000
kvm_intel 143295 0 - Live 0xffffffffa0858000
tpm_tis 17182 0 - Live 0xffffffffa06a1000
kvm 426425 1 kvm_intel, Live 0xffffffffa03e0000
snd_cmipci 40688 4 - Live 0xffffffffa03cf000
snd_mpu401_uart 13507 1 snd_cmipci, Live 0xffffffffa03ca000
i2c_algo_bit 12744 1 radeon, Live 0xffffffffa03c5000
mousedev 17272 0 - Live 0xffffffffa03bb000
mac_hid 12633 0 - Live 0xffffffffa033e000
wacom 72596 0 - Live 0xffffffffa03a8000
mii 12675 1 r8169, Live 0xffffffffa032c000
snd_opl3_lib 17406 1 snd_cmipci, Live 0xffffffffa037c000
tpm 31467 2 tpm_infineon,tpm_tis, Live 0xffffffffa039f000
psmouse 107352 0 - Live 0xffffffffa0360000
gameport 17545 1 snd_cmipci, Live 0xffffffffa0338000
serio_raw 12849 0 - Live 0xffffffffa0343000
crc32c_intel 21809 0 - Live 0xffffffffa0331000
shpchp 35210 0 - Live 0xffffffffa0356000
asus_atk0110 17209 0 - Live 0xffffffffa0326000
snd_rawmidi 26806 1 snd_mpu401_uart, Live 0xffffffffa02f6000
snd_hda_codec_realtek 63196 1 - Live 0xffffffffa0315000
snd_seq_device 13132 2 snd_opl3_lib,snd_rawmidi, Live 0xffffffffa030c000
i2c_i801 16965 0 - Live 0xffffffffa02c4000
i2c_core 50152 5 radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_i801, Live  
0xffffffffa02fe000
button 12953 0 - Live 0xffffffffa02f1000
hwmon 12930 3 radeon,coretemp,asus_atk0110, Live 0xffffffffa00eb000
lpc_ich 20768 0 - Live 0xffffffffa02ea000
snd_hda_codec_generic 63087 1 snd_hda_codec_realtek, Live 0xffffffffa02d9000
i7core_edac 22278 0 - Live 0xffffffffa0167000
edac_core 47125 2 i7core_edac, Live 0xffffffffa0349000
acpi_cpufreq 17218 0 - Live 0xffffffffa01b7000
snd_hda_codec_hdmi 49263 1 - Live 0xffffffffa02cb000
snd_hda_intel 26387 3 - Live 0xffffffffa02bc000
snd_hda_controller 26938 1 snd_hda_intel, Live 0xffffffffa01e3000
snd_hda_codec 112621 5  
snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller, Live  
0xffffffffa029f000
snd_hwdep 17244 2 snd_opl3_lib,snd_hda_codec, Live 0xffffffffa0117000
snd_pcm 88785 6  
snd_cmipci,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec,  
Live 0xffffffffa0288000
snd_timer 26614 2 snd_opl3_lib,snd_pcm, Live 0xffffffffa01ed000
snd 73436 26  
snd_cmipci,snd_mpu401_uart,snd_opl3_lib,snd_rawmidi,snd_hda_codec_realtek,snd_seq_device,snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer, Live  
0xffffffffa01a4000
soundcore 13031 2 snd_hda_codec,snd, Live 0xffffffffa0090000
processor 27777 1 acpi_cpufreq, Live 0xffffffffa00d8000
sch_fq_codel 17343 6 - Live 0xffffffffa002e000
ext4 510292 2 - Live 0xffffffffa020a000
crc16 12343 1 ext4, Live 0xffffffffa0029000
mbcache 17171 1 ext4, Live 0xffffffffa001f000
jbd2 86379 1 ext4, Live 0xffffffffa0150000
hid_generic 12393 0 - Live 0xffffffffa00bf000
usbhid 48595 0 - Live 0xffffffffa011e000
hid 106316 3 wacom,hid_generic,usbhid, Live 0xffffffffa0135000
sd_mod 43575 4 - Live 0xffffffffa00cc000
sr_mod 21903 0 - Live 0xffffffffa00c5000
cdrom 47479 1 sr_mod, Live 0xffffffffa00b2000
uas 21817 0 - Live 0xffffffffa0089000
usb_storage 60311 1 uas, Live 0xffffffffa00a2000
ata_generic 12490 0 - Live 0xffffffffa0047000
pata_acpi 12771 0 - Live 0xffffffffa0038000
atkbd 22254 0 - Live 0xffffffffa012e000
libps2 12739 2 psmouse,atkbd, Live 0xffffffffa0104000
ahci 33248 0 - Live 0xffffffffa010d000
pata_jmicron 12483 0 - Live 0xffffffffa016e000
firewire_ohci 43373 0 - Live 0xffffffffa00f8000
libahci 27215 1 ahci, Live 0xffffffffa00f0000
ata_piix 33592 3 - Live 0xffffffffa00e1000
libata 181518 6  
ata_generic,pata_acpi,ahci,pata_jmicron,libahci,ata_piix, Live  
0xffffffffa0176000
uhci_hcd 43507 0 - Live 0xffffffffa0096000
ehci_pci 12512 0 - Live 0xffffffffa0084000
ehci_hcd 69939 1 ehci_pci, Live 0xffffffffa01f7000
scsi_mod 147580 5 sd_mod,sr_mod,uas,usb_storage,libata, Live  
0xffffffffa01bd000
firewire_core 56700 1 firewire_ohci, Live 0xffffffffa0010000
crc_itu_t 12347 2 rt73usb,firewire_core, Live 0xffffffffa003f000
usbcore 199382 8  
rt73usb,rt2x00usb,usbhid,uas,usb_storage,uhci_hcd,ehci_pci,ehci_hcd,  
Live 0xffffffffa0052000
usb_common 12440 1 usbcore, Live 0xffffffffa004d000
i8042 18002 1 libps2, Live 0xffffffffa000a000
serio 18282 6 psmouse,serio_raw,atkbd,i8042, Live 0xffffffffa0000000

[7.4] Output of /proc/iomem

00000000-00000fff : reserved
00001000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : PCI Bus 0000:00
000c0000-000cffff : Video ROM
000d0000-000dffff : PCI Bus 0000:00
000e4c00-000fffff : reserved
   000f0000-000fffff : System ROM
00100000-bf77ffff : System RAM
   01000000-01559649 : Kernel code
   0155964a-018e31ff : Kernel data
   01a0d000-01b34fff : Kernel bss
bf780000-bf797fff : ACPI Tables
bf798000-bf7dbfff : ACPI Non-volatile Storage
bf7dc000-bfffffff : reserved
c0000000-dfffffff : PCI Bus 0000:00
   c0000000-c03fffff : PCI Bus 0000:07
   c0400000-c05fffff : PCI Bus 0000:05
   c0600000-c07fffff : PCI Bus 0000:04
   d0000000-dfffffff : PCI Bus 0000:02
     d0000000-dfffffff : 0000:02:00.0
e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff]
   e0000000-efffffff : pnp 00:06
f0000000-fed8ffff : PCI Bus 0000:00
   fae00000-faefffff : PCI Bus 0000:06
     faef0000-faefffff : 0000:06:00.0
       faef0000-faefffff : r8169
   faf00000-faffffff : PCI Bus 0000:07
   fbaf8000-fbafbfff : 0000:00:1b.0
     fbaf8000-fbafbfff : ICH HD audio
   fbafd000-fbafd0ff : 0000:00:1f.3
   fbafe000-fbafe3ff : 0000:00:1d.7
     fbafe000-fbafe3ff : ehci_hcd
   fbaff000-fbaff3ff : 0000:00:1a.7
     fbaff000-fbaff3ff : ehci_hcd
   fbb00000-fbbfffff : PCI Bus 0000:02
     fbb80000-fbbbffff : 0000:02:00.0
     fbbc0000-fbbdffff : 0000:02:00.0
     fbbfc000-fbbfffff : 0000:02:00.1
       fbbfc000-fbbfffff : ICH HD audio
   fbc00000-fbcfffff : PCI Bus 0000:04
     fbce0000-fbceffff : 0000:04:00.0
     fbcfe000-fbcfffff : 0000:04:00.0
       fbcfe000-fbcfffff : ahci
   fbd00000-fbdfffff : PCI Bus 0000:05
     fbdff000-fbdff7ff : 0000:05:00.0
       fbdff000-fbdff7ff : firewire_ohci
   fbe00000-fbefffff : PCI Bus 0000:06
     fbec0000-fbedffff : 0000:06:00.0
     fbeff000-fbefffff : 0000:06:00.0
       fbeff000-fbefffff : r8169
   fbf00000-fbffffff : pnp 00:00
   fc000000-fcffffff : pnp 00:00
   fd000000-fdffffff : pnp 00:00
   fe000000-febfffff : pnp 00:00
   fec00000-fec003ff : IOAPIC 0
   fec8a000-fec8a3ff : IOAPIC 1
   fed00000-fed003ff : HPET 0
     fed00000-fed003ff : PNP0103:00
   fed10000-fed10fff : pnp 00:00
   fed1c000-fed1ffff : pnp 00:03
     fed1f410-fed1f414 : iTCO_wdt
       fed1f410-fed1f414 : iTCO_wdt
   fed20000-fed3ffff : pnp 00:03
   fed40000-fed8ffff : pnp 00:03
fee00000-fee00fff : Local APIC
   fee00000-fee00fff : reserved
     fee00000-fee00fff : pnp 00:05
ffa00000-ffbfffff : INT0800:00
ffc00000-ffdfffff : pnp 00:04
ffe00000-ffffffff : reserved
   ffe00000-ffffffff : INT0800:00
100000000-1bfffffff : System RAM

[7.5.] PCI information ('lspci -vvv' as root)

00:00.0 Host bridge: Intel Corporation 5520/5500/X58 I/O Hub to ESI  
Port (rev 13)
	Subsystem: ASUSTeK Computer Inc. Device 836b
	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-
	Capabilities: [60] MSI: Enable- Count=1/2 Maskable+ 64bit-
		Address: 00000000  Data: 0000
		Masking: 00000000  Pending: 00000000
	Capabilities: [90] Express (v2) Root Port (Slot-), MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag+ RBE+
		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 2.5GT/s, Width x4, ASPM L0s L1, Exit Latency  
L0s <512ns, L1 <64us
			ClockPM- Surprise+ LLActRep+ BwNot+
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk-
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive+  
BWMgmt- ABWMgmt-
		RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
		RootCap: CRSVisible-
		RootSta: PME ReqID 0000, PMEStatus- PMEPending-
		DevCap2: Completion Timeout: Range BCD, TimeoutDis+, LTR-, OBFF Not  
Supported ARIFwd+
		DevCtl2: Completion Timeout: 260ms to 900ms, TimeoutDis-, LTR-, OBFF  
Disabled ARIFwd-
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance-  
ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,  
EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [e0] 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: [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: [150 v1] Access Control Services
		ACSCap:	SrcValid+ TransBlk+ ReqRedir+ CmpltRedir+ UpstreamFwd+  
EgressCtrl- DirectTrans-
		ACSCtl:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd-  
EgressCtrl- DirectTrans-
	Capabilities: [160 v0] Vendor Specific Information: ID=0002 Rev=0 Len=00c <?>

00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI  
Express Root Port 1 (rev 13) (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: 0000f000-00000fff
	Memory behind bridge: fff00000-000fffff
	Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
	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] Subsystem: ASUSTeK Computer Inc. Device 836b
	Capabilities: [60] MSI: Enable- Count=1/2 Maskable+ 64bit-
		Address: 00000000  Data: 0000
		Masking: 00000000  Pending: 00000000
	Capabilities: [90] Express (v2) Root Port (Slot+), MSI 00
		DevCap:	MaxPayload 256 bytes, PhantFunc 0
			ExtTag+ RBE+
		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 5GT/s, Width x4, ASPM L0s L1, Exit Latency  
L0s <512ns, L1 <64us
			ClockPM- Surprise+ LLActRep+ BwNot+
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk-
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x0, TrErr- Train- SlotClk+ DLActive-  
BWMgmt- ABWMgmt-
		SltCap:	AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
			Slot #1, PowerLimit 25.000W; Interlock- NoCompl-
		SltCtl:	Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
			Control: AttnInd Off, PwrInd Off, 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 BCD, TimeoutDis+, LTR-, OBFF Not  
Supported ARIFwd+
		DevCtl2: Completion Timeout: 260ms to 900ms, TimeoutDis-, LTR-, OBFF  
Disabled ARIFwd-
		LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance-  
ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,  
EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [e0] 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: [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: [150 v1] Access Control Services
		ACSCap:	SrcValid+ TransBlk+ ReqRedir+ CmpltRedir+ UpstreamFwd+  
EgressCtrl- DirectTrans-
		ACSCtl:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd-  
EgressCtrl- DirectTrans-
	Capabilities: [160 v0] Vendor Specific Information: ID=0002 Rev=0 Len=00c <?>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI  
Express Root Port 3 (rev 13) (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: 0000a000-0000afff
	Memory behind bridge: fbb00000-fbbfffff
	Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
	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] Subsystem: ASUSTeK Computer Inc. Device 836b
	Capabilities: [60] MSI: Enable- Count=1/2 Maskable+ 64bit-
		Address: 00000000  Data: 0000
		Masking: 00000000  Pending: 00000000
	Capabilities: [90] Express (v2) Root Port (Slot+), MSI 00
		DevCap:	MaxPayload 256 bytes, PhantFunc 0
			ExtTag+ RBE+
		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 5GT/s, Width x16, ASPM L0s L1, Exit Latency  
L0s <512ns, L1 <64us
			ClockPM- Surprise+ LLActRep+ BwNot+
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive+  
BWMgmt+ ABWMgmt-
		SltCap:	AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
			Slot #2, PowerLimit 75.000W; Interlock- NoCompl-
		SltCtl:	Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
			Control: AttnInd Off, PwrInd Off, 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 BCD, TimeoutDis+, LTR-, OBFF Not  
Supported ARIFwd+
		DevCtl2: Completion Timeout: 260ms to 900ms, TimeoutDis-, LTR-, OBFF  
Disabled ARIFwd-
		LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance-  
ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,  
EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [e0] 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: [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: [150 v1] Access Control Services
		ACSCap:	SrcValid+ TransBlk+ ReqRedir+ CmpltRedir+ UpstreamFwd+  
EgressCtrl- DirectTrans-
		ACSCtl:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd-  
EgressCtrl- DirectTrans-
	Capabilities: [160 v0] Vendor Specific Information: ID=0002 Rev=0 Len=00c <?>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI  
Express Root Port 7 (rev 13) (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: 0000f000-00000fff
	Memory behind bridge: fff00000-000fffff
	Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
	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] Subsystem: ASUSTeK Computer Inc. Device 836b
	Capabilities: [60] MSI: Enable- Count=1/2 Maskable+ 64bit-
		Address: 00000000  Data: 0000
		Masking: 00000000  Pending: 00000000
	Capabilities: [90] Express (v2) Root Port (Slot+), MSI 00
		DevCap:	MaxPayload 256 bytes, PhantFunc 0
			ExtTag+ RBE+
		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 5GT/s, Width x16, ASPM L0s L1, Exit Latency  
L0s <512ns, L1 <64us
			ClockPM- Surprise+ LLActRep+ BwNot+
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk-
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x0, TrErr- Train- SlotClk+ DLActive-  
BWMgmt- ABWMgmt-
		SltCap:	AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
			Slot #5, PowerLimit 25.000W; Interlock- NoCompl-
		SltCtl:	Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
			Control: AttnInd Off, PwrInd Off, 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 BCD, TimeoutDis+, LTR-, OBFF Not  
Supported ARIFwd+
		DevCtl2: Completion Timeout: 260ms to 900ms, TimeoutDis-, LTR-, OBFF  
Disabled ARIFwd-
		LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance-  
ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,  
EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [e0] 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: [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: [150 v1] Access Control Services
		ACSCap:	SrcValid+ TransBlk+ ReqRedir+ CmpltRedir+ UpstreamFwd+  
EgressCtrl- DirectTrans-
		ACSCtl:	SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd-  
EgressCtrl- DirectTrans-
	Capabilities: [160 v0] Vendor Specific Information: ID=0002 Rev=0 Len=00c <?>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:14.0 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub System  
Management Registers (rev 13) (prog-if 00 [8259])
	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-
	Capabilities: [40] Express (v2) Root Complex Integrated Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+
		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-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF  
Not Supported
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
	Kernel driver in use: i7core_edac
	Kernel modules: i7core_edac

00:14.1 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub GPIO and  
Scratch Pad Registers (rev 13) (prog-if 00 [8259])
	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-
	Capabilities: [40] Express (v2) Root Complex Integrated Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+
		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-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF  
Not Supported
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled

00:14.2 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub Control  
Status and RAS Registers (rev 13) (prog-if 00 [8259])
	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-
	Capabilities: [40] Express (v2) Root Complex Integrated Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+
		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-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF  
Not Supported
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled

00:14.3 PIC: Intel Corporation 7500/5520/5500/X58 I/O Hub Throttle  
Registers (rev 13) (prog-if 00 [8259])
	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-

00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB  
UHCI Controller #4 (prog-if 00 [UHCI])
	Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard
	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 4: I/O ports at 9800 [size=32]
	Capabilities: [50] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd

00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB  
UHCI Controller #5 (prog-if 00 [UHCI])
	Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard
	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 21
	Region 4: I/O ports at 9880 [size=32]
	Capabilities: [50] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd

00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB  
UHCI Controller #6 (prog-if 00 [UHCI])
	Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard
	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 D routed to IRQ 19
	Region 4: I/O ports at 9c00 [size=32]
	Capabilities: [50] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd

00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2  
EHCI Controller #2 (prog-if 20 [EHCI])
	Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard
	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 C routed to IRQ 18
	Region 0: Memory at fbaff000 (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
	Kernel modules: ehci_pci

00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD  
Audio Controller
	Subsystem: ASUSTeK Computer Inc. Device 8357
	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 28
	Region 0: Memory at fbaf8000 (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: 00000000fee00000  Data: 40c2
	Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE-
		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-
	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=80
			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 82801JI (ICH10 Family) PCI  
Express Root Port 1 (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=07, subordinate=07, sec-latency=0
	I/O behind bridge: 00001000-00001fff
	Memory behind bridge: c0000000-c03fffff
	Prefetchable memory behind bridge: 00000000faf00000-00000000faffffff
	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 (v1) Root Port (Slot+), MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+
		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, Exit Latency  
L0s <256ns, L1 <4us
			ClockPM- Surprise- LLActRep+ BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x0, 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-
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee00000  Data: 40d1
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 8357
	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-
	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-
	Capabilities: [180 v1] Root Complex Link
		Desc:	PortNumber=01 ComponentID=00 EltType=Config
		Link0:	Desc:	TargetPort=00 TargetComponent=00 AssocRCRB-  
LinkType=MemMapped LinkValid+
			Addr:	00000000fed1c000
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI  
Express Root Port 3 (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=06, subordinate=06, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: fbe00000-fbefffff
	Prefetchable memory behind bridge: 00000000fae00000-00000000faefffff
	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 (v1) Root Port (Slot+), MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+
		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 #3, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency  
L0s <256ns, L1 <4us
			ClockPM- Surprise- LLActRep+ BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- 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-
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee00000  Data: 4022
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 8357
	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-
	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-
	Capabilities: [180 v1] Root Complex Link
		Desc:	PortNumber=03 ComponentID=00 EltType=Config
		Link0:	Desc:	TargetPort=00 TargetComponent=00 AssocRCRB-  
LinkType=MemMapped LinkValid+
			Addr:	00000000fed1c000
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI  
Express Root Port 4 (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=05, subordinate=05, sec-latency=0
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: fbd00000-fbdfffff
	Prefetchable memory behind bridge: 00000000c0400000-00000000c05fffff
	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 (v1) Root Port (Slot+), MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+
		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 #4, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency  
L0s <1us, L1 <4us
			ClockPM- Surprise- LLActRep+ BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- 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-
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee00000  Data: 4052
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 8357
	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-
	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-
	Capabilities: [180 v1] Root Complex Link
		Desc:	PortNumber=04 ComponentID=00 EltType=Config
		Link0:	Desc:	TargetPort=00 TargetComponent=00 AssocRCRB-  
LinkType=MemMapped LinkValid+
			Addr:	00000000fed1c000
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI  
Express Root Port 5 (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=04, subordinate=04, sec-latency=0
	I/O behind bridge: 0000b000-0000bfff
	Memory behind bridge: fbc00000-fbcfffff
	Prefetchable memory behind bridge: 00000000c0600000-00000000c07fffff
	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 (v1) Root Port (Slot+), MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0
			ExtTag- RBE+
		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 #5, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency  
L0s <256ns, L1 <4us
			ClockPM- Surprise- LLActRep+ BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- 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-
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee00000  Data: 4062
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Device 8357
	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-
	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-
	Capabilities: [180 v1] Root Complex Link
		Desc:	PortNumber=05 ComponentID=00 EltType=Config
		Link0:	Desc:	TargetPort=00 TargetComponent=00 AssocRCRB-  
LinkType=MemMapped LinkValid+
			Addr:	00000000fed1c000
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB  
UHCI Controller #1 (prog-if 00 [UHCI])
	Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard
	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 23
	Region 4: I/O ports at 9080 [size=32]
	Capabilities: [50] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd

00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB  
UHCI Controller #2 (prog-if 00 [UHCI])
	Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard
	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 19
	Region 4: I/O ports at 9400 [size=32]
	Capabilities: [50] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd

00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB  
UHCI Controller #3 (prog-if 00 [UHCI])
	Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard
	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 C routed to IRQ 18
	Region 4: I/O ports at 9480 [size=32]
	Capabilities: [50] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd

00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2  
EHCI Controller #1 (prog-if 20 [EHCI])
	Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard
	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 23
	Region 0: Memory at fbafe000 (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
	Kernel modules: ehci_pci

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)  
(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=08, subordinate=08, sec-latency=32
	I/O behind bridge: 0000e000-0000efff
	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: ASUSTeK Computer Inc. Device 82d4

00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface  
Controller
	Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard
	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=0c <?>
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich

00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port  
SATA IDE Controller #1 (prog-if 8f [Master SecP SecO PriP PriO])
	Subsystem: ASUSTeK Computer Inc. Device 82d4
	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 20
	Region 0: I/O ports at 8000 [size=8]
	Region 1: I/O ports at 7c00 [size=4]
	Region 2: I/O ports at 7880 [size=8]
	Region 3: I/O ports at 7800 [size=4]
	Region 4: I/O ports at 7480 [size=16]
	Region 5: I/O ports at 7400 [size=16]
	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: [b0] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix, pata_acpi, ata_generic

00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
	Subsystem: ASUSTeK Computer Inc. P5Q Deluxe Motherboard
	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 18
	Region 0: Memory at fbafd000 (64-bit, non-prefetchable) [size=256]
	Region 4: I/O ports at 0400 [size=32]
	Kernel modules: i2c_i801

00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port  
SATA IDE Controller #2 (prog-if 85 [Master SecO PriO])
	Subsystem: ASUSTeK Computer Inc. Device 82d4
	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 20
	Region 0: I/O ports at 9000 [size=8]
	Region 1: I/O ports at 8c00 [size=4]
	Region 2: I/O ports at 8880 [size=8]
	Region 3: I/O ports at 8800 [size=4]
	Region 4: I/O ports at 8480 [size=16]
	Region 5: I/O ports at 8400 [size=16]
	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: [b0] PCI Advanced Features
		AFCap: TP+ FLR+
		AFCtrl: FLR-
		AFStatus: TP-
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix, pata_acpi, ata_generic

02:00.0 VGA compatible controller: Advanced Micro Devices, Inc.  
[AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X] (prog-if 00  
[VGA controller])
	Subsystem: PC Partner Limited / Sapphire Technology Device a002
	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 33
	Region 0: Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Region 2: Memory at fbb80000 (64-bit, non-prefetchable) [size=256K]
	Region 4: I/O ports at a000 [size=256]
	Expansion ROM at fbbc0000 [disabled] [size=128K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	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 8GT/s, Width x16, ASPM L0s L1, Exit Latency  
L0s <64ns, L1 <1us
			ClockPM- Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive-  
BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF  
Not Supported
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
		LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance-  
ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,  
EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee00000  Data: 4053
	Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150 v2] 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: [200 v1] #15
	Capabilities: [270 v1] #19
	Kernel driver in use: radeon
	Kernel modules: radeon

02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape  
Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
	Subsystem: PC Partner Limited / Sapphire Technology Device aab0
	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 30
	Region 0: Memory at fbbfc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	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 8GT/s, Width x16, ASPM L0s L1, Exit Latency  
L0s <64ns, L1 <1us
			ClockPM- Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive-  
BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF  
Not Supported
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,  
EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
		Address: 00000000fee00000  Data: 40e2
	Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150 v2] 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-
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

04:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE  
Controller (rev 03) (prog-if 01 [AHCI 1.0])
	Subsystem: ASUSTeK Computer Inc. Device 824f
	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 16
	Region 5: Memory at fbcfe000 (32-bit, non-prefetchable) [size=8K]
	Expansion ROM at fbce0000 [disabled] [size=64K]
	Capabilities: [68] 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: [50] Express (v1) Legacy Endpoint, MSI 01
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
			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 #1, Speed 2.5GT/s, Width x1, ASPM L0s, Exit Latency L0s  
unlimited, L1 unlimited
			ClockPM- Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk-
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive-  
BWMgmt- ABWMgmt-
	Kernel driver in use: ahci
	Kernel modules: ahci

04:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE  
Controller (rev 03) (prog-if 85 [Master SecO PriO])
	Subsystem: ASUSTeK Computer Inc. Device 824f
	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 B routed to IRQ 17
	Region 0: I/O ports at bc00 [size=8]
	Region 1: I/O ports at b880 [size=4]
	Region 2: I/O ports at b800 [size=8]
	Region 3: I/O ports at b480 [size=4]
	Region 4: I/O ports at b400 [size=16]
	Capabilities: [68] 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: pata_jmicron
	Kernel modules: pata_jmicron, pata_acpi, ata_generic

05:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series  
Firewire Controller (prog-if 10 [OHCI])
	Subsystem: ASUSTeK Computer Inc. P8P67 Deluxe Motherboard
	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 19
	Region 0: Memory at fbdff000 (64-bit, non-prefetchable) [size=2K]
	Region 2: I/O ports at c800 [size=256]
	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: 0000000000000000  Data: 0000
		Masking: 00000000  Pending: 00000000
	Capabilities: [98] Express (v1) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
			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, Exit Latency  
L0s <1us, L1 <64us
			ClockPM+ Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk-
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive-  
BWMgmt- ABWMgmt-
	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: 14, GenCap+ CGenEn- ChkCap+ ChkEn-
	Capabilities: [130 v1] Device Serial Number 00-1e-8c-ff-ff-b8-c3-35
	Kernel driver in use: firewire_ohci
	Kernel modules: firewire_ohci

06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.  
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
	Subsystem: ASUSTeK Computer Inc. M3A78-EH Motherboard
	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 31
	Region 0: I/O ports at d800 [size=256]
	Region 2: Memory at fbeff000 (64-bit, non-prefetchable) [size=4K]
	Region 4: Memory at faef0000 (64-bit, prefetchable) [size=64K]
	Expansion ROM at fbec0000 [disabled] [size=128K]
	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: 00000000fee00000  Data: 4023
	Capabilities: [70] Express (v1) 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, Exit Latency  
L0s <512ns, L1 <64us
			ClockPM+ Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive-  
BWMgmt- ABWMgmt-
	Capabilities: [b0] MSI-X: Enable- Count=2 Masked-
		Vector table: BAR=4 offset=00000000
		PBA: BAR=4 offset=00000800
	Capabilities: [d0] Vital Product Data
		Unknown small resource type 05, 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=01
			Status:	NegoPending- InProgress-
	Capabilities: [160 v1] Device Serial Number 03-00-00-00-68-4c-e0-00
	Kernel driver in use: r8169
	Kernel modules: r8169

08:00.0 Multimedia audio controller: C-Media Electronics Inc  
CMI8738/CMI8768 PCI Audio (rev 10)
	Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device
	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: 64 (500ns min, 6000ns max)
	Interrupt: pin A routed to IRQ 16
	Region 0: I/O ports at e800 [size=256]
	Capabilities: [c0] 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: snd_cmipci
	Kernel modules: snd_cmipci

ff:00.0 Host bridge: Intel Corporation Xeon 5500/Core i7 QuickPath  
Architecture Generic Non-Core Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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 Xeon 5500/Core i7 QuickPath  
Architecture System Address Decoder (rev 05)
	Subsystem: Intel Corporation Device 8086
	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 Xeon 5500/Core i7 QPI Link 0 (rev 05)
	Subsystem: Intel Corporation Device 8086
	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 Xeon 5500/Core i7 QPI Physical  
0 (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:03.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:03.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Target Address Decoder (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:03.4 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Test Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:04.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Channel 0 Control Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:04.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Channel 0 Address Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:04.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Channel 0 Rank Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:04.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Channel 0 Thermal Control Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:05.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Channel 1 Control Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:05.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Channel 1 Address Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:05.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Channel 1 Rank Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:05.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Channel 1 Thermal Control Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:06.0 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Channel 2 Control Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:06.1 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Channel 2 Address Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:06.2 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Channel 2 Rank Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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:06.3 Host bridge: Intel Corporation Xeon 5500/Core i7 Integrated  
Memory Controller Channel 2 Thermal Control Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	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 (from /proc/scsi/scsi)

Attached devices:
Host: scsi4 Channel: 00 Id: 01 Lun: 00
   Vendor: ATA      Model: ST1000DM003-1CH1 Rev: CC44
   Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi6 Channel: 00 Id: 00 Lun: 00
   Vendor: HL-DT-ST Model: DVDRAM GH22NS50  Rev: TN03
   Type:   CD-ROM                           ANSI  SCSI revision: 05
Host: scsi8 Channel: 00 Id: 00 Lun: 00
   Vendor: Generic  Model: Storage Device   Rev: 0.00
   Type:   Direct-Access                    ANSI  SCSI revision: 02


^ permalink raw reply

* Re: PROBLEM: [HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a hardware click
From: Amordea Whiteoak @ 2014-12-08 18:39 UTC (permalink / raw)
  To: Benjamin Tissoires; +Cc: linux-input, Peter Hutterer, Andrew Duggan
In-Reply-To: <CAN+gG=Emz8r=17OpUETpVQyjCMDMX=aNEFFHZo3ivGS=xTZHXA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 37722 bytes --]

My Linux newbieness is showing. :)

I attempted to edit and boot the grub configuration, but I don't think
I did it right. I went with the seemingly more sure-fire way to get
your data and followed the second set of instructions.

Enclosed is all the dmesg output once I got that working.

On Mon, Dec 8, 2014 at 12:59 PM, Benjamin Tissoires
<benjamin.tissoires@gmail.com> wrote:
> On Mon, Dec 8, 2014 at 12:14 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>> There may be a thing I am failing to understand about dmesg here, but
>> a grep through both dmesg and /var/log/dmesg yielded no hits on
>> "i2c_hid.debug=1". I did find plenty of hits on just "i2c_hid", which
>> yielded several repetitive lines of what appears to be various
>> modules. Please let me know if there is something I am failing to
>> understand here, but I could not find the requested phrase in my
>> dmesg.
>
> I meant that when you reboot the laptop, in grub, append
> "i2c_hid.debug=1" to the kernel command line.
>
> This should be seen in one of the first few lines of dmesg (the one
> starting by "[    0.000000] Command line:
> BOOT_IMAGE=/boot/vmlinuz-3.18.0-031800rc7-generic "), and a lot of raw
> events should be dumped in the dmesg.
>
>>
>> I do have the hid-recorder output though, which I am attaching here.
>> This time I used a non-conductive pen to only generate clicks without
>> all the positioning data piling in on top. This is a recording of two
>> left clicks.
>>
>
> Ok, so at least, the device sends a sane behavior (one event per
> click/release, with one bit changed). Unfortunately, I think the
> problem lies in the configuration of your device by hid-rmi. So the
> dmesg output while i2c_hid.debug=1 is set should help to figure out
> the problem.
>
> If for whatever reasons you do not manage to get the parameter
> appended to your command line, the following commands should suffice
> (as root):
> #> rmmod hid-rmi
> #> echo 1 > /sys/module/i2c_hid/parameters/debug
> #> modprobe hid-rmi
>
> do a few events on the touchpad (with clicks)
>
> #> echo 0 > /sys/module/i2c_hid/parameters/debug
>
> and send out the dmesg.
>
> Cheers,
> Benjamin
>
>> If there is anything else I can provide, please let me know.
>>
>> Thank you for helping with this bug. :)
>>
>> On Mon, Dec 8, 2014 at 11:44 AM, Benjamin Tissoires
>> <benjamin.tissoires@gmail.com> wrote:
>>> Hi Amordea,
>>>
>>> On Mon, Dec 8, 2014 at 11:20 AM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>> My apologies if my bug report was inadequate. It is the first upstream
>>>> report I've ever filed, though I did attempt to give all the
>>>> information they requested to the best of my ability.
>>>
>>> Oh, no, I was not complaining about your way of reporting the bug. I
>>> know that it can be difficult for users to report _and_ provide all
>>> the necessary information unless you already know a little bit about
>>> the communities, how they work and what tool they use.
>>> My complain was more that the way it was triaged: try an upstream
>>> kernel; oh, does not work; send it upstream because it's a "poor
>>> driver implementation". Whereas here, there may be any part of the
>>> stack involved unless we look at the evemu-record (which is the output
>>> of the kernel BTW). And saying that the driver is badly designed
>>> really does not help...
>>> Last, the "meta bug" they have is either a problem in the kernel
>>> drivers they ship, or a not up to date Xorg stack. FWIW, I don't think
>>> we have this on Fedora.
>>>
>>> Anyway, thanks for the explanations that you give in the next
>>> paragraph, it gives a more comprehensive bug report :)
>>>
>>>>
>>>> If it helps: to be clear about the design of this clickpad, it is one
>>>> where the entire pad is touch-sensitive, even the area over the
>>>> hardware click buttons which are on the bottom. The entire pad is one
>>>> piece, so the pad itself shifts when you click a button. The
>>>> malfunction occurs whenever any of these buttons are clicked, but the
>>>> simulated clicks (tapping on the pad) behave adequately and do not
>>>> cause any mouse input lock-ups. The malfunction itself causes ALL
>>>> subsequent mouse clicks from any source (including a USB mouse) to
>>>> only act in the spot where the first hardware click from the clickpad
>>>> was performed and cannot be adjusted until the clickpad has been
>>>> disabled (xinput disable <id>). The hardware buttons on the clickpad
>>>> itself do not register as clicks at all, they only cause all mouse
>>>> input to malfunction as previously described.
>>>>
>>>> I am enclosing the requested evemu-record data. This is a recording of
>>>> my clicking the left hardware click button three times in rapid
>>>> succession, but failure generally occurs after the first click.
>>>
>>> Many thanks for the logs. So here, I can see that when you click on
>>> the touchpad, both BTN_LEFT and BTN_RIGHT are emitted, but they are
>>> never released :) I do not see either the 2 other clicks.
>>> So yes, here the driver is at fault and misses to release the clicks.
>>> This infers the cross-device problem in X BTW.
>>>
>>>>
>>>> A curious behavior I noticed in the process of getting this recording
>>>> is that on the first click, I received a pasted text line in my
>>>> terminal. I could not reproduce this behavior by doing an
>>>> enable/disable cycle on the trackpad, but to confirm I rebooted a few
>>>> times to test and sure enough, the very first click each boot triggers
>>>> a clipboard paste event.
>>>
>>> You must have the middle button emulation enabled in Xorg (hitting
>>> both left and right button will trigger a middle button). So when we
>>> will be able to fix this bug, the spurious middle click should
>>> disappear.
>>>
>>>>
>>>> If there is any more information I can provide, please let me know.
>>>
>>> Ideally, I'd like to punt this one to Andrew, but I think we would be
>>> grateful if you could also provide 2 more things:
>>> - the dmesg when "i2c_hid.debug=1" is appended to the kernel boot line
>>> (without the quotes)
>>> - the hid-recorder output when you trigger the bug
>>>
>>> hid-recorder should be installed from sources in Ubuntu I guess:
>>> http://bentiss.github.io/hid-replay-docs/
>>>
>>> The hid-recorder output might not be absolutely needed, so as long as
>>> we have the dmesg with i2c_hid.debug=1, we should be fine.
>>>
>>> Cheers,
>>> Benjamin
>>>
>>>>
>>>> Thank you!
>>>>
>>>> On Mon, Dec 8, 2014 at 10:01 AM, Benjamin Tissoires
>>>> <benjamin.tissoires@gmail.com> wrote:
>>>>> Hi Amordea,
>>>>>
>>>>> I must say, the bug triaging is worse and worse with ubuntu :(
>>>>>
>>>>> From the bug description, I can not tell if the problem lies in the
>>>>> kernel, or if it is the synaptics input driver or the xserver which is
>>>>> in fault. I would be tempted to say that the problem lies in the upper
>>>>> layers given the cross-devices problem.
>>>>>
>>>>> Anyway, to be able to understand the problem, we will need to get an
>>>>> evemu-record output of your device when you are reproducing the bug.
>>>>> You can find evemu in your distribution channels, or here:
>>>>> http://www.freedesktop.org/wiki/Evemu/
>>>>>
>>>>> Given that you have an hid-rmi/i2c device, I am adding Andrew in CC,
>>>>> and Peter for the upper layers if there is anything wrong there.
>>>>>
>>>>> Cheers,
>>>>> Benjamin
>>>>>
>>>>> On Sun, Dec 7, 2014 at 5:50 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>>>> Original Bug Report:
>>>>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398533
>>>>>>
>>>>>> Bug Description: After clicking once at the bottom of my clickpad on
>>>>>> either button, if I move my cursor elsewhere on the screen, and then
>>>>>> subsequently click again (with either clickpad or external mouse this
>>>>>> time) it registers a click at the location where my cursor icon was
>>>>>> originally. I can continue to move my cursor anywhere on the screen,
>>>>>> and it still registers the click in the original location.
>>>>>>
>>>>>>
>>>>>> cat /proc/version
>>>>>> Linux version 3.18.0-031800rc7-generic (apw@gomeisa) (gcc version
>>>>>> 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201411302035 SMP Mon Dec 1
>>>>>> 01:36:38 UTC 2014
>>>>>>
>>>>>>
>>>>>> lsb_release -rd
>>>>>> Description: Ubuntu 14.10
>>>>>> Release: 14.10
>>>>>>
>>>>>>
>>>>>> sh /usr/src/linux-headers-3.18.0-031800rc7/scripts/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 woprjr 3.18.0-031800rc7-generic #201411302035 SMP Mon Dec 1
>>>>>> 01:36:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>>>>>>
>>>>>> Gnu C
>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux:
>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: 20:
>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: ld: not
>>>>>> found
>>>>>> binutils
>>>>>> util-linux             2.25.1
>>>>>> mount                  debug
>>>>>> module-init-tools      18
>>>>>> e2fsprogs              1.42.10
>>>>>> PPP                    2.4.5
>>>>>> Linux C Library        2.19
>>>>>> Dynamic linker (ldd)   2.19
>>>>>> Procps                 3.3.9
>>>>>> Net-tools              1.60
>>>>>> Kbd                    1.15.5
>>>>>> Sh-utils               8.23
>>>>>> wireless-tools         30
>>>>>> Modules Loaded         snd_hda_codec_hdmi snd_hda_codec_realtek
>>>>>> snd_hda_codec_generic ctr ccm joydev hp_wmi hid_rmi sparse_keymap
>>>>>> rfcomm bnep arc4 rtl8723be btcoexist rtl8723_common intel_rapl
>>>>>> uvcvideo rtl_pci intel_soc_dts_thermal intel_powerclamp
>>>>>> videobuf2_vmalloc videobuf2_memops coretemp rtlwifi videobuf2_core
>>>>>> v4l2_common videodev mac80211 media kvm cfg80211 btusb
>>>>>> crct10dif_pclmul crc32_pclmul bluetooth ghash_clmulni_intel serio_raw
>>>>>> cryptd wmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
>>>>>> snd_seq_midi snd_seq_midi_event snd_rawmidi snd_soc_rt5640
>>>>>> snd_soc_rl6231 snd_soc_core snd_compress dw_dmac i915
>>>>>> snd_pcm_dmaengine dw_dmac_core snd_seq int3400_thermal int3403_thermal
>>>>>> acpi_thermal_rel nls_iso8859_1 snd_pcm i2c_hid video
>>>>>> intel_smartconnect drm_kms_helper hid drm rfkill_gpio snd_seq_device
>>>>>> i2c_designware_platform i2c_algo_bit snd_soc_sst_acpi 8250_dw
>>>>>> snd_timer i2c_designware_core hp_wireless shpchp spi_pxa2xx_platform
>>>>>> snd pwm_lpss_platform lpc_ich mac_hid mei_txe pwm_lpss iosf_mbi mei
>>>>>> soundcore parport_pc ppdev lp parport uas usb_storage mmc_block
>>>>>> sdhci_acpi sdhci
>>>>>>
>>>>>>
>>>>>> cat /proc/cpuinfo
>>>>>> processor : 0
>>>>>> vendor_id : GenuineIntel
>>>>>> cpu family : 6
>>>>>> model : 55
>>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>>> stepping : 8
>>>>>> microcode : 0x829
>>>>>> cpu MHz : 499.741
>>>>>> cache size : 1024 KB
>>>>>> physical id : 0
>>>>>> siblings : 2
>>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>>> bugs :
>>>>>> bogomips : 4326.40
>>>>>> 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 : 55
>>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>>> stepping : 8
>>>>>> microcode : 0x829
>>>>>> cpu MHz : 499.741
>>>>>> cache size : 1024 KB
>>>>>> physical id : 0
>>>>>> siblings : 2
>>>>>> core id : 1
>>>>>> cpu cores : 2
>>>>>> apicid : 2
>>>>>> initial apicid : 2
>>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>>> bugs :
>>>>>> bogomips : 4326.40
>>>>>> clflush size : 64
>>>>>> cache_alignment : 64
>>>>>> address sizes : 36 bits physical, 48 bits virtual
>>>>>> power management:
>>>>>>
>>>>>>
>>>>>> cat /proc/modules
>>>>>> snd_hda_codec_hdmi 52670 1 - Live 0x0000000000000000
>>>>>> snd_hda_codec_realtek 80420 1 - Live 0x0000000000000000
>>>>>> snd_hda_codec_generic 69995 1 snd_hda_codec_realtek, Live 0x0000000000000000
>>>>>> ctr 13193 1 - Live 0x0000000000000000
>>>>>> ccm 17856 1 - Live 0x0000000000000000
>>>>>> joydev 17587 0 - Live 0x0000000000000000
>>>>>> hp_wmi 14017 0 - Live 0x0000000000000000
>>>>>> hid_rmi 18060 0 - Live 0x0000000000000000
>>>>>> sparse_keymap 13890 1 hp_wmi, Live 0x0000000000000000
>>>>>> rfcomm 75066 8 - Live 0x0000000000000000
>>>>>> bnep 23980 2 - Live 0x0000000000000000
>>>>>> arc4 12573 2 - Live 0x0000000000000000
>>>>>> rtl8723be 96097 0 - Live 0x0000000000000000
>>>>>> btcoexist 51822 1 rtl8723be, Live 0x0000000000000000
>>>>>> rtl8723_common 23662 1 rtl8723be, Live 0x0000000000000000
>>>>>> intel_rapl 19196 0 - Live 0x0000000000000000
>>>>>> uvcvideo 86723 0 - Live 0x0000000000000000
>>>>>> rtl_pci 27417 1 rtl8723be, Live 0x0000000000000000
>>>>>> intel_soc_dts_thermal 13523 0 - Live 0x0000000000000000
>>>>>> intel_powerclamp 19099 0 - Live 0x0000000000000000
>>>>>> videobuf2_vmalloc 13216 1 uvcvideo, Live 0x0000000000000000
>>>>>> videobuf2_memops 13362 1 videobuf2_vmalloc, Live 0x0000000000000000
>>>>>> coretemp 13638 0 - Live 0x0000000000000000
>>>>>> rtlwifi 74744 2 rtl8723be,rtl_pci, Live 0x0000000000000000
>>>>>> videobuf2_core 51547 1 uvcvideo, Live 0x0000000000000000
>>>>>> v4l2_common 15715 1 videobuf2_core, Live 0x0000000000000000
>>>>>> videodev 163831 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
>>>>>> mac80211 697159 3 rtl8723be,rtl_pci,rtlwifi, Live 0x0000000000000000
>>>>>> media 22008 2 uvcvideo,videodev, Live 0x0000000000000000
>>>>>> kvm 475237 0 - Live 0x0000000000000000
>>>>>> cfg80211 520257 2 rtlwifi,mac80211, Live 0x0000000000000000
>>>>>> btusb 32691 0 - Live 0x0000000000000000
>>>>>> crct10dif_pclmul 14268 0 - Live 0x0000000000000000
>>>>>> crc32_pclmul 13180 0 - Live 0x0000000000000000
>>>>>> bluetooth 486890 22 rfcomm,bnep,btusb, Live 0x0000000000000000
>>>>>> ghash_clmulni_intel 13230 0 - Live 0x0000000000000000
>>>>>> serio_raw 13483 0 - Live 0x0000000000000000
>>>>>> cryptd 20531 1 ghash_clmulni_intel, Live 0x0000000000000000
>>>>>> wmi 19379 1 hp_wmi, Live 0x0000000000000000
>>>>>> snd_hda_intel 30824 1 - Live 0x0000000000000000
>>>>>> snd_hda_controller 32234 1 snd_hda_intel, Live 0x0000000000000000
>>>>>> snd_hda_codec 144641 5
>>>>>> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,
>>>>>> Live 0x0000000000000000
>>>>>> snd_hwdep 17709 1 snd_hda_codec, Live 0x0000000000000000
>>>>>> snd_seq_midi 13564 0 - Live 0x0000000000000000
>>>>>> snd_seq_midi_event 14899 1 snd_seq_midi, Live 0x0000000000000000
>>>>>> snd_rawmidi 31197 1 snd_seq_midi, Live 0x0000000000000000
>>>>>> snd_soc_rt5640 93325 0 - Live 0x0000000000000000
>>>>>> snd_soc_rl6231 13037 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>>> snd_soc_core 207780 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>>> snd_compress 19395 1 snd_soc_core, Live 0x0000000000000000
>>>>>> dw_dmac 12835 0 - Live 0x0000000000000000
>>>>>> i915 1031996 2 - Live 0x0000000000000000
>>>>>> snd_pcm_dmaengine 15229 1 snd_soc_core, Live 0x0000000000000000
>>>>>> dw_dmac_core 28558 1 dw_dmac, Live 0x0000000000000000
>>>>>> snd_seq 63540 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
>>>>>> int3400_thermal 13040 0 - Live 0x0000000000000000
>>>>>> int3403_thermal 13255 0 - Live 0x0000000000000000
>>>>>> acpi_thermal_rel 13807 1 int3400_thermal, Live 0x0000000000000000
>>>>>> nls_iso8859_1 12713 2 - Live 0x0000000000000000
>>>>>> snd_pcm 106273 7
>>>>>> snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec,snd_soc_rt5640,snd_soc_core,snd_pcm_dmaengine,
>>>>>> Live 0x0000000000000000
>>>>>> i2c_hid 19065 0 - Live 0x0000000000000000
>>>>>> video 20649 1 i915, Live 0x0000000000000000
>>>>>> intel_smartconnect 12637 0 - Live 0x0000000000000000
>>>>>> drm_kms_helper 99802 1 i915, Live 0x0000000000000000
>>>>>> hid 110572 2 hid_rmi,i2c_hid, Live 0x0000000000000000
>>>>>> drm 323675 4 i915,drm_kms_helper, Live 0x0000000000000000
>>>>>> rfkill_gpio 12761 0 - Live 0x0000000000000000
>>>>>> snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000
>>>>>> i2c_designware_platform 13025 0 - Live 0x0000000000000000
>>>>>> i2c_algo_bit 13564 1 i915, Live 0x0000000000000000
>>>>>> snd_soc_sst_acpi 13007 0 - Live 0x0000000000000000
>>>>>> 8250_dw 13474 0 - Live 0x0000000000000000
>>>>>> snd_timer 30118 2 snd_seq,snd_pcm, Live 0x0000000000000000
>>>>>> i2c_designware_core 14990 1 i2c_designware_platform, Live 0x0000000000000000
>>>>>> hp_wireless 12637 0 - Live 0x0000000000000000
>>>>>> shpchp 37216 0 - Live 0x0000000000000000
>>>>>> spi_pxa2xx_platform 23256 0 - Live 0x0000000000000000
>>>>>> snd 84025 15 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_soc_core,snd_compress,snd_seq,snd_pcm,snd_seq_device,snd_timer,
>>>>>> Live 0x0000000000000000
>>>>>> pwm_lpss_platform 12703 0 - Live 0x0000000000000000
>>>>>> lpc_ich 21176 0 - Live 0x0000000000000000
>>>>>> mac_hid 13275 0 - Live 0x0000000000000000
>>>>>> mei_txe 19808 0 - Live 0x0000000000000000
>>>>>> pwm_lpss 13281 1 pwm_lpss_platform, Live 0x0000000000000000
>>>>>> iosf_mbi 13865 1 intel_soc_dts_thermal, Live 0x0000000000000000
>>>>>> mei 88473 1 mei_txe, Live 0x0000000000000000
>>>>>> soundcore 15091 2 snd_hda_codec,snd, Live 0x0000000000000000
>>>>>> parport_pc 32909 0 - Live 0x0000000000000000
>>>>>> ppdev 17711 0 - Live 0x0000000000000000
>>>>>> lp 17799 0 - Live 0x0000000000000000
>>>>>> parport 42481 3 parport_pc,ppdev,lp, Live 0x0000000000000000
>>>>>> uas 22673 0 - Live 0x0000000000000000
>>>>>> usb_storage 67010 2 uas, Live 0x0000000000000000
>>>>>> mmc_block 36596 4 - Live 0x0000000000000000
>>>>>> sdhci_acpi 13502 0 - Live 0x0000000000000000
>>>>>> sdhci 43929 1 sdhci_acpi, Live 0x0000000000000000
>>>>>>
>>>>>>
>>>>>> /proc/ioports
>>>>>> 0000-006f : PCI Bus 0000:00
>>>>>>   0000-001f : dma1
>>>>>>   0020-0021 : pic1
>>>>>>   0040-0043 : timer0
>>>>>>   0050-0053 : timer1
>>>>>>   0060-0060 : keyboard
>>>>>>   0062-0062 : PNP0C09:00
>>>>>>     0062-0062 : EC data
>>>>>>   0064-0064 : keyboard
>>>>>>   0066-0066 : PNP0C09:00
>>>>>>     0066-0066 : EC cmd
>>>>>> 0070-0077 : rtc0
>>>>>> 0078-0cf7 : PCI Bus 0000:00
>>>>>>   0080-008f : dma page reg
>>>>>>   00a0-00a1 : pic2
>>>>>>   00c0-00df : dma2
>>>>>>   00f0-00ff : fpu
>>>>>>   03f8-03ff : serial
>>>>>>   0400-047f : pnp 00:01
>>>>>>     0400-0403 : ACPI PM1a_EVT_BLK
>>>>>>     0404-0405 : ACPI PM1a_CNT_BLK
>>>>>>     0408-040b : ACPI PM_TMR
>>>>>>     0420-042f : ACPI GPE0_BLK
>>>>>>     0430-0433 : iTCO_wdt
>>>>>>     0450-0450 : ACPI PM2_CNT_BLK
>>>>>>     0460-047f : iTCO_wdt
>>>>>>   0500-05fe : pnp 00:01
>>>>>>   0600-061f : pnp 00:01
>>>>>>   0680-069f : pnp 00:01
>>>>>> 0cf8-0cff : PCI conf1
>>>>>> 0d00-ffff : PCI Bus 0000:00
>>>>>>   1000-1fff : PCI Bus 0000:01
>>>>>>     1000-10ff : 0000:01:00.0
>>>>>>       1000-10ff : rtl_pci
>>>>>>   2000-201f : 0000:00:1f.3
>>>>>>   2050-2057 : 0000:00:02.0
>>>>>>
>>>>>>
>>>>>> cat /proc/iomem
>>>>>> 00000000-00000fff : reserved
>>>>>> 00001000-0006efff : System RAM
>>>>>> 0006f000-0006ffff : ACPI Non-volatile Storage
>>>>>> 00070000-00084fff : System RAM
>>>>>> 00085000-00086fff : reserved
>>>>>> 00087000-00087fff : System RAM
>>>>>> 00088000-0009ffff : reserved
>>>>>> 000a0000-000bffff : PCI Bus 0000:00
>>>>>> 000c0000-000dffff : PCI Bus 0000:00
>>>>>> 000e0000-000fffff : PCI Bus 0000:00
>>>>>>   000f0000-000fffff : System ROM
>>>>>> 00100000-1effffff : System RAM
>>>>>>   02000000-027b8537 : Kernel code
>>>>>>   027b8538-02d2123f : Kernel data
>>>>>>   02e87000-02fcffff : Kernel bss
>>>>>> 1f000000-1f0fffff : reserved
>>>>>> 1f100000-1fffffff : System RAM
>>>>>> 20000000-200fffff : reserved
>>>>>> 20100000-75867fff : System RAM
>>>>>> 75868000-75892fff : reserved
>>>>>> 75893000-78892fff : System RAM
>>>>>> 78893000-78922fff : reserved
>>>>>> 78923000-791a3fff : reserved
>>>>>> 791a4000-792a2fff : ACPI Non-volatile Storage
>>>>>> 792a3000-792e2fff : ACPI Tables
>>>>>> 792e3000-79ffffff : System RAM
>>>>>> 7a000000-7affffff : RAM buffer
>>>>>> 7b000000-7effffff : reserved
>>>>>>   7b000000-7effffff : Graphics Stolen Memory
>>>>>> 80000000-907ffffe : PCI Bus 0000:00
>>>>>>   80000000-8fffffff : 0000:00:02.0
>>>>>>   90000000-903fffff : 0000:00:02.0
>>>>>>   90400000-904fffff : PCI Bus 0000:01
>>>>>>     90400000-90403fff : 0000:01:00.0
>>>>>>       90400000-90403fff : rtl_pci
>>>>>>   90500000-905fffff : 0000:00:1a.0
>>>>>>     90500000-905fffff : mei_txe
>>>>>>   90600000-906fffff : 0000:00:1a.0
>>>>>>     90600000-906fffff : mei_txe
>>>>>>   90700000-9070ffff : 0000:00:14.0
>>>>>>     90700000-9070ffff : xhci-hcd
>>>>>>   90710000-90713fff : 0000:00:1b.0
>>>>>>     90710000-90713fff : ICH HD audio
>>>>>>   90718000-9071801f : 0000:00:1f.3
>>>>>> 90800000-90800fff : 80860F14:01
>>>>>>   90800000-90800fff : 80860F14:01
>>>>>> 90803000-90803fff : 80860F41:00
>>>>>>   90803000-90803fff : 80860F41:00
>>>>>> 90804000-90807fff : INTL9C60:01
>>>>>>   90804000-90807fff : INTL9C60:01
>>>>>> 90c00000-90ffffff : PCI Bus 0000:00
>>>>>> e0000000-e3ffffff : PCI MMCONFIG 0000 [bus 00-3f]
>>>>>>   e00000d0-e00000db : INT33BD:00
>>>>>>   e00f8000-e00f8fff : reserved
>>>>>> fec00000-fec003ff : IOAPIC 0
>>>>>> fed00000-fed003ff : HPET 0
>>>>>>   fed00000-fed003ff : PNP0103:00
>>>>>> fed01000-fed01fff : reserved
>>>>>>   fed01000-fed01fff : pnp 00:03
>>>>>> fed03000-fed03fff : pnp 00:03
>>>>>>   fed03008-fed0300c : iTCO_wdt
>>>>>> fed04000-fed04fff : pnp 00:03
>>>>>> fed05000-fed057ff : INT3401:00
>>>>>> fed08000-fed08fff : pnp 00:03
>>>>>> fed0c000-fed0cfff : INT33FC:00
>>>>>>   fed0c000-fed0cfff : INT33FC:00
>>>>>> fed0d000-fed0dfff : INT33FC:01
>>>>>>   fed0d000-fed0dfff : INT33FC:01
>>>>>> fed0e000-fed0efff : INT33FC:02
>>>>>>   fed0e000-fed0efff : INT33FC:02
>>>>>> fed1c000-fed1cfff : pnp 00:03
>>>>>> fed40000-fed44fff : pnp 00:01
>>>>>> fee00000-feefffff : pnp 00:03
>>>>>>   fee00000-fee00fff : Local APIC
>>>>>> fef00000-feffffff : pnp 00:03
>>>>>> ff000000-ffffffff : INT0800:00
>>>>>>   ffb80000-ffffffff : reserved
>>>>>>
>>>>>>
>>>>>> sudo lspci -vvv
>>>>>> 00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>> Series SoC Transaction Register (rev 0e)
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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
>>>>>> Kernel driver in use: iosf_mbi_pci
>>>>>>
>>>>>> 00:02.0 VGA compatible controller: Intel Corporation Atom Processor
>>>>>> Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA
>>>>>> controller])
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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 263
>>>>>> Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
>>>>>> Region 2: Memory at 80000000 (32-bit, prefetchable) [size=256M]
>>>>>> Region 4: I/O ports at 2050 [size=8]
>>>>>> Expansion ROM at <unassigned> [disabled]
>>>>>> 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: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>>> Address: fee0300c  Data: 4162
>>>>>> Capabilities: [b0] Vendor Specific Information: Len=07 <?>
>>>>>> Kernel driver in use: i915
>>>>>>
>>>>>> 00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>> Series USB xHCI (rev 0e) (prog-if 30 [XHCI])
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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 261
>>>>>> Region 0: Memory at 90700000 (64-bit, non-prefetchable) [size=64K]
>>>>>> Capabilities: [70] 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: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>>>>>> Address: 00000000fee0300c  Data: 41d1
>>>>>> Kernel driver in use: xhci_hcd
>>>>>>
>>>>>> 00:1a.0 Encryption controller: Intel Corporation Atom Processor
>>>>>> Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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 262
>>>>>> Region 0: Memory at 90600000 (32-bit, non-prefetchable) [size=1M]
>>>>>> Region 1: Memory at 90500000 (32-bit, non-prefetchable) [size=1M]
>>>>>> 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: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>>> Address: fee0300c  Data: 4122
>>>>>> Kernel driver in use: mei_txe
>>>>>>
>>>>>> 00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>> Series High Definition Audio Controller (rev 0e)
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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 264
>>>>>> Region 0: Memory at 90710000 (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: 00000000fee0300c  Data: 4182
>>>>>> Kernel driver in use: snd_hda_intel
>>>>>>
>>>>>> 00:1c.0 PCI bridge: Intel Corporation Device 0f48 (rev 0e) (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: 00001000-00001fff
>>>>>> Memory behind bridge: 90400000-904fffff
>>>>>> Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
>>>>>> 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
>>>>>> ExtTag- RBE+
>>>>>> 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 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s
>>>>>> <512ns, L1 <4us
>>>>>> ClockPM- Surprise- LLActRep+ BwNot+
>>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR-, OBFF Not
>>>>>> Supported ARIFwd-
>>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF
>>>>>> Disabled ARIFwd-
>>>>>> LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
>>>>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>>> ComplianceSOS-
>>>>>>  Compliance De-emphasis: -6dB
>>>>>> LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-,
>>>>>> EqualizationPhase1-
>>>>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>>> Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
>>>>>> Address: 00000000  Data: 0000
>>>>>> Capabilities: [90] Subsystem: Hewlett-Packard Company Device 8023
>>>>>> Capabilities: [a0] 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-
>>>>>> Kernel driver in use: pcieport
>>>>>>
>>>>>> 00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>> Series Power Control Unit (rev 0e)
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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=0c <?>
>>>>>> Kernel driver in use: lpc_ich
>>>>>>
>>>>>> 00:1f.3 SMBus: Intel Corporation Device 0f12 (rev 0e)
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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 B routed to IRQ 255
>>>>>> Region 0: Memory at 90718000 (32-bit, non-prefetchable) [size=32]
>>>>>> Region 4: I/O ports at 2000 [size=32]
>>>>>> 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-
>>>>>>
>>>>>> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE
>>>>>> PCIe Wireless Network Adapter
>>>>>> Subsystem: Hewlett-Packard Company Device 2231
>>>>>> 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 16
>>>>>> Region 0: I/O ports at 1000 [size=256]
>>>>>> Region 2: Memory at 90400000 (64-bit, non-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: 0000000000000000  Data: 0000
>>>>>> Capabilities: [70] Express (v2) Endpoint, MSI 00
>>>>>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, 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 512 bytes
>>>>>> DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
>>>>>> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency
>>>>>> L0s <512ns, L1 <64us
>>>>>> ClockPM+ Surprise- LLActRep- BwNot-
>>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR+, OBFF
>>>>>> Via message/WAKE#
>>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+, LTR+, OBFF Disabled
>>>>>> LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
>>>>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>>> ComplianceSOS-
>>>>>>  Compliance De-emphasis: -6dB
>>>>>> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,
>>>>>> EqualizationPhase1-
>>>>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>>> Capabilities: [100 v2] 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: 0d, GenCap+ CGenEn- ChkCap+ ChkEn-
>>>>>> Capabilities: [140 v1] Device Serial Number 00-23-b7-fe-ff-4c-e0-00
>>>>>> Capabilities: [150 v1] Latency Tolerance Reporting
>>>>>> Max snoop latency: 71680ns
>>>>>> Max no snoop latency: 71680ns
>>>>>> Capabilities: [158 v1] L1 PM Substates
>>>>>> L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
>>>>>>   PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
>>>>>> Kernel driver in use: rtl8723be
>>>>>>
>>>>>>
>>>>>> cat /proc/scsi/scsi
>>>>>> Attached devices:
>>>>>> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>>>>>>   Vendor: Generic- Model: SD/MMC/MS PRO    Rev: 1.00
>>>>>>   Type:   Direct-Access                    ANSI  SCSI revision: 04
>>>>>>
>>>>>>
>>>>>> ls /proc
>>>>>> 1     12    14    1667  1745  18    1963  2345  292   35    470   55
>>>>>> 7201  asound     execdomains  kmsg        pagetypeinfo   sysvipc
>>>>>> 10    1218  1410  1685  1761  1804  2     2388  296   3573  471   554
>>>>>> 728   buddyinfo  fb           kpagecount  partitions     thread-self
>>>>>> 1020  125   142   1687  1764  1805  20    24    3     359   473   56
>>>>>> 755   bus        filesystems  kpageflags  sched_debug    timer_list
>>>>>> 1025  126   1420  1690  1767  1818  21    25    30    3623  474   57
>>>>>> 76    cgroups    fs           loadavg     schedstat      timer_stats
>>>>>> 1032  127   1423  17    1769  1828  2169  2528  31    378   485   585
>>>>>> 77    cmdline    interrupts   locks       scsi           tty
>>>>>> 1033  128   143   1701  1771  1853  2187  254   3181  3822  5     606
>>>>>> 7886  consoles   iomem        mdstat      self           uptime
>>>>>> 1038  129   1444  1710  1772  1876  2197  26    33    39    509   654
>>>>>> 8     cpuinfo    ioports      meminfo     slabinfo       version
>>>>>> 1042  13    1485  1718  1781  1883  2198  2670  3309  3932  516   655
>>>>>> 8743  crypto     irq          misc        softirqs       vmallocinfo
>>>>>> 1069  130   15    1722  1787  1893  22    2672  34    40    53    695
>>>>>> 9     devices    kallsyms     modules     stat           vmstat
>>>>>> 1070  131   1568  1725  1789  1896  2202  27    3419  41    539   7
>>>>>> 9040  diskstats  kcore        mounts      swaps          zoneinfo
>>>>>> 11    132   1645  1727  1792  19    2248  28    3433  468   542   709
>>>>>> 9056  dma        keys         mtrr        sys
>>>>>> 1144  1331  1655  1732  1796  1905  23    29    3437  469   5421  715
>>>>>> acpi  driver     key-users    net         sysrq-trigger
>>>>>> --
>>>>>> To unsubscribe from this list: send the line "unsubscribe linux-input" in
>>>>>> the body of a message to majordomo@vger.kernel.org
>>>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: dmesg2.txt --]
[-- Type: text/plain, Size: 21964 bytes --]

[  450.024422] hid-rmi 0018:06CB:7442.0001: Scanning PDT...
[  450.027443] hid-rmi 0018:06CB:7442.0001: Found F34 on page 0x00
[  450.030453] hid-rmi 0018:06CB:7442.0001: Found F01 on page 0x00
[  450.039653] hid-rmi 0018:06CB:7442.0001: Found F11 on page 0x00
[  450.047266] hid-rmi 0018:06CB:7442.0001: Found F54 on page 0x01
[  450.054487] hid-rmi 0018:06CB:7442.0001: Found F30 on page 0x02
[  450.062019] hid-rmi 0018:06CB:7442.0001: rmi_scan_pdt: Done with PDT scan.
[  450.080879] hid-rmi 0018:06CB:7442.0001: rmi_populate_f11: size in mm: 91 x 52
[  450.092276] input: SYN1EDE:00 06CB:7442 as /devices/platform/80860F41:00/i2c-0/i2c-SYN1EDE:00/0018:06CB:7442.0001/input/input12
[  450.093718] hid-rmi 0018:06CB:7442.0001: input,hidraw0: <UNKNOWN> HID v1.00 Mouse [SYN1EDE:00 06CB:7442] on 
[ 1014.950166] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_power
[ 1014.950194] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=22 00 00 08
[ 1014.966742] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1014.966773] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=22 00 3f 03 0f 23 00 04 00 0f 01
[ 1014.967785] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1014.967810] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 09 01 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.969149] hid-rmi 0018:06CB:7442.0001: Scanning PDT...
[ 1014.969173] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1014.969192] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 e9 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.972147] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 06 74 00 3d 00 01 34 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.972220] hid-rmi 0018:06CB:7442.0001: Found F34 on page 0x00
[ 1014.972242] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1014.972260] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 e3 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.977618] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 06 7d 72 41 13 01 01 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.977774] hid-rmi 0018:06CB:7442.0001: Found F01 on page 0x00
[ 1014.977798] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1014.977817] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 dd 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.981103] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 06 98 73 46 15 22 11 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.981267] hid-rmi 0018:06CB:7442.0001: Found F11 on page 0x00
[ 1014.981291] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1014.981309] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 d7 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.984265] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 06 00 00 00 00 00 00 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.984429] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1014.984455] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 09 01 ff 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.985791] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1014.985816] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 e9 01 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.989052] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 06 6c 6b 0d 00 01 54 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.989203] hid-rmi 0018:06CB:7442.0001: Found F54 on page 0x01
[ 1014.989227] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1014.989246] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 e3 01 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.992237] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 06 00 00 00 00 00 00 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.992380] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1014.992406] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 09 01 ff 01 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.993772] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1014.993798] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 e9 02 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.997322] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 06 0c 00 01 00 01 30 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1014.997473] hid-rmi 0018:06CB:7442.0001: Found F30 on page 0x02
[ 1014.997498] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1014.997516] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 e3 02 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.000496] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 06 00 00 00 00 00 00 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.000642] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1015.000668] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 09 01 ff 02 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.002348] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1015.002373] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 e9 03 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.005297] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 06 00 00 00 00 00 00 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.005432] hid-rmi 0018:06CB:7442.0001: rmi_scan_pdt: Done with PDT scan.
[ 1015.005456] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1015.005475] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 09 01 ff 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.006842] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1015.006866] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 98 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.009792] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 01 f0 00 00 00 00 00 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.011011] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1015.011037] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 99 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.013946] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 01 3c 00 00 00 00 00 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.020674] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1015.020706] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 a0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.023589] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 01 00 00 00 00 00 00 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.023738] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1015.023763] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 a2 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.026713] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 01 20 00 00 00 00 00 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.026865] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1015.026891] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 a3 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.029848] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 04 8e 03 03 02 00 00 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.030464] hid-rmi 0018:06CB:7442.0001: rmi_populate_f11: size in mm: 91 x 52
[ 1015.030487] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1015.030506] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 46 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.033475] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 0a 38 00 19 19 00 10 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.033563] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1015.033588] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 09 01 ff 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.035553] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1015.035580] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 0c 02 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.038532] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 02 28 08 19 19 00 10 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.038679] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_or_send_report
[ 1015.038705] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=25 00 17 00 0a 00 02 02 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.041638] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0b 02 00 84 19 19 00 10 a8 0f da 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1015.041825] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_power
[ 1015.041848] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=22 00 01 08
[ 1015.043306] input: SYN1EDE:00 06CB:7442 as /devices/platform/80860F41:00/i2c-0/i2c-SYN1EDE:00/0018:06CB:7442.0001/input/input13
[ 1015.044211] hid-rmi 0018:06CB:7442.0001: input,hidraw0: <UNKNOWN> HID v1.00 Mouse [SYN1EDE:00 06CB:7442] on 
[ 1015.086221] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_power
[ 1015.086237] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=22 00 00 08
[ 1015.098675] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_power
[ 1015.098690] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=22 00 01 08
[ 1015.106720] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_power
[ 1015.106748] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=22 00 00 08
[ 1015.114663] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_power
[ 1015.114682] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=22 00 01 08
[ 1015.124484] i2c_hid i2c-SYN1EDE:00: i2c_hid_set_power
[ 1015.124500] i2c_hid i2c-SYN1EDE:00: __i2c_hid_command: cmd=22 00 00 08
[ 1019.319771] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 02 01 c6 00 1e a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 a4 00 00 00 00 00 00 00 00 00
[ 1019.321518] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 02 01 c6 00 1f a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 a7 00 00 00 00 00 00 00 00 00
[ 1019.325735] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 02 01 c6 00 20 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 a7 00 00 00 00 00 00 00 00 00
[ 1019.335936] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 02 01 c6 00 21 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 a7 00 00 00 00 00 00 00 00 00
[ 1019.346365] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 02 01 d6 00 22 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 a7 00 00 00 00 00 00 00 00 00
[ 1019.356063] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 02 01 e7 00 24 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 a7 00 00 00 00 00 00 00 00 00
[ 1019.366299] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 02 02 08 00 25 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 a7 00 00 00 00 00 00 00 00 00
[ 1019.376650] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 02 02 29 10 28 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 a7 00 00 00 00 00 00 00 00 00
[ 1019.386403] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 02 02 5b 10 2a a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b6 00 00 00 00 00 00 00 00 00
[ 1019.396528] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 02 02 8d 10 2c a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b9 00 00 00 00 00 00 00 00 00
[ 1019.406990] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 02 02 cf 10 2f a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 bc 00 00 00 00 00 00 00 00 00
[ 1019.417088] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 03 02 f1 10 30 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 bc 00 00 00 00 00 00 00 00 00
[ 1019.426855] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 24 01 00 03 03 23 10 31 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 bc 00 00 00 00 00 00 00 00 80
[ 1019.436980] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 03 03 45 10 32 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 bc 00 00 00 00 00 00 00 00 00
[ 1019.447071] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 03 03 77 10 32 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 bc 00 00 00 00 00 00 00 00 00
[ 1019.457530] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 03 03 99 10 33 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b9 00 00 00 00 00 00 00 00 00
[ 1019.467283] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 03 03 bb 10 33 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 bc 00 00 00 00 00 00 00 00 00
[ 1019.477748] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 03 03 dc 10 33 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b9 00 00 00 00 00 00 00 00 00
[ 1019.487844] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 03 03 ed 10 33 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b9 00 00 00 00 00 00 00 00 00
[ 1019.497959] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 03 03 fe 10 33 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b6 00 00 00 00 00 00 00 00 00
[ 1019.507807] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 03 04 0f 10 32 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b6 00 00 00 00 00 00 00 00 00
[ 1019.518221] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 04 04 10 10 32 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b3 00 00 00 00 00 00 00 00 00
[ 1019.527920] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 04 04 21 10 32 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b3 00 00 00 00 00 00 00 00 00
[ 1019.538027] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 04 04 32 10 32 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b3 00 00 00 00 00 00 00 00 00
[ 1019.548521] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 04 04 43 10 32 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b3 00 00 00 00 00 00 00 00 00
[ 1019.558612] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 04 04 44 10 31 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b3 00 00 00 00 00 00 00 00 00
[ 1019.568650] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 04 04 44 10 31 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b3 00 00 00 00 00 00 00 00 00
[ 1019.578828] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 04 04 44 10 30 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b6 00 00 00 00 00 00 00 00 00
[ 1019.588922] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 04 04 44 10 2f a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b6 00 00 00 00 00 00 00 00 00
[ 1019.598746] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 24 01 00 04 04 34 00 2c a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 b6 00 00 00 00 00 00 00 00 84
[ 1019.609119] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 04 04 23 00 27 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 a7 00 00 00 00 00 00 00 00 00
[ 1019.618876] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 04 04 12 00 23 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 a7 00 00 00 00 00 00 00 00 00
[ 1019.629338] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 0c 01 00 04 03 f1 00 1f a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 a7 00 00 00 00 00 00 00 00 00
[ 1019.639464] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 03 03 be 00 1a a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 a4 00 00 00 00 00 00 00 00 00
[ 1019.649319] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 00 00 03 03 be 00 00 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1019.669845] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 03 27 01 26 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 9b 00 00 00 00 00 00 00 00 00
[ 1019.679549] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 04 ec 11 34 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c7 00 00 00 00 00 00 00 00 00
[ 1019.689686] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 04 ec 11 37 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c8 00 00 00 00 00 00 00 00 00
[ 1019.700176] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 04 ec 12 3a a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c8 00 00 00 00 00 00 00 00 00
[ 1019.710297] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 04 ec 12 3b a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c8 00 00 00 00 00 00 00 00 00
[ 1019.720032] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 04 fb 12 3d a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c8 00 00 00 00 00 00 00 00 00
[ 1019.730235] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 24 01 00 cf 05 0b 12 3e a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c8 00 00 00 00 00 00 00 00 80
[ 1019.740652] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 05 1a 12 3f a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c8 00 00 00 00 00 00 00 00 00
[ 1019.750477] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 05 29 12 3f a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c8 00 00 00 00 00 00 00 00 00
[ 1019.760819] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 05 38 12 40 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c8 00 00 00 00 00 00 00 00 00
[ 1019.770732] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 05 47 12 40 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c8 00 00 00 00 00 00 00 00 00
[ 1019.781067] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 05 56 12 3f a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c8 00 00 00 00 00 00 00 00 00
[ 1019.790807] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 05 65 12 3f a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c7 00 00 00 00 00 00 00 00 00
[ 1019.800916] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 05 74 12 3e a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c6 00 00 00 00 00 00 00 00 00
[ 1019.811103] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 05 82 12 3d a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c6 00 00 00 00 00 00 00 00 00
[ 1019.821508] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cf 05 90 12 3c a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c5 00 00 00 00 00 00 00 00 00
[ 1019.831239] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 ce 05 9e 12 3b a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c3 00 00 00 00 00 00 00 00 00
[ 1019.841345] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 ce 05 9b 12 3b a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c3 00 00 00 00 00 00 00 00 00
[ 1019.851804] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 ce 05 98 12 3a a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c3 00 00 00 00 00 00 00 00 00
[ 1019.861628] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 ce 05 95 12 3a a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c2 00 00 00 00 00 00 00 00 00
[ 1019.871668] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 ce 05 92 12 39 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c2 00 00 00 00 00 00 00 00 00
[ 1019.882263] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 ce 05 90 12 3a a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c2 00 00 00 00 00 00 00 00 00
[ 1019.892268] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cd 05 9e 12 3a a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c2 00 00 00 00 00 00 00 00 00
[ 1019.902377] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cd 05 9d 12 3a a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c2 00 00 00 00 00 00 00 00 00
[ 1019.912456] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cd 05 9c 12 3a a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c3 00 00 00 00 00 00 00 00 00
[ 1019.922582] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cd 05 9c 12 3a a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c3 00 00 00 00 00 00 00 00 00
[ 1019.932713] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 24 01 00 cd 05 9c 12 3a a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c5 00 00 00 00 00 00 00 00 84
[ 1019.942434] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cd 05 9c 12 3a a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c6 00 00 00 00 00 00 00 00 00
[ 1019.952907] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cd 05 9c 12 38 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c7 00 00 00 00 00 00 00 00 00
[ 1019.962754] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cd 05 8d 11 35 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 c8 00 00 00 00 00 00 00 00 00
[ 1019.972814] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 01 00 cd 05 7e 00 24 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 87 00 00 00 00 00 00 00 00 00
[ 1019.983011] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 00 00 cd 05 7e 00 00 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1020.437657] i2c_hid i2c-SYN1EDE:00: input: 2a 00 0c 04 00 00 cd 05 7e 00 00 a1 69 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


^ permalink raw reply

* Re: PROBLEM: [HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a hardware click
From: Andrew Duggan @ 2014-12-08 18:28 UTC (permalink / raw)
  To: Benjamin Tissoires, Amordea Whiteoak; +Cc: linux-input, Peter Hutterer
In-Reply-To: <CAN+gG=Emz8r=17OpUETpVQyjCMDMX=aNEFFHZo3ivGS=xTZHXA@mail.gmail.com>

On 12/08/2014 09:59 AM, Benjamin Tissoires wrote:
> On Mon, Dec 8, 2014 at 12:14 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>> There may be a thing I am failing to understand about dmesg here, but
>> a grep through both dmesg and /var/log/dmesg yielded no hits on
>> "i2c_hid.debug=1". I did find plenty of hits on just "i2c_hid", which
>> yielded several repetitive lines of what appears to be various
>> modules. Please let me know if there is something I am failing to
>> understand here, but I could not find the requested phrase in my
>> dmesg.
> I meant that when you reboot the laptop, in grub, append
> "i2c_hid.debug=1" to the kernel command line.
>
> This should be seen in one of the first few lines of dmesg (the one
> starting by "[    0.000000] Command line:
> BOOT_IMAGE=/boot/vmlinuz-3.18.0-031800rc7-generic "), and a lot of raw
> events should be dumped in the dmesg.
>
>> I do have the hid-recorder output though, which I am attaching here.
>> This time I used a non-conductive pen to only generate clicks without
>> all the positioning data piling in on top. This is a recording of two
>> left clicks.
>>
> Ok, so at least, the device sends a sane behavior (one event per
> click/release, with one bit changed). Unfortunately, I think the
> problem lies in the configuration of your device by hid-rmi. So the
> dmesg output while i2c_hid.debug=1 is set should help to figure out
> the problem.
I think I know what is going on here. We have a new feature which adds 
some bytes to the end of the F11 data which isn't reflected in the F11 
report size. This ends up shifting the F30 data in the HID report so the 
driver is looking at the wrong byte when reporting buttons. I started 
working on the patch a couple weeks ago, but I got side tracked. I can 
probably finish it up and submit it today.

Andrew
>
> If for whatever reasons you do not manage to get the parameter
> appended to your command line, the following commands should suffice
> (as root):
> #> rmmod hid-rmi
> #> echo 1 > /sys/module/i2c_hid/parameters/debug
> #> modprobe hid-rmi
>
> do a few events on the touchpad (with clicks)
>
> #> echo 0 > /sys/module/i2c_hid/parameters/debug
>
> and send out the dmesg.
>
> Cheers,
> Benjamin
>
>> If there is anything else I can provide, please let me know.
>>
>> Thank you for helping with this bug. :)
>>
>> On Mon, Dec 8, 2014 at 11:44 AM, Benjamin Tissoires
>> <benjamin.tissoires@gmail.com> wrote:
>>> Hi Amordea,
>>>
>>> On Mon, Dec 8, 2014 at 11:20 AM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>> My apologies if my bug report was inadequate. It is the first upstream
>>>> report I've ever filed, though I did attempt to give all the
>>>> information they requested to the best of my ability.
>>> Oh, no, I was not complaining about your way of reporting the bug. I
>>> know that it can be difficult for users to report _and_ provide all
>>> the necessary information unless you already know a little bit about
>>> the communities, how they work and what tool they use.
>>> My complain was more that the way it was triaged: try an upstream
>>> kernel; oh, does not work; send it upstream because it's a "poor
>>> driver implementation". Whereas here, there may be any part of the
>>> stack involved unless we look at the evemu-record (which is the output
>>> of the kernel BTW). And saying that the driver is badly designed
>>> really does not help...
>>> Last, the "meta bug" they have is either a problem in the kernel
>>> drivers they ship, or a not up to date Xorg stack. FWIW, I don't think
>>> we have this on Fedora.
>>>
>>> Anyway, thanks for the explanations that you give in the next
>>> paragraph, it gives a more comprehensive bug report :)
>>>
>>>> If it helps: to be clear about the design of this clickpad, it is one
>>>> where the entire pad is touch-sensitive, even the area over the
>>>> hardware click buttons which are on the bottom. The entire pad is one
>>>> piece, so the pad itself shifts when you click a button. The
>>>> malfunction occurs whenever any of these buttons are clicked, but the
>>>> simulated clicks (tapping on the pad) behave adequately and do not
>>>> cause any mouse input lock-ups. The malfunction itself causes ALL
>>>> subsequent mouse clicks from any source (including a USB mouse) to
>>>> only act in the spot where the first hardware click from the clickpad
>>>> was performed and cannot be adjusted until the clickpad has been
>>>> disabled (xinput disable <id>). The hardware buttons on the clickpad
>>>> itself do not register as clicks at all, they only cause all mouse
>>>> input to malfunction as previously described.
>>>>
>>>> I am enclosing the requested evemu-record data. This is a recording of
>>>> my clicking the left hardware click button three times in rapid
>>>> succession, but failure generally occurs after the first click.
>>> Many thanks for the logs. So here, I can see that when you click on
>>> the touchpad, both BTN_LEFT and BTN_RIGHT are emitted, but they are
>>> never released :) I do not see either the 2 other clicks.
>>> So yes, here the driver is at fault and misses to release the clicks.
>>> This infers the cross-device problem in X BTW.
>>>
>>>> A curious behavior I noticed in the process of getting this recording
>>>> is that on the first click, I received a pasted text line in my
>>>> terminal. I could not reproduce this behavior by doing an
>>>> enable/disable cycle on the trackpad, but to confirm I rebooted a few
>>>> times to test and sure enough, the very first click each boot triggers
>>>> a clipboard paste event.
>>> You must have the middle button emulation enabled in Xorg (hitting
>>> both left and right button will trigger a middle button). So when we
>>> will be able to fix this bug, the spurious middle click should
>>> disappear.
>>>
>>>> If there is any more information I can provide, please let me know.
>>> Ideally, I'd like to punt this one to Andrew, but I think we would be
>>> grateful if you could also provide 2 more things:
>>> - the dmesg when "i2c_hid.debug=1" is appended to the kernel boot line
>>> (without the quotes)
>>> - the hid-recorder output when you trigger the bug
>>>
>>> hid-recorder should be installed from sources in Ubuntu I guess:
>>> http://bentiss.github.io/hid-replay-docs/
>>>
>>> The hid-recorder output might not be absolutely needed, so as long as
>>> we have the dmesg with i2c_hid.debug=1, we should be fine.
>>>
>>> Cheers,
>>> Benjamin
>>>
>>>> Thank you!
>>>>
>>>> On Mon, Dec 8, 2014 at 10:01 AM, Benjamin Tissoires
>>>> <benjamin.tissoires@gmail.com> wrote:
>>>>> Hi Amordea,
>>>>>
>>>>> I must say, the bug triaging is worse and worse with ubuntu :(
>>>>>
>>>>>  From the bug description, I can not tell if the problem lies in the
>>>>> kernel, or if it is the synaptics input driver or the xserver which is
>>>>> in fault. I would be tempted to say that the problem lies in the upper
>>>>> layers given the cross-devices problem.
>>>>>
>>>>> Anyway, to be able to understand the problem, we will need to get an
>>>>> evemu-record output of your device when you are reproducing the bug.
>>>>> You can find evemu in your distribution channels, or here:
>>>>> http://www.freedesktop.org/wiki/Evemu/
>>>>>
>>>>> Given that you have an hid-rmi/i2c device, I am adding Andrew in CC,
>>>>> and Peter for the upper layers if there is anything wrong there.
>>>>>
>>>>> Cheers,
>>>>> Benjamin
>>>>>
>>>>> On Sun, Dec 7, 2014 at 5:50 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>>>> Original Bug Report:
>>>>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398533
>>>>>>
>>>>>> Bug Description: After clicking once at the bottom of my clickpad on
>>>>>> either button, if I move my cursor elsewhere on the screen, and then
>>>>>> subsequently click again (with either clickpad or external mouse this
>>>>>> time) it registers a click at the location where my cursor icon was
>>>>>> originally. I can continue to move my cursor anywhere on the screen,
>>>>>> and it still registers the click in the original location.
>>>>>>
>>>>>>
>>>>>> cat /proc/version
>>>>>> Linux version 3.18.0-031800rc7-generic (apw@gomeisa) (gcc version
>>>>>> 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201411302035 SMP Mon Dec 1
>>>>>> 01:36:38 UTC 2014
>>>>>>
>>>>>>
>>>>>> lsb_release -rd
>>>>>> Description: Ubuntu 14.10
>>>>>> Release: 14.10
>>>>>>
>>>>>>
>>>>>> sh /usr/src/linux-headers-3.18.0-031800rc7/scripts/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 woprjr 3.18.0-031800rc7-generic #201411302035 SMP Mon Dec 1
>>>>>> 01:36:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>>>>>>
>>>>>> Gnu C
>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux:
>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: 20:
>>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: ld: not
>>>>>> found
>>>>>> binutils
>>>>>> util-linux             2.25.1
>>>>>> mount                  debug
>>>>>> module-init-tools      18
>>>>>> e2fsprogs              1.42.10
>>>>>> PPP                    2.4.5
>>>>>> Linux C Library        2.19
>>>>>> Dynamic linker (ldd)   2.19
>>>>>> Procps                 3.3.9
>>>>>> Net-tools              1.60
>>>>>> Kbd                    1.15.5
>>>>>> Sh-utils               8.23
>>>>>> wireless-tools         30
>>>>>> Modules Loaded         snd_hda_codec_hdmi snd_hda_codec_realtek
>>>>>> snd_hda_codec_generic ctr ccm joydev hp_wmi hid_rmi sparse_keymap
>>>>>> rfcomm bnep arc4 rtl8723be btcoexist rtl8723_common intel_rapl
>>>>>> uvcvideo rtl_pci intel_soc_dts_thermal intel_powerclamp
>>>>>> videobuf2_vmalloc videobuf2_memops coretemp rtlwifi videobuf2_core
>>>>>> v4l2_common videodev mac80211 media kvm cfg80211 btusb
>>>>>> crct10dif_pclmul crc32_pclmul bluetooth ghash_clmulni_intel serio_raw
>>>>>> cryptd wmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
>>>>>> snd_seq_midi snd_seq_midi_event snd_rawmidi snd_soc_rt5640
>>>>>> snd_soc_rl6231 snd_soc_core snd_compress dw_dmac i915
>>>>>> snd_pcm_dmaengine dw_dmac_core snd_seq int3400_thermal int3403_thermal
>>>>>> acpi_thermal_rel nls_iso8859_1 snd_pcm i2c_hid video
>>>>>> intel_smartconnect drm_kms_helper hid drm rfkill_gpio snd_seq_device
>>>>>> i2c_designware_platform i2c_algo_bit snd_soc_sst_acpi 8250_dw
>>>>>> snd_timer i2c_designware_core hp_wireless shpchp spi_pxa2xx_platform
>>>>>> snd pwm_lpss_platform lpc_ich mac_hid mei_txe pwm_lpss iosf_mbi mei
>>>>>> soundcore parport_pc ppdev lp parport uas usb_storage mmc_block
>>>>>> sdhci_acpi sdhci
>>>>>>
>>>>>>
>>>>>> cat /proc/cpuinfo
>>>>>> processor : 0
>>>>>> vendor_id : GenuineIntel
>>>>>> cpu family : 6
>>>>>> model : 55
>>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>>> stepping : 8
>>>>>> microcode : 0x829
>>>>>> cpu MHz : 499.741
>>>>>> cache size : 1024 KB
>>>>>> physical id : 0
>>>>>> siblings : 2
>>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>>> bugs :
>>>>>> bogomips : 4326.40
>>>>>> 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 : 55
>>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>>> stepping : 8
>>>>>> microcode : 0x829
>>>>>> cpu MHz : 499.741
>>>>>> cache size : 1024 KB
>>>>>> physical id : 0
>>>>>> siblings : 2
>>>>>> core id : 1
>>>>>> cpu cores : 2
>>>>>> apicid : 2
>>>>>> initial apicid : 2
>>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>>> bugs :
>>>>>> bogomips : 4326.40
>>>>>> clflush size : 64
>>>>>> cache_alignment : 64
>>>>>> address sizes : 36 bits physical, 48 bits virtual
>>>>>> power management:
>>>>>>
>>>>>>
>>>>>> cat /proc/modules
>>>>>> snd_hda_codec_hdmi 52670 1 - Live 0x0000000000000000
>>>>>> snd_hda_codec_realtek 80420 1 - Live 0x0000000000000000
>>>>>> snd_hda_codec_generic 69995 1 snd_hda_codec_realtek, Live 0x0000000000000000
>>>>>> ctr 13193 1 - Live 0x0000000000000000
>>>>>> ccm 17856 1 - Live 0x0000000000000000
>>>>>> joydev 17587 0 - Live 0x0000000000000000
>>>>>> hp_wmi 14017 0 - Live 0x0000000000000000
>>>>>> hid_rmi 18060 0 - Live 0x0000000000000000
>>>>>> sparse_keymap 13890 1 hp_wmi, Live 0x0000000000000000
>>>>>> rfcomm 75066 8 - Live 0x0000000000000000
>>>>>> bnep 23980 2 - Live 0x0000000000000000
>>>>>> arc4 12573 2 - Live 0x0000000000000000
>>>>>> rtl8723be 96097 0 - Live 0x0000000000000000
>>>>>> btcoexist 51822 1 rtl8723be, Live 0x0000000000000000
>>>>>> rtl8723_common 23662 1 rtl8723be, Live 0x0000000000000000
>>>>>> intel_rapl 19196 0 - Live 0x0000000000000000
>>>>>> uvcvideo 86723 0 - Live 0x0000000000000000
>>>>>> rtl_pci 27417 1 rtl8723be, Live 0x0000000000000000
>>>>>> intel_soc_dts_thermal 13523 0 - Live 0x0000000000000000
>>>>>> intel_powerclamp 19099 0 - Live 0x0000000000000000
>>>>>> videobuf2_vmalloc 13216 1 uvcvideo, Live 0x0000000000000000
>>>>>> videobuf2_memops 13362 1 videobuf2_vmalloc, Live 0x0000000000000000
>>>>>> coretemp 13638 0 - Live 0x0000000000000000
>>>>>> rtlwifi 74744 2 rtl8723be,rtl_pci, Live 0x0000000000000000
>>>>>> videobuf2_core 51547 1 uvcvideo, Live 0x0000000000000000
>>>>>> v4l2_common 15715 1 videobuf2_core, Live 0x0000000000000000
>>>>>> videodev 163831 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
>>>>>> mac80211 697159 3 rtl8723be,rtl_pci,rtlwifi, Live 0x0000000000000000
>>>>>> media 22008 2 uvcvideo,videodev, Live 0x0000000000000000
>>>>>> kvm 475237 0 - Live 0x0000000000000000
>>>>>> cfg80211 520257 2 rtlwifi,mac80211, Live 0x0000000000000000
>>>>>> btusb 32691 0 - Live 0x0000000000000000
>>>>>> crct10dif_pclmul 14268 0 - Live 0x0000000000000000
>>>>>> crc32_pclmul 13180 0 - Live 0x0000000000000000
>>>>>> bluetooth 486890 22 rfcomm,bnep,btusb, Live 0x0000000000000000
>>>>>> ghash_clmulni_intel 13230 0 - Live 0x0000000000000000
>>>>>> serio_raw 13483 0 - Live 0x0000000000000000
>>>>>> cryptd 20531 1 ghash_clmulni_intel, Live 0x0000000000000000
>>>>>> wmi 19379 1 hp_wmi, Live 0x0000000000000000
>>>>>> snd_hda_intel 30824 1 - Live 0x0000000000000000
>>>>>> snd_hda_controller 32234 1 snd_hda_intel, Live 0x0000000000000000
>>>>>> snd_hda_codec 144641 5
>>>>>> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,
>>>>>> Live 0x0000000000000000
>>>>>> snd_hwdep 17709 1 snd_hda_codec, Live 0x0000000000000000
>>>>>> snd_seq_midi 13564 0 - Live 0x0000000000000000
>>>>>> snd_seq_midi_event 14899 1 snd_seq_midi, Live 0x0000000000000000
>>>>>> snd_rawmidi 31197 1 snd_seq_midi, Live 0x0000000000000000
>>>>>> snd_soc_rt5640 93325 0 - Live 0x0000000000000000
>>>>>> snd_soc_rl6231 13037 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>>> snd_soc_core 207780 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>>> snd_compress 19395 1 snd_soc_core, Live 0x0000000000000000
>>>>>> dw_dmac 12835 0 - Live 0x0000000000000000
>>>>>> i915 1031996 2 - Live 0x0000000000000000
>>>>>> snd_pcm_dmaengine 15229 1 snd_soc_core, Live 0x0000000000000000
>>>>>> dw_dmac_core 28558 1 dw_dmac, Live 0x0000000000000000
>>>>>> snd_seq 63540 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
>>>>>> int3400_thermal 13040 0 - Live 0x0000000000000000
>>>>>> int3403_thermal 13255 0 - Live 0x0000000000000000
>>>>>> acpi_thermal_rel 13807 1 int3400_thermal, Live 0x0000000000000000
>>>>>> nls_iso8859_1 12713 2 - Live 0x0000000000000000
>>>>>> snd_pcm 106273 7
>>>>>> snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec,snd_soc_rt5640,snd_soc_core,snd_pcm_dmaengine,
>>>>>> Live 0x0000000000000000
>>>>>> i2c_hid 19065 0 - Live 0x0000000000000000
>>>>>> video 20649 1 i915, Live 0x0000000000000000
>>>>>> intel_smartconnect 12637 0 - Live 0x0000000000000000
>>>>>> drm_kms_helper 99802 1 i915, Live 0x0000000000000000
>>>>>> hid 110572 2 hid_rmi,i2c_hid, Live 0x0000000000000000
>>>>>> drm 323675 4 i915,drm_kms_helper, Live 0x0000000000000000
>>>>>> rfkill_gpio 12761 0 - Live 0x0000000000000000
>>>>>> snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000
>>>>>> i2c_designware_platform 13025 0 - Live 0x0000000000000000
>>>>>> i2c_algo_bit 13564 1 i915, Live 0x0000000000000000
>>>>>> snd_soc_sst_acpi 13007 0 - Live 0x0000000000000000
>>>>>> 8250_dw 13474 0 - Live 0x0000000000000000
>>>>>> snd_timer 30118 2 snd_seq,snd_pcm, Live 0x0000000000000000
>>>>>> i2c_designware_core 14990 1 i2c_designware_platform, Live 0x0000000000000000
>>>>>> hp_wireless 12637 0 - Live 0x0000000000000000
>>>>>> shpchp 37216 0 - Live 0x0000000000000000
>>>>>> spi_pxa2xx_platform 23256 0 - Live 0x0000000000000000
>>>>>> snd 84025 15 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_soc_core,snd_compress,snd_seq,snd_pcm,snd_seq_device,snd_timer,
>>>>>> Live 0x0000000000000000
>>>>>> pwm_lpss_platform 12703 0 - Live 0x0000000000000000
>>>>>> lpc_ich 21176 0 - Live 0x0000000000000000
>>>>>> mac_hid 13275 0 - Live 0x0000000000000000
>>>>>> mei_txe 19808 0 - Live 0x0000000000000000
>>>>>> pwm_lpss 13281 1 pwm_lpss_platform, Live 0x0000000000000000
>>>>>> iosf_mbi 13865 1 intel_soc_dts_thermal, Live 0x0000000000000000
>>>>>> mei 88473 1 mei_txe, Live 0x0000000000000000
>>>>>> soundcore 15091 2 snd_hda_codec,snd, Live 0x0000000000000000
>>>>>> parport_pc 32909 0 - Live 0x0000000000000000
>>>>>> ppdev 17711 0 - Live 0x0000000000000000
>>>>>> lp 17799 0 - Live 0x0000000000000000
>>>>>> parport 42481 3 parport_pc,ppdev,lp, Live 0x0000000000000000
>>>>>> uas 22673 0 - Live 0x0000000000000000
>>>>>> usb_storage 67010 2 uas, Live 0x0000000000000000
>>>>>> mmc_block 36596 4 - Live 0x0000000000000000
>>>>>> sdhci_acpi 13502 0 - Live 0x0000000000000000
>>>>>> sdhci 43929 1 sdhci_acpi, Live 0x0000000000000000
>>>>>>
>>>>>>
>>>>>> /proc/ioports
>>>>>> 0000-006f : PCI Bus 0000:00
>>>>>>    0000-001f : dma1
>>>>>>    0020-0021 : pic1
>>>>>>    0040-0043 : timer0
>>>>>>    0050-0053 : timer1
>>>>>>    0060-0060 : keyboard
>>>>>>    0062-0062 : PNP0C09:00
>>>>>>      0062-0062 : EC data
>>>>>>    0064-0064 : keyboard
>>>>>>    0066-0066 : PNP0C09:00
>>>>>>      0066-0066 : EC cmd
>>>>>> 0070-0077 : rtc0
>>>>>> 0078-0cf7 : PCI Bus 0000:00
>>>>>>    0080-008f : dma page reg
>>>>>>    00a0-00a1 : pic2
>>>>>>    00c0-00df : dma2
>>>>>>    00f0-00ff : fpu
>>>>>>    03f8-03ff : serial
>>>>>>    0400-047f : pnp 00:01
>>>>>>      0400-0403 : ACPI PM1a_EVT_BLK
>>>>>>      0404-0405 : ACPI PM1a_CNT_BLK
>>>>>>      0408-040b : ACPI PM_TMR
>>>>>>      0420-042f : ACPI GPE0_BLK
>>>>>>      0430-0433 : iTCO_wdt
>>>>>>      0450-0450 : ACPI PM2_CNT_BLK
>>>>>>      0460-047f : iTCO_wdt
>>>>>>    0500-05fe : pnp 00:01
>>>>>>    0600-061f : pnp 00:01
>>>>>>    0680-069f : pnp 00:01
>>>>>> 0cf8-0cff : PCI conf1
>>>>>> 0d00-ffff : PCI Bus 0000:00
>>>>>>    1000-1fff : PCI Bus 0000:01
>>>>>>      1000-10ff : 0000:01:00.0
>>>>>>        1000-10ff : rtl_pci
>>>>>>    2000-201f : 0000:00:1f.3
>>>>>>    2050-2057 : 0000:00:02.0
>>>>>>
>>>>>>
>>>>>> cat /proc/iomem
>>>>>> 00000000-00000fff : reserved
>>>>>> 00001000-0006efff : System RAM
>>>>>> 0006f000-0006ffff : ACPI Non-volatile Storage
>>>>>> 00070000-00084fff : System RAM
>>>>>> 00085000-00086fff : reserved
>>>>>> 00087000-00087fff : System RAM
>>>>>> 00088000-0009ffff : reserved
>>>>>> 000a0000-000bffff : PCI Bus 0000:00
>>>>>> 000c0000-000dffff : PCI Bus 0000:00
>>>>>> 000e0000-000fffff : PCI Bus 0000:00
>>>>>>    000f0000-000fffff : System ROM
>>>>>> 00100000-1effffff : System RAM
>>>>>>    02000000-027b8537 : Kernel code
>>>>>>    027b8538-02d2123f : Kernel data
>>>>>>    02e87000-02fcffff : Kernel bss
>>>>>> 1f000000-1f0fffff : reserved
>>>>>> 1f100000-1fffffff : System RAM
>>>>>> 20000000-200fffff : reserved
>>>>>> 20100000-75867fff : System RAM
>>>>>> 75868000-75892fff : reserved
>>>>>> 75893000-78892fff : System RAM
>>>>>> 78893000-78922fff : reserved
>>>>>> 78923000-791a3fff : reserved
>>>>>> 791a4000-792a2fff : ACPI Non-volatile Storage
>>>>>> 792a3000-792e2fff : ACPI Tables
>>>>>> 792e3000-79ffffff : System RAM
>>>>>> 7a000000-7affffff : RAM buffer
>>>>>> 7b000000-7effffff : reserved
>>>>>>    7b000000-7effffff : Graphics Stolen Memory
>>>>>> 80000000-907ffffe : PCI Bus 0000:00
>>>>>>    80000000-8fffffff : 0000:00:02.0
>>>>>>    90000000-903fffff : 0000:00:02.0
>>>>>>    90400000-904fffff : PCI Bus 0000:01
>>>>>>      90400000-90403fff : 0000:01:00.0
>>>>>>        90400000-90403fff : rtl_pci
>>>>>>    90500000-905fffff : 0000:00:1a.0
>>>>>>      90500000-905fffff : mei_txe
>>>>>>    90600000-906fffff : 0000:00:1a.0
>>>>>>      90600000-906fffff : mei_txe
>>>>>>    90700000-9070ffff : 0000:00:14.0
>>>>>>      90700000-9070ffff : xhci-hcd
>>>>>>    90710000-90713fff : 0000:00:1b.0
>>>>>>      90710000-90713fff : ICH HD audio
>>>>>>    90718000-9071801f : 0000:00:1f.3
>>>>>> 90800000-90800fff : 80860F14:01
>>>>>>    90800000-90800fff : 80860F14:01
>>>>>> 90803000-90803fff : 80860F41:00
>>>>>>    90803000-90803fff : 80860F41:00
>>>>>> 90804000-90807fff : INTL9C60:01
>>>>>>    90804000-90807fff : INTL9C60:01
>>>>>> 90c00000-90ffffff : PCI Bus 0000:00
>>>>>> e0000000-e3ffffff : PCI MMCONFIG 0000 [bus 00-3f]
>>>>>>    e00000d0-e00000db : INT33BD:00
>>>>>>    e00f8000-e00f8fff : reserved
>>>>>> fec00000-fec003ff : IOAPIC 0
>>>>>> fed00000-fed003ff : HPET 0
>>>>>>    fed00000-fed003ff : PNP0103:00
>>>>>> fed01000-fed01fff : reserved
>>>>>>    fed01000-fed01fff : pnp 00:03
>>>>>> fed03000-fed03fff : pnp 00:03
>>>>>>    fed03008-fed0300c : iTCO_wdt
>>>>>> fed04000-fed04fff : pnp 00:03
>>>>>> fed05000-fed057ff : INT3401:00
>>>>>> fed08000-fed08fff : pnp 00:03
>>>>>> fed0c000-fed0cfff : INT33FC:00
>>>>>>    fed0c000-fed0cfff : INT33FC:00
>>>>>> fed0d000-fed0dfff : INT33FC:01
>>>>>>    fed0d000-fed0dfff : INT33FC:01
>>>>>> fed0e000-fed0efff : INT33FC:02
>>>>>>    fed0e000-fed0efff : INT33FC:02
>>>>>> fed1c000-fed1cfff : pnp 00:03
>>>>>> fed40000-fed44fff : pnp 00:01
>>>>>> fee00000-feefffff : pnp 00:03
>>>>>>    fee00000-fee00fff : Local APIC
>>>>>> fef00000-feffffff : pnp 00:03
>>>>>> ff000000-ffffffff : INT0800:00
>>>>>>    ffb80000-ffffffff : reserved
>>>>>>
>>>>>>
>>>>>> sudo lspci -vvv
>>>>>> 00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>> Series SoC Transaction Register (rev 0e)
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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
>>>>>> Kernel driver in use: iosf_mbi_pci
>>>>>>
>>>>>> 00:02.0 VGA compatible controller: Intel Corporation Atom Processor
>>>>>> Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA
>>>>>> controller])
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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 263
>>>>>> Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
>>>>>> Region 2: Memory at 80000000 (32-bit, prefetchable) [size=256M]
>>>>>> Region 4: I/O ports at 2050 [size=8]
>>>>>> Expansion ROM at <unassigned> [disabled]
>>>>>> 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: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>>> Address: fee0300c  Data: 4162
>>>>>> Capabilities: [b0] Vendor Specific Information: Len=07 <?>
>>>>>> Kernel driver in use: i915
>>>>>>
>>>>>> 00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>> Series USB xHCI (rev 0e) (prog-if 30 [XHCI])
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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 261
>>>>>> Region 0: Memory at 90700000 (64-bit, non-prefetchable) [size=64K]
>>>>>> Capabilities: [70] 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: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>>>>>> Address: 00000000fee0300c  Data: 41d1
>>>>>> Kernel driver in use: xhci_hcd
>>>>>>
>>>>>> 00:1a.0 Encryption controller: Intel Corporation Atom Processor
>>>>>> Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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 262
>>>>>> Region 0: Memory at 90600000 (32-bit, non-prefetchable) [size=1M]
>>>>>> Region 1: Memory at 90500000 (32-bit, non-prefetchable) [size=1M]
>>>>>> 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: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>>> Address: fee0300c  Data: 4122
>>>>>> Kernel driver in use: mei_txe
>>>>>>
>>>>>> 00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>> Series High Definition Audio Controller (rev 0e)
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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 264
>>>>>> Region 0: Memory at 90710000 (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: 00000000fee0300c  Data: 4182
>>>>>> Kernel driver in use: snd_hda_intel
>>>>>>
>>>>>> 00:1c.0 PCI bridge: Intel Corporation Device 0f48 (rev 0e) (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: 00001000-00001fff
>>>>>> Memory behind bridge: 90400000-904fffff
>>>>>> Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
>>>>>> 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
>>>>>> ExtTag- RBE+
>>>>>> 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 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s
>>>>>> <512ns, L1 <4us
>>>>>> ClockPM- Surprise- LLActRep+ BwNot+
>>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR-, OBFF Not
>>>>>> Supported ARIFwd-
>>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF
>>>>>> Disabled ARIFwd-
>>>>>> LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
>>>>>>   Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>>> ComplianceSOS-
>>>>>>   Compliance De-emphasis: -6dB
>>>>>> LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-,
>>>>>> EqualizationPhase1-
>>>>>>   EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>>> Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
>>>>>> Address: 00000000  Data: 0000
>>>>>> Capabilities: [90] Subsystem: Hewlett-Packard Company Device 8023
>>>>>> Capabilities: [a0] 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-
>>>>>> Kernel driver in use: pcieport
>>>>>>
>>>>>> 00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>>> Series Power Control Unit (rev 0e)
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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=0c <?>
>>>>>> Kernel driver in use: lpc_ich
>>>>>>
>>>>>> 00:1f.3 SMBus: Intel Corporation Device 0f12 (rev 0e)
>>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>>> 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 B routed to IRQ 255
>>>>>> Region 0: Memory at 90718000 (32-bit, non-prefetchable) [size=32]
>>>>>> Region 4: I/O ports at 2000 [size=32]
>>>>>> 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-
>>>>>>
>>>>>> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE
>>>>>> PCIe Wireless Network Adapter
>>>>>> Subsystem: Hewlett-Packard Company Device 2231
>>>>>> 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 16
>>>>>> Region 0: I/O ports at 1000 [size=256]
>>>>>> Region 2: Memory at 90400000 (64-bit, non-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: 0000000000000000  Data: 0000
>>>>>> Capabilities: [70] Express (v2) Endpoint, MSI 00
>>>>>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, 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 512 bytes
>>>>>> DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
>>>>>> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency
>>>>>> L0s <512ns, L1 <64us
>>>>>> ClockPM+ Surprise- LLActRep- BwNot-
>>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR+, OBFF
>>>>>> Via message/WAKE#
>>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+, LTR+, OBFF Disabled
>>>>>> LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
>>>>>>   Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>>> ComplianceSOS-
>>>>>>   Compliance De-emphasis: -6dB
>>>>>> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,
>>>>>> EqualizationPhase1-
>>>>>>   EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>>> Capabilities: [100 v2] 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: 0d, GenCap+ CGenEn- ChkCap+ ChkEn-
>>>>>> Capabilities: [140 v1] Device Serial Number 00-23-b7-fe-ff-4c-e0-00
>>>>>> Capabilities: [150 v1] Latency Tolerance Reporting
>>>>>> Max snoop latency: 71680ns
>>>>>> Max no snoop latency: 71680ns
>>>>>> Capabilities: [158 v1] L1 PM Substates
>>>>>> L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
>>>>>>    PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
>>>>>> Kernel driver in use: rtl8723be
>>>>>>
>>>>>>
>>>>>> cat /proc/scsi/scsi
>>>>>> Attached devices:
>>>>>> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>>>>>>    Vendor: Generic- Model: SD/MMC/MS PRO    Rev: 1.00
>>>>>>    Type:   Direct-Access                    ANSI  SCSI revision: 04
>>>>>>
>>>>>>
>>>>>> ls /proc
>>>>>> 1     12    14    1667  1745  18    1963  2345  292   35    470   55
>>>>>> 7201  asound     execdomains  kmsg        pagetypeinfo   sysvipc
>>>>>> 10    1218  1410  1685  1761  1804  2     2388  296   3573  471   554
>>>>>> 728   buddyinfo  fb           kpagecount  partitions     thread-self
>>>>>> 1020  125   142   1687  1764  1805  20    24    3     359   473   56
>>>>>> 755   bus        filesystems  kpageflags  sched_debug    timer_list
>>>>>> 1025  126   1420  1690  1767  1818  21    25    30    3623  474   57
>>>>>> 76    cgroups    fs           loadavg     schedstat      timer_stats
>>>>>> 1032  127   1423  17    1769  1828  2169  2528  31    378   485   585
>>>>>> 77    cmdline    interrupts   locks       scsi           tty
>>>>>> 1033  128   143   1701  1771  1853  2187  254   3181  3822  5     606
>>>>>> 7886  consoles   iomem        mdstat      self           uptime
>>>>>> 1038  129   1444  1710  1772  1876  2197  26    33    39    509   654
>>>>>> 8     cpuinfo    ioports      meminfo     slabinfo       version
>>>>>> 1042  13    1485  1718  1781  1883  2198  2670  3309  3932  516   655
>>>>>> 8743  crypto     irq          misc        softirqs       vmallocinfo
>>>>>> 1069  130   15    1722  1787  1893  22    2672  34    40    53    695
>>>>>> 9     devices    kallsyms     modules     stat           vmstat
>>>>>> 1070  131   1568  1725  1789  1896  2202  27    3419  41    539   7
>>>>>> 9040  diskstats  kcore        mounts      swaps          zoneinfo
>>>>>> 11    132   1645  1727  1792  19    2248  28    3433  468   542   709
>>>>>> 9056  dma        keys         mtrr        sys
>>>>>> 1144  1331  1655  1732  1796  1905  23    29    3437  469   5421  715
>>>>>> acpi  driver     key-users    net         sysrq-trigger
>>>>>> --
>>>>>> To unsubscribe from this list: send the line "unsubscribe linux-input" in
>>>>>> the body of a message to majordomo@vger.kernel.org
>>>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply

* Re: [PATCH 1/2] Input: synaptics: Use in-kernel tracking for reporting mt data
From: Benjamin Tissoires @ 2014-12-08 18:01 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Benjamin Tissoires, Henrik Rydberg, Hans de Goede, Peter Hutterer,
	linux-input, linux-kernel@vger.kernel.org, Daniel Kurtz,
	Chung-yih Wang
In-Reply-To: <CAN+gG=EBz6vifWoV5PmGzMNJgHD59F2P_6sZfDZU5hbkSOPoQQ@mail.gmail.com>

On Thu, Nov 20, 2014 at 2:42 PM, Benjamin Tissoires
<benjamin.tissoires@gmail.com> wrote:
> On Fri, Oct 31, 2014 at 12:51 PM, Dmitry Torokhov
> <dmitry.torokhov@gmail.com> wrote:
>> On Thu, Oct 30, 2014 at 02:33:06PM -0400, Benjamin Tissoires wrote:
>>> The current code tries to consider all states and transitions to properly
>>> detect which finger is attached to which slot. The code is quite huge
>>> and difficult to read.
>>> If the sensor manages to group the touch points but is not reliable in
>>> giving tracking ids, we can simply use the kernel tracking method. Note
>>> that it is already used by Cr-48 Chromebooks.
>>>
>>> Incidentaly, this fixes a bug reported by Peter Hutterer:
>>> """
>>> on the Lenovo T440, run:
>>> evemu-record /dev/input/event4 | grep BTN_
>>>
>>> then put one, two, three, two fingers down
>>> when you go from 3 to 2 fingers the driver sends a spurious BTN_TOUCH 0
>>> event:
>>>
>>> E: 0.000000 0001 014a 0001      # EV_KEY / BTN_TOUCH            1
>>> E: 0.000000 0001 0145 0001      # EV_KEY / BTN_TOOL_FINGER      1
>>> E: 0.770008 0001 0145 0000      # EV_KEY / BTN_TOOL_FINGER      0
>>> E: 0.770008 0001 014d 0001      # EV_KEY / BTN_TOOL_DOUBLETAP   1
>>> E: 1.924716 0001 014d 0000      # EV_KEY / BTN_TOOL_DOUBLETAP   0
>>> E: 1.924716 0001 014e 0001      # EV_KEY / BTN_TOOL_TRIPLETAP   1
>>>
>>> .. changing from 3 to 2 fingers now
>>>
>>> E: 3.152641 0001 014a 0000      # EV_KEY / BTN_TOUCH            0
>>> E: 3.152641 0001 014d 0001      # EV_KEY / BTN_TOOL_DOUBLETAP   1
>>> E: 3.152641 0001 014e 0000      # EV_KEY / BTN_TOOL_TRIPLETAP   0
>>> E: 3.176948 0001 014a 0001      # EV_KEY / BTN_TOUCH            1
>>>
>>> quick look in the kernel shows it's caused by hw.z going to 0 for a packet,
>>> so probably a firmware bug. either way, it makes it hard to track BTN_TOUCH
>>> as signal that at least one finger is down.
>>> """
>>>
>>> The in-kernel tracking is enough to remove this spurious BTN_TOUCH 0.
>>>
>>> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
>>> ---
>>>
>>> Hi Dmitry,
>>>
>>> I started working on that for 2 other bug reports
>>> https://bugs.freedesktop.org/show_bug.cgi?id=81278
>>> and
>>> https://bugs.freedesktop.org/show_bug.cgi?id=76722
>>>
>>> I thought the cursor jumps could be fixed by the in-kernel tracking, but the
>>> tracking needs a little bit more work to filter them out (patches to follow soon).
>>>
>>> From a user perspective, this patch does not change anything to what the user
>>> previously had. It also fixes Peter's bug that's why I decide to send this out
>>> by itself (removing ~350 lines of code and fixing bugs is always nice).
>>>
>>> I think the cursor jump fixes will need more bikeshedding in input-mt.c (I am
>>> *really* bad at designing APIs), so I'll send it later as an RFC.
>>
>> Daniel and Chung-yih were working on the driver so let's see if they
>> have a moment...
>>
>
> Any news from the chrome team? This is a requirement for fixing the
> cursor jumps, and I'd rather have this series in shape before
> introducing the changes in input-mt.c.
>

ping?

Cheers,
Benjamin

^ permalink raw reply

* Re: PROBLEM: [HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a hardware click
From: Benjamin Tissoires @ 2014-12-08 17:59 UTC (permalink / raw)
  To: Amordea Whiteoak; +Cc: linux-input, Peter Hutterer, Andrew Duggan
In-Reply-To: <CALmnu0bPLi4skqUxvjd9DWrZJysvqX-+nxNHdx5APGsoNZsnKA@mail.gmail.com>

On Mon, Dec 8, 2014 at 12:14 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
> There may be a thing I am failing to understand about dmesg here, but
> a grep through both dmesg and /var/log/dmesg yielded no hits on
> "i2c_hid.debug=1". I did find plenty of hits on just "i2c_hid", which
> yielded several repetitive lines of what appears to be various
> modules. Please let me know if there is something I am failing to
> understand here, but I could not find the requested phrase in my
> dmesg.

I meant that when you reboot the laptop, in grub, append
"i2c_hid.debug=1" to the kernel command line.

This should be seen in one of the first few lines of dmesg (the one
starting by "[    0.000000] Command line:
BOOT_IMAGE=/boot/vmlinuz-3.18.0-031800rc7-generic "), and a lot of raw
events should be dumped in the dmesg.

>
> I do have the hid-recorder output though, which I am attaching here.
> This time I used a non-conductive pen to only generate clicks without
> all the positioning data piling in on top. This is a recording of two
> left clicks.
>

Ok, so at least, the device sends a sane behavior (one event per
click/release, with one bit changed). Unfortunately, I think the
problem lies in the configuration of your device by hid-rmi. So the
dmesg output while i2c_hid.debug=1 is set should help to figure out
the problem.

If for whatever reasons you do not manage to get the parameter
appended to your command line, the following commands should suffice
(as root):
#> rmmod hid-rmi
#> echo 1 > /sys/module/i2c_hid/parameters/debug
#> modprobe hid-rmi

do a few events on the touchpad (with clicks)

#> echo 0 > /sys/module/i2c_hid/parameters/debug

and send out the dmesg.

Cheers,
Benjamin

> If there is anything else I can provide, please let me know.
>
> Thank you for helping with this bug. :)
>
> On Mon, Dec 8, 2014 at 11:44 AM, Benjamin Tissoires
> <benjamin.tissoires@gmail.com> wrote:
>> Hi Amordea,
>>
>> On Mon, Dec 8, 2014 at 11:20 AM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>> My apologies if my bug report was inadequate. It is the first upstream
>>> report I've ever filed, though I did attempt to give all the
>>> information they requested to the best of my ability.
>>
>> Oh, no, I was not complaining about your way of reporting the bug. I
>> know that it can be difficult for users to report _and_ provide all
>> the necessary information unless you already know a little bit about
>> the communities, how they work and what tool they use.
>> My complain was more that the way it was triaged: try an upstream
>> kernel; oh, does not work; send it upstream because it's a "poor
>> driver implementation". Whereas here, there may be any part of the
>> stack involved unless we look at the evemu-record (which is the output
>> of the kernel BTW). And saying that the driver is badly designed
>> really does not help...
>> Last, the "meta bug" they have is either a problem in the kernel
>> drivers they ship, or a not up to date Xorg stack. FWIW, I don't think
>> we have this on Fedora.
>>
>> Anyway, thanks for the explanations that you give in the next
>> paragraph, it gives a more comprehensive bug report :)
>>
>>>
>>> If it helps: to be clear about the design of this clickpad, it is one
>>> where the entire pad is touch-sensitive, even the area over the
>>> hardware click buttons which are on the bottom. The entire pad is one
>>> piece, so the pad itself shifts when you click a button. The
>>> malfunction occurs whenever any of these buttons are clicked, but the
>>> simulated clicks (tapping on the pad) behave adequately and do not
>>> cause any mouse input lock-ups. The malfunction itself causes ALL
>>> subsequent mouse clicks from any source (including a USB mouse) to
>>> only act in the spot where the first hardware click from the clickpad
>>> was performed and cannot be adjusted until the clickpad has been
>>> disabled (xinput disable <id>). The hardware buttons on the clickpad
>>> itself do not register as clicks at all, they only cause all mouse
>>> input to malfunction as previously described.
>>>
>>> I am enclosing the requested evemu-record data. This is a recording of
>>> my clicking the left hardware click button three times in rapid
>>> succession, but failure generally occurs after the first click.
>>
>> Many thanks for the logs. So here, I can see that when you click on
>> the touchpad, both BTN_LEFT and BTN_RIGHT are emitted, but they are
>> never released :) I do not see either the 2 other clicks.
>> So yes, here the driver is at fault and misses to release the clicks.
>> This infers the cross-device problem in X BTW.
>>
>>>
>>> A curious behavior I noticed in the process of getting this recording
>>> is that on the first click, I received a pasted text line in my
>>> terminal. I could not reproduce this behavior by doing an
>>> enable/disable cycle on the trackpad, but to confirm I rebooted a few
>>> times to test and sure enough, the very first click each boot triggers
>>> a clipboard paste event.
>>
>> You must have the middle button emulation enabled in Xorg (hitting
>> both left and right button will trigger a middle button). So when we
>> will be able to fix this bug, the spurious middle click should
>> disappear.
>>
>>>
>>> If there is any more information I can provide, please let me know.
>>
>> Ideally, I'd like to punt this one to Andrew, but I think we would be
>> grateful if you could also provide 2 more things:
>> - the dmesg when "i2c_hid.debug=1" is appended to the kernel boot line
>> (without the quotes)
>> - the hid-recorder output when you trigger the bug
>>
>> hid-recorder should be installed from sources in Ubuntu I guess:
>> http://bentiss.github.io/hid-replay-docs/
>>
>> The hid-recorder output might not be absolutely needed, so as long as
>> we have the dmesg with i2c_hid.debug=1, we should be fine.
>>
>> Cheers,
>> Benjamin
>>
>>>
>>> Thank you!
>>>
>>> On Mon, Dec 8, 2014 at 10:01 AM, Benjamin Tissoires
>>> <benjamin.tissoires@gmail.com> wrote:
>>>> Hi Amordea,
>>>>
>>>> I must say, the bug triaging is worse and worse with ubuntu :(
>>>>
>>>> From the bug description, I can not tell if the problem lies in the
>>>> kernel, or if it is the synaptics input driver or the xserver which is
>>>> in fault. I would be tempted to say that the problem lies in the upper
>>>> layers given the cross-devices problem.
>>>>
>>>> Anyway, to be able to understand the problem, we will need to get an
>>>> evemu-record output of your device when you are reproducing the bug.
>>>> You can find evemu in your distribution channels, or here:
>>>> http://www.freedesktop.org/wiki/Evemu/
>>>>
>>>> Given that you have an hid-rmi/i2c device, I am adding Andrew in CC,
>>>> and Peter for the upper layers if there is anything wrong there.
>>>>
>>>> Cheers,
>>>> Benjamin
>>>>
>>>> On Sun, Dec 7, 2014 at 5:50 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>>> Original Bug Report:
>>>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398533
>>>>>
>>>>> Bug Description: After clicking once at the bottom of my clickpad on
>>>>> either button, if I move my cursor elsewhere on the screen, and then
>>>>> subsequently click again (with either clickpad or external mouse this
>>>>> time) it registers a click at the location where my cursor icon was
>>>>> originally. I can continue to move my cursor anywhere on the screen,
>>>>> and it still registers the click in the original location.
>>>>>
>>>>>
>>>>> cat /proc/version
>>>>> Linux version 3.18.0-031800rc7-generic (apw@gomeisa) (gcc version
>>>>> 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201411302035 SMP Mon Dec 1
>>>>> 01:36:38 UTC 2014
>>>>>
>>>>>
>>>>> lsb_release -rd
>>>>> Description: Ubuntu 14.10
>>>>> Release: 14.10
>>>>>
>>>>>
>>>>> sh /usr/src/linux-headers-3.18.0-031800rc7/scripts/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 woprjr 3.18.0-031800rc7-generic #201411302035 SMP Mon Dec 1
>>>>> 01:36:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>>>>>
>>>>> Gnu C
>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux:
>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: 20:
>>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: ld: not
>>>>> found
>>>>> binutils
>>>>> util-linux             2.25.1
>>>>> mount                  debug
>>>>> module-init-tools      18
>>>>> e2fsprogs              1.42.10
>>>>> PPP                    2.4.5
>>>>> Linux C Library        2.19
>>>>> Dynamic linker (ldd)   2.19
>>>>> Procps                 3.3.9
>>>>> Net-tools              1.60
>>>>> Kbd                    1.15.5
>>>>> Sh-utils               8.23
>>>>> wireless-tools         30
>>>>> Modules Loaded         snd_hda_codec_hdmi snd_hda_codec_realtek
>>>>> snd_hda_codec_generic ctr ccm joydev hp_wmi hid_rmi sparse_keymap
>>>>> rfcomm bnep arc4 rtl8723be btcoexist rtl8723_common intel_rapl
>>>>> uvcvideo rtl_pci intel_soc_dts_thermal intel_powerclamp
>>>>> videobuf2_vmalloc videobuf2_memops coretemp rtlwifi videobuf2_core
>>>>> v4l2_common videodev mac80211 media kvm cfg80211 btusb
>>>>> crct10dif_pclmul crc32_pclmul bluetooth ghash_clmulni_intel serio_raw
>>>>> cryptd wmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
>>>>> snd_seq_midi snd_seq_midi_event snd_rawmidi snd_soc_rt5640
>>>>> snd_soc_rl6231 snd_soc_core snd_compress dw_dmac i915
>>>>> snd_pcm_dmaengine dw_dmac_core snd_seq int3400_thermal int3403_thermal
>>>>> acpi_thermal_rel nls_iso8859_1 snd_pcm i2c_hid video
>>>>> intel_smartconnect drm_kms_helper hid drm rfkill_gpio snd_seq_device
>>>>> i2c_designware_platform i2c_algo_bit snd_soc_sst_acpi 8250_dw
>>>>> snd_timer i2c_designware_core hp_wireless shpchp spi_pxa2xx_platform
>>>>> snd pwm_lpss_platform lpc_ich mac_hid mei_txe pwm_lpss iosf_mbi mei
>>>>> soundcore parport_pc ppdev lp parport uas usb_storage mmc_block
>>>>> sdhci_acpi sdhci
>>>>>
>>>>>
>>>>> cat /proc/cpuinfo
>>>>> processor : 0
>>>>> vendor_id : GenuineIntel
>>>>> cpu family : 6
>>>>> model : 55
>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>> stepping : 8
>>>>> microcode : 0x829
>>>>> cpu MHz : 499.741
>>>>> cache size : 1024 KB
>>>>> physical id : 0
>>>>> siblings : 2
>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>> bugs :
>>>>> bogomips : 4326.40
>>>>> 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 : 55
>>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>>> stepping : 8
>>>>> microcode : 0x829
>>>>> cpu MHz : 499.741
>>>>> cache size : 1024 KB
>>>>> physical id : 0
>>>>> siblings : 2
>>>>> core id : 1
>>>>> cpu cores : 2
>>>>> apicid : 2
>>>>> initial apicid : 2
>>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>>> flexpriority ept vpid tsc_adjust smep erms
>>>>> bugs :
>>>>> bogomips : 4326.40
>>>>> clflush size : 64
>>>>> cache_alignment : 64
>>>>> address sizes : 36 bits physical, 48 bits virtual
>>>>> power management:
>>>>>
>>>>>
>>>>> cat /proc/modules
>>>>> snd_hda_codec_hdmi 52670 1 - Live 0x0000000000000000
>>>>> snd_hda_codec_realtek 80420 1 - Live 0x0000000000000000
>>>>> snd_hda_codec_generic 69995 1 snd_hda_codec_realtek, Live 0x0000000000000000
>>>>> ctr 13193 1 - Live 0x0000000000000000
>>>>> ccm 17856 1 - Live 0x0000000000000000
>>>>> joydev 17587 0 - Live 0x0000000000000000
>>>>> hp_wmi 14017 0 - Live 0x0000000000000000
>>>>> hid_rmi 18060 0 - Live 0x0000000000000000
>>>>> sparse_keymap 13890 1 hp_wmi, Live 0x0000000000000000
>>>>> rfcomm 75066 8 - Live 0x0000000000000000
>>>>> bnep 23980 2 - Live 0x0000000000000000
>>>>> arc4 12573 2 - Live 0x0000000000000000
>>>>> rtl8723be 96097 0 - Live 0x0000000000000000
>>>>> btcoexist 51822 1 rtl8723be, Live 0x0000000000000000
>>>>> rtl8723_common 23662 1 rtl8723be, Live 0x0000000000000000
>>>>> intel_rapl 19196 0 - Live 0x0000000000000000
>>>>> uvcvideo 86723 0 - Live 0x0000000000000000
>>>>> rtl_pci 27417 1 rtl8723be, Live 0x0000000000000000
>>>>> intel_soc_dts_thermal 13523 0 - Live 0x0000000000000000
>>>>> intel_powerclamp 19099 0 - Live 0x0000000000000000
>>>>> videobuf2_vmalloc 13216 1 uvcvideo, Live 0x0000000000000000
>>>>> videobuf2_memops 13362 1 videobuf2_vmalloc, Live 0x0000000000000000
>>>>> coretemp 13638 0 - Live 0x0000000000000000
>>>>> rtlwifi 74744 2 rtl8723be,rtl_pci, Live 0x0000000000000000
>>>>> videobuf2_core 51547 1 uvcvideo, Live 0x0000000000000000
>>>>> v4l2_common 15715 1 videobuf2_core, Live 0x0000000000000000
>>>>> videodev 163831 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
>>>>> mac80211 697159 3 rtl8723be,rtl_pci,rtlwifi, Live 0x0000000000000000
>>>>> media 22008 2 uvcvideo,videodev, Live 0x0000000000000000
>>>>> kvm 475237 0 - Live 0x0000000000000000
>>>>> cfg80211 520257 2 rtlwifi,mac80211, Live 0x0000000000000000
>>>>> btusb 32691 0 - Live 0x0000000000000000
>>>>> crct10dif_pclmul 14268 0 - Live 0x0000000000000000
>>>>> crc32_pclmul 13180 0 - Live 0x0000000000000000
>>>>> bluetooth 486890 22 rfcomm,bnep,btusb, Live 0x0000000000000000
>>>>> ghash_clmulni_intel 13230 0 - Live 0x0000000000000000
>>>>> serio_raw 13483 0 - Live 0x0000000000000000
>>>>> cryptd 20531 1 ghash_clmulni_intel, Live 0x0000000000000000
>>>>> wmi 19379 1 hp_wmi, Live 0x0000000000000000
>>>>> snd_hda_intel 30824 1 - Live 0x0000000000000000
>>>>> snd_hda_controller 32234 1 snd_hda_intel, Live 0x0000000000000000
>>>>> snd_hda_codec 144641 5
>>>>> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,
>>>>> Live 0x0000000000000000
>>>>> snd_hwdep 17709 1 snd_hda_codec, Live 0x0000000000000000
>>>>> snd_seq_midi 13564 0 - Live 0x0000000000000000
>>>>> snd_seq_midi_event 14899 1 snd_seq_midi, Live 0x0000000000000000
>>>>> snd_rawmidi 31197 1 snd_seq_midi, Live 0x0000000000000000
>>>>> snd_soc_rt5640 93325 0 - Live 0x0000000000000000
>>>>> snd_soc_rl6231 13037 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>> snd_soc_core 207780 1 snd_soc_rt5640, Live 0x0000000000000000
>>>>> snd_compress 19395 1 snd_soc_core, Live 0x0000000000000000
>>>>> dw_dmac 12835 0 - Live 0x0000000000000000
>>>>> i915 1031996 2 - Live 0x0000000000000000
>>>>> snd_pcm_dmaengine 15229 1 snd_soc_core, Live 0x0000000000000000
>>>>> dw_dmac_core 28558 1 dw_dmac, Live 0x0000000000000000
>>>>> snd_seq 63540 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
>>>>> int3400_thermal 13040 0 - Live 0x0000000000000000
>>>>> int3403_thermal 13255 0 - Live 0x0000000000000000
>>>>> acpi_thermal_rel 13807 1 int3400_thermal, Live 0x0000000000000000
>>>>> nls_iso8859_1 12713 2 - Live 0x0000000000000000
>>>>> snd_pcm 106273 7
>>>>> snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec,snd_soc_rt5640,snd_soc_core,snd_pcm_dmaengine,
>>>>> Live 0x0000000000000000
>>>>> i2c_hid 19065 0 - Live 0x0000000000000000
>>>>> video 20649 1 i915, Live 0x0000000000000000
>>>>> intel_smartconnect 12637 0 - Live 0x0000000000000000
>>>>> drm_kms_helper 99802 1 i915, Live 0x0000000000000000
>>>>> hid 110572 2 hid_rmi,i2c_hid, Live 0x0000000000000000
>>>>> drm 323675 4 i915,drm_kms_helper, Live 0x0000000000000000
>>>>> rfkill_gpio 12761 0 - Live 0x0000000000000000
>>>>> snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000
>>>>> i2c_designware_platform 13025 0 - Live 0x0000000000000000
>>>>> i2c_algo_bit 13564 1 i915, Live 0x0000000000000000
>>>>> snd_soc_sst_acpi 13007 0 - Live 0x0000000000000000
>>>>> 8250_dw 13474 0 - Live 0x0000000000000000
>>>>> snd_timer 30118 2 snd_seq,snd_pcm, Live 0x0000000000000000
>>>>> i2c_designware_core 14990 1 i2c_designware_platform, Live 0x0000000000000000
>>>>> hp_wireless 12637 0 - Live 0x0000000000000000
>>>>> shpchp 37216 0 - Live 0x0000000000000000
>>>>> spi_pxa2xx_platform 23256 0 - Live 0x0000000000000000
>>>>> snd 84025 15 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_soc_core,snd_compress,snd_seq,snd_pcm,snd_seq_device,snd_timer,
>>>>> Live 0x0000000000000000
>>>>> pwm_lpss_platform 12703 0 - Live 0x0000000000000000
>>>>> lpc_ich 21176 0 - Live 0x0000000000000000
>>>>> mac_hid 13275 0 - Live 0x0000000000000000
>>>>> mei_txe 19808 0 - Live 0x0000000000000000
>>>>> pwm_lpss 13281 1 pwm_lpss_platform, Live 0x0000000000000000
>>>>> iosf_mbi 13865 1 intel_soc_dts_thermal, Live 0x0000000000000000
>>>>> mei 88473 1 mei_txe, Live 0x0000000000000000
>>>>> soundcore 15091 2 snd_hda_codec,snd, Live 0x0000000000000000
>>>>> parport_pc 32909 0 - Live 0x0000000000000000
>>>>> ppdev 17711 0 - Live 0x0000000000000000
>>>>> lp 17799 0 - Live 0x0000000000000000
>>>>> parport 42481 3 parport_pc,ppdev,lp, Live 0x0000000000000000
>>>>> uas 22673 0 - Live 0x0000000000000000
>>>>> usb_storage 67010 2 uas, Live 0x0000000000000000
>>>>> mmc_block 36596 4 - Live 0x0000000000000000
>>>>> sdhci_acpi 13502 0 - Live 0x0000000000000000
>>>>> sdhci 43929 1 sdhci_acpi, Live 0x0000000000000000
>>>>>
>>>>>
>>>>> /proc/ioports
>>>>> 0000-006f : PCI Bus 0000:00
>>>>>   0000-001f : dma1
>>>>>   0020-0021 : pic1
>>>>>   0040-0043 : timer0
>>>>>   0050-0053 : timer1
>>>>>   0060-0060 : keyboard
>>>>>   0062-0062 : PNP0C09:00
>>>>>     0062-0062 : EC data
>>>>>   0064-0064 : keyboard
>>>>>   0066-0066 : PNP0C09:00
>>>>>     0066-0066 : EC cmd
>>>>> 0070-0077 : rtc0
>>>>> 0078-0cf7 : PCI Bus 0000:00
>>>>>   0080-008f : dma page reg
>>>>>   00a0-00a1 : pic2
>>>>>   00c0-00df : dma2
>>>>>   00f0-00ff : fpu
>>>>>   03f8-03ff : serial
>>>>>   0400-047f : pnp 00:01
>>>>>     0400-0403 : ACPI PM1a_EVT_BLK
>>>>>     0404-0405 : ACPI PM1a_CNT_BLK
>>>>>     0408-040b : ACPI PM_TMR
>>>>>     0420-042f : ACPI GPE0_BLK
>>>>>     0430-0433 : iTCO_wdt
>>>>>     0450-0450 : ACPI PM2_CNT_BLK
>>>>>     0460-047f : iTCO_wdt
>>>>>   0500-05fe : pnp 00:01
>>>>>   0600-061f : pnp 00:01
>>>>>   0680-069f : pnp 00:01
>>>>> 0cf8-0cff : PCI conf1
>>>>> 0d00-ffff : PCI Bus 0000:00
>>>>>   1000-1fff : PCI Bus 0000:01
>>>>>     1000-10ff : 0000:01:00.0
>>>>>       1000-10ff : rtl_pci
>>>>>   2000-201f : 0000:00:1f.3
>>>>>   2050-2057 : 0000:00:02.0
>>>>>
>>>>>
>>>>> cat /proc/iomem
>>>>> 00000000-00000fff : reserved
>>>>> 00001000-0006efff : System RAM
>>>>> 0006f000-0006ffff : ACPI Non-volatile Storage
>>>>> 00070000-00084fff : System RAM
>>>>> 00085000-00086fff : reserved
>>>>> 00087000-00087fff : System RAM
>>>>> 00088000-0009ffff : reserved
>>>>> 000a0000-000bffff : PCI Bus 0000:00
>>>>> 000c0000-000dffff : PCI Bus 0000:00
>>>>> 000e0000-000fffff : PCI Bus 0000:00
>>>>>   000f0000-000fffff : System ROM
>>>>> 00100000-1effffff : System RAM
>>>>>   02000000-027b8537 : Kernel code
>>>>>   027b8538-02d2123f : Kernel data
>>>>>   02e87000-02fcffff : Kernel bss
>>>>> 1f000000-1f0fffff : reserved
>>>>> 1f100000-1fffffff : System RAM
>>>>> 20000000-200fffff : reserved
>>>>> 20100000-75867fff : System RAM
>>>>> 75868000-75892fff : reserved
>>>>> 75893000-78892fff : System RAM
>>>>> 78893000-78922fff : reserved
>>>>> 78923000-791a3fff : reserved
>>>>> 791a4000-792a2fff : ACPI Non-volatile Storage
>>>>> 792a3000-792e2fff : ACPI Tables
>>>>> 792e3000-79ffffff : System RAM
>>>>> 7a000000-7affffff : RAM buffer
>>>>> 7b000000-7effffff : reserved
>>>>>   7b000000-7effffff : Graphics Stolen Memory
>>>>> 80000000-907ffffe : PCI Bus 0000:00
>>>>>   80000000-8fffffff : 0000:00:02.0
>>>>>   90000000-903fffff : 0000:00:02.0
>>>>>   90400000-904fffff : PCI Bus 0000:01
>>>>>     90400000-90403fff : 0000:01:00.0
>>>>>       90400000-90403fff : rtl_pci
>>>>>   90500000-905fffff : 0000:00:1a.0
>>>>>     90500000-905fffff : mei_txe
>>>>>   90600000-906fffff : 0000:00:1a.0
>>>>>     90600000-906fffff : mei_txe
>>>>>   90700000-9070ffff : 0000:00:14.0
>>>>>     90700000-9070ffff : xhci-hcd
>>>>>   90710000-90713fff : 0000:00:1b.0
>>>>>     90710000-90713fff : ICH HD audio
>>>>>   90718000-9071801f : 0000:00:1f.3
>>>>> 90800000-90800fff : 80860F14:01
>>>>>   90800000-90800fff : 80860F14:01
>>>>> 90803000-90803fff : 80860F41:00
>>>>>   90803000-90803fff : 80860F41:00
>>>>> 90804000-90807fff : INTL9C60:01
>>>>>   90804000-90807fff : INTL9C60:01
>>>>> 90c00000-90ffffff : PCI Bus 0000:00
>>>>> e0000000-e3ffffff : PCI MMCONFIG 0000 [bus 00-3f]
>>>>>   e00000d0-e00000db : INT33BD:00
>>>>>   e00f8000-e00f8fff : reserved
>>>>> fec00000-fec003ff : IOAPIC 0
>>>>> fed00000-fed003ff : HPET 0
>>>>>   fed00000-fed003ff : PNP0103:00
>>>>> fed01000-fed01fff : reserved
>>>>>   fed01000-fed01fff : pnp 00:03
>>>>> fed03000-fed03fff : pnp 00:03
>>>>>   fed03008-fed0300c : iTCO_wdt
>>>>> fed04000-fed04fff : pnp 00:03
>>>>> fed05000-fed057ff : INT3401:00
>>>>> fed08000-fed08fff : pnp 00:03
>>>>> fed0c000-fed0cfff : INT33FC:00
>>>>>   fed0c000-fed0cfff : INT33FC:00
>>>>> fed0d000-fed0dfff : INT33FC:01
>>>>>   fed0d000-fed0dfff : INT33FC:01
>>>>> fed0e000-fed0efff : INT33FC:02
>>>>>   fed0e000-fed0efff : INT33FC:02
>>>>> fed1c000-fed1cfff : pnp 00:03
>>>>> fed40000-fed44fff : pnp 00:01
>>>>> fee00000-feefffff : pnp 00:03
>>>>>   fee00000-fee00fff : Local APIC
>>>>> fef00000-feffffff : pnp 00:03
>>>>> ff000000-ffffffff : INT0800:00
>>>>>   ffb80000-ffffffff : reserved
>>>>>
>>>>>
>>>>> sudo lspci -vvv
>>>>> 00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>> Series SoC Transaction Register (rev 0e)
>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>> 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
>>>>> Kernel driver in use: iosf_mbi_pci
>>>>>
>>>>> 00:02.0 VGA compatible controller: Intel Corporation Atom Processor
>>>>> Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA
>>>>> controller])
>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>> 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 263
>>>>> Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
>>>>> Region 2: Memory at 80000000 (32-bit, prefetchable) [size=256M]
>>>>> Region 4: I/O ports at 2050 [size=8]
>>>>> Expansion ROM at <unassigned> [disabled]
>>>>> 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: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>> Address: fee0300c  Data: 4162
>>>>> Capabilities: [b0] Vendor Specific Information: Len=07 <?>
>>>>> Kernel driver in use: i915
>>>>>
>>>>> 00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>> Series USB xHCI (rev 0e) (prog-if 30 [XHCI])
>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>> 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 261
>>>>> Region 0: Memory at 90700000 (64-bit, non-prefetchable) [size=64K]
>>>>> Capabilities: [70] 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: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>>>>> Address: 00000000fee0300c  Data: 41d1
>>>>> Kernel driver in use: xhci_hcd
>>>>>
>>>>> 00:1a.0 Encryption controller: Intel Corporation Atom Processor
>>>>> Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>> 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 262
>>>>> Region 0: Memory at 90600000 (32-bit, non-prefetchable) [size=1M]
>>>>> Region 1: Memory at 90500000 (32-bit, non-prefetchable) [size=1M]
>>>>> 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: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>>> Address: fee0300c  Data: 4122
>>>>> Kernel driver in use: mei_txe
>>>>>
>>>>> 00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>> Series High Definition Audio Controller (rev 0e)
>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>> 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 264
>>>>> Region 0: Memory at 90710000 (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: 00000000fee0300c  Data: 4182
>>>>> Kernel driver in use: snd_hda_intel
>>>>>
>>>>> 00:1c.0 PCI bridge: Intel Corporation Device 0f48 (rev 0e) (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: 00001000-00001fff
>>>>> Memory behind bridge: 90400000-904fffff
>>>>> Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
>>>>> 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
>>>>> ExtTag- RBE+
>>>>> 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 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s
>>>>> <512ns, L1 <4us
>>>>> ClockPM- Surprise- LLActRep+ BwNot+
>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR-, OBFF Not
>>>>> Supported ARIFwd-
>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF
>>>>> Disabled ARIFwd-
>>>>> LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
>>>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>> ComplianceSOS-
>>>>>  Compliance De-emphasis: -6dB
>>>>> LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-,
>>>>> EqualizationPhase1-
>>>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>> Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
>>>>> Address: 00000000  Data: 0000
>>>>> Capabilities: [90] Subsystem: Hewlett-Packard Company Device 8023
>>>>> Capabilities: [a0] 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-
>>>>> Kernel driver in use: pcieport
>>>>>
>>>>> 00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>>> Series Power Control Unit (rev 0e)
>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>> 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=0c <?>
>>>>> Kernel driver in use: lpc_ich
>>>>>
>>>>> 00:1f.3 SMBus: Intel Corporation Device 0f12 (rev 0e)
>>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>>> 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 B routed to IRQ 255
>>>>> Region 0: Memory at 90718000 (32-bit, non-prefetchable) [size=32]
>>>>> Region 4: I/O ports at 2000 [size=32]
>>>>> 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-
>>>>>
>>>>> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE
>>>>> PCIe Wireless Network Adapter
>>>>> Subsystem: Hewlett-Packard Company Device 2231
>>>>> 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 16
>>>>> Region 0: I/O ports at 1000 [size=256]
>>>>> Region 2: Memory at 90400000 (64-bit, non-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: 0000000000000000  Data: 0000
>>>>> Capabilities: [70] Express (v2) Endpoint, MSI 00
>>>>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, 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 512 bytes
>>>>> DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
>>>>> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency
>>>>> L0s <512ns, L1 <64us
>>>>> ClockPM+ Surprise- LLActRep- BwNot-
>>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR+, OBFF
>>>>> Via message/WAKE#
>>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+, LTR+, OBFF Disabled
>>>>> LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
>>>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>>> ComplianceSOS-
>>>>>  Compliance De-emphasis: -6dB
>>>>> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,
>>>>> EqualizationPhase1-
>>>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>>> Capabilities: [100 v2] 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: 0d, GenCap+ CGenEn- ChkCap+ ChkEn-
>>>>> Capabilities: [140 v1] Device Serial Number 00-23-b7-fe-ff-4c-e0-00
>>>>> Capabilities: [150 v1] Latency Tolerance Reporting
>>>>> Max snoop latency: 71680ns
>>>>> Max no snoop latency: 71680ns
>>>>> Capabilities: [158 v1] L1 PM Substates
>>>>> L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
>>>>>   PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
>>>>> Kernel driver in use: rtl8723be
>>>>>
>>>>>
>>>>> cat /proc/scsi/scsi
>>>>> Attached devices:
>>>>> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>>>>>   Vendor: Generic- Model: SD/MMC/MS PRO    Rev: 1.00
>>>>>   Type:   Direct-Access                    ANSI  SCSI revision: 04
>>>>>
>>>>>
>>>>> ls /proc
>>>>> 1     12    14    1667  1745  18    1963  2345  292   35    470   55
>>>>> 7201  asound     execdomains  kmsg        pagetypeinfo   sysvipc
>>>>> 10    1218  1410  1685  1761  1804  2     2388  296   3573  471   554
>>>>> 728   buddyinfo  fb           kpagecount  partitions     thread-self
>>>>> 1020  125   142   1687  1764  1805  20    24    3     359   473   56
>>>>> 755   bus        filesystems  kpageflags  sched_debug    timer_list
>>>>> 1025  126   1420  1690  1767  1818  21    25    30    3623  474   57
>>>>> 76    cgroups    fs           loadavg     schedstat      timer_stats
>>>>> 1032  127   1423  17    1769  1828  2169  2528  31    378   485   585
>>>>> 77    cmdline    interrupts   locks       scsi           tty
>>>>> 1033  128   143   1701  1771  1853  2187  254   3181  3822  5     606
>>>>> 7886  consoles   iomem        mdstat      self           uptime
>>>>> 1038  129   1444  1710  1772  1876  2197  26    33    39    509   654
>>>>> 8     cpuinfo    ioports      meminfo     slabinfo       version
>>>>> 1042  13    1485  1718  1781  1883  2198  2670  3309  3932  516   655
>>>>> 8743  crypto     irq          misc        softirqs       vmallocinfo
>>>>> 1069  130   15    1722  1787  1893  22    2672  34    40    53    695
>>>>> 9     devices    kallsyms     modules     stat           vmstat
>>>>> 1070  131   1568  1725  1789  1896  2202  27    3419  41    539   7
>>>>> 9040  diskstats  kcore        mounts      swaps          zoneinfo
>>>>> 11    132   1645  1727  1792  19    2248  28    3433  468   542   709
>>>>> 9056  dma        keys         mtrr        sys
>>>>> 1144  1331  1655  1732  1796  1905  23    29    3437  469   5421  715
>>>>> acpi  driver     key-users    net         sysrq-trigger
>>>>> --
>>>>> To unsubscribe from this list: send the line "unsubscribe linux-input" in
>>>>> the body of a message to majordomo@vger.kernel.org
>>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply

* Re: PROBLEM: [HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a hardware click
From: Amordea Whiteoak @ 2014-12-08 17:14 UTC (permalink / raw)
  To: Benjamin Tissoires; +Cc: linux-input, Peter Hutterer, Andrew Duggan
In-Reply-To: <CAN+gG=E+8277zg3LLW-eFWZb8bNyU_Umf9M2w6+t7Y3sSkkSFg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 34730 bytes --]

There may be a thing I am failing to understand about dmesg here, but
a grep through both dmesg and /var/log/dmesg yielded no hits on
"i2c_hid.debug=1". I did find plenty of hits on just "i2c_hid", which
yielded several repetitive lines of what appears to be various
modules. Please let me know if there is something I am failing to
understand here, but I could not find the requested phrase in my
dmesg.

I do have the hid-recorder output though, which I am attaching here.
This time I used a non-conductive pen to only generate clicks without
all the positioning data piling in on top. This is a recording of two
left clicks.

If there is anything else I can provide, please let me know.

Thank you for helping with this bug. :)

On Mon, Dec 8, 2014 at 11:44 AM, Benjamin Tissoires
<benjamin.tissoires@gmail.com> wrote:
> Hi Amordea,
>
> On Mon, Dec 8, 2014 at 11:20 AM, Amordea Whiteoak <amordea@gmail.com> wrote:
>> My apologies if my bug report was inadequate. It is the first upstream
>> report I've ever filed, though I did attempt to give all the
>> information they requested to the best of my ability.
>
> Oh, no, I was not complaining about your way of reporting the bug. I
> know that it can be difficult for users to report _and_ provide all
> the necessary information unless you already know a little bit about
> the communities, how they work and what tool they use.
> My complain was more that the way it was triaged: try an upstream
> kernel; oh, does not work; send it upstream because it's a "poor
> driver implementation". Whereas here, there may be any part of the
> stack involved unless we look at the evemu-record (which is the output
> of the kernel BTW). And saying that the driver is badly designed
> really does not help...
> Last, the "meta bug" they have is either a problem in the kernel
> drivers they ship, or a not up to date Xorg stack. FWIW, I don't think
> we have this on Fedora.
>
> Anyway, thanks for the explanations that you give in the next
> paragraph, it gives a more comprehensive bug report :)
>
>>
>> If it helps: to be clear about the design of this clickpad, it is one
>> where the entire pad is touch-sensitive, even the area over the
>> hardware click buttons which are on the bottom. The entire pad is one
>> piece, so the pad itself shifts when you click a button. The
>> malfunction occurs whenever any of these buttons are clicked, but the
>> simulated clicks (tapping on the pad) behave adequately and do not
>> cause any mouse input lock-ups. The malfunction itself causes ALL
>> subsequent mouse clicks from any source (including a USB mouse) to
>> only act in the spot where the first hardware click from the clickpad
>> was performed and cannot be adjusted until the clickpad has been
>> disabled (xinput disable <id>). The hardware buttons on the clickpad
>> itself do not register as clicks at all, they only cause all mouse
>> input to malfunction as previously described.
>>
>> I am enclosing the requested evemu-record data. This is a recording of
>> my clicking the left hardware click button three times in rapid
>> succession, but failure generally occurs after the first click.
>
> Many thanks for the logs. So here, I can see that when you click on
> the touchpad, both BTN_LEFT and BTN_RIGHT are emitted, but they are
> never released :) I do not see either the 2 other clicks.
> So yes, here the driver is at fault and misses to release the clicks.
> This infers the cross-device problem in X BTW.
>
>>
>> A curious behavior I noticed in the process of getting this recording
>> is that on the first click, I received a pasted text line in my
>> terminal. I could not reproduce this behavior by doing an
>> enable/disable cycle on the trackpad, but to confirm I rebooted a few
>> times to test and sure enough, the very first click each boot triggers
>> a clipboard paste event.
>
> You must have the middle button emulation enabled in Xorg (hitting
> both left and right button will trigger a middle button). So when we
> will be able to fix this bug, the spurious middle click should
> disappear.
>
>>
>> If there is any more information I can provide, please let me know.
>
> Ideally, I'd like to punt this one to Andrew, but I think we would be
> grateful if you could also provide 2 more things:
> - the dmesg when "i2c_hid.debug=1" is appended to the kernel boot line
> (without the quotes)
> - the hid-recorder output when you trigger the bug
>
> hid-recorder should be installed from sources in Ubuntu I guess:
> http://bentiss.github.io/hid-replay-docs/
>
> The hid-recorder output might not be absolutely needed, so as long as
> we have the dmesg with i2c_hid.debug=1, we should be fine.
>
> Cheers,
> Benjamin
>
>>
>> Thank you!
>>
>> On Mon, Dec 8, 2014 at 10:01 AM, Benjamin Tissoires
>> <benjamin.tissoires@gmail.com> wrote:
>>> Hi Amordea,
>>>
>>> I must say, the bug triaging is worse and worse with ubuntu :(
>>>
>>> From the bug description, I can not tell if the problem lies in the
>>> kernel, or if it is the synaptics input driver or the xserver which is
>>> in fault. I would be tempted to say that the problem lies in the upper
>>> layers given the cross-devices problem.
>>>
>>> Anyway, to be able to understand the problem, we will need to get an
>>> evemu-record output of your device when you are reproducing the bug.
>>> You can find evemu in your distribution channels, or here:
>>> http://www.freedesktop.org/wiki/Evemu/
>>>
>>> Given that you have an hid-rmi/i2c device, I am adding Andrew in CC,
>>> and Peter for the upper layers if there is anything wrong there.
>>>
>>> Cheers,
>>> Benjamin
>>>
>>> On Sun, Dec 7, 2014 at 5:50 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>>> Original Bug Report:
>>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398533
>>>>
>>>> Bug Description: After clicking once at the bottom of my clickpad on
>>>> either button, if I move my cursor elsewhere on the screen, and then
>>>> subsequently click again (with either clickpad or external mouse this
>>>> time) it registers a click at the location where my cursor icon was
>>>> originally. I can continue to move my cursor anywhere on the screen,
>>>> and it still registers the click in the original location.
>>>>
>>>>
>>>> cat /proc/version
>>>> Linux version 3.18.0-031800rc7-generic (apw@gomeisa) (gcc version
>>>> 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201411302035 SMP Mon Dec 1
>>>> 01:36:38 UTC 2014
>>>>
>>>>
>>>> lsb_release -rd
>>>> Description: Ubuntu 14.10
>>>> Release: 14.10
>>>>
>>>>
>>>> sh /usr/src/linux-headers-3.18.0-031800rc7/scripts/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 woprjr 3.18.0-031800rc7-generic #201411302035 SMP Mon Dec 1
>>>> 01:36:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>>>>
>>>> Gnu C
>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux:
>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: 20:
>>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: ld: not
>>>> found
>>>> binutils
>>>> util-linux             2.25.1
>>>> mount                  debug
>>>> module-init-tools      18
>>>> e2fsprogs              1.42.10
>>>> PPP                    2.4.5
>>>> Linux C Library        2.19
>>>> Dynamic linker (ldd)   2.19
>>>> Procps                 3.3.9
>>>> Net-tools              1.60
>>>> Kbd                    1.15.5
>>>> Sh-utils               8.23
>>>> wireless-tools         30
>>>> Modules Loaded         snd_hda_codec_hdmi snd_hda_codec_realtek
>>>> snd_hda_codec_generic ctr ccm joydev hp_wmi hid_rmi sparse_keymap
>>>> rfcomm bnep arc4 rtl8723be btcoexist rtl8723_common intel_rapl
>>>> uvcvideo rtl_pci intel_soc_dts_thermal intel_powerclamp
>>>> videobuf2_vmalloc videobuf2_memops coretemp rtlwifi videobuf2_core
>>>> v4l2_common videodev mac80211 media kvm cfg80211 btusb
>>>> crct10dif_pclmul crc32_pclmul bluetooth ghash_clmulni_intel serio_raw
>>>> cryptd wmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
>>>> snd_seq_midi snd_seq_midi_event snd_rawmidi snd_soc_rt5640
>>>> snd_soc_rl6231 snd_soc_core snd_compress dw_dmac i915
>>>> snd_pcm_dmaengine dw_dmac_core snd_seq int3400_thermal int3403_thermal
>>>> acpi_thermal_rel nls_iso8859_1 snd_pcm i2c_hid video
>>>> intel_smartconnect drm_kms_helper hid drm rfkill_gpio snd_seq_device
>>>> i2c_designware_platform i2c_algo_bit snd_soc_sst_acpi 8250_dw
>>>> snd_timer i2c_designware_core hp_wireless shpchp spi_pxa2xx_platform
>>>> snd pwm_lpss_platform lpc_ich mac_hid mei_txe pwm_lpss iosf_mbi mei
>>>> soundcore parport_pc ppdev lp parport uas usb_storage mmc_block
>>>> sdhci_acpi sdhci
>>>>
>>>>
>>>> cat /proc/cpuinfo
>>>> processor : 0
>>>> vendor_id : GenuineIntel
>>>> cpu family : 6
>>>> model : 55
>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>> stepping : 8
>>>> microcode : 0x829
>>>> cpu MHz : 499.741
>>>> cache size : 1024 KB
>>>> physical id : 0
>>>> siblings : 2
>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>> flexpriority ept vpid tsc_adjust smep erms
>>>> bugs :
>>>> bogomips : 4326.40
>>>> 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 : 55
>>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>>> stepping : 8
>>>> microcode : 0x829
>>>> cpu MHz : 499.741
>>>> cache size : 1024 KB
>>>> physical id : 0
>>>> siblings : 2
>>>> core id : 1
>>>> cpu cores : 2
>>>> apicid : 2
>>>> initial apicid : 2
>>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>>> flexpriority ept vpid tsc_adjust smep erms
>>>> bugs :
>>>> bogomips : 4326.40
>>>> clflush size : 64
>>>> cache_alignment : 64
>>>> address sizes : 36 bits physical, 48 bits virtual
>>>> power management:
>>>>
>>>>
>>>> cat /proc/modules
>>>> snd_hda_codec_hdmi 52670 1 - Live 0x0000000000000000
>>>> snd_hda_codec_realtek 80420 1 - Live 0x0000000000000000
>>>> snd_hda_codec_generic 69995 1 snd_hda_codec_realtek, Live 0x0000000000000000
>>>> ctr 13193 1 - Live 0x0000000000000000
>>>> ccm 17856 1 - Live 0x0000000000000000
>>>> joydev 17587 0 - Live 0x0000000000000000
>>>> hp_wmi 14017 0 - Live 0x0000000000000000
>>>> hid_rmi 18060 0 - Live 0x0000000000000000
>>>> sparse_keymap 13890 1 hp_wmi, Live 0x0000000000000000
>>>> rfcomm 75066 8 - Live 0x0000000000000000
>>>> bnep 23980 2 - Live 0x0000000000000000
>>>> arc4 12573 2 - Live 0x0000000000000000
>>>> rtl8723be 96097 0 - Live 0x0000000000000000
>>>> btcoexist 51822 1 rtl8723be, Live 0x0000000000000000
>>>> rtl8723_common 23662 1 rtl8723be, Live 0x0000000000000000
>>>> intel_rapl 19196 0 - Live 0x0000000000000000
>>>> uvcvideo 86723 0 - Live 0x0000000000000000
>>>> rtl_pci 27417 1 rtl8723be, Live 0x0000000000000000
>>>> intel_soc_dts_thermal 13523 0 - Live 0x0000000000000000
>>>> intel_powerclamp 19099 0 - Live 0x0000000000000000
>>>> videobuf2_vmalloc 13216 1 uvcvideo, Live 0x0000000000000000
>>>> videobuf2_memops 13362 1 videobuf2_vmalloc, Live 0x0000000000000000
>>>> coretemp 13638 0 - Live 0x0000000000000000
>>>> rtlwifi 74744 2 rtl8723be,rtl_pci, Live 0x0000000000000000
>>>> videobuf2_core 51547 1 uvcvideo, Live 0x0000000000000000
>>>> v4l2_common 15715 1 videobuf2_core, Live 0x0000000000000000
>>>> videodev 163831 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
>>>> mac80211 697159 3 rtl8723be,rtl_pci,rtlwifi, Live 0x0000000000000000
>>>> media 22008 2 uvcvideo,videodev, Live 0x0000000000000000
>>>> kvm 475237 0 - Live 0x0000000000000000
>>>> cfg80211 520257 2 rtlwifi,mac80211, Live 0x0000000000000000
>>>> btusb 32691 0 - Live 0x0000000000000000
>>>> crct10dif_pclmul 14268 0 - Live 0x0000000000000000
>>>> crc32_pclmul 13180 0 - Live 0x0000000000000000
>>>> bluetooth 486890 22 rfcomm,bnep,btusb, Live 0x0000000000000000
>>>> ghash_clmulni_intel 13230 0 - Live 0x0000000000000000
>>>> serio_raw 13483 0 - Live 0x0000000000000000
>>>> cryptd 20531 1 ghash_clmulni_intel, Live 0x0000000000000000
>>>> wmi 19379 1 hp_wmi, Live 0x0000000000000000
>>>> snd_hda_intel 30824 1 - Live 0x0000000000000000
>>>> snd_hda_controller 32234 1 snd_hda_intel, Live 0x0000000000000000
>>>> snd_hda_codec 144641 5
>>>> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,
>>>> Live 0x0000000000000000
>>>> snd_hwdep 17709 1 snd_hda_codec, Live 0x0000000000000000
>>>> snd_seq_midi 13564 0 - Live 0x0000000000000000
>>>> snd_seq_midi_event 14899 1 snd_seq_midi, Live 0x0000000000000000
>>>> snd_rawmidi 31197 1 snd_seq_midi, Live 0x0000000000000000
>>>> snd_soc_rt5640 93325 0 - Live 0x0000000000000000
>>>> snd_soc_rl6231 13037 1 snd_soc_rt5640, Live 0x0000000000000000
>>>> snd_soc_core 207780 1 snd_soc_rt5640, Live 0x0000000000000000
>>>> snd_compress 19395 1 snd_soc_core, Live 0x0000000000000000
>>>> dw_dmac 12835 0 - Live 0x0000000000000000
>>>> i915 1031996 2 - Live 0x0000000000000000
>>>> snd_pcm_dmaengine 15229 1 snd_soc_core, Live 0x0000000000000000
>>>> dw_dmac_core 28558 1 dw_dmac, Live 0x0000000000000000
>>>> snd_seq 63540 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
>>>> int3400_thermal 13040 0 - Live 0x0000000000000000
>>>> int3403_thermal 13255 0 - Live 0x0000000000000000
>>>> acpi_thermal_rel 13807 1 int3400_thermal, Live 0x0000000000000000
>>>> nls_iso8859_1 12713 2 - Live 0x0000000000000000
>>>> snd_pcm 106273 7
>>>> snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec,snd_soc_rt5640,snd_soc_core,snd_pcm_dmaengine,
>>>> Live 0x0000000000000000
>>>> i2c_hid 19065 0 - Live 0x0000000000000000
>>>> video 20649 1 i915, Live 0x0000000000000000
>>>> intel_smartconnect 12637 0 - Live 0x0000000000000000
>>>> drm_kms_helper 99802 1 i915, Live 0x0000000000000000
>>>> hid 110572 2 hid_rmi,i2c_hid, Live 0x0000000000000000
>>>> drm 323675 4 i915,drm_kms_helper, Live 0x0000000000000000
>>>> rfkill_gpio 12761 0 - Live 0x0000000000000000
>>>> snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000
>>>> i2c_designware_platform 13025 0 - Live 0x0000000000000000
>>>> i2c_algo_bit 13564 1 i915, Live 0x0000000000000000
>>>> snd_soc_sst_acpi 13007 0 - Live 0x0000000000000000
>>>> 8250_dw 13474 0 - Live 0x0000000000000000
>>>> snd_timer 30118 2 snd_seq,snd_pcm, Live 0x0000000000000000
>>>> i2c_designware_core 14990 1 i2c_designware_platform, Live 0x0000000000000000
>>>> hp_wireless 12637 0 - Live 0x0000000000000000
>>>> shpchp 37216 0 - Live 0x0000000000000000
>>>> spi_pxa2xx_platform 23256 0 - Live 0x0000000000000000
>>>> snd 84025 15 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_soc_core,snd_compress,snd_seq,snd_pcm,snd_seq_device,snd_timer,
>>>> Live 0x0000000000000000
>>>> pwm_lpss_platform 12703 0 - Live 0x0000000000000000
>>>> lpc_ich 21176 0 - Live 0x0000000000000000
>>>> mac_hid 13275 0 - Live 0x0000000000000000
>>>> mei_txe 19808 0 - Live 0x0000000000000000
>>>> pwm_lpss 13281 1 pwm_lpss_platform, Live 0x0000000000000000
>>>> iosf_mbi 13865 1 intel_soc_dts_thermal, Live 0x0000000000000000
>>>> mei 88473 1 mei_txe, Live 0x0000000000000000
>>>> soundcore 15091 2 snd_hda_codec,snd, Live 0x0000000000000000
>>>> parport_pc 32909 0 - Live 0x0000000000000000
>>>> ppdev 17711 0 - Live 0x0000000000000000
>>>> lp 17799 0 - Live 0x0000000000000000
>>>> parport 42481 3 parport_pc,ppdev,lp, Live 0x0000000000000000
>>>> uas 22673 0 - Live 0x0000000000000000
>>>> usb_storage 67010 2 uas, Live 0x0000000000000000
>>>> mmc_block 36596 4 - Live 0x0000000000000000
>>>> sdhci_acpi 13502 0 - Live 0x0000000000000000
>>>> sdhci 43929 1 sdhci_acpi, Live 0x0000000000000000
>>>>
>>>>
>>>> /proc/ioports
>>>> 0000-006f : PCI Bus 0000:00
>>>>   0000-001f : dma1
>>>>   0020-0021 : pic1
>>>>   0040-0043 : timer0
>>>>   0050-0053 : timer1
>>>>   0060-0060 : keyboard
>>>>   0062-0062 : PNP0C09:00
>>>>     0062-0062 : EC data
>>>>   0064-0064 : keyboard
>>>>   0066-0066 : PNP0C09:00
>>>>     0066-0066 : EC cmd
>>>> 0070-0077 : rtc0
>>>> 0078-0cf7 : PCI Bus 0000:00
>>>>   0080-008f : dma page reg
>>>>   00a0-00a1 : pic2
>>>>   00c0-00df : dma2
>>>>   00f0-00ff : fpu
>>>>   03f8-03ff : serial
>>>>   0400-047f : pnp 00:01
>>>>     0400-0403 : ACPI PM1a_EVT_BLK
>>>>     0404-0405 : ACPI PM1a_CNT_BLK
>>>>     0408-040b : ACPI PM_TMR
>>>>     0420-042f : ACPI GPE0_BLK
>>>>     0430-0433 : iTCO_wdt
>>>>     0450-0450 : ACPI PM2_CNT_BLK
>>>>     0460-047f : iTCO_wdt
>>>>   0500-05fe : pnp 00:01
>>>>   0600-061f : pnp 00:01
>>>>   0680-069f : pnp 00:01
>>>> 0cf8-0cff : PCI conf1
>>>> 0d00-ffff : PCI Bus 0000:00
>>>>   1000-1fff : PCI Bus 0000:01
>>>>     1000-10ff : 0000:01:00.0
>>>>       1000-10ff : rtl_pci
>>>>   2000-201f : 0000:00:1f.3
>>>>   2050-2057 : 0000:00:02.0
>>>>
>>>>
>>>> cat /proc/iomem
>>>> 00000000-00000fff : reserved
>>>> 00001000-0006efff : System RAM
>>>> 0006f000-0006ffff : ACPI Non-volatile Storage
>>>> 00070000-00084fff : System RAM
>>>> 00085000-00086fff : reserved
>>>> 00087000-00087fff : System RAM
>>>> 00088000-0009ffff : reserved
>>>> 000a0000-000bffff : PCI Bus 0000:00
>>>> 000c0000-000dffff : PCI Bus 0000:00
>>>> 000e0000-000fffff : PCI Bus 0000:00
>>>>   000f0000-000fffff : System ROM
>>>> 00100000-1effffff : System RAM
>>>>   02000000-027b8537 : Kernel code
>>>>   027b8538-02d2123f : Kernel data
>>>>   02e87000-02fcffff : Kernel bss
>>>> 1f000000-1f0fffff : reserved
>>>> 1f100000-1fffffff : System RAM
>>>> 20000000-200fffff : reserved
>>>> 20100000-75867fff : System RAM
>>>> 75868000-75892fff : reserved
>>>> 75893000-78892fff : System RAM
>>>> 78893000-78922fff : reserved
>>>> 78923000-791a3fff : reserved
>>>> 791a4000-792a2fff : ACPI Non-volatile Storage
>>>> 792a3000-792e2fff : ACPI Tables
>>>> 792e3000-79ffffff : System RAM
>>>> 7a000000-7affffff : RAM buffer
>>>> 7b000000-7effffff : reserved
>>>>   7b000000-7effffff : Graphics Stolen Memory
>>>> 80000000-907ffffe : PCI Bus 0000:00
>>>>   80000000-8fffffff : 0000:00:02.0
>>>>   90000000-903fffff : 0000:00:02.0
>>>>   90400000-904fffff : PCI Bus 0000:01
>>>>     90400000-90403fff : 0000:01:00.0
>>>>       90400000-90403fff : rtl_pci
>>>>   90500000-905fffff : 0000:00:1a.0
>>>>     90500000-905fffff : mei_txe
>>>>   90600000-906fffff : 0000:00:1a.0
>>>>     90600000-906fffff : mei_txe
>>>>   90700000-9070ffff : 0000:00:14.0
>>>>     90700000-9070ffff : xhci-hcd
>>>>   90710000-90713fff : 0000:00:1b.0
>>>>     90710000-90713fff : ICH HD audio
>>>>   90718000-9071801f : 0000:00:1f.3
>>>> 90800000-90800fff : 80860F14:01
>>>>   90800000-90800fff : 80860F14:01
>>>> 90803000-90803fff : 80860F41:00
>>>>   90803000-90803fff : 80860F41:00
>>>> 90804000-90807fff : INTL9C60:01
>>>>   90804000-90807fff : INTL9C60:01
>>>> 90c00000-90ffffff : PCI Bus 0000:00
>>>> e0000000-e3ffffff : PCI MMCONFIG 0000 [bus 00-3f]
>>>>   e00000d0-e00000db : INT33BD:00
>>>>   e00f8000-e00f8fff : reserved
>>>> fec00000-fec003ff : IOAPIC 0
>>>> fed00000-fed003ff : HPET 0
>>>>   fed00000-fed003ff : PNP0103:00
>>>> fed01000-fed01fff : reserved
>>>>   fed01000-fed01fff : pnp 00:03
>>>> fed03000-fed03fff : pnp 00:03
>>>>   fed03008-fed0300c : iTCO_wdt
>>>> fed04000-fed04fff : pnp 00:03
>>>> fed05000-fed057ff : INT3401:00
>>>> fed08000-fed08fff : pnp 00:03
>>>> fed0c000-fed0cfff : INT33FC:00
>>>>   fed0c000-fed0cfff : INT33FC:00
>>>> fed0d000-fed0dfff : INT33FC:01
>>>>   fed0d000-fed0dfff : INT33FC:01
>>>> fed0e000-fed0efff : INT33FC:02
>>>>   fed0e000-fed0efff : INT33FC:02
>>>> fed1c000-fed1cfff : pnp 00:03
>>>> fed40000-fed44fff : pnp 00:01
>>>> fee00000-feefffff : pnp 00:03
>>>>   fee00000-fee00fff : Local APIC
>>>> fef00000-feffffff : pnp 00:03
>>>> ff000000-ffffffff : INT0800:00
>>>>   ffb80000-ffffffff : reserved
>>>>
>>>>
>>>> sudo lspci -vvv
>>>> 00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>> Series SoC Transaction Register (rev 0e)
>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>> 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
>>>> Kernel driver in use: iosf_mbi_pci
>>>>
>>>> 00:02.0 VGA compatible controller: Intel Corporation Atom Processor
>>>> Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA
>>>> controller])
>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>> 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 263
>>>> Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
>>>> Region 2: Memory at 80000000 (32-bit, prefetchable) [size=256M]
>>>> Region 4: I/O ports at 2050 [size=8]
>>>> Expansion ROM at <unassigned> [disabled]
>>>> 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: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>> Address: fee0300c  Data: 4162
>>>> Capabilities: [b0] Vendor Specific Information: Len=07 <?>
>>>> Kernel driver in use: i915
>>>>
>>>> 00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>> Series USB xHCI (rev 0e) (prog-if 30 [XHCI])
>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>> 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 261
>>>> Region 0: Memory at 90700000 (64-bit, non-prefetchable) [size=64K]
>>>> Capabilities: [70] 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: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>>>> Address: 00000000fee0300c  Data: 41d1
>>>> Kernel driver in use: xhci_hcd
>>>>
>>>> 00:1a.0 Encryption controller: Intel Corporation Atom Processor
>>>> Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>> 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 262
>>>> Region 0: Memory at 90600000 (32-bit, non-prefetchable) [size=1M]
>>>> Region 1: Memory at 90500000 (32-bit, non-prefetchable) [size=1M]
>>>> 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: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>>> Address: fee0300c  Data: 4122
>>>> Kernel driver in use: mei_txe
>>>>
>>>> 00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>> Series High Definition Audio Controller (rev 0e)
>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>> 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 264
>>>> Region 0: Memory at 90710000 (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: 00000000fee0300c  Data: 4182
>>>> Kernel driver in use: snd_hda_intel
>>>>
>>>> 00:1c.0 PCI bridge: Intel Corporation Device 0f48 (rev 0e) (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: 00001000-00001fff
>>>> Memory behind bridge: 90400000-904fffff
>>>> Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
>>>> 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
>>>> ExtTag- RBE+
>>>> 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 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s
>>>> <512ns, L1 <4us
>>>> ClockPM- Surprise- LLActRep+ BwNot+
>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR-, OBFF Not
>>>> Supported ARIFwd-
>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF
>>>> Disabled ARIFwd-
>>>> LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
>>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>> ComplianceSOS-
>>>>  Compliance De-emphasis: -6dB
>>>> LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-,
>>>> EqualizationPhase1-
>>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>> Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
>>>> Address: 00000000  Data: 0000
>>>> Capabilities: [90] Subsystem: Hewlett-Packard Company Device 8023
>>>> Capabilities: [a0] 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-
>>>> Kernel driver in use: pcieport
>>>>
>>>> 00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>>> Series Power Control Unit (rev 0e)
>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>> 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=0c <?>
>>>> Kernel driver in use: lpc_ich
>>>>
>>>> 00:1f.3 SMBus: Intel Corporation Device 0f12 (rev 0e)
>>>> Subsystem: Hewlett-Packard Company Device 8023
>>>> 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 B routed to IRQ 255
>>>> Region 0: Memory at 90718000 (32-bit, non-prefetchable) [size=32]
>>>> Region 4: I/O ports at 2000 [size=32]
>>>> 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-
>>>>
>>>> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE
>>>> PCIe Wireless Network Adapter
>>>> Subsystem: Hewlett-Packard Company Device 2231
>>>> 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 16
>>>> Region 0: I/O ports at 1000 [size=256]
>>>> Region 2: Memory at 90400000 (64-bit, non-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: 0000000000000000  Data: 0000
>>>> Capabilities: [70] Express (v2) Endpoint, MSI 00
>>>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, 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 512 bytes
>>>> DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
>>>> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency
>>>> L0s <512ns, L1 <64us
>>>> ClockPM+ Surprise- LLActRep- BwNot-
>>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR+, OBFF
>>>> Via message/WAKE#
>>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+, LTR+, OBFF Disabled
>>>> LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
>>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>>> ComplianceSOS-
>>>>  Compliance De-emphasis: -6dB
>>>> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,
>>>> EqualizationPhase1-
>>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>>> Capabilities: [100 v2] 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: 0d, GenCap+ CGenEn- ChkCap+ ChkEn-
>>>> Capabilities: [140 v1] Device Serial Number 00-23-b7-fe-ff-4c-e0-00
>>>> Capabilities: [150 v1] Latency Tolerance Reporting
>>>> Max snoop latency: 71680ns
>>>> Max no snoop latency: 71680ns
>>>> Capabilities: [158 v1] L1 PM Substates
>>>> L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
>>>>   PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
>>>> Kernel driver in use: rtl8723be
>>>>
>>>>
>>>> cat /proc/scsi/scsi
>>>> Attached devices:
>>>> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>>>>   Vendor: Generic- Model: SD/MMC/MS PRO    Rev: 1.00
>>>>   Type:   Direct-Access                    ANSI  SCSI revision: 04
>>>>
>>>>
>>>> ls /proc
>>>> 1     12    14    1667  1745  18    1963  2345  292   35    470   55
>>>> 7201  asound     execdomains  kmsg        pagetypeinfo   sysvipc
>>>> 10    1218  1410  1685  1761  1804  2     2388  296   3573  471   554
>>>> 728   buddyinfo  fb           kpagecount  partitions     thread-self
>>>> 1020  125   142   1687  1764  1805  20    24    3     359   473   56
>>>> 755   bus        filesystems  kpageflags  sched_debug    timer_list
>>>> 1025  126   1420  1690  1767  1818  21    25    30    3623  474   57
>>>> 76    cgroups    fs           loadavg     schedstat      timer_stats
>>>> 1032  127   1423  17    1769  1828  2169  2528  31    378   485   585
>>>> 77    cmdline    interrupts   locks       scsi           tty
>>>> 1033  128   143   1701  1771  1853  2187  254   3181  3822  5     606
>>>> 7886  consoles   iomem        mdstat      self           uptime
>>>> 1038  129   1444  1710  1772  1876  2197  26    33    39    509   654
>>>> 8     cpuinfo    ioports      meminfo     slabinfo       version
>>>> 1042  13    1485  1718  1781  1883  2198  2670  3309  3932  516   655
>>>> 8743  crypto     irq          misc        softirqs       vmallocinfo
>>>> 1069  130   15    1722  1787  1893  22    2672  34    40    53    695
>>>> 9     devices    kallsyms     modules     stat           vmstat
>>>> 1070  131   1568  1725  1789  1896  2202  27    3419  41    539   7
>>>> 9040  diskstats  kcore        mounts      swaps          zoneinfo
>>>> 11    132   1645  1727  1792  19    2248  28    3433  468   542   709
>>>> 9056  dma        keys         mtrr        sys
>>>> 1144  1331  1655  1732  1796  1905  23    29    3437  469   5421  715
>>>> acpi  driver     key-users    net         sysrq-trigger
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe linux-input" in
>>>> the body of a message to majordomo@vger.kernel.org
>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: clickpad.hid --]
[-- Type: application/octet-stream, Size: 1000 bytes --]

D: 0
R: 133 05 01 09 02 a1 01 85 01 09 01 a1 00 05 09 19 01 29 02 15 00 25 01 75 01 95 02 81 02 95 06 81 01 05 01 09 30 09 31 15 81 25 7f 75 08 95 02 81 06 c0 c0 06 00 ff 09 01 a1 01 85 09 09 02 15 00 26 ff 00 75 08 95 14 91 02 85 0a 09 03 15 00 26 ff 00 75 08 95 14 91 02 85 0b 09 04 15 00 26 ff 00 75 08 95 27 81 02 85 0c 09 05 15 00 26 ff 00 75 08 95 27 81 02 85 0f 09 06 15 00 26 ff 00 75 08 95 01 b1 02 c0
N: SYN1EDE:00 06CB:7442
P: 
I: 18 06cb 7442
D: 0
E: 0.000000 40 0c 20 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
E: 0.178762 40 0c 20 84 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
E: 0.481771 40 0c 20 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
E: 0.703980 40 0c 20 84 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

^ permalink raw reply

* Re: PROBLEM: [HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a hardware click
From: Benjamin Tissoires @ 2014-12-08 16:44 UTC (permalink / raw)
  To: Amordea Whiteoak; +Cc: linux-input, Peter Hutterer, Andrew Duggan
In-Reply-To: <CALmnu0Y+n0qGs4jgC=YGKRbBSyVB5B4s_Oafsmvbk6M=67okuw@mail.gmail.com>

Hi Amordea,

On Mon, Dec 8, 2014 at 11:20 AM, Amordea Whiteoak <amordea@gmail.com> wrote:
> My apologies if my bug report was inadequate. It is the first upstream
> report I've ever filed, though I did attempt to give all the
> information they requested to the best of my ability.

Oh, no, I was not complaining about your way of reporting the bug. I
know that it can be difficult for users to report _and_ provide all
the necessary information unless you already know a little bit about
the communities, how they work and what tool they use.
My complain was more that the way it was triaged: try an upstream
kernel; oh, does not work; send it upstream because it's a "poor
driver implementation". Whereas here, there may be any part of the
stack involved unless we look at the evemu-record (which is the output
of the kernel BTW). And saying that the driver is badly designed
really does not help...
Last, the "meta bug" they have is either a problem in the kernel
drivers they ship, or a not up to date Xorg stack. FWIW, I don't think
we have this on Fedora.

Anyway, thanks for the explanations that you give in the next
paragraph, it gives a more comprehensive bug report :)

>
> If it helps: to be clear about the design of this clickpad, it is one
> where the entire pad is touch-sensitive, even the area over the
> hardware click buttons which are on the bottom. The entire pad is one
> piece, so the pad itself shifts when you click a button. The
> malfunction occurs whenever any of these buttons are clicked, but the
> simulated clicks (tapping on the pad) behave adequately and do not
> cause any mouse input lock-ups. The malfunction itself causes ALL
> subsequent mouse clicks from any source (including a USB mouse) to
> only act in the spot where the first hardware click from the clickpad
> was performed and cannot be adjusted until the clickpad has been
> disabled (xinput disable <id>). The hardware buttons on the clickpad
> itself do not register as clicks at all, they only cause all mouse
> input to malfunction as previously described.
>
> I am enclosing the requested evemu-record data. This is a recording of
> my clicking the left hardware click button three times in rapid
> succession, but failure generally occurs after the first click.

Many thanks for the logs. So here, I can see that when you click on
the touchpad, both BTN_LEFT and BTN_RIGHT are emitted, but they are
never released :) I do not see either the 2 other clicks.
So yes, here the driver is at fault and misses to release the clicks.
This infers the cross-device problem in X BTW.

>
> A curious behavior I noticed in the process of getting this recording
> is that on the first click, I received a pasted text line in my
> terminal. I could not reproduce this behavior by doing an
> enable/disable cycle on the trackpad, but to confirm I rebooted a few
> times to test and sure enough, the very first click each boot triggers
> a clipboard paste event.

You must have the middle button emulation enabled in Xorg (hitting
both left and right button will trigger a middle button). So when we
will be able to fix this bug, the spurious middle click should
disappear.

>
> If there is any more information I can provide, please let me know.

Ideally, I'd like to punt this one to Andrew, but I think we would be
grateful if you could also provide 2 more things:
- the dmesg when "i2c_hid.debug=1" is appended to the kernel boot line
(without the quotes)
- the hid-recorder output when you trigger the bug

hid-recorder should be installed from sources in Ubuntu I guess:
http://bentiss.github.io/hid-replay-docs/

The hid-recorder output might not be absolutely needed, so as long as
we have the dmesg with i2c_hid.debug=1, we should be fine.

Cheers,
Benjamin

>
> Thank you!
>
> On Mon, Dec 8, 2014 at 10:01 AM, Benjamin Tissoires
> <benjamin.tissoires@gmail.com> wrote:
>> Hi Amordea,
>>
>> I must say, the bug triaging is worse and worse with ubuntu :(
>>
>> From the bug description, I can not tell if the problem lies in the
>> kernel, or if it is the synaptics input driver or the xserver which is
>> in fault. I would be tempted to say that the problem lies in the upper
>> layers given the cross-devices problem.
>>
>> Anyway, to be able to understand the problem, we will need to get an
>> evemu-record output of your device when you are reproducing the bug.
>> You can find evemu in your distribution channels, or here:
>> http://www.freedesktop.org/wiki/Evemu/
>>
>> Given that you have an hid-rmi/i2c device, I am adding Andrew in CC,
>> and Peter for the upper layers if there is anything wrong there.
>>
>> Cheers,
>> Benjamin
>>
>> On Sun, Dec 7, 2014 at 5:50 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>>> Original Bug Report:
>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398533
>>>
>>> Bug Description: After clicking once at the bottom of my clickpad on
>>> either button, if I move my cursor elsewhere on the screen, and then
>>> subsequently click again (with either clickpad or external mouse this
>>> time) it registers a click at the location where my cursor icon was
>>> originally. I can continue to move my cursor anywhere on the screen,
>>> and it still registers the click in the original location.
>>>
>>>
>>> cat /proc/version
>>> Linux version 3.18.0-031800rc7-generic (apw@gomeisa) (gcc version
>>> 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201411302035 SMP Mon Dec 1
>>> 01:36:38 UTC 2014
>>>
>>>
>>> lsb_release -rd
>>> Description: Ubuntu 14.10
>>> Release: 14.10
>>>
>>>
>>> sh /usr/src/linux-headers-3.18.0-031800rc7/scripts/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 woprjr 3.18.0-031800rc7-generic #201411302035 SMP Mon Dec 1
>>> 01:36:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>>>
>>> Gnu C
>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux:
>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: 20:
>>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: ld: not
>>> found
>>> binutils
>>> util-linux             2.25.1
>>> mount                  debug
>>> module-init-tools      18
>>> e2fsprogs              1.42.10
>>> PPP                    2.4.5
>>> Linux C Library        2.19
>>> Dynamic linker (ldd)   2.19
>>> Procps                 3.3.9
>>> Net-tools              1.60
>>> Kbd                    1.15.5
>>> Sh-utils               8.23
>>> wireless-tools         30
>>> Modules Loaded         snd_hda_codec_hdmi snd_hda_codec_realtek
>>> snd_hda_codec_generic ctr ccm joydev hp_wmi hid_rmi sparse_keymap
>>> rfcomm bnep arc4 rtl8723be btcoexist rtl8723_common intel_rapl
>>> uvcvideo rtl_pci intel_soc_dts_thermal intel_powerclamp
>>> videobuf2_vmalloc videobuf2_memops coretemp rtlwifi videobuf2_core
>>> v4l2_common videodev mac80211 media kvm cfg80211 btusb
>>> crct10dif_pclmul crc32_pclmul bluetooth ghash_clmulni_intel serio_raw
>>> cryptd wmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
>>> snd_seq_midi snd_seq_midi_event snd_rawmidi snd_soc_rt5640
>>> snd_soc_rl6231 snd_soc_core snd_compress dw_dmac i915
>>> snd_pcm_dmaengine dw_dmac_core snd_seq int3400_thermal int3403_thermal
>>> acpi_thermal_rel nls_iso8859_1 snd_pcm i2c_hid video
>>> intel_smartconnect drm_kms_helper hid drm rfkill_gpio snd_seq_device
>>> i2c_designware_platform i2c_algo_bit snd_soc_sst_acpi 8250_dw
>>> snd_timer i2c_designware_core hp_wireless shpchp spi_pxa2xx_platform
>>> snd pwm_lpss_platform lpc_ich mac_hid mei_txe pwm_lpss iosf_mbi mei
>>> soundcore parport_pc ppdev lp parport uas usb_storage mmc_block
>>> sdhci_acpi sdhci
>>>
>>>
>>> cat /proc/cpuinfo
>>> processor : 0
>>> vendor_id : GenuineIntel
>>> cpu family : 6
>>> model : 55
>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>> stepping : 8
>>> microcode : 0x829
>>> cpu MHz : 499.741
>>> cache size : 1024 KB
>>> physical id : 0
>>> siblings : 2
>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>> flexpriority ept vpid tsc_adjust smep erms
>>> bugs :
>>> bogomips : 4326.40
>>> 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 : 55
>>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>>> stepping : 8
>>> microcode : 0x829
>>> cpu MHz : 499.741
>>> cache size : 1024 KB
>>> physical id : 0
>>> siblings : 2
>>> core id : 1
>>> cpu cores : 2
>>> apicid : 2
>>> initial apicid : 2
>>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>>> flexpriority ept vpid tsc_adjust smep erms
>>> bugs :
>>> bogomips : 4326.40
>>> clflush size : 64
>>> cache_alignment : 64
>>> address sizes : 36 bits physical, 48 bits virtual
>>> power management:
>>>
>>>
>>> cat /proc/modules
>>> snd_hda_codec_hdmi 52670 1 - Live 0x0000000000000000
>>> snd_hda_codec_realtek 80420 1 - Live 0x0000000000000000
>>> snd_hda_codec_generic 69995 1 snd_hda_codec_realtek, Live 0x0000000000000000
>>> ctr 13193 1 - Live 0x0000000000000000
>>> ccm 17856 1 - Live 0x0000000000000000
>>> joydev 17587 0 - Live 0x0000000000000000
>>> hp_wmi 14017 0 - Live 0x0000000000000000
>>> hid_rmi 18060 0 - Live 0x0000000000000000
>>> sparse_keymap 13890 1 hp_wmi, Live 0x0000000000000000
>>> rfcomm 75066 8 - Live 0x0000000000000000
>>> bnep 23980 2 - Live 0x0000000000000000
>>> arc4 12573 2 - Live 0x0000000000000000
>>> rtl8723be 96097 0 - Live 0x0000000000000000
>>> btcoexist 51822 1 rtl8723be, Live 0x0000000000000000
>>> rtl8723_common 23662 1 rtl8723be, Live 0x0000000000000000
>>> intel_rapl 19196 0 - Live 0x0000000000000000
>>> uvcvideo 86723 0 - Live 0x0000000000000000
>>> rtl_pci 27417 1 rtl8723be, Live 0x0000000000000000
>>> intel_soc_dts_thermal 13523 0 - Live 0x0000000000000000
>>> intel_powerclamp 19099 0 - Live 0x0000000000000000
>>> videobuf2_vmalloc 13216 1 uvcvideo, Live 0x0000000000000000
>>> videobuf2_memops 13362 1 videobuf2_vmalloc, Live 0x0000000000000000
>>> coretemp 13638 0 - Live 0x0000000000000000
>>> rtlwifi 74744 2 rtl8723be,rtl_pci, Live 0x0000000000000000
>>> videobuf2_core 51547 1 uvcvideo, Live 0x0000000000000000
>>> v4l2_common 15715 1 videobuf2_core, Live 0x0000000000000000
>>> videodev 163831 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
>>> mac80211 697159 3 rtl8723be,rtl_pci,rtlwifi, Live 0x0000000000000000
>>> media 22008 2 uvcvideo,videodev, Live 0x0000000000000000
>>> kvm 475237 0 - Live 0x0000000000000000
>>> cfg80211 520257 2 rtlwifi,mac80211, Live 0x0000000000000000
>>> btusb 32691 0 - Live 0x0000000000000000
>>> crct10dif_pclmul 14268 0 - Live 0x0000000000000000
>>> crc32_pclmul 13180 0 - Live 0x0000000000000000
>>> bluetooth 486890 22 rfcomm,bnep,btusb, Live 0x0000000000000000
>>> ghash_clmulni_intel 13230 0 - Live 0x0000000000000000
>>> serio_raw 13483 0 - Live 0x0000000000000000
>>> cryptd 20531 1 ghash_clmulni_intel, Live 0x0000000000000000
>>> wmi 19379 1 hp_wmi, Live 0x0000000000000000
>>> snd_hda_intel 30824 1 - Live 0x0000000000000000
>>> snd_hda_controller 32234 1 snd_hda_intel, Live 0x0000000000000000
>>> snd_hda_codec 144641 5
>>> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,
>>> Live 0x0000000000000000
>>> snd_hwdep 17709 1 snd_hda_codec, Live 0x0000000000000000
>>> snd_seq_midi 13564 0 - Live 0x0000000000000000
>>> snd_seq_midi_event 14899 1 snd_seq_midi, Live 0x0000000000000000
>>> snd_rawmidi 31197 1 snd_seq_midi, Live 0x0000000000000000
>>> snd_soc_rt5640 93325 0 - Live 0x0000000000000000
>>> snd_soc_rl6231 13037 1 snd_soc_rt5640, Live 0x0000000000000000
>>> snd_soc_core 207780 1 snd_soc_rt5640, Live 0x0000000000000000
>>> snd_compress 19395 1 snd_soc_core, Live 0x0000000000000000
>>> dw_dmac 12835 0 - Live 0x0000000000000000
>>> i915 1031996 2 - Live 0x0000000000000000
>>> snd_pcm_dmaengine 15229 1 snd_soc_core, Live 0x0000000000000000
>>> dw_dmac_core 28558 1 dw_dmac, Live 0x0000000000000000
>>> snd_seq 63540 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
>>> int3400_thermal 13040 0 - Live 0x0000000000000000
>>> int3403_thermal 13255 0 - Live 0x0000000000000000
>>> acpi_thermal_rel 13807 1 int3400_thermal, Live 0x0000000000000000
>>> nls_iso8859_1 12713 2 - Live 0x0000000000000000
>>> snd_pcm 106273 7
>>> snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec,snd_soc_rt5640,snd_soc_core,snd_pcm_dmaengine,
>>> Live 0x0000000000000000
>>> i2c_hid 19065 0 - Live 0x0000000000000000
>>> video 20649 1 i915, Live 0x0000000000000000
>>> intel_smartconnect 12637 0 - Live 0x0000000000000000
>>> drm_kms_helper 99802 1 i915, Live 0x0000000000000000
>>> hid 110572 2 hid_rmi,i2c_hid, Live 0x0000000000000000
>>> drm 323675 4 i915,drm_kms_helper, Live 0x0000000000000000
>>> rfkill_gpio 12761 0 - Live 0x0000000000000000
>>> snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000
>>> i2c_designware_platform 13025 0 - Live 0x0000000000000000
>>> i2c_algo_bit 13564 1 i915, Live 0x0000000000000000
>>> snd_soc_sst_acpi 13007 0 - Live 0x0000000000000000
>>> 8250_dw 13474 0 - Live 0x0000000000000000
>>> snd_timer 30118 2 snd_seq,snd_pcm, Live 0x0000000000000000
>>> i2c_designware_core 14990 1 i2c_designware_platform, Live 0x0000000000000000
>>> hp_wireless 12637 0 - Live 0x0000000000000000
>>> shpchp 37216 0 - Live 0x0000000000000000
>>> spi_pxa2xx_platform 23256 0 - Live 0x0000000000000000
>>> snd 84025 15 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_soc_core,snd_compress,snd_seq,snd_pcm,snd_seq_device,snd_timer,
>>> Live 0x0000000000000000
>>> pwm_lpss_platform 12703 0 - Live 0x0000000000000000
>>> lpc_ich 21176 0 - Live 0x0000000000000000
>>> mac_hid 13275 0 - Live 0x0000000000000000
>>> mei_txe 19808 0 - Live 0x0000000000000000
>>> pwm_lpss 13281 1 pwm_lpss_platform, Live 0x0000000000000000
>>> iosf_mbi 13865 1 intel_soc_dts_thermal, Live 0x0000000000000000
>>> mei 88473 1 mei_txe, Live 0x0000000000000000
>>> soundcore 15091 2 snd_hda_codec,snd, Live 0x0000000000000000
>>> parport_pc 32909 0 - Live 0x0000000000000000
>>> ppdev 17711 0 - Live 0x0000000000000000
>>> lp 17799 0 - Live 0x0000000000000000
>>> parport 42481 3 parport_pc,ppdev,lp, Live 0x0000000000000000
>>> uas 22673 0 - Live 0x0000000000000000
>>> usb_storage 67010 2 uas, Live 0x0000000000000000
>>> mmc_block 36596 4 - Live 0x0000000000000000
>>> sdhci_acpi 13502 0 - Live 0x0000000000000000
>>> sdhci 43929 1 sdhci_acpi, Live 0x0000000000000000
>>>
>>>
>>> /proc/ioports
>>> 0000-006f : PCI Bus 0000:00
>>>   0000-001f : dma1
>>>   0020-0021 : pic1
>>>   0040-0043 : timer0
>>>   0050-0053 : timer1
>>>   0060-0060 : keyboard
>>>   0062-0062 : PNP0C09:00
>>>     0062-0062 : EC data
>>>   0064-0064 : keyboard
>>>   0066-0066 : PNP0C09:00
>>>     0066-0066 : EC cmd
>>> 0070-0077 : rtc0
>>> 0078-0cf7 : PCI Bus 0000:00
>>>   0080-008f : dma page reg
>>>   00a0-00a1 : pic2
>>>   00c0-00df : dma2
>>>   00f0-00ff : fpu
>>>   03f8-03ff : serial
>>>   0400-047f : pnp 00:01
>>>     0400-0403 : ACPI PM1a_EVT_BLK
>>>     0404-0405 : ACPI PM1a_CNT_BLK
>>>     0408-040b : ACPI PM_TMR
>>>     0420-042f : ACPI GPE0_BLK
>>>     0430-0433 : iTCO_wdt
>>>     0450-0450 : ACPI PM2_CNT_BLK
>>>     0460-047f : iTCO_wdt
>>>   0500-05fe : pnp 00:01
>>>   0600-061f : pnp 00:01
>>>   0680-069f : pnp 00:01
>>> 0cf8-0cff : PCI conf1
>>> 0d00-ffff : PCI Bus 0000:00
>>>   1000-1fff : PCI Bus 0000:01
>>>     1000-10ff : 0000:01:00.0
>>>       1000-10ff : rtl_pci
>>>   2000-201f : 0000:00:1f.3
>>>   2050-2057 : 0000:00:02.0
>>>
>>>
>>> cat /proc/iomem
>>> 00000000-00000fff : reserved
>>> 00001000-0006efff : System RAM
>>> 0006f000-0006ffff : ACPI Non-volatile Storage
>>> 00070000-00084fff : System RAM
>>> 00085000-00086fff : reserved
>>> 00087000-00087fff : System RAM
>>> 00088000-0009ffff : reserved
>>> 000a0000-000bffff : PCI Bus 0000:00
>>> 000c0000-000dffff : PCI Bus 0000:00
>>> 000e0000-000fffff : PCI Bus 0000:00
>>>   000f0000-000fffff : System ROM
>>> 00100000-1effffff : System RAM
>>>   02000000-027b8537 : Kernel code
>>>   027b8538-02d2123f : Kernel data
>>>   02e87000-02fcffff : Kernel bss
>>> 1f000000-1f0fffff : reserved
>>> 1f100000-1fffffff : System RAM
>>> 20000000-200fffff : reserved
>>> 20100000-75867fff : System RAM
>>> 75868000-75892fff : reserved
>>> 75893000-78892fff : System RAM
>>> 78893000-78922fff : reserved
>>> 78923000-791a3fff : reserved
>>> 791a4000-792a2fff : ACPI Non-volatile Storage
>>> 792a3000-792e2fff : ACPI Tables
>>> 792e3000-79ffffff : System RAM
>>> 7a000000-7affffff : RAM buffer
>>> 7b000000-7effffff : reserved
>>>   7b000000-7effffff : Graphics Stolen Memory
>>> 80000000-907ffffe : PCI Bus 0000:00
>>>   80000000-8fffffff : 0000:00:02.0
>>>   90000000-903fffff : 0000:00:02.0
>>>   90400000-904fffff : PCI Bus 0000:01
>>>     90400000-90403fff : 0000:01:00.0
>>>       90400000-90403fff : rtl_pci
>>>   90500000-905fffff : 0000:00:1a.0
>>>     90500000-905fffff : mei_txe
>>>   90600000-906fffff : 0000:00:1a.0
>>>     90600000-906fffff : mei_txe
>>>   90700000-9070ffff : 0000:00:14.0
>>>     90700000-9070ffff : xhci-hcd
>>>   90710000-90713fff : 0000:00:1b.0
>>>     90710000-90713fff : ICH HD audio
>>>   90718000-9071801f : 0000:00:1f.3
>>> 90800000-90800fff : 80860F14:01
>>>   90800000-90800fff : 80860F14:01
>>> 90803000-90803fff : 80860F41:00
>>>   90803000-90803fff : 80860F41:00
>>> 90804000-90807fff : INTL9C60:01
>>>   90804000-90807fff : INTL9C60:01
>>> 90c00000-90ffffff : PCI Bus 0000:00
>>> e0000000-e3ffffff : PCI MMCONFIG 0000 [bus 00-3f]
>>>   e00000d0-e00000db : INT33BD:00
>>>   e00f8000-e00f8fff : reserved
>>> fec00000-fec003ff : IOAPIC 0
>>> fed00000-fed003ff : HPET 0
>>>   fed00000-fed003ff : PNP0103:00
>>> fed01000-fed01fff : reserved
>>>   fed01000-fed01fff : pnp 00:03
>>> fed03000-fed03fff : pnp 00:03
>>>   fed03008-fed0300c : iTCO_wdt
>>> fed04000-fed04fff : pnp 00:03
>>> fed05000-fed057ff : INT3401:00
>>> fed08000-fed08fff : pnp 00:03
>>> fed0c000-fed0cfff : INT33FC:00
>>>   fed0c000-fed0cfff : INT33FC:00
>>> fed0d000-fed0dfff : INT33FC:01
>>>   fed0d000-fed0dfff : INT33FC:01
>>> fed0e000-fed0efff : INT33FC:02
>>>   fed0e000-fed0efff : INT33FC:02
>>> fed1c000-fed1cfff : pnp 00:03
>>> fed40000-fed44fff : pnp 00:01
>>> fee00000-feefffff : pnp 00:03
>>>   fee00000-fee00fff : Local APIC
>>> fef00000-feffffff : pnp 00:03
>>> ff000000-ffffffff : INT0800:00
>>>   ffb80000-ffffffff : reserved
>>>
>>>
>>> sudo lspci -vvv
>>> 00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>> Series SoC Transaction Register (rev 0e)
>>> Subsystem: Hewlett-Packard Company Device 8023
>>> 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
>>> Kernel driver in use: iosf_mbi_pci
>>>
>>> 00:02.0 VGA compatible controller: Intel Corporation Atom Processor
>>> Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA
>>> controller])
>>> Subsystem: Hewlett-Packard Company Device 8023
>>> 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 263
>>> Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
>>> Region 2: Memory at 80000000 (32-bit, prefetchable) [size=256M]
>>> Region 4: I/O ports at 2050 [size=8]
>>> Expansion ROM at <unassigned> [disabled]
>>> 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: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>> Address: fee0300c  Data: 4162
>>> Capabilities: [b0] Vendor Specific Information: Len=07 <?>
>>> Kernel driver in use: i915
>>>
>>> 00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>> Series USB xHCI (rev 0e) (prog-if 30 [XHCI])
>>> Subsystem: Hewlett-Packard Company Device 8023
>>> 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 261
>>> Region 0: Memory at 90700000 (64-bit, non-prefetchable) [size=64K]
>>> Capabilities: [70] 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: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>>> Address: 00000000fee0300c  Data: 41d1
>>> Kernel driver in use: xhci_hcd
>>>
>>> 00:1a.0 Encryption controller: Intel Corporation Atom Processor
>>> Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
>>> Subsystem: Hewlett-Packard Company Device 8023
>>> 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 262
>>> Region 0: Memory at 90600000 (32-bit, non-prefetchable) [size=1M]
>>> Region 1: Memory at 90500000 (32-bit, non-prefetchable) [size=1M]
>>> 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: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
>>> Address: fee0300c  Data: 4122
>>> Kernel driver in use: mei_txe
>>>
>>> 00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>> Series High Definition Audio Controller (rev 0e)
>>> Subsystem: Hewlett-Packard Company Device 8023
>>> 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 264
>>> Region 0: Memory at 90710000 (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: 00000000fee0300c  Data: 4182
>>> Kernel driver in use: snd_hda_intel
>>>
>>> 00:1c.0 PCI bridge: Intel Corporation Device 0f48 (rev 0e) (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: 00001000-00001fff
>>> Memory behind bridge: 90400000-904fffff
>>> Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
>>> 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
>>> ExtTag- RBE+
>>> 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 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s
>>> <512ns, L1 <4us
>>> ClockPM- Surprise- LLActRep+ BwNot+
>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR-, OBFF Not
>>> Supported ARIFwd-
>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF
>>> Disabled ARIFwd-
>>> LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>> ComplianceSOS-
>>>  Compliance De-emphasis: -6dB
>>> LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-,
>>> EqualizationPhase1-
>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>> Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
>>> Address: 00000000  Data: 0000
>>> Capabilities: [90] Subsystem: Hewlett-Packard Company Device 8023
>>> Capabilities: [a0] 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-
>>> Kernel driver in use: pcieport
>>>
>>> 00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>>> Series Power Control Unit (rev 0e)
>>> Subsystem: Hewlett-Packard Company Device 8023
>>> 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=0c <?>
>>> Kernel driver in use: lpc_ich
>>>
>>> 00:1f.3 SMBus: Intel Corporation Device 0f12 (rev 0e)
>>> Subsystem: Hewlett-Packard Company Device 8023
>>> 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 B routed to IRQ 255
>>> Region 0: Memory at 90718000 (32-bit, non-prefetchable) [size=32]
>>> Region 4: I/O ports at 2000 [size=32]
>>> 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-
>>>
>>> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE
>>> PCIe Wireless Network Adapter
>>> Subsystem: Hewlett-Packard Company Device 2231
>>> 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 16
>>> Region 0: I/O ports at 1000 [size=256]
>>> Region 2: Memory at 90400000 (64-bit, non-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: 0000000000000000  Data: 0000
>>> Capabilities: [70] Express (v2) Endpoint, MSI 00
>>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, 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 512 bytes
>>> DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
>>> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency
>>> L0s <512ns, L1 <64us
>>> ClockPM+ Surprise- LLActRep- BwNot-
>>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR+, OBFF
>>> Via message/WAKE#
>>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+, LTR+, OBFF Disabled
>>> LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
>>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>>> ComplianceSOS-
>>>  Compliance De-emphasis: -6dB
>>> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,
>>> EqualizationPhase1-
>>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>>> Capabilities: [100 v2] 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: 0d, GenCap+ CGenEn- ChkCap+ ChkEn-
>>> Capabilities: [140 v1] Device Serial Number 00-23-b7-fe-ff-4c-e0-00
>>> Capabilities: [150 v1] Latency Tolerance Reporting
>>> Max snoop latency: 71680ns
>>> Max no snoop latency: 71680ns
>>> Capabilities: [158 v1] L1 PM Substates
>>> L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
>>>   PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
>>> Kernel driver in use: rtl8723be
>>>
>>>
>>> cat /proc/scsi/scsi
>>> Attached devices:
>>> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>>>   Vendor: Generic- Model: SD/MMC/MS PRO    Rev: 1.00
>>>   Type:   Direct-Access                    ANSI  SCSI revision: 04
>>>
>>>
>>> ls /proc
>>> 1     12    14    1667  1745  18    1963  2345  292   35    470   55
>>> 7201  asound     execdomains  kmsg        pagetypeinfo   sysvipc
>>> 10    1218  1410  1685  1761  1804  2     2388  296   3573  471   554
>>> 728   buddyinfo  fb           kpagecount  partitions     thread-self
>>> 1020  125   142   1687  1764  1805  20    24    3     359   473   56
>>> 755   bus        filesystems  kpageflags  sched_debug    timer_list
>>> 1025  126   1420  1690  1767  1818  21    25    30    3623  474   57
>>> 76    cgroups    fs           loadavg     schedstat      timer_stats
>>> 1032  127   1423  17    1769  1828  2169  2528  31    378   485   585
>>> 77    cmdline    interrupts   locks       scsi           tty
>>> 1033  128   143   1701  1771  1853  2187  254   3181  3822  5     606
>>> 7886  consoles   iomem        mdstat      self           uptime
>>> 1038  129   1444  1710  1772  1876  2197  26    33    39    509   654
>>> 8     cpuinfo    ioports      meminfo     slabinfo       version
>>> 1042  13    1485  1718  1781  1883  2198  2670  3309  3932  516   655
>>> 8743  crypto     irq          misc        softirqs       vmallocinfo
>>> 1069  130   15    1722  1787  1893  22    2672  34    40    53    695
>>> 9     devices    kallsyms     modules     stat           vmstat
>>> 1070  131   1568  1725  1789  1896  2202  27    3419  41    539   7
>>> 9040  diskstats  kcore        mounts      swaps          zoneinfo
>>> 11    132   1645  1727  1792  19    2248  28    3433  468   542   709
>>> 9056  dma        keys         mtrr        sys
>>> 1144  1331  1655  1732  1796  1905  23    29    3437  469   5421  715
>>> acpi  driver     key-users    net         sysrq-trigger
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-input" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply

* Re: PROBLEM: [HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a hardware click
From: Amordea Whiteoak @ 2014-12-08 16:20 UTC (permalink / raw)
  To: Benjamin Tissoires; +Cc: linux-input, Peter Hutterer, Andrew Duggan
In-Reply-To: <CAN+gG=EXmDcuNvifZKqLLTxew9ji2FW3jx7i8ThqozE1cg_e6A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 30407 bytes --]

My apologies if my bug report was inadequate. It is the first upstream
report I've ever filed, though I did attempt to give all the
information they requested to the best of my ability.

If it helps: to be clear about the design of this clickpad, it is one
where the entire pad is touch-sensitive, even the area over the
hardware click buttons which are on the bottom. The entire pad is one
piece, so the pad itself shifts when you click a button. The
malfunction occurs whenever any of these buttons are clicked, but the
simulated clicks (tapping on the pad) behave adequately and do not
cause any mouse input lock-ups. The malfunction itself causes ALL
subsequent mouse clicks from any source (including a USB mouse) to
only act in the spot where the first hardware click from the clickpad
was performed and cannot be adjusted until the clickpad has been
disabled (xinput disable <id>). The hardware buttons on the clickpad
itself do not register as clicks at all, they only cause all mouse
input to malfunction as previously described.

I am enclosing the requested evemu-record data. This is a recording of
my clicking the left hardware click button three times in rapid
succession, but failure generally occurs after the first click.

A curious behavior I noticed in the process of getting this recording
is that on the first click, I received a pasted text line in my
terminal. I could not reproduce this behavior by doing an
enable/disable cycle on the trackpad, but to confirm I rebooted a few
times to test and sure enough, the very first click each boot triggers
a clipboard paste event.

If there is any more information I can provide, please let me know.

Thank you!

On Mon, Dec 8, 2014 at 10:01 AM, Benjamin Tissoires
<benjamin.tissoires@gmail.com> wrote:
> Hi Amordea,
>
> I must say, the bug triaging is worse and worse with ubuntu :(
>
> From the bug description, I can not tell if the problem lies in the
> kernel, or if it is the synaptics input driver or the xserver which is
> in fault. I would be tempted to say that the problem lies in the upper
> layers given the cross-devices problem.
>
> Anyway, to be able to understand the problem, we will need to get an
> evemu-record output of your device when you are reproducing the bug.
> You can find evemu in your distribution channels, or here:
> http://www.freedesktop.org/wiki/Evemu/
>
> Given that you have an hid-rmi/i2c device, I am adding Andrew in CC,
> and Peter for the upper layers if there is anything wrong there.
>
> Cheers,
> Benjamin
>
> On Sun, Dec 7, 2014 at 5:50 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
>> Original Bug Report:
>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398533
>>
>> Bug Description: After clicking once at the bottom of my clickpad on
>> either button, if I move my cursor elsewhere on the screen, and then
>> subsequently click again (with either clickpad or external mouse this
>> time) it registers a click at the location where my cursor icon was
>> originally. I can continue to move my cursor anywhere on the screen,
>> and it still registers the click in the original location.
>>
>>
>> cat /proc/version
>> Linux version 3.18.0-031800rc7-generic (apw@gomeisa) (gcc version
>> 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201411302035 SMP Mon Dec 1
>> 01:36:38 UTC 2014
>>
>>
>> lsb_release -rd
>> Description: Ubuntu 14.10
>> Release: 14.10
>>
>>
>> sh /usr/src/linux-headers-3.18.0-031800rc7/scripts/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 woprjr 3.18.0-031800rc7-generic #201411302035 SMP Mon Dec 1
>> 01:36:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>>
>> Gnu C
>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux:
>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: 20:
>> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: ld: not
>> found
>> binutils
>> util-linux             2.25.1
>> mount                  debug
>> module-init-tools      18
>> e2fsprogs              1.42.10
>> PPP                    2.4.5
>> Linux C Library        2.19
>> Dynamic linker (ldd)   2.19
>> Procps                 3.3.9
>> Net-tools              1.60
>> Kbd                    1.15.5
>> Sh-utils               8.23
>> wireless-tools         30
>> Modules Loaded         snd_hda_codec_hdmi snd_hda_codec_realtek
>> snd_hda_codec_generic ctr ccm joydev hp_wmi hid_rmi sparse_keymap
>> rfcomm bnep arc4 rtl8723be btcoexist rtl8723_common intel_rapl
>> uvcvideo rtl_pci intel_soc_dts_thermal intel_powerclamp
>> videobuf2_vmalloc videobuf2_memops coretemp rtlwifi videobuf2_core
>> v4l2_common videodev mac80211 media kvm cfg80211 btusb
>> crct10dif_pclmul crc32_pclmul bluetooth ghash_clmulni_intel serio_raw
>> cryptd wmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
>> snd_seq_midi snd_seq_midi_event snd_rawmidi snd_soc_rt5640
>> snd_soc_rl6231 snd_soc_core snd_compress dw_dmac i915
>> snd_pcm_dmaengine dw_dmac_core snd_seq int3400_thermal int3403_thermal
>> acpi_thermal_rel nls_iso8859_1 snd_pcm i2c_hid video
>> intel_smartconnect drm_kms_helper hid drm rfkill_gpio snd_seq_device
>> i2c_designware_platform i2c_algo_bit snd_soc_sst_acpi 8250_dw
>> snd_timer i2c_designware_core hp_wireless shpchp spi_pxa2xx_platform
>> snd pwm_lpss_platform lpc_ich mac_hid mei_txe pwm_lpss iosf_mbi mei
>> soundcore parport_pc ppdev lp parport uas usb_storage mmc_block
>> sdhci_acpi sdhci
>>
>>
>> cat /proc/cpuinfo
>> processor : 0
>> vendor_id : GenuineIntel
>> cpu family : 6
>> model : 55
>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>> stepping : 8
>> microcode : 0x829
>> cpu MHz : 499.741
>> cache size : 1024 KB
>> physical id : 0
>> siblings : 2
>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>> flexpriority ept vpid tsc_adjust smep erms
>> bugs :
>> bogomips : 4326.40
>> 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 : 55
>> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
>> stepping : 8
>> microcode : 0x829
>> cpu MHz : 499.741
>> cache size : 1024 KB
>> physical id : 0
>> siblings : 2
>> core id : 1
>> cpu cores : 2
>> apicid : 2
>> initial apicid : 2
>> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
>> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
>> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
>> flexpriority ept vpid tsc_adjust smep erms
>> bugs :
>> bogomips : 4326.40
>> clflush size : 64
>> cache_alignment : 64
>> address sizes : 36 bits physical, 48 bits virtual
>> power management:
>>
>>
>> cat /proc/modules
>> snd_hda_codec_hdmi 52670 1 - Live 0x0000000000000000
>> snd_hda_codec_realtek 80420 1 - Live 0x0000000000000000
>> snd_hda_codec_generic 69995 1 snd_hda_codec_realtek, Live 0x0000000000000000
>> ctr 13193 1 - Live 0x0000000000000000
>> ccm 17856 1 - Live 0x0000000000000000
>> joydev 17587 0 - Live 0x0000000000000000
>> hp_wmi 14017 0 - Live 0x0000000000000000
>> hid_rmi 18060 0 - Live 0x0000000000000000
>> sparse_keymap 13890 1 hp_wmi, Live 0x0000000000000000
>> rfcomm 75066 8 - Live 0x0000000000000000
>> bnep 23980 2 - Live 0x0000000000000000
>> arc4 12573 2 - Live 0x0000000000000000
>> rtl8723be 96097 0 - Live 0x0000000000000000
>> btcoexist 51822 1 rtl8723be, Live 0x0000000000000000
>> rtl8723_common 23662 1 rtl8723be, Live 0x0000000000000000
>> intel_rapl 19196 0 - Live 0x0000000000000000
>> uvcvideo 86723 0 - Live 0x0000000000000000
>> rtl_pci 27417 1 rtl8723be, Live 0x0000000000000000
>> intel_soc_dts_thermal 13523 0 - Live 0x0000000000000000
>> intel_powerclamp 19099 0 - Live 0x0000000000000000
>> videobuf2_vmalloc 13216 1 uvcvideo, Live 0x0000000000000000
>> videobuf2_memops 13362 1 videobuf2_vmalloc, Live 0x0000000000000000
>> coretemp 13638 0 - Live 0x0000000000000000
>> rtlwifi 74744 2 rtl8723be,rtl_pci, Live 0x0000000000000000
>> videobuf2_core 51547 1 uvcvideo, Live 0x0000000000000000
>> v4l2_common 15715 1 videobuf2_core, Live 0x0000000000000000
>> videodev 163831 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
>> mac80211 697159 3 rtl8723be,rtl_pci,rtlwifi, Live 0x0000000000000000
>> media 22008 2 uvcvideo,videodev, Live 0x0000000000000000
>> kvm 475237 0 - Live 0x0000000000000000
>> cfg80211 520257 2 rtlwifi,mac80211, Live 0x0000000000000000
>> btusb 32691 0 - Live 0x0000000000000000
>> crct10dif_pclmul 14268 0 - Live 0x0000000000000000
>> crc32_pclmul 13180 0 - Live 0x0000000000000000
>> bluetooth 486890 22 rfcomm,bnep,btusb, Live 0x0000000000000000
>> ghash_clmulni_intel 13230 0 - Live 0x0000000000000000
>> serio_raw 13483 0 - Live 0x0000000000000000
>> cryptd 20531 1 ghash_clmulni_intel, Live 0x0000000000000000
>> wmi 19379 1 hp_wmi, Live 0x0000000000000000
>> snd_hda_intel 30824 1 - Live 0x0000000000000000
>> snd_hda_controller 32234 1 snd_hda_intel, Live 0x0000000000000000
>> snd_hda_codec 144641 5
>> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,
>> Live 0x0000000000000000
>> snd_hwdep 17709 1 snd_hda_codec, Live 0x0000000000000000
>> snd_seq_midi 13564 0 - Live 0x0000000000000000
>> snd_seq_midi_event 14899 1 snd_seq_midi, Live 0x0000000000000000
>> snd_rawmidi 31197 1 snd_seq_midi, Live 0x0000000000000000
>> snd_soc_rt5640 93325 0 - Live 0x0000000000000000
>> snd_soc_rl6231 13037 1 snd_soc_rt5640, Live 0x0000000000000000
>> snd_soc_core 207780 1 snd_soc_rt5640, Live 0x0000000000000000
>> snd_compress 19395 1 snd_soc_core, Live 0x0000000000000000
>> dw_dmac 12835 0 - Live 0x0000000000000000
>> i915 1031996 2 - Live 0x0000000000000000
>> snd_pcm_dmaengine 15229 1 snd_soc_core, Live 0x0000000000000000
>> dw_dmac_core 28558 1 dw_dmac, Live 0x0000000000000000
>> snd_seq 63540 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
>> int3400_thermal 13040 0 - Live 0x0000000000000000
>> int3403_thermal 13255 0 - Live 0x0000000000000000
>> acpi_thermal_rel 13807 1 int3400_thermal, Live 0x0000000000000000
>> nls_iso8859_1 12713 2 - Live 0x0000000000000000
>> snd_pcm 106273 7
>> snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec,snd_soc_rt5640,snd_soc_core,snd_pcm_dmaengine,
>> Live 0x0000000000000000
>> i2c_hid 19065 0 - Live 0x0000000000000000
>> video 20649 1 i915, Live 0x0000000000000000
>> intel_smartconnect 12637 0 - Live 0x0000000000000000
>> drm_kms_helper 99802 1 i915, Live 0x0000000000000000
>> hid 110572 2 hid_rmi,i2c_hid, Live 0x0000000000000000
>> drm 323675 4 i915,drm_kms_helper, Live 0x0000000000000000
>> rfkill_gpio 12761 0 - Live 0x0000000000000000
>> snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000
>> i2c_designware_platform 13025 0 - Live 0x0000000000000000
>> i2c_algo_bit 13564 1 i915, Live 0x0000000000000000
>> snd_soc_sst_acpi 13007 0 - Live 0x0000000000000000
>> 8250_dw 13474 0 - Live 0x0000000000000000
>> snd_timer 30118 2 snd_seq,snd_pcm, Live 0x0000000000000000
>> i2c_designware_core 14990 1 i2c_designware_platform, Live 0x0000000000000000
>> hp_wireless 12637 0 - Live 0x0000000000000000
>> shpchp 37216 0 - Live 0x0000000000000000
>> spi_pxa2xx_platform 23256 0 - Live 0x0000000000000000
>> snd 84025 15 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_soc_core,snd_compress,snd_seq,snd_pcm,snd_seq_device,snd_timer,
>> Live 0x0000000000000000
>> pwm_lpss_platform 12703 0 - Live 0x0000000000000000
>> lpc_ich 21176 0 - Live 0x0000000000000000
>> mac_hid 13275 0 - Live 0x0000000000000000
>> mei_txe 19808 0 - Live 0x0000000000000000
>> pwm_lpss 13281 1 pwm_lpss_platform, Live 0x0000000000000000
>> iosf_mbi 13865 1 intel_soc_dts_thermal, Live 0x0000000000000000
>> mei 88473 1 mei_txe, Live 0x0000000000000000
>> soundcore 15091 2 snd_hda_codec,snd, Live 0x0000000000000000
>> parport_pc 32909 0 - Live 0x0000000000000000
>> ppdev 17711 0 - Live 0x0000000000000000
>> lp 17799 0 - Live 0x0000000000000000
>> parport 42481 3 parport_pc,ppdev,lp, Live 0x0000000000000000
>> uas 22673 0 - Live 0x0000000000000000
>> usb_storage 67010 2 uas, Live 0x0000000000000000
>> mmc_block 36596 4 - Live 0x0000000000000000
>> sdhci_acpi 13502 0 - Live 0x0000000000000000
>> sdhci 43929 1 sdhci_acpi, Live 0x0000000000000000
>>
>>
>> /proc/ioports
>> 0000-006f : PCI Bus 0000:00
>>   0000-001f : dma1
>>   0020-0021 : pic1
>>   0040-0043 : timer0
>>   0050-0053 : timer1
>>   0060-0060 : keyboard
>>   0062-0062 : PNP0C09:00
>>     0062-0062 : EC data
>>   0064-0064 : keyboard
>>   0066-0066 : PNP0C09:00
>>     0066-0066 : EC cmd
>> 0070-0077 : rtc0
>> 0078-0cf7 : PCI Bus 0000:00
>>   0080-008f : dma page reg
>>   00a0-00a1 : pic2
>>   00c0-00df : dma2
>>   00f0-00ff : fpu
>>   03f8-03ff : serial
>>   0400-047f : pnp 00:01
>>     0400-0403 : ACPI PM1a_EVT_BLK
>>     0404-0405 : ACPI PM1a_CNT_BLK
>>     0408-040b : ACPI PM_TMR
>>     0420-042f : ACPI GPE0_BLK
>>     0430-0433 : iTCO_wdt
>>     0450-0450 : ACPI PM2_CNT_BLK
>>     0460-047f : iTCO_wdt
>>   0500-05fe : pnp 00:01
>>   0600-061f : pnp 00:01
>>   0680-069f : pnp 00:01
>> 0cf8-0cff : PCI conf1
>> 0d00-ffff : PCI Bus 0000:00
>>   1000-1fff : PCI Bus 0000:01
>>     1000-10ff : 0000:01:00.0
>>       1000-10ff : rtl_pci
>>   2000-201f : 0000:00:1f.3
>>   2050-2057 : 0000:00:02.0
>>
>>
>> cat /proc/iomem
>> 00000000-00000fff : reserved
>> 00001000-0006efff : System RAM
>> 0006f000-0006ffff : ACPI Non-volatile Storage
>> 00070000-00084fff : System RAM
>> 00085000-00086fff : reserved
>> 00087000-00087fff : System RAM
>> 00088000-0009ffff : reserved
>> 000a0000-000bffff : PCI Bus 0000:00
>> 000c0000-000dffff : PCI Bus 0000:00
>> 000e0000-000fffff : PCI Bus 0000:00
>>   000f0000-000fffff : System ROM
>> 00100000-1effffff : System RAM
>>   02000000-027b8537 : Kernel code
>>   027b8538-02d2123f : Kernel data
>>   02e87000-02fcffff : Kernel bss
>> 1f000000-1f0fffff : reserved
>> 1f100000-1fffffff : System RAM
>> 20000000-200fffff : reserved
>> 20100000-75867fff : System RAM
>> 75868000-75892fff : reserved
>> 75893000-78892fff : System RAM
>> 78893000-78922fff : reserved
>> 78923000-791a3fff : reserved
>> 791a4000-792a2fff : ACPI Non-volatile Storage
>> 792a3000-792e2fff : ACPI Tables
>> 792e3000-79ffffff : System RAM
>> 7a000000-7affffff : RAM buffer
>> 7b000000-7effffff : reserved
>>   7b000000-7effffff : Graphics Stolen Memory
>> 80000000-907ffffe : PCI Bus 0000:00
>>   80000000-8fffffff : 0000:00:02.0
>>   90000000-903fffff : 0000:00:02.0
>>   90400000-904fffff : PCI Bus 0000:01
>>     90400000-90403fff : 0000:01:00.0
>>       90400000-90403fff : rtl_pci
>>   90500000-905fffff : 0000:00:1a.0
>>     90500000-905fffff : mei_txe
>>   90600000-906fffff : 0000:00:1a.0
>>     90600000-906fffff : mei_txe
>>   90700000-9070ffff : 0000:00:14.0
>>     90700000-9070ffff : xhci-hcd
>>   90710000-90713fff : 0000:00:1b.0
>>     90710000-90713fff : ICH HD audio
>>   90718000-9071801f : 0000:00:1f.3
>> 90800000-90800fff : 80860F14:01
>>   90800000-90800fff : 80860F14:01
>> 90803000-90803fff : 80860F41:00
>>   90803000-90803fff : 80860F41:00
>> 90804000-90807fff : INTL9C60:01
>>   90804000-90807fff : INTL9C60:01
>> 90c00000-90ffffff : PCI Bus 0000:00
>> e0000000-e3ffffff : PCI MMCONFIG 0000 [bus 00-3f]
>>   e00000d0-e00000db : INT33BD:00
>>   e00f8000-e00f8fff : reserved
>> fec00000-fec003ff : IOAPIC 0
>> fed00000-fed003ff : HPET 0
>>   fed00000-fed003ff : PNP0103:00
>> fed01000-fed01fff : reserved
>>   fed01000-fed01fff : pnp 00:03
>> fed03000-fed03fff : pnp 00:03
>>   fed03008-fed0300c : iTCO_wdt
>> fed04000-fed04fff : pnp 00:03
>> fed05000-fed057ff : INT3401:00
>> fed08000-fed08fff : pnp 00:03
>> fed0c000-fed0cfff : INT33FC:00
>>   fed0c000-fed0cfff : INT33FC:00
>> fed0d000-fed0dfff : INT33FC:01
>>   fed0d000-fed0dfff : INT33FC:01
>> fed0e000-fed0efff : INT33FC:02
>>   fed0e000-fed0efff : INT33FC:02
>> fed1c000-fed1cfff : pnp 00:03
>> fed40000-fed44fff : pnp 00:01
>> fee00000-feefffff : pnp 00:03
>>   fee00000-fee00fff : Local APIC
>> fef00000-feffffff : pnp 00:03
>> ff000000-ffffffff : INT0800:00
>>   ffb80000-ffffffff : reserved
>>
>>
>> sudo lspci -vvv
>> 00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>> Series SoC Transaction Register (rev 0e)
>> Subsystem: Hewlett-Packard Company Device 8023
>> 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
>> Kernel driver in use: iosf_mbi_pci
>>
>> 00:02.0 VGA compatible controller: Intel Corporation Atom Processor
>> Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA
>> controller])
>> Subsystem: Hewlett-Packard Company Device 8023
>> 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 263
>> Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
>> Region 2: Memory at 80000000 (32-bit, prefetchable) [size=256M]
>> Region 4: I/O ports at 2050 [size=8]
>> Expansion ROM at <unassigned> [disabled]
>> 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: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>> Address: fee0300c  Data: 4162
>> Capabilities: [b0] Vendor Specific Information: Len=07 <?>
>> Kernel driver in use: i915
>>
>> 00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx
>> Series USB xHCI (rev 0e) (prog-if 30 [XHCI])
>> Subsystem: Hewlett-Packard Company Device 8023
>> 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 261
>> Region 0: Memory at 90700000 (64-bit, non-prefetchable) [size=64K]
>> Capabilities: [70] 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: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>> Address: 00000000fee0300c  Data: 41d1
>> Kernel driver in use: xhci_hcd
>>
>> 00:1a.0 Encryption controller: Intel Corporation Atom Processor
>> Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
>> Subsystem: Hewlett-Packard Company Device 8023
>> 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 262
>> Region 0: Memory at 90600000 (32-bit, non-prefetchable) [size=1M]
>> Region 1: Memory at 90500000 (32-bit, non-prefetchable) [size=1M]
>> 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: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
>> Address: fee0300c  Data: 4122
>> Kernel driver in use: mei_txe
>>
>> 00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx
>> Series High Definition Audio Controller (rev 0e)
>> Subsystem: Hewlett-Packard Company Device 8023
>> 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 264
>> Region 0: Memory at 90710000 (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: 00000000fee0300c  Data: 4182
>> Kernel driver in use: snd_hda_intel
>>
>> 00:1c.0 PCI bridge: Intel Corporation Device 0f48 (rev 0e) (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: 00001000-00001fff
>> Memory behind bridge: 90400000-904fffff
>> Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
>> 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
>> ExtTag- RBE+
>> 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 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s
>> <512ns, L1 <4us
>> ClockPM- Surprise- LLActRep+ BwNot+
>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR-, OBFF Not
>> Supported ARIFwd-
>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF
>> Disabled ARIFwd-
>> LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>> ComplianceSOS-
>>  Compliance De-emphasis: -6dB
>> LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-,
>> EqualizationPhase1-
>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>> Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
>> Address: 00000000  Data: 0000
>> Capabilities: [90] Subsystem: Hewlett-Packard Company Device 8023
>> Capabilities: [a0] 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-
>> Kernel driver in use: pcieport
>>
>> 00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
>> Series Power Control Unit (rev 0e)
>> Subsystem: Hewlett-Packard Company Device 8023
>> 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=0c <?>
>> Kernel driver in use: lpc_ich
>>
>> 00:1f.3 SMBus: Intel Corporation Device 0f12 (rev 0e)
>> Subsystem: Hewlett-Packard Company Device 8023
>> 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 B routed to IRQ 255
>> Region 0: Memory at 90718000 (32-bit, non-prefetchable) [size=32]
>> Region 4: I/O ports at 2000 [size=32]
>> 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-
>>
>> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE
>> PCIe Wireless Network Adapter
>> Subsystem: Hewlett-Packard Company Device 2231
>> 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 16
>> Region 0: I/O ports at 1000 [size=256]
>> Region 2: Memory at 90400000 (64-bit, non-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: 0000000000000000  Data: 0000
>> Capabilities: [70] Express (v2) Endpoint, MSI 00
>> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, 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 512 bytes
>> DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
>> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency
>> L0s <512ns, L1 <64us
>> ClockPM+ Surprise- LLActRep- BwNot-
>> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR+, OBFF
>> Via message/WAKE#
>> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+, LTR+, OBFF Disabled
>> LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
>>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
>> ComplianceSOS-
>>  Compliance De-emphasis: -6dB
>> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,
>> EqualizationPhase1-
>>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
>> Capabilities: [100 v2] 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: 0d, GenCap+ CGenEn- ChkCap+ ChkEn-
>> Capabilities: [140 v1] Device Serial Number 00-23-b7-fe-ff-4c-e0-00
>> Capabilities: [150 v1] Latency Tolerance Reporting
>> Max snoop latency: 71680ns
>> Max no snoop latency: 71680ns
>> Capabilities: [158 v1] L1 PM Substates
>> L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
>>   PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
>> Kernel driver in use: rtl8723be
>>
>>
>> cat /proc/scsi/scsi
>> Attached devices:
>> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>>   Vendor: Generic- Model: SD/MMC/MS PRO    Rev: 1.00
>>   Type:   Direct-Access                    ANSI  SCSI revision: 04
>>
>>
>> ls /proc
>> 1     12    14    1667  1745  18    1963  2345  292   35    470   55
>> 7201  asound     execdomains  kmsg        pagetypeinfo   sysvipc
>> 10    1218  1410  1685  1761  1804  2     2388  296   3573  471   554
>> 728   buddyinfo  fb           kpagecount  partitions     thread-self
>> 1020  125   142   1687  1764  1805  20    24    3     359   473   56
>> 755   bus        filesystems  kpageflags  sched_debug    timer_list
>> 1025  126   1420  1690  1767  1818  21    25    30    3623  474   57
>> 76    cgroups    fs           loadavg     schedstat      timer_stats
>> 1032  127   1423  17    1769  1828  2169  2528  31    378   485   585
>> 77    cmdline    interrupts   locks       scsi           tty
>> 1033  128   143   1701  1771  1853  2187  254   3181  3822  5     606
>> 7886  consoles   iomem        mdstat      self           uptime
>> 1038  129   1444  1710  1772  1876  2197  26    33    39    509   654
>> 8     cpuinfo    ioports      meminfo     slabinfo       version
>> 1042  13    1485  1718  1781  1883  2198  2670  3309  3932  516   655
>> 8743  crypto     irq          misc        softirqs       vmallocinfo
>> 1069  130   15    1722  1787  1893  22    2672  34    40    53    695
>> 9     devices    kallsyms     modules     stat           vmstat
>> 1070  131   1568  1725  1789  1896  2202  27    3419  41    539   7
>> 9040  diskstats  kcore        mounts      swaps          zoneinfo
>> 11    132   1645  1727  1792  19    2248  28    3433  468   542   709
>> 9056  dma        keys         mtrr        sys
>> 1144  1331  1655  1732  1796  1905  23    29    3437  469   5421  715
>> acpi  driver     key-users    net         sysrq-trigger
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-input" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: clickpad.events --]
[-- Type: application/octet-stream, Size: 19873 bytes --]

# EVEMU 1.2
# Input device name: "SYN1EDE:00 06CB:7442"
# Input device ID: bus 0x18 vendor 0x6cb product 0x7442 version 0x100
# Supported events:
#   Event type 0 (EV_SYN)
#     Event code 0 (SYN_REPORT)
#     Event code 1 (SYN_CONFIG)
#     Event code 3 (SYN_MAX)
#   Event type 1 (EV_KEY)
#     Event code 272 (BTN_LEFT)
#     Event code 273 (BTN_RIGHT)
#     Event code 325 (BTN_TOOL_FINGER)
#     Event code 328 (BTN_TOOL_QUINTTAP)
#     Event code 330 (BTN_TOUCH)
#     Event code 333 (BTN_TOOL_DOUBLETAP)
#     Event code 334 (BTN_TOOL_TRIPLETAP)
#     Event code 335 (BTN_TOOL_QUADTAP)
#   Event type 3 (EV_ABS)
#     Event code 0 (ABS_X)
#       Value   2317
#       Min        1
#       Max     4008
#       Fuzz       0
#       Flat       0
#       Resolution 44
#     Event code 1 (ABS_Y)
#       Value    685
#       Min        1
#       Max     2266
#       Fuzz       0
#       Flat       0
#       Resolution 43
#     Event code 24 (ABS_PRESSURE)
#       Value      0
#       Min        0
#       Max      255
#       Fuzz       0
#       Flat       0
#       Resolution 0
#     Event code 47 (ABS_MT_SLOT)
#       Value      0
#       Min        0
#       Max        4
#       Fuzz       0
#       Flat       0
#       Resolution 0
#     Event code 48 (ABS_MT_TOUCH_MAJOR)
#       Value      0
#       Min        0
#       Max       15
#       Fuzz       0
#       Flat       0
#       Resolution 0
#     Event code 49 (ABS_MT_TOUCH_MINOR)
#       Value      0
#       Min        0
#       Max       15
#       Fuzz       0
#       Flat       0
#       Resolution 0
#     Event code 52 (ABS_MT_ORIENTATION)
#       Value      0
#       Min        0
#       Max        1
#       Fuzz       0
#       Flat       0
#       Resolution 0
#     Event code 53 (ABS_MT_POSITION_X)
#       Value      0
#       Min        1
#       Max     4008
#       Fuzz       0
#       Flat       0
#       Resolution 44
#     Event code 54 (ABS_MT_POSITION_Y)
#       Value      0
#       Min        1
#       Max     2266
#       Fuzz       0
#       Flat       0
#       Resolution 43
#     Event code 57 (ABS_MT_TRACKING_ID)
#       Value      0
#       Min        0
#       Max    65535
#       Fuzz       0
#       Flat       0
#       Resolution 0
#     Event code 58 (ABS_MT_PRESSURE)
#       Value      0
#       Min        0
#       Max      255
#       Fuzz       0
#       Flat       0
#       Resolution 0
# Properties:
#   Property  type 0 (INPUT_PROP_POINTER)
N: SYN1EDE:00 06CB:7442
I: 0018 06cb 7442 0100
P: 01 00 00 00 00 00 00 00
B: 00 0b 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 03 00 00 00 00 00
B: 01 20 e5 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 02 00 00 00 00 00 00 00 00
B: 03 03 00 00 01 00 80 73 06
B: 04 00 00 00 00 00 00 00 00
B: 05 00 00 00 00 00 00 00 00
B: 11 00 00 00 00 00 00 00 00
B: 12 00 00 00 00 00 00 00 00
B: 15 00 00 00 00 00 00 00 00
B: 15 00 00 00 00 00 00 00 00
A: 00 1 4008 0 0 44
A: 01 1 2266 0 0 43
A: 18 0 255 0 0 0
A: 2f 0 4 0 0 0
A: 30 0 15 0 0 0
A: 31 0 15 0 0 0
A: 34 0 1 0 0 0
A: 35 1 4008 0 0 44
A: 36 1 2266 0 0 43
A: 39 0 65535 0 0 0
A: 3a 0 255 0 0 0
################################
#      Waiting for events      #
################################
E: 0.000000 0003 0039 0147	# EV_ABS / ABS_MT_TRACKING_ID   147
E: 0.000000 0003 0035 0049	# EV_ABS / ABS_MT_POSITION_X    49
E: 0.000000 0003 0036 2207	# EV_ABS / ABS_MT_POSITION_Y    2207
E: 0.000000 0003 003a 0034	# EV_ABS / ABS_MT_PRESSURE      34
E: 0.000000 0003 0030 0000	# EV_ABS / ABS_MT_TOUCH_MAJOR   0
E: 0.000000 0003 0031 0000	# EV_ABS / ABS_MT_TOUCH_MINOR   0
E: 0.000000 0001 014a 0001	# EV_KEY / BTN_TOUCH            1
E: 0.000000 0001 0145 0001	# EV_KEY / BTN_TOOL_FINGER      1
E: 0.000000 0003 0000 0049	# EV_ABS / ABS_X                49
E: 0.000000 0003 0001 2207	# EV_ABS / ABS_Y                2207
E: 0.000000 0003 0018 0034	# EV_ABS / ABS_PRESSURE         34
E: 0.000000 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.001762 0003 0035 0052	# EV_ABS / ABS_MT_POSITION_X    52
E: 0.001762 0003 0036 2206	# EV_ABS / ABS_MT_POSITION_Y    2206
E: 0.001762 0003 003a 0035	# EV_ABS / ABS_MT_PRESSURE      35
E: 0.001762 0003 0000 0052	# EV_ABS / ABS_X                52
E: 0.001762 0003 0001 2206	# EV_ABS / ABS_Y                2206
E: 0.001762 0003 0018 0035	# EV_ABS / ABS_PRESSURE         35
E: 0.001762 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.017608 0003 003a 0036	# EV_ABS / ABS_MT_PRESSURE      36
E: 0.017608 0003 0018 0036	# EV_ABS / ABS_PRESSURE         36
E: 0.017608 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.077816 0003 003a 0035	# EV_ABS / ABS_MT_PRESSURE      35
E: 0.077816 0003 0018 0035	# EV_ABS / ABS_PRESSURE         35
E: 0.077816 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.118326 0003 003a 0036	# EV_ABS / ABS_MT_PRESSURE      36
E: 0.118326 0003 0018 0036	# EV_ABS / ABS_PRESSURE         36
E: 0.118326 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.128380 0003 003a 0037	# EV_ABS / ABS_MT_PRESSURE      37
E: 0.128380 0003 0018 0037	# EV_ABS / ABS_PRESSURE         37
E: 0.128380 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.138484 0003 003a 0038	# EV_ABS / ABS_MT_PRESSURE      38
E: 0.138484 0003 0018 0038	# EV_ABS / ABS_PRESSURE         38
E: 0.138484 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.148593 0003 003a 0040	# EV_ABS / ABS_MT_PRESSURE      40
E: 0.148593 0003 0030 0001	# EV_ABS / ABS_MT_TOUCH_MAJOR   1
E: 0.148593 0003 0018 0040	# EV_ABS / ABS_PRESSURE         40
E: 0.148593 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.158706 0003 003a 0042	# EV_ABS / ABS_MT_PRESSURE      42
E: 0.158706 0003 0018 0042	# EV_ABS / ABS_PRESSURE         42
E: 0.158706 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.168810 0003 0035 0053	# EV_ABS / ABS_MT_POSITION_X    53
E: 0.168810 0003 003a 0046	# EV_ABS / ABS_MT_PRESSURE      46
E: 0.168810 0003 0000 0053	# EV_ABS / ABS_X                53
E: 0.168810 0003 0018 0046	# EV_ABS / ABS_PRESSURE         46
E: 0.168810 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.178927 0003 0035 0054	# EV_ABS / ABS_MT_POSITION_X    54
E: 0.178927 0003 003a 0047	# EV_ABS / ABS_MT_PRESSURE      47
E: 0.178927 0003 0000 0054	# EV_ABS / ABS_X                54
E: 0.178927 0003 0018 0047	# EV_ABS / ABS_PRESSURE         47
E: 0.178927 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.189038 0003 0035 0056	# EV_ABS / ABS_MT_POSITION_X    56
E: 0.189038 0003 0036 2205	# EV_ABS / ABS_MT_POSITION_Y    2205
E: 0.189038 0003 003a 0049	# EV_ABS / ABS_MT_PRESSURE      49
E: 0.189038 0003 0000 0056	# EV_ABS / ABS_X                56
E: 0.189038 0003 0001 2205	# EV_ABS / ABS_Y                2205
E: 0.189038 0003 0018 0049	# EV_ABS / ABS_PRESSURE         49
E: 0.189038 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.189091 0001 0110 0001	# EV_KEY / BTN_LEFT             1
E: 0.189091 0001 0111 0001	# EV_KEY / BTN_RIGHT            1
E: 0.189091 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.199173 0003 0035 0058	# EV_ABS / ABS_MT_POSITION_X    58
E: 0.199173 0003 0036 2204	# EV_ABS / ABS_MT_POSITION_Y    2204
E: 0.199173 0003 003a 0051	# EV_ABS / ABS_MT_PRESSURE      51
E: 0.199173 0003 0000 0058	# EV_ABS / ABS_X                58
E: 0.199173 0003 0001 2204	# EV_ABS / ABS_Y                2204
E: 0.199173 0003 0018 0051	# EV_ABS / ABS_PRESSURE         51
E: 0.199173 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.209252 0003 0035 0061	# EV_ABS / ABS_MT_POSITION_X    61
E: 0.209252 0003 0036 2202	# EV_ABS / ABS_MT_POSITION_Y    2202
E: 0.209252 0003 003a 0052	# EV_ABS / ABS_MT_PRESSURE      52
E: 0.209252 0003 0000 0061	# EV_ABS / ABS_X                61
E: 0.209252 0003 0001 2202	# EV_ABS / ABS_Y                2202
E: 0.209252 0003 0018 0052	# EV_ABS / ABS_PRESSURE         52
E: 0.209252 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.219365 0003 0035 0064	# EV_ABS / ABS_MT_POSITION_X    64
E: 0.219365 0003 0036 2201	# EV_ABS / ABS_MT_POSITION_Y    2201
E: 0.219365 0003 003a 0053	# EV_ABS / ABS_MT_PRESSURE      53
E: 0.219365 0003 0031 0001	# EV_ABS / ABS_MT_TOUCH_MINOR   1
E: 0.219365 0003 0000 0064	# EV_ABS / ABS_X                64
E: 0.219365 0003 0001 2201	# EV_ABS / ABS_Y                2201
E: 0.219365 0003 0018 0053	# EV_ABS / ABS_PRESSURE         53
E: 0.219365 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.229466 0003 0035 0067	# EV_ABS / ABS_MT_POSITION_X    67
E: 0.229466 0003 0036 2200	# EV_ABS / ABS_MT_POSITION_Y    2200
E: 0.229466 0003 0000 0067	# EV_ABS / ABS_X                67
E: 0.229466 0003 0001 2200	# EV_ABS / ABS_Y                2200
E: 0.229466 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.239578 0003 0035 0070	# EV_ABS / ABS_MT_POSITION_X    70
E: 0.239578 0003 0036 2198	# EV_ABS / ABS_MT_POSITION_Y    2198
E: 0.239578 0003 003a 0054	# EV_ABS / ABS_MT_PRESSURE      54
E: 0.239578 0003 0000 0070	# EV_ABS / ABS_X                70
E: 0.239578 0003 0001 2198	# EV_ABS / ABS_Y                2198
E: 0.239578 0003 0018 0054	# EV_ABS / ABS_PRESSURE         54
E: 0.239578 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.250058 0003 0035 0073	# EV_ABS / ABS_MT_POSITION_X    73
E: 0.250058 0003 0036 2197	# EV_ABS / ABS_MT_POSITION_Y    2197
E: 0.250058 0003 0000 0073	# EV_ABS / ABS_X                73
E: 0.250058 0003 0001 2197	# EV_ABS / ABS_Y                2197
E: 0.250058 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.259802 0003 0035 0075	# EV_ABS / ABS_MT_POSITION_X    75
E: 0.259802 0003 0036 2196	# EV_ABS / ABS_MT_POSITION_Y    2196
E: 0.259802 0003 003a 0055	# EV_ABS / ABS_MT_PRESSURE      55
E: 0.259802 0003 0000 0075	# EV_ABS / ABS_X                75
E: 0.259802 0003 0001 2196	# EV_ABS / ABS_Y                2196
E: 0.259802 0003 0018 0055	# EV_ABS / ABS_PRESSURE         55
E: 0.259802 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.269906 0003 0035 0078	# EV_ABS / ABS_MT_POSITION_X    78
E: 0.269906 0003 0036 2195	# EV_ABS / ABS_MT_POSITION_Y    2195
E: 0.269906 0003 0000 0078	# EV_ABS / ABS_X                78
E: 0.269906 0003 0001 2195	# EV_ABS / ABS_Y                2195
E: 0.269906 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.280016 0003 0035 0080	# EV_ABS / ABS_MT_POSITION_X    80
E: 0.280016 0003 0036 2194	# EV_ABS / ABS_MT_POSITION_Y    2194
E: 0.280016 0003 0000 0080	# EV_ABS / ABS_X                80
E: 0.280016 0003 0001 2194	# EV_ABS / ABS_Y                2194
E: 0.280016 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.290125 0003 0035 0083	# EV_ABS / ABS_MT_POSITION_X    83
E: 0.290125 0003 0036 2193	# EV_ABS / ABS_MT_POSITION_Y    2193
E: 0.290125 0003 0000 0083	# EV_ABS / ABS_X                83
E: 0.290125 0003 0001 2193	# EV_ABS / ABS_Y                2193
E: 0.290125 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.300226 0003 0035 0085	# EV_ABS / ABS_MT_POSITION_X    85
E: 0.300226 0003 0036 2192	# EV_ABS / ABS_MT_POSITION_Y    2192
E: 0.300226 0003 0000 0085	# EV_ABS / ABS_X                85
E: 0.300226 0003 0001 2192	# EV_ABS / ABS_Y                2192
E: 0.300226 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.310333 0003 0035 0088	# EV_ABS / ABS_MT_POSITION_X    88
E: 0.310333 0003 0036 2191	# EV_ABS / ABS_MT_POSITION_Y    2191
E: 0.310333 0003 0000 0088	# EV_ABS / ABS_X                88
E: 0.310333 0003 0001 2191	# EV_ABS / ABS_Y                2191
E: 0.310333 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.320447 0003 0035 0091	# EV_ABS / ABS_MT_POSITION_X    91
E: 0.320447 0003 0036 2190	# EV_ABS / ABS_MT_POSITION_Y    2190
E: 0.320447 0003 003a 0054	# EV_ABS / ABS_MT_PRESSURE      54
E: 0.320447 0003 0000 0091	# EV_ABS / ABS_X                91
E: 0.320447 0003 0001 2190	# EV_ABS / ABS_Y                2190
E: 0.320447 0003 0018 0054	# EV_ABS / ABS_PRESSURE         54
E: 0.320447 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.330552 0003 0035 0094	# EV_ABS / ABS_MT_POSITION_X    94
E: 0.330552 0003 0036 2189	# EV_ABS / ABS_MT_POSITION_Y    2189
E: 0.330552 0003 003a 0053	# EV_ABS / ABS_MT_PRESSURE      53
E: 0.330552 0003 0000 0094	# EV_ABS / ABS_X                94
E: 0.330552 0003 0001 2189	# EV_ABS / ABS_Y                2189
E: 0.330552 0003 0018 0053	# EV_ABS / ABS_PRESSURE         53
E: 0.330552 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.340667 0003 0035 0098	# EV_ABS / ABS_MT_POSITION_X    98
E: 0.340667 0003 003a 0052	# EV_ABS / ABS_MT_PRESSURE      52
E: 0.340667 0003 0000 0098	# EV_ABS / ABS_X                98
E: 0.340667 0003 0018 0052	# EV_ABS / ABS_PRESSURE         52
E: 0.340667 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.350781 0003 0035 0101	# EV_ABS / ABS_MT_POSITION_X    101
E: 0.350781 0003 0000 0101	# EV_ABS / ABS_X                101
E: 0.350781 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.360886 0003 0035 0103	# EV_ABS / ABS_MT_POSITION_X    103
E: 0.360886 0003 003a 0053	# EV_ABS / ABS_MT_PRESSURE      53
E: 0.360886 0003 0000 0103	# EV_ABS / ABS_X                103
E: 0.360886 0003 0018 0053	# EV_ABS / ABS_PRESSURE         53
E: 0.360886 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.370994 0003 0035 0104	# EV_ABS / ABS_MT_POSITION_X    104
E: 0.370994 0003 003a 0054	# EV_ABS / ABS_MT_PRESSURE      54
E: 0.370994 0003 0000 0104	# EV_ABS / ABS_X                104
E: 0.370994 0003 0018 0054	# EV_ABS / ABS_PRESSURE         54
E: 0.370994 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.381090 0003 003a 0055	# EV_ABS / ABS_MT_PRESSURE      55
E: 0.381090 0003 0018 0055	# EV_ABS / ABS_PRESSURE         55
E: 0.381090 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.391206 0003 003a 0056	# EV_ABS / ABS_MT_PRESSURE      56
E: 0.391206 0003 0018 0056	# EV_ABS / ABS_PRESSURE         56
E: 0.391206 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.401317 0003 003a 0057	# EV_ABS / ABS_MT_PRESSURE      57
E: 0.401317 0003 0018 0057	# EV_ABS / ABS_PRESSURE         57
E: 0.401317 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.411423 0003 003a 0058	# EV_ABS / ABS_MT_PRESSURE      58
E: 0.411423 0003 0018 0058	# EV_ABS / ABS_PRESSURE         58
E: 0.411423 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.432015 0003 0036 2188	# EV_ABS / ABS_MT_POSITION_Y    2188
E: 0.432015 0003 0001 2188	# EV_ABS / ABS_Y                2188
E: 0.432015 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.451842 0003 003a 0057	# EV_ABS / ABS_MT_PRESSURE      57
E: 0.451842 0003 0030 0002	# EV_ABS / ABS_MT_TOUCH_MAJOR   2
E: 0.451842 0003 0018 0057	# EV_ABS / ABS_PRESSURE         57
E: 0.451842 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.461962 0003 0030 0001	# EV_ABS / ABS_MT_TOUCH_MAJOR   1
E: 0.461962 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.482207 0003 003a 0056	# EV_ABS / ABS_MT_PRESSURE      56
E: 0.482207 0003 0018 0056	# EV_ABS / ABS_PRESSURE         56
E: 0.482207 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.492280 0003 003a 0055	# EV_ABS / ABS_MT_PRESSURE      55
E: 0.492280 0003 0018 0055	# EV_ABS / ABS_PRESSURE         55
E: 0.492280 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.502387 0003 0035 0103	# EV_ABS / ABS_MT_POSITION_X    103
E: 0.502387 0003 0000 0103	# EV_ABS / ABS_X                103
E: 0.502387 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.512492 0003 0035 0102	# EV_ABS / ABS_MT_POSITION_X    102
E: 0.512492 0003 003a 0054	# EV_ABS / ABS_MT_PRESSURE      54
E: 0.512492 0003 0031 0000	# EV_ABS / ABS_MT_TOUCH_MINOR   0
E: 0.512492 0003 0000 0102	# EV_ABS / ABS_X                102
E: 0.512492 0003 0018 0054	# EV_ABS / ABS_PRESSURE         54
E: 0.512492 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.522611 0003 0035 0101	# EV_ABS / ABS_MT_POSITION_X    101
E: 0.522611 0003 003a 0053	# EV_ABS / ABS_MT_PRESSURE      53
E: 0.522611 0003 0000 0101	# EV_ABS / ABS_X                101
E: 0.522611 0003 0018 0053	# EV_ABS / ABS_PRESSURE         53
E: 0.522611 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.532816 0003 0035 0100	# EV_ABS / ABS_MT_POSITION_X    100
E: 0.532816 0003 003a 0052	# EV_ABS / ABS_MT_PRESSURE      52
E: 0.532816 0003 0000 0100	# EV_ABS / ABS_X                100
E: 0.532816 0003 0018 0052	# EV_ABS / ABS_PRESSURE         52
E: 0.532816 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.542820 0003 0035 0099	# EV_ABS / ABS_MT_POSITION_X    99
E: 0.542820 0003 0000 0099	# EV_ABS / ABS_X                99
E: 0.542820 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.552923 0003 0035 0098	# EV_ABS / ABS_MT_POSITION_X    98
E: 0.552923 0003 0000 0098	# EV_ABS / ABS_X                98
E: 0.552923 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.563042 0003 0035 0097	# EV_ABS / ABS_MT_POSITION_X    97
E: 0.563042 0003 003a 0051	# EV_ABS / ABS_MT_PRESSURE      51
E: 0.563042 0003 0000 0097	# EV_ABS / ABS_X                97
E: 0.563042 0003 0018 0051	# EV_ABS / ABS_PRESSURE         51
E: 0.563042 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.573143 0003 0035 0096	# EV_ABS / ABS_MT_POSITION_X    96
E: 0.573143 0003 003a 0050	# EV_ABS / ABS_MT_PRESSURE      50
E: 0.573143 0003 0000 0096	# EV_ABS / ABS_X                96
E: 0.573143 0003 0018 0050	# EV_ABS / ABS_PRESSURE         50
E: 0.573143 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.583263 0003 0035 0095	# EV_ABS / ABS_MT_POSITION_X    95
E: 0.583263 0003 003a 0049	# EV_ABS / ABS_MT_PRESSURE      49
E: 0.583263 0003 0000 0095	# EV_ABS / ABS_X                95
E: 0.583263 0003 0018 0049	# EV_ABS / ABS_PRESSURE         49
E: 0.583263 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.593356 0003 0035 0094	# EV_ABS / ABS_MT_POSITION_X    94
E: 0.593356 0003 0036 2189	# EV_ABS / ABS_MT_POSITION_Y    2189
E: 0.593356 0003 003a 0047	# EV_ABS / ABS_MT_PRESSURE      47
E: 0.593356 0003 0000 0094	# EV_ABS / ABS_X                94
E: 0.593356 0003 0001 2189	# EV_ABS / ABS_Y                2189
E: 0.593356 0003 0018 0047	# EV_ABS / ABS_PRESSURE         47
E: 0.593356 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.603470 0003 0035 0093	# EV_ABS / ABS_MT_POSITION_X    93
E: 0.603470 0003 0036 2190	# EV_ABS / ABS_MT_POSITION_Y    2190
E: 0.603470 0003 003a 0045	# EV_ABS / ABS_MT_PRESSURE      45
E: 0.603470 0003 0000 0093	# EV_ABS / ABS_X                93
E: 0.603470 0003 0001 2190	# EV_ABS / ABS_Y                2190
E: 0.603470 0003 0018 0045	# EV_ABS / ABS_PRESSURE         45
E: 0.603470 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.613561 0003 0035 0091	# EV_ABS / ABS_MT_POSITION_X    91
E: 0.613561 0003 0036 2192	# EV_ABS / ABS_MT_POSITION_Y    2192
E: 0.613561 0003 003a 0039	# EV_ABS / ABS_MT_PRESSURE      39
E: 0.613561 0003 0030 0000	# EV_ABS / ABS_MT_TOUCH_MAJOR   0
E: 0.613561 0003 0000 0091	# EV_ABS / ABS_X                91
E: 0.613561 0003 0001 2192	# EV_ABS / ABS_Y                2192
E: 0.613561 0003 0018 0039	# EV_ABS / ABS_PRESSURE         39
E: 0.613561 0000 0000 0000	# ------------ SYN_REPORT (0) ----------
E: 0.623454 0003 0039 -001	# EV_ABS / ABS_MT_TRACKING_ID   -1
E: 0.623454 0001 014a 0000	# EV_KEY / BTN_TOUCH            0
E: 0.623454 0001 0145 0000	# EV_KEY / BTN_TOOL_FINGER      0
E: 0.623454 0003 0018 0000	# EV_ABS / ABS_PRESSURE         0
E: 0.623454 0000 0000 0000	# ------------ SYN_REPORT (0) ----------

^ permalink raw reply

* Re: PROBLEM: [HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a hardware click
From: Benjamin Tissoires @ 2014-12-08 15:01 UTC (permalink / raw)
  To: Amordea Whiteoak; +Cc: linux-input, Peter Hutterer, Andrew Duggan
In-Reply-To: <CALmnu0aD9ys4+QZ+gtdNe61q23A3e6MPq+DSD-Q+NcJoWksWkQ@mail.gmail.com>

Hi Amordea,

I must say, the bug triaging is worse and worse with ubuntu :(

>From the bug description, I can not tell if the problem lies in the
kernel, or if it is the synaptics input driver or the xserver which is
in fault. I would be tempted to say that the problem lies in the upper
layers given the cross-devices problem.

Anyway, to be able to understand the problem, we will need to get an
evemu-record output of your device when you are reproducing the bug.
You can find evemu in your distribution channels, or here:
http://www.freedesktop.org/wiki/Evemu/

Given that you have an hid-rmi/i2c device, I am adding Andrew in CC,
and Peter for the upper layers if there is anything wrong there.

Cheers,
Benjamin

On Sun, Dec 7, 2014 at 5:50 PM, Amordea Whiteoak <amordea@gmail.com> wrote:
> Original Bug Report:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1398533
>
> Bug Description: After clicking once at the bottom of my clickpad on
> either button, if I move my cursor elsewhere on the screen, and then
> subsequently click again (with either clickpad or external mouse this
> time) it registers a click at the location where my cursor icon was
> originally. I can continue to move my cursor anywhere on the screen,
> and it still registers the click in the original location.
>
>
> cat /proc/version
> Linux version 3.18.0-031800rc7-generic (apw@gomeisa) (gcc version
> 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201411302035 SMP Mon Dec 1
> 01:36:38 UTC 2014
>
>
> lsb_release -rd
> Description: Ubuntu 14.10
> Release: 14.10
>
>
> sh /usr/src/linux-headers-3.18.0-031800rc7/scripts/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 woprjr 3.18.0-031800rc7-generic #201411302035 SMP Mon Dec 1
> 01:36:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>
> Gnu C
> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux:
> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: 20:
> /usr/src/linux-headers-3.18.0-031800rc7/scripts/ver_linux: ld: not
> found
> binutils
> util-linux             2.25.1
> mount                  debug
> module-init-tools      18
> e2fsprogs              1.42.10
> PPP                    2.4.5
> Linux C Library        2.19
> Dynamic linker (ldd)   2.19
> Procps                 3.3.9
> Net-tools              1.60
> Kbd                    1.15.5
> Sh-utils               8.23
> wireless-tools         30
> Modules Loaded         snd_hda_codec_hdmi snd_hda_codec_realtek
> snd_hda_codec_generic ctr ccm joydev hp_wmi hid_rmi sparse_keymap
> rfcomm bnep arc4 rtl8723be btcoexist rtl8723_common intel_rapl
> uvcvideo rtl_pci intel_soc_dts_thermal intel_powerclamp
> videobuf2_vmalloc videobuf2_memops coretemp rtlwifi videobuf2_core
> v4l2_common videodev mac80211 media kvm cfg80211 btusb
> crct10dif_pclmul crc32_pclmul bluetooth ghash_clmulni_intel serio_raw
> cryptd wmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
> snd_seq_midi snd_seq_midi_event snd_rawmidi snd_soc_rt5640
> snd_soc_rl6231 snd_soc_core snd_compress dw_dmac i915
> snd_pcm_dmaengine dw_dmac_core snd_seq int3400_thermal int3403_thermal
> acpi_thermal_rel nls_iso8859_1 snd_pcm i2c_hid video
> intel_smartconnect drm_kms_helper hid drm rfkill_gpio snd_seq_device
> i2c_designware_platform i2c_algo_bit snd_soc_sst_acpi 8250_dw
> snd_timer i2c_designware_core hp_wireless shpchp spi_pxa2xx_platform
> snd pwm_lpss_platform lpc_ich mac_hid mei_txe pwm_lpss iosf_mbi mei
> soundcore parport_pc ppdev lp parport uas usb_storage mmc_block
> sdhci_acpi sdhci
>
>
> cat /proc/cpuinfo
> processor : 0
> vendor_id : GenuineIntel
> cpu family : 6
> model : 55
> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
> stepping : 8
> microcode : 0x829
> cpu MHz : 499.741
> cache size : 1024 KB
> physical id : 0
> siblings : 2
> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
> flexpriority ept vpid tsc_adjust smep erms
> bugs :
> bogomips : 4326.40
> 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 : 55
> model name : Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz
> stepping : 8
> microcode : 0x829
> cpu MHz : 499.741
> cache size : 1024 KB
> physical id : 0
> siblings : 2
> core id : 1
> cpu cores : 2
> apicid : 2
> initial apicid : 2
> 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 pclmulqdq dtes64 monitor ds_cpl vmx est tm2
> ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer
> rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi
> flexpriority ept vpid tsc_adjust smep erms
> bugs :
> bogomips : 4326.40
> clflush size : 64
> cache_alignment : 64
> address sizes : 36 bits physical, 48 bits virtual
> power management:
>
>
> cat /proc/modules
> snd_hda_codec_hdmi 52670 1 - Live 0x0000000000000000
> snd_hda_codec_realtek 80420 1 - Live 0x0000000000000000
> snd_hda_codec_generic 69995 1 snd_hda_codec_realtek, Live 0x0000000000000000
> ctr 13193 1 - Live 0x0000000000000000
> ccm 17856 1 - Live 0x0000000000000000
> joydev 17587 0 - Live 0x0000000000000000
> hp_wmi 14017 0 - Live 0x0000000000000000
> hid_rmi 18060 0 - Live 0x0000000000000000
> sparse_keymap 13890 1 hp_wmi, Live 0x0000000000000000
> rfcomm 75066 8 - Live 0x0000000000000000
> bnep 23980 2 - Live 0x0000000000000000
> arc4 12573 2 - Live 0x0000000000000000
> rtl8723be 96097 0 - Live 0x0000000000000000
> btcoexist 51822 1 rtl8723be, Live 0x0000000000000000
> rtl8723_common 23662 1 rtl8723be, Live 0x0000000000000000
> intel_rapl 19196 0 - Live 0x0000000000000000
> uvcvideo 86723 0 - Live 0x0000000000000000
> rtl_pci 27417 1 rtl8723be, Live 0x0000000000000000
> intel_soc_dts_thermal 13523 0 - Live 0x0000000000000000
> intel_powerclamp 19099 0 - Live 0x0000000000000000
> videobuf2_vmalloc 13216 1 uvcvideo, Live 0x0000000000000000
> videobuf2_memops 13362 1 videobuf2_vmalloc, Live 0x0000000000000000
> coretemp 13638 0 - Live 0x0000000000000000
> rtlwifi 74744 2 rtl8723be,rtl_pci, Live 0x0000000000000000
> videobuf2_core 51547 1 uvcvideo, Live 0x0000000000000000
> v4l2_common 15715 1 videobuf2_core, Live 0x0000000000000000
> videodev 163831 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
> mac80211 697159 3 rtl8723be,rtl_pci,rtlwifi, Live 0x0000000000000000
> media 22008 2 uvcvideo,videodev, Live 0x0000000000000000
> kvm 475237 0 - Live 0x0000000000000000
> cfg80211 520257 2 rtlwifi,mac80211, Live 0x0000000000000000
> btusb 32691 0 - Live 0x0000000000000000
> crct10dif_pclmul 14268 0 - Live 0x0000000000000000
> crc32_pclmul 13180 0 - Live 0x0000000000000000
> bluetooth 486890 22 rfcomm,bnep,btusb, Live 0x0000000000000000
> ghash_clmulni_intel 13230 0 - Live 0x0000000000000000
> serio_raw 13483 0 - Live 0x0000000000000000
> cryptd 20531 1 ghash_clmulni_intel, Live 0x0000000000000000
> wmi 19379 1 hp_wmi, Live 0x0000000000000000
> snd_hda_intel 30824 1 - Live 0x0000000000000000
> snd_hda_controller 32234 1 snd_hda_intel, Live 0x0000000000000000
> snd_hda_codec 144641 5
> snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,
> Live 0x0000000000000000
> snd_hwdep 17709 1 snd_hda_codec, Live 0x0000000000000000
> snd_seq_midi 13564 0 - Live 0x0000000000000000
> snd_seq_midi_event 14899 1 snd_seq_midi, Live 0x0000000000000000
> snd_rawmidi 31197 1 snd_seq_midi, Live 0x0000000000000000
> snd_soc_rt5640 93325 0 - Live 0x0000000000000000
> snd_soc_rl6231 13037 1 snd_soc_rt5640, Live 0x0000000000000000
> snd_soc_core 207780 1 snd_soc_rt5640, Live 0x0000000000000000
> snd_compress 19395 1 snd_soc_core, Live 0x0000000000000000
> dw_dmac 12835 0 - Live 0x0000000000000000
> i915 1031996 2 - Live 0x0000000000000000
> snd_pcm_dmaengine 15229 1 snd_soc_core, Live 0x0000000000000000
> dw_dmac_core 28558 1 dw_dmac, Live 0x0000000000000000
> snd_seq 63540 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
> int3400_thermal 13040 0 - Live 0x0000000000000000
> int3403_thermal 13255 0 - Live 0x0000000000000000
> acpi_thermal_rel 13807 1 int3400_thermal, Live 0x0000000000000000
> nls_iso8859_1 12713 2 - Live 0x0000000000000000
> snd_pcm 106273 7
> snd_hda_codec_hdmi,snd_hda_intel,snd_hda_controller,snd_hda_codec,snd_soc_rt5640,snd_soc_core,snd_pcm_dmaengine,
> Live 0x0000000000000000
> i2c_hid 19065 0 - Live 0x0000000000000000
> video 20649 1 i915, Live 0x0000000000000000
> intel_smartconnect 12637 0 - Live 0x0000000000000000
> drm_kms_helper 99802 1 i915, Live 0x0000000000000000
> hid 110572 2 hid_rmi,i2c_hid, Live 0x0000000000000000
> drm 323675 4 i915,drm_kms_helper, Live 0x0000000000000000
> rfkill_gpio 12761 0 - Live 0x0000000000000000
> snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000
> i2c_designware_platform 13025 0 - Live 0x0000000000000000
> i2c_algo_bit 13564 1 i915, Live 0x0000000000000000
> snd_soc_sst_acpi 13007 0 - Live 0x0000000000000000
> 8250_dw 13474 0 - Live 0x0000000000000000
> snd_timer 30118 2 snd_seq,snd_pcm, Live 0x0000000000000000
> i2c_designware_core 14990 1 i2c_designware_platform, Live 0x0000000000000000
> hp_wireless 12637 0 - Live 0x0000000000000000
> shpchp 37216 0 - Live 0x0000000000000000
> spi_pxa2xx_platform 23256 0 - Live 0x0000000000000000
> snd 84025 15 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_soc_core,snd_compress,snd_seq,snd_pcm,snd_seq_device,snd_timer,
> Live 0x0000000000000000
> pwm_lpss_platform 12703 0 - Live 0x0000000000000000
> lpc_ich 21176 0 - Live 0x0000000000000000
> mac_hid 13275 0 - Live 0x0000000000000000
> mei_txe 19808 0 - Live 0x0000000000000000
> pwm_lpss 13281 1 pwm_lpss_platform, Live 0x0000000000000000
> iosf_mbi 13865 1 intel_soc_dts_thermal, Live 0x0000000000000000
> mei 88473 1 mei_txe, Live 0x0000000000000000
> soundcore 15091 2 snd_hda_codec,snd, Live 0x0000000000000000
> parport_pc 32909 0 - Live 0x0000000000000000
> ppdev 17711 0 - Live 0x0000000000000000
> lp 17799 0 - Live 0x0000000000000000
> parport 42481 3 parport_pc,ppdev,lp, Live 0x0000000000000000
> uas 22673 0 - Live 0x0000000000000000
> usb_storage 67010 2 uas, Live 0x0000000000000000
> mmc_block 36596 4 - Live 0x0000000000000000
> sdhci_acpi 13502 0 - Live 0x0000000000000000
> sdhci 43929 1 sdhci_acpi, Live 0x0000000000000000
>
>
> /proc/ioports
> 0000-006f : PCI Bus 0000:00
>   0000-001f : dma1
>   0020-0021 : pic1
>   0040-0043 : timer0
>   0050-0053 : timer1
>   0060-0060 : keyboard
>   0062-0062 : PNP0C09:00
>     0062-0062 : EC data
>   0064-0064 : keyboard
>   0066-0066 : PNP0C09:00
>     0066-0066 : EC cmd
> 0070-0077 : rtc0
> 0078-0cf7 : PCI Bus 0000:00
>   0080-008f : dma page reg
>   00a0-00a1 : pic2
>   00c0-00df : dma2
>   00f0-00ff : fpu
>   03f8-03ff : serial
>   0400-047f : pnp 00:01
>     0400-0403 : ACPI PM1a_EVT_BLK
>     0404-0405 : ACPI PM1a_CNT_BLK
>     0408-040b : ACPI PM_TMR
>     0420-042f : ACPI GPE0_BLK
>     0430-0433 : iTCO_wdt
>     0450-0450 : ACPI PM2_CNT_BLK
>     0460-047f : iTCO_wdt
>   0500-05fe : pnp 00:01
>   0600-061f : pnp 00:01
>   0680-069f : pnp 00:01
> 0cf8-0cff : PCI conf1
> 0d00-ffff : PCI Bus 0000:00
>   1000-1fff : PCI Bus 0000:01
>     1000-10ff : 0000:01:00.0
>       1000-10ff : rtl_pci
>   2000-201f : 0000:00:1f.3
>   2050-2057 : 0000:00:02.0
>
>
> cat /proc/iomem
> 00000000-00000fff : reserved
> 00001000-0006efff : System RAM
> 0006f000-0006ffff : ACPI Non-volatile Storage
> 00070000-00084fff : System RAM
> 00085000-00086fff : reserved
> 00087000-00087fff : System RAM
> 00088000-0009ffff : reserved
> 000a0000-000bffff : PCI Bus 0000:00
> 000c0000-000dffff : PCI Bus 0000:00
> 000e0000-000fffff : PCI Bus 0000:00
>   000f0000-000fffff : System ROM
> 00100000-1effffff : System RAM
>   02000000-027b8537 : Kernel code
>   027b8538-02d2123f : Kernel data
>   02e87000-02fcffff : Kernel bss
> 1f000000-1f0fffff : reserved
> 1f100000-1fffffff : System RAM
> 20000000-200fffff : reserved
> 20100000-75867fff : System RAM
> 75868000-75892fff : reserved
> 75893000-78892fff : System RAM
> 78893000-78922fff : reserved
> 78923000-791a3fff : reserved
> 791a4000-792a2fff : ACPI Non-volatile Storage
> 792a3000-792e2fff : ACPI Tables
> 792e3000-79ffffff : System RAM
> 7a000000-7affffff : RAM buffer
> 7b000000-7effffff : reserved
>   7b000000-7effffff : Graphics Stolen Memory
> 80000000-907ffffe : PCI Bus 0000:00
>   80000000-8fffffff : 0000:00:02.0
>   90000000-903fffff : 0000:00:02.0
>   90400000-904fffff : PCI Bus 0000:01
>     90400000-90403fff : 0000:01:00.0
>       90400000-90403fff : rtl_pci
>   90500000-905fffff : 0000:00:1a.0
>     90500000-905fffff : mei_txe
>   90600000-906fffff : 0000:00:1a.0
>     90600000-906fffff : mei_txe
>   90700000-9070ffff : 0000:00:14.0
>     90700000-9070ffff : xhci-hcd
>   90710000-90713fff : 0000:00:1b.0
>     90710000-90713fff : ICH HD audio
>   90718000-9071801f : 0000:00:1f.3
> 90800000-90800fff : 80860F14:01
>   90800000-90800fff : 80860F14:01
> 90803000-90803fff : 80860F41:00
>   90803000-90803fff : 80860F41:00
> 90804000-90807fff : INTL9C60:01
>   90804000-90807fff : INTL9C60:01
> 90c00000-90ffffff : PCI Bus 0000:00
> e0000000-e3ffffff : PCI MMCONFIG 0000 [bus 00-3f]
>   e00000d0-e00000db : INT33BD:00
>   e00f8000-e00f8fff : reserved
> fec00000-fec003ff : IOAPIC 0
> fed00000-fed003ff : HPET 0
>   fed00000-fed003ff : PNP0103:00
> fed01000-fed01fff : reserved
>   fed01000-fed01fff : pnp 00:03
> fed03000-fed03fff : pnp 00:03
>   fed03008-fed0300c : iTCO_wdt
> fed04000-fed04fff : pnp 00:03
> fed05000-fed057ff : INT3401:00
> fed08000-fed08fff : pnp 00:03
> fed0c000-fed0cfff : INT33FC:00
>   fed0c000-fed0cfff : INT33FC:00
> fed0d000-fed0dfff : INT33FC:01
>   fed0d000-fed0dfff : INT33FC:01
> fed0e000-fed0efff : INT33FC:02
>   fed0e000-fed0efff : INT33FC:02
> fed1c000-fed1cfff : pnp 00:03
> fed40000-fed44fff : pnp 00:01
> fee00000-feefffff : pnp 00:03
>   fee00000-fee00fff : Local APIC
> fef00000-feffffff : pnp 00:03
> ff000000-ffffffff : INT0800:00
>   ffb80000-ffffffff : reserved
>
>
> sudo lspci -vvv
> 00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
> Series SoC Transaction Register (rev 0e)
> Subsystem: Hewlett-Packard Company Device 8023
> 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
> Kernel driver in use: iosf_mbi_pci
>
> 00:02.0 VGA compatible controller: Intel Corporation Atom Processor
> Z36xxx/Z37xxx Series Graphics & Display (rev 0e) (prog-if 00 [VGA
> controller])
> Subsystem: Hewlett-Packard Company Device 8023
> 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 263
> Region 0: Memory at 90000000 (32-bit, non-prefetchable) [size=4M]
> Region 2: Memory at 80000000 (32-bit, prefetchable) [size=256M]
> Region 4: I/O ports at 2050 [size=8]
> Expansion ROM at <unassigned> [disabled]
> 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: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
> Address: fee0300c  Data: 4162
> Capabilities: [b0] Vendor Specific Information: Len=07 <?>
> Kernel driver in use: i915
>
> 00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx
> Series USB xHCI (rev 0e) (prog-if 30 [XHCI])
> Subsystem: Hewlett-Packard Company Device 8023
> 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 261
> Region 0: Memory at 90700000 (64-bit, non-prefetchable) [size=64K]
> Capabilities: [70] 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: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
> Address: 00000000fee0300c  Data: 41d1
> Kernel driver in use: xhci_hcd
>
> 00:1a.0 Encryption controller: Intel Corporation Atom Processor
> Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
> Subsystem: Hewlett-Packard Company Device 8023
> 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 262
> Region 0: Memory at 90600000 (32-bit, non-prefetchable) [size=1M]
> Region 1: Memory at 90500000 (32-bit, non-prefetchable) [size=1M]
> 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: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
> Address: fee0300c  Data: 4122
> Kernel driver in use: mei_txe
>
> 00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx
> Series High Definition Audio Controller (rev 0e)
> Subsystem: Hewlett-Packard Company Device 8023
> 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 264
> Region 0: Memory at 90710000 (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: 00000000fee0300c  Data: 4182
> Kernel driver in use: snd_hda_intel
>
> 00:1c.0 PCI bridge: Intel Corporation Device 0f48 (rev 0e) (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: 00001000-00001fff
> Memory behind bridge: 90400000-904fffff
> Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
> 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
> ExtTag- RBE+
> 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 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s
> <512ns, L1 <4us
> ClockPM- Surprise- LLActRep+ BwNot+
> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR-, OBFF Not
> Supported ARIFwd-
> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF
> Disabled ARIFwd-
> LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
> ComplianceSOS-
>  Compliance De-emphasis: -6dB
> LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-,
> EqualizationPhase1-
>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
> Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
> Address: 00000000  Data: 0000
> Capabilities: [90] Subsystem: Hewlett-Packard Company Device 8023
> Capabilities: [a0] 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-
> Kernel driver in use: pcieport
>
> 00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx
> Series Power Control Unit (rev 0e)
> Subsystem: Hewlett-Packard Company Device 8023
> 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=0c <?>
> Kernel driver in use: lpc_ich
>
> 00:1f.3 SMBus: Intel Corporation Device 0f12 (rev 0e)
> Subsystem: Hewlett-Packard Company Device 8023
> 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 B routed to IRQ 255
> Region 0: Memory at 90718000 (32-bit, non-prefetchable) [size=32]
> Region 4: I/O ports at 2000 [size=32]
> 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-
>
> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE
> PCIe Wireless Network Adapter
> Subsystem: Hewlett-Packard Company Device 2231
> 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 16
> Region 0: I/O ports at 1000 [size=256]
> Region 2: Memory at 90400000 (64-bit, non-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: 0000000000000000  Data: 0000
> Capabilities: [70] Express (v2) Endpoint, MSI 00
> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, 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 512 bytes
> DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency
> L0s <512ns, L1 <64us
> ClockPM+ Surprise- LLActRep- BwNot-
> LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- 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+, LTR+, OBFF
> Via message/WAKE#
> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis+, LTR+, OBFF Disabled
> LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
>  Transmit Margin: Normal Operating Range, EnterModifiedCompliance-
> ComplianceSOS-
>  Compliance De-emphasis: -6dB
> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-,
> EqualizationPhase1-
>  EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
> Capabilities: [100 v2] 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: 0d, GenCap+ CGenEn- ChkCap+ ChkEn-
> Capabilities: [140 v1] Device Serial Number 00-23-b7-fe-ff-4c-e0-00
> Capabilities: [150 v1] Latency Tolerance Reporting
> Max snoop latency: 71680ns
> Max no snoop latency: 71680ns
> Capabilities: [158 v1] L1 PM Substates
> L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
>   PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
> Kernel driver in use: rtl8723be
>
>
> cat /proc/scsi/scsi
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>   Vendor: Generic- Model: SD/MMC/MS PRO    Rev: 1.00
>   Type:   Direct-Access                    ANSI  SCSI revision: 04
>
>
> ls /proc
> 1     12    14    1667  1745  18    1963  2345  292   35    470   55
> 7201  asound     execdomains  kmsg        pagetypeinfo   sysvipc
> 10    1218  1410  1685  1761  1804  2     2388  296   3573  471   554
> 728   buddyinfo  fb           kpagecount  partitions     thread-self
> 1020  125   142   1687  1764  1805  20    24    3     359   473   56
> 755   bus        filesystems  kpageflags  sched_debug    timer_list
> 1025  126   1420  1690  1767  1818  21    25    30    3623  474   57
> 76    cgroups    fs           loadavg     schedstat      timer_stats
> 1032  127   1423  17    1769  1828  2169  2528  31    378   485   585
> 77    cmdline    interrupts   locks       scsi           tty
> 1033  128   143   1701  1771  1853  2187  254   3181  3822  5     606
> 7886  consoles   iomem        mdstat      self           uptime
> 1038  129   1444  1710  1772  1876  2197  26    33    39    509   654
> 8     cpuinfo    ioports      meminfo     slabinfo       version
> 1042  13    1485  1718  1781  1883  2198  2670  3309  3932  516   655
> 8743  crypto     irq          misc        softirqs       vmallocinfo
> 1069  130   15    1722  1787  1893  22    2672  34    40    53    695
> 9     devices    kallsyms     modules     stat           vmstat
> 1070  131   1568  1725  1789  1896  2202  27    3419  41    539   7
> 9040  diskstats  kcore        mounts      swaps          zoneinfo
> 11    132   1645  1727  1792  19    2248  28    3433  468   542   709
> 9056  dma        keys         mtrr        sys
> 1144  1331  1655  1732  1796  1905  23    29    3437  469   5421  715
> acpi  driver     key-users    net         sysrq-trigger
> --
> To unsubscribe from this list: send the line "unsubscribe linux-input" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply

* [PATCH v2] Input: gpio_keys - initialize the 'irq' variable
From: Fabio Estevam @ 2014-12-08 12:09 UTC (permalink / raw)
  To: dmitry.torokhov; +Cc: alexander.stein, linux-input, Fabio Estevam

From: Fabio Estevam <fabio.estevam@freescale.com>

Commit f2d347ff70be453e ("Input: gpio_keys - add device tree support for
interrupt only keys") caused the following build warning:

drivers/input/keyboard/gpio_keys.c: In function 'gpio_keys_probe':
drivers/input/keyboard/gpio_keys.c:647:15: warning: 'irq' may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/input/keyboard/gpio_keys.c:622:7: note: 'irq' was declared here

To fix this warning, do the 'irq' assignment inside the 'if' block that it is
actually used.

Reported-by: Olof's autobuilder <build@lixom.net>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
Change since v1:
- Do the 'irq' assignment inside the 'if' block that it is actually used.

 drivers/input/keyboard/gpio_keys.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c
index aa13055..6c33849 100644
--- a/drivers/input/keyboard/gpio_keys.c
+++ b/drivers/input/keyboard/gpio_keys.c
@@ -619,11 +619,12 @@ gpio_keys_get_devtree_pdata(struct device *dev)
 	i = 0;
 	for_each_child_of_node(node, pp) {
 		int gpio = -1;
-		int irq;
 		enum of_gpio_flags flags;
 
 		if (!of_find_property(pp, "gpios", NULL)) {
-			irq = irq_of_parse_and_map(pp, 0);
+			int irq = irq_of_parse_and_map(pp, 0);
+
+			button->irq = irq;
 			if (irq == 0) {
 				pdata->nbuttons--;
 				dev_warn(dev, "Found button without gpios or irqs\n");
@@ -644,7 +645,6 @@ gpio_keys_get_devtree_pdata(struct device *dev)
 		button = &pdata->buttons[i++];
 
 		button->gpio = gpio;
-		button->irq = irq;
 		button->active_low = flags & OF_GPIO_ACTIVE_LOW;
 
 		if (of_property_read_u32(pp, "linux,code", &button->code)) {
-- 
1.9.1


^ permalink raw reply related

* [sur40] videobuf2 and/or DMA?
From: Florian Echtler @ 2014-12-08  7:50 UTC (permalink / raw)
  To: linux-input

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

Hello everyone,

I'm preparing to finally add support for the raw sensor video stream to
my driver for the SUR40 touchscreen. However, after an extensive amount
of Googling, I'm still not clear on the relationship between DMA
transfers, the USB core and the videobuf2 framework.

Specifically, I'd like to know:

- Can I always use DMA on the USB side (for bulk transfers), or does
this in any way require support from the USB device's hardware? (I'm
guessing no, but a definite answer would be great.)

- Regardless of the USB side of things, can I use the videobuf2
framework without _having_ to use DMA? That way, I could get a basic
driver running without DMA and switch later when it's convenient and/or
the speedup is justified.

Thanks & best regards, Florian
-- 
SENT FROM MY DEC VT50 TERMINAL




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply

* [PATCH 2/2] Input: gpio_keys - replace timer and workqueue with delayed workqueue
From: Dmitry Torokhov @ 2014-12-08  7:21 UTC (permalink / raw)
  To: linux-input
  Cc: Alexander Stein, Linus Walleij, Ezequiel Garcia, Andy Shevchenko,
	Alexander Shiyan, Laxman Dewangan, devicetree, linux-kernel
In-Reply-To: <20141208071930.GA20802@dtor-ws>

We do not need to roll our own implementation of delayed work now that we
have proper implementation of mod_delayed_work.

For interrupt-only driven buttons we retain the timer, but we rename
it to release_timer to better reflect its purpose.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 drivers/input/keyboard/gpio_keys.c |   65 +++++++++++++++++-------------------
 1 file changed, 31 insertions(+), 34 deletions(-)

diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c
index a5ece3f..eefd976 100644
--- a/drivers/input/keyboard/gpio_keys.c
+++ b/drivers/input/keyboard/gpio_keys.c
@@ -35,9 +35,13 @@
 struct gpio_button_data {
 	const struct gpio_keys_button *button;
 	struct input_dev *input;
-	struct timer_list timer;
-	struct work_struct work;
-	unsigned int timer_debounce;	/* in msecs */
+
+	struct timer_list release_timer;
+	unsigned int release_delay;	/* in msecs, for IRQ-only buttons */
+
+	struct delayed_work work;
+	unsigned int software_debounce;	/* in msecs, for GPIO-driven buttons */
+
 	unsigned int irq;
 	spinlock_t lock;
 	bool disabled;
@@ -116,11 +120,14 @@ static void gpio_keys_disable_button(struct gpio_button_data *bdata)
 {
 	if (!bdata->disabled) {
 		/*
-		 * Disable IRQ and possible debouncing timer.
+		 * Disable IRQ and associated timer/work structure.
 		 */
 		disable_irq(bdata->irq);
-		if (bdata->timer_debounce)
-			del_timer_sync(&bdata->timer);
+
+		if (gpio_is_valid(bdata->button->gpio))
+			cancel_delayed_work_sync(&bdata->work);
+		else
+			del_timer_sync(&bdata->release_timer);
 
 		bdata->disabled = true;
 	}
@@ -343,7 +350,7 @@ static void gpio_keys_gpio_report_event(struct gpio_button_data *bdata)
 static void gpio_keys_gpio_work_func(struct work_struct *work)
 {
 	struct gpio_button_data *bdata =
-		container_of(work, struct gpio_button_data, work);
+		container_of(work, struct gpio_button_data, work.work);
 
 	gpio_keys_gpio_report_event(bdata);
 
@@ -351,13 +358,6 @@ static void gpio_keys_gpio_work_func(struct work_struct *work)
 		pm_relax(bdata->input->dev.parent);
 }
 
-static void gpio_keys_gpio_timer(unsigned long _data)
-{
-	struct gpio_button_data *bdata = (struct gpio_button_data *)_data;
-
-	schedule_work(&bdata->work);
-}
-
 static irqreturn_t gpio_keys_gpio_isr(int irq, void *dev_id)
 {
 	struct gpio_button_data *bdata = dev_id;
@@ -366,11 +366,10 @@ static irqreturn_t gpio_keys_gpio_isr(int irq, void *dev_id)
 
 	if (bdata->button->wakeup)
 		pm_stay_awake(bdata->input->dev.parent);
-	if (bdata->timer_debounce)
-		mod_timer(&bdata->timer,
-			jiffies + msecs_to_jiffies(bdata->timer_debounce));
-	else
-		schedule_work(&bdata->work);
+
+	mod_delayed_work(system_wq,
+			 &bdata->work,
+			 msecs_to_jiffies(bdata->software_debounce));
 
 	return IRQ_HANDLED;
 }
@@ -408,7 +407,7 @@ static irqreturn_t gpio_keys_irq_isr(int irq, void *dev_id)
 		input_event(input, EV_KEY, button->code, 1);
 		input_sync(input);
 
-		if (!bdata->timer_debounce) {
+		if (!bdata->release_delay) {
 			input_event(input, EV_KEY, button->code, 0);
 			input_sync(input);
 			goto out;
@@ -417,9 +416,9 @@ static irqreturn_t gpio_keys_irq_isr(int irq, void *dev_id)
 		bdata->key_pressed = true;
 	}
 
-	if (bdata->timer_debounce)
-		mod_timer(&bdata->timer,
-			jiffies + msecs_to_jiffies(bdata->timer_debounce));
+	if (bdata->release_delay)
+		mod_timer(&bdata->release_timer,
+			jiffies + msecs_to_jiffies(bdata->release_delay));
 out:
 	spin_unlock_irqrestore(&bdata->lock, flags);
 	return IRQ_HANDLED;
@@ -429,10 +428,10 @@ static void gpio_keys_quiesce_key(void *data)
 {
 	struct gpio_button_data *bdata = data;
 
-	if (bdata->timer_debounce)
-		del_timer_sync(&bdata->timer);
-
-	cancel_work_sync(&bdata->work);
+	if (gpio_is_valid(bdata->button->gpio))
+		cancel_delayed_work_sync(&bdata->work);
+	else
+		del_timer_sync(&bdata->release_timer);
 }
 
 static int gpio_keys_setup_key(struct platform_device *pdev,
@@ -466,7 +465,7 @@ static int gpio_keys_setup_key(struct platform_device *pdev,
 					button->debounce_interval * 1000);
 			/* use timer if gpiolib doesn't provide debounce */
 			if (error < 0)
-				bdata->timer_debounce =
+				bdata->software_debounce =
 						button->debounce_interval;
 		}
 
@@ -484,9 +483,7 @@ static int gpio_keys_setup_key(struct platform_device *pdev,
 			bdata->irq = irq;
 		}
 
-		INIT_WORK(&bdata->work, gpio_keys_gpio_work_func);
-		setup_timer(&bdata->timer,
-			    gpio_keys_gpio_timer, (unsigned long)bdata);
+		INIT_DELAYED_WORK(&bdata->work, gpio_keys_gpio_work_func);
 
 		isr = gpio_keys_gpio_isr;
 		irqflags = IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING;
@@ -503,8 +500,8 @@ static int gpio_keys_setup_key(struct platform_device *pdev,
 			return -EINVAL;
 		}
 
-		bdata->timer_debounce = button->debounce_interval;
-		setup_timer(&bdata->timer,
+		bdata->release_delay = button->debounce_interval;
+		setup_timer(&bdata->release_timer,
 			    gpio_keys_irq_timer, (unsigned long)bdata);
 
 		isr = gpio_keys_irq_isr;
@@ -514,7 +511,7 @@ static int gpio_keys_setup_key(struct platform_device *pdev,
 	input_set_capability(input, button->type ?: EV_KEY, button->code);
 
 	/*
-	 * Install custom action to cancel debounce timer and
+	 * Install custom action to cancel release timer and
 	 * workqueue item.
 	 */
 	error = devm_add_action(&pdev->dev, gpio_keys_quiesce_key, bdata);

-- 
Dmitry

^ permalink raw reply related

* [PATCH 1/2] Input: gpio_keys - allow separating gpio and irq in device tree
From: Dmitry Torokhov @ 2014-12-08  7:19 UTC (permalink / raw)
  Cc: Alexander Stein, Linus Walleij, Ezequiel Garcia, Andy Shevchenko,
	Alexander Shiyan, Laxman Dewangan, devicetree, linux-kernel,
	linux-input

This change allows specify interrupt for buttons separately form gpio,
potentially allowing to form several "clusters" of buttons on
different interrupts.

Button defined without both gpio and irq in device tree is a hared error
instead of a warning now.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
---
 .../devicetree/bindings/input/gpio-keys.txt        | 10 +++--
 drivers/input/keyboard/gpio_keys.c                 | 50 ++++++++++++----------
 2 files changed, 34 insertions(+), 26 deletions(-)

diff --git a/Documentation/devicetree/bindings/input/gpio-keys.txt b/Documentation/devicetree/bindings/input/gpio-keys.txt
index a4a38fc..44b7057 100644
--- a/Documentation/devicetree/bindings/input/gpio-keys.txt
+++ b/Documentation/devicetree/bindings/input/gpio-keys.txt
@@ -10,12 +10,13 @@ Optional properties:
 Each button (key) is represented as a sub-node of "gpio-keys":
 Subnode properties:
 
+	- gpios: OF device-tree gpio specification.
+	- interrupts: the interrupt line for that input.
 	- label: Descriptive name of the key.
 	- linux,code: Keycode to emit.
 
-Required mutual exclusive subnode-properties:
-	- gpios: OF device-tree gpio specification.
-	- interrupts: the interrupt line for that input
+Note that either "interrupts" or "gpios" properties can be omitted, but not
+both at the same time. Specifying both properties is allowed.
 
 Optional subnode-properties:
 	- linux,input-type: Specify event type this button/key generates.
@@ -23,6 +24,9 @@ Optional subnode-properties:
 	- debounce-interval: Debouncing interval time in milliseconds.
 	  If not specified defaults to 5.
 	- gpio-key,wakeup: Boolean, button can wake-up the system.
+	- linux,can-disable: Boolean, indicates that button is connected
+	  to dedicated (not shared) interrupt which can be disabled to
+	  suppress events from the button.
 
 Example nodes:
 
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c
index b8b4876..a5ece3f 100644
--- a/drivers/input/keyboard/gpio_keys.c
+++ b/drivers/input/keyboard/gpio_keys.c
@@ -470,15 +470,19 @@ static int gpio_keys_setup_key(struct platform_device *pdev,
 						button->debounce_interval;
 		}
 
-		irq = gpio_to_irq(button->gpio);
-		if (irq < 0) {
-			error = irq;
-			dev_err(dev,
-				"Unable to get irq number for GPIO %d, error %d\n",
-				button->gpio, error);
-			return error;
+		if (button->irq) {
+			bdata->irq = button->irq;
+		} else {
+			irq = gpio_to_irq(button->gpio);
+			if (irq < 0) {
+				error = irq;
+				dev_err(dev,
+					"Unable to get irq number for GPIO %d, error %d\n",
+					button->gpio, error);
+				return error;
+			}
+			bdata->irq = irq;
 		}
-		bdata->irq = irq;
 
 		INIT_WORK(&bdata->work, gpio_keys_gpio_work_func);
 		setup_timer(&bdata->timer,
@@ -618,32 +622,30 @@ gpio_keys_get_devtree_pdata(struct device *dev)
 
 	i = 0;
 	for_each_child_of_node(node, pp) {
-		int gpio = -1;
 		enum of_gpio_flags flags;
 
-		if (!of_find_property(pp, "gpios", NULL)) {
-			button->irq = irq_of_parse_and_map(pp, 0);
-			if (button->irq == 0) {
-				pdata->nbuttons--;
-				dev_warn(dev, "Found button without gpios or irqs\n");
-				continue;
-			}
-		} else {
-			gpio = of_get_gpio_flags(pp, 0, &flags);
-			if (gpio < 0) {
-				error = gpio;
+		button = &pdata->buttons[i++];
+
+		button->gpio = of_get_gpio_flags(pp, 0, &flags);
+		if (button->gpio < 0) {
+			error = button->gpio;
+			if (error != -ENOENT) {
 				if (error != -EPROBE_DEFER)
 					dev_err(dev,
 						"Failed to get gpio flags, error: %d\n",
 						error);
 				return ERR_PTR(error);
 			}
+		} else {
+			button->active_low = flags & OF_GPIO_ACTIVE_LOW;
 		}
 
-		button = &pdata->buttons[i++];
+		button->irq = irq_of_parse_and_map(pp, 0);
 
-		button->gpio = gpio;
-		button->active_low = flags & OF_GPIO_ACTIVE_LOW;
+		if (!gpio_is_valid(button->gpio) && !button->irq) {
+			dev_err(dev, "Found button without gpios or irqs\n");
+			return ERR_PTR(-EINVAL);
+		}
 
 		if (of_property_read_u32(pp, "linux,code", &button->code)) {
 			dev_err(dev, "Button without keycode: 0x%x\n",
@@ -658,6 +660,8 @@ gpio_keys_get_devtree_pdata(struct device *dev)
 
 		button->wakeup = !!of_get_property(pp, "gpio-key,wakeup", NULL);
 
+		button->can_disable = !!of_get_property(pp, "linux,can-disable", NULL);
+
 		if (of_property_read_u32(pp, "debounce-interval",
 					 &button->debounce_interval))
 			button->debounce_interval = 5;
-- 
2.2.0.rc0.207.ga3a616c


-- 
Dmitry

^ permalink raw reply related

* Re: [PATCH] Input: gpio_keys - initialize the 'irq' variable
From: Dmitry Torokhov @ 2014-12-08  6:48 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: alexander.stein, linux-input, Fabio Estevam
In-Reply-To: <1417880632-13559-1-git-send-email-festevam@gmail.com>

Hi Fabio,

On Sat, Dec 06, 2014 at 01:43:52PM -0200, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Commit f2d347ff70be453e ("Input: gpio_keys - add device tree support for
> interrupt only keys") caused the following build warning:
> 
> drivers/input/keyboard/gpio_keys.c: In function 'gpio_keys_probe':
> drivers/input/keyboard/gpio_keys.c:647:15: warning: 'irq' may be used uninitialized in this function [-Wmaybe-uninitialized]
> drivers/input/keyboard/gpio_keys.c:622:7: note: 'irq' was declared here
> 
> Initialize 'irq' with a default value to fix it.
> 
> Reported-by: Olof's autobuilder <build@lixom.net>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  drivers/input/keyboard/gpio_keys.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c
> index aa13055..70e89d1 100644
> --- a/drivers/input/keyboard/gpio_keys.c
> +++ b/drivers/input/keyboard/gpio_keys.c
> @@ -619,7 +619,7 @@ gpio_keys_get_devtree_pdata(struct device *dev)
>  	i = 0;
>  	for_each_child_of_node(node, pp) {
>  		int gpio = -1;
> -		int irq;
> +		int irq = -EINVAL;

No, this is not good as we'll end up with button->irq, which is unsigned
int, having nonsense value.

I'd rather move assignment into the proper branch.

Thanks.

-- 
Dmitry

^ permalink raw reply

* Re: [PATCHv2 2/3] sunxi:drivers:input:ps2 Added sunxi A10/A20 ps2 driver
From: Vishnu Patekar @ 2014-12-08  4:43 UTC (permalink / raw)
  To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
	dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org,
	linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org
  Cc: leafy.myeh-Q9AEpCAkrSgqDJ6do+/SaQ@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	pawel.moll-5wv7dgnIgG8@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org,
	galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	vishnupatekar
In-Reply-To: <1417907719-26775-3-git-send-email-VishnuPatekar0510-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 15878 bytes --]

On Sunday, December 7, 2014, vishnupatekar <vishnupatekar0510-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:

>  -added compatible as allwinner,sun4i-a10-ps2 and allwinner,sun7i-a20-ps2.
>  - added default n depends on ARCH_SUNXI || COMPILE_TEST
>  in Kconfig.
>  -handled errors and free resources on errors.
>  -used BIT(x), DIV_ROUND_UP macros.
>  -corrected style errors.
>
> Signed-off-by: vishnupatekar <VishnuPatekar0510-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:;>>
> ---
>  drivers/input/serio/Kconfig     |   10 ++
>  drivers/input/serio/Makefile    |    1 +
>  drivers/input/serio/sunxi-ps2.c |  364
> +++++++++++++++++++++++++++++++++++++++
>  3 files changed, 375 insertions(+)
>  create mode 100644 drivers/input/serio/sunxi-ps2.c
>
> diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig
> index bc2d474..3a7599c 100644
> --- a/drivers/input/serio/Kconfig
> +++ b/drivers/input/serio/Kconfig
> @@ -281,4 +281,14 @@ config HYPERV_KEYBOARD
>           To compile this driver as a module, choose M here: the module
> will
>           be called hyperv_keyboard.
>
> +config SERIO_SUNXI_PS2
> +       tristate "Allwinner Sun4i-A10/Sun7i-A20 PS/2 controller"
> +       default n
> +       depends on ARCH_SUNXI || COMPILE_TEST
> +       help
> +         Say Y here if you have Sun4i-A10/Sun7i-A20 Allwinner PS/2 ports.
> +
> +         To compile this driver as a module, choose M here: the
> +         module will be called sunxi-ps2.
> +
>  endif
> diff --git a/drivers/input/serio/Makefile b/drivers/input/serio/Makefile
> index 815d874..0fa0f78 100644
> --- a/drivers/input/serio/Makefile
> +++ b/drivers/input/serio/Makefile
> @@ -29,3 +29,4 @@ obj-$(CONFIG_SERIO_ARC_PS2)   += arc_ps2.o
>  obj-$(CONFIG_SERIO_APBPS2)     += apbps2.o
>  obj-$(CONFIG_SERIO_OLPC_APSP)  += olpc_apsp.o
>  obj-$(CONFIG_HYPERV_KEYBOARD)  += hyperv-keyboard.o
> +obj-$(CONFIG_SERIO_SUNXI_PS2)  += sunxi-ps2.o
> diff --git a/drivers/input/serio/sunxi-ps2.c
> b/drivers/input/serio/sunxi-ps2.c
> new file mode 100644
> index 0000000..4cd89ae
> --- /dev/null
> +++ b/drivers/input/serio/sunxi-ps2.c
> @@ -0,0 +1,364 @@
> +/*
> + *     Driver for Allwinner A20 PS2 host controller
> + *
> + *     Author: Vishnu Patekar <vishnupatekar0510-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:;>
> >
> + *             Aaron.maoye <leafy.myeh-Q9AEpCAkrSgqDJ6do+/SaQ@public.gmane.org <javascript:;>>
> + *
> + *             Based on 3.0 kernel
> + *
> + */
> +
> +#include <linux/module.h>
> +#include <linux/serio.h>
> +#include <linux/interrupt.h>
> +#include <linux/errno.h>
> +#include <linux/slab.h>
> +#include <linux/list.h>
> +#include <linux/io.h>
> +#include <linux/of_address.h>
> +#include <linux/of_device.h>
> +#include <linux/of_irq.h>
> +#include <linux/of_platform.h>
> +#include <linux/clk.h>
> +#include <linux/delay.h>
> +
> +#define DRIVER_NAME            "sunxi-ps2"
> +
> +/* register offset definitions */
> +#define PS2_REG_GCTL           (0x00)  /*  PS2 Module Global Control Reg
> */
> +#define PS2_REG_DATA           (0x04)  /*  PS2 Module Data Reg         */
> +#define PS2_REG_LCTL           (0x08)  /*  PS2 Module Line Control Reg */
> +#define PS2_REG_LSTS           (0x0C)  /*  PS2 Module Line Status Reg  */
> +#define PS2_REG_FCTL           (0x10)  /*  PS2 Module FIFO Control Reg */
> +#define PS2_REG_FSTS           (0x14)  /*  PS2 Module FIFO Status Reg  */
> +#define PS2_REG_CLKDR          (0x18)  /*  PS2 Module Clock Divider Reg*/
> +
> +/*  PS2 GLOBAL CONTROL REGISTER PS2_GCTL */
> +#define PS2_GCTL_INTFLAG       BIT(4)
> +#define PS2_GCTL_INTEN         BIT(3)
> +#define PS2_GCTL_RESET         BIT(2)
> +#define PS2_GCTL_MASTER                BIT(1)
> +#define PS2_GCTL_BUSEN         BIT(0)
> +
> +/* PS2 LINE CONTROL REGISTER */
> +#define PS2_LCTL_NOACK         BIT(18)
> +#define PS2_LCTL_TXDTOEN       BIT(8)
> +#define PS2_LCTL_STOPERREN     BIT(3)
> +#define PS2_LCTL_ACKERREN      BIT(2)
> +#define PS2_LCTL_PARERREN      BIT(1)
> +#define PS2_LCTL_RXDTOEN       BIT(0)
> +
> +/* PS2 LINE STATUS REGISTER */
> +#define PS2_LSTS_TXTDO         BIT(8)
> +#define PS2_LSTS_STOPERR       BIT(3)
> +#define PS2_LSTS_ACKERR                BIT(2)
> +#define PS2_LSTS_PARERR                BIT(1)
> +#define PS2_LSTS_RXTDO         BIT(0)
> +
> +/* PS2 FIFO CONTROL REGISTER */
> +#define PS2_FCTL_TXRST         BIT(17)
> +#define PS2_FCTL_RXRST         BIT(16)
> +#define PS2_FCTL_TXUFIEN       BIT(10)
> +#define PS2_FCTL_TXOFIEN       BIT(9)
> +#define PS2_FCTL_TXRDYIEN      BIT(8)
> +#define PS2_FCTL_RXUFIEN       BIT(2)
> +#define PS2_FCTL_RXOFIEN       BIT(1)
> +#define PS2_FCTL_RXRDYIEN      BIT(0)
> +
> +/* PS2 FIFO STATUS REGISTER */
> +#define PS2_FSTS_TXUF          BIT(10)
> +#define PS2_FSTS_TXOF          BIT(9)
> +#define PS2_FSTS_TXRDY         BIT(8)
> +#define PS2_FSTS_RXUF          BIT(2)
> +#define PS2_FSTS_RXOF          BIT(1)
> +#define PS2_FSTS_RXRDY         BIT(0)
> +
> +
> +#define PS2_LINE_ERROR_BIT \
> +       (PS2_LSTS_TXTDO|PS2_LSTS_STOPERR|PS2_LSTS_ACKERR| \
> +       PS2_LSTS_PARERR|PS2_LSTS_RXTDO)
> +
> +#define PS2_FIFO_ERROR_BIT \
> +       (PS2_FSTS_TXUF|PS2_FSTS_TXOF|PS2_FSTS_TXRDY|PS2_FSTS_RXUF| \
> +       PS2_FSTS_RXOF|PS2_FSTS_RXRDY)
> +
> +#define PS2_SAMPLE_CLK         (1000000)
> +#define PS2_SCLK               (125000)
> +
> +struct sunxips2data {
> +       struct serio *serio;
> +       struct device *dev;
> +
> +       /* IO mapping base */
> +       void __iomem    *reg_base;
> +
> +       /* clock management */
> +       struct clk      *clk;
> +
> +       /* irq */
> +       spinlock_t      lock;
> +       int             irq;
> +};
> +
> +/*********************/
> +/* Interrupt handler */
> +/*********************/
> +static irqreturn_t sunxips2_interrupt(int irq, void *dev_id)
> +{
> +       struct sunxips2data *drvdata = dev_id;
> +       u32 intr_status;
> +       u32 fifo_status;
> +       unsigned char byte;
> +       u32 rval;
> +       u32 error = 0;
> +
> +       spin_lock(&drvdata->lock);
> +
> +       /* Get the PS/2 interrupts and clear them */
> +       intr_status  = readl(drvdata->reg_base + PS2_REG_LSTS);
> +       fifo_status  = readl(drvdata->reg_base + PS2_REG_FSTS);
> +
> +       /*Check Line Status Register*/
> +       if (intr_status & 0x10f) {
> +               if (intr_status & PS2_LSTS_STOPERR)
> +                       dev_info(drvdata->dev, "PS/2 Stop Bit Error!");
> +               if (intr_status & PS2_LSTS_ACKERR)
> +                       dev_info(drvdata->dev, "PS/2 Acknowledge
> Error!\n");
> +               if (intr_status & PS2_LSTS_PARERR)
> +                       dev_info(drvdata->dev, "PS/2 Parity Error!\n");
> +               if (intr_status & PS2_LSTS_TXTDO)
> +                       dev_info(drvdata->dev, "PS/2 Transmit Data
> Timeout!\n");
> +               if (intr_status & PS2_LSTS_RXTDO)
> +                       dev_info(drvdata->dev, "PS/2 Receive Data
> Timeout!\n");
> +
> +               /*reset PS/2 controller*/
> +               writel(readl(drvdata->reg_base + PS2_REG_GCTL) |
> PS2_GCTL_RESET,
> +                       drvdata->reg_base + PS2_REG_GCTL);
> +
> +               rval = PS2_LSTS_TXTDO | PS2_LSTS_STOPERR | PS2_LSTS_ACKERR
> |
> +                       PS2_LSTS_PARERR | PS2_LSTS_RXTDO;
> +               writel(rval, drvdata->reg_base + PS2_REG_LSTS);
> +               error = 1;
> +       }
> +
> +       /*Check FIFO Status Register*/
> +       if (fifo_status & 0x0606) {
> +               if (fifo_status & PS2_FSTS_TXUF)
> +                       dev_info(drvdata->dev, "PS/2 Tx FIFO
> Underflow!\n");
> +               if (fifo_status & PS2_FSTS_TXOF)
> +                       dev_info(drvdata->dev, "PS/2 Tx FIFO Overflow!\n");
> +               if (fifo_status & PS2_FSTS_RXUF)
> +                       dev_info(drvdata->dev, "PS/2 Rx FIFO
> Underflow!\n");
> +               if (fifo_status & PS2_FSTS_RXOF)
> +                       dev_info(drvdata->dev, "PS/2 Rx FIFO Overflow!\n");
> +               /*reset PS/2 controller*/
> +               writel(readl(drvdata->reg_base + PS2_REG_GCTL) |
> PS2_GCTL_RESET,
> +                       drvdata->reg_base + PS2_REG_GCTL);
> +
> +               rval = PS2_FSTS_TXUF | PS2_FSTS_TXOF | PS2_FSTS_TXRDY |
> +                       PS2_FSTS_RXUF | PS2_FSTS_RXOF | PS2_FSTS_RXRDY;
> +               writel(rval, drvdata->reg_base + PS2_REG_FSTS);
> +               error = 1;
> +       }
> +
> +       rval = (fifo_status >> 16) & 0x3;
> +       while (!error && rval--) {
> +               byte = readl(drvdata->reg_base + PS2_REG_DATA) & 0xff;
> +               /* dev_info(drvdata->dev, "PS/2 Receive %02x\n", byte); */
> +               serio_interrupt(drvdata->serio, byte, 0);
> +       }
> +
> +       writel(intr_status, drvdata->reg_base + PS2_REG_LSTS);
> +       writel(fifo_status, drvdata->reg_base + PS2_REG_FSTS);
> +
> +       spin_unlock(&drvdata->lock);
> +
> +       return IRQ_HANDLED;
> +}
> +
> +
> +static int sunxips2_open(struct serio *pserio)
> +{
> +       struct sunxips2data *drvdata = pserio->port_data;
> +       u32 src_clk = 0;
> +       u32 clk_scdf;
> +       u32 clk_pcdf;
> +       u32 rval;
> +
> +       /*Set Line Control And Enable Interrupt*/
> +       rval = PS2_LCTL_TXDTOEN | PS2_LCTL_STOPERREN | PS2_LCTL_ACKERREN
> +               | PS2_LCTL_PARERREN | PS2_LCTL_RXDTOEN;
> +       writel(rval, drvdata->reg_base + PS2_REG_LCTL);
> +
> +       /*Reset FIFO*/
> +       rval =
> PS2_FCTL_TXRST|PS2_FCTL_RXRST|PS2_FCTL_TXUFIEN|PS2_FCTL_TXOFIEN
> +               |PS2_FCTL_RXUFIEN|PS2_FCTL_RXOFIEN|PS2_FCTL_RXRDYIEN;
> +       writel(rval, drvdata->reg_base + PS2_REG_FCTL);
> +
> +       src_clk = clk_get_rate(drvdata->clk);
> +
> +       if (!src_clk) {
> +               dev_info(drvdata->dev, "w_ps2c_set_sclk error, source
> clock is 0.");
> +               return -1;
> +       }

Ohh, I missed this!!. I'll  modify to return proper error code here.

> +
> +       /*Set Clock Divider Register*/
> +       clk_scdf = DIV_ROUND_UP(src_clk, PS2_SAMPLE_CLK) - 1;
> +       clk_pcdf = DIV_ROUND_UP(PS2_SAMPLE_CLK, PS2_SCLK) - 1;
> +       rval = (clk_scdf<<8) | clk_pcdf;
> +       writel(rval, drvdata->reg_base + PS2_REG_CLKDR);
> +
> +       /*Set Global Control Register*/
> +       rval = PS2_GCTL_RESET | PS2_GCTL_INTEN | PS2_GCTL_MASTER
> +               | PS2_GCTL_BUSEN;
> +       writel(rval, drvdata->reg_base + PS2_REG_GCTL);
> +
> +       return 0;
> +}
> +
> +static void sunxips2_close(struct serio *pserio)
> +{
> +       struct sunxips2data *drvdata = pserio->port_data;
> +       unsigned long flags;
> +
> +       spin_lock_irqsave(&drvdata->lock, flags);
> +       /* Disable the PS2 interrupts */
> +       writel(0, drvdata->reg_base + PS2_REG_GCTL);
> +       spin_unlock_irqrestore(&drvdata->lock, flags);
> +}
> +
> +static int sunxips2_write(struct serio *pserio, unsigned char val)
> +{
> +       unsigned long expire = jiffies + msecs_to_jiffies(10000);
> +       struct sunxips2data *drvdata = (struct sunxips2data
> *)pserio->port_data;
> +
> +       do {
> +               if (readl(drvdata->reg_base + PS2_REG_FSTS) &
> PS2_FSTS_TXRDY) {
> +                       writel(val, drvdata->reg_base + PS2_REG_DATA);
> +                       return 0;
> +               }
> +       } while (time_before(jiffies, expire));
> +
> +       return 0;
> +}
> +
> +static int sunxips2_probe(struct platform_device *pdev)
> +{
> +       struct resource *res; /* IO mem resources */
> +       struct sunxips2data *drvdata;
> +       struct serio *serio;
> +       struct device *dev = &pdev->dev;
> +       unsigned int irq;
> +       int error;
> +
> +       drvdata = devm_kzalloc(dev, sizeof(struct sunxips2data),
> GFP_KERNEL);
> +       serio = kzalloc(sizeof(struct serio), GFP_KERNEL);
> +       if (!drvdata || !serio) {
> +               error = -ENOMEM;
> +               goto err_free_mem;
> +       }
> +
> +       spin_lock_init(&drvdata->lock);
> +
> +       /* IO */
> +       res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> +       drvdata->reg_base = devm_ioremap_resource(dev, res);
> +       if (IS_ERR(drvdata->reg_base)) {
> +               dev_err(dev, "failed to map registers\n");
> +               error = PTR_ERR(drvdata->reg_base);
> +               goto err_free_mem;
> +       }
> +
> +       drvdata->clk = devm_clk_get(dev, NULL);
> +       if (!IS_ERR(drvdata->clk)) {
> +               error = clk_prepare_enable(drvdata->clk);
> +               if (error < 0) {
> +                       dev_err(dev, "failed to enable clock %d\n", error);
> +                       goto err_free_mem;
> +               }
> +       } else {
> +               error = PTR_ERR(drvdata->clk);
> +               dev_err(dev, "couldn't get clock %d\n", error);
> +               goto err_free_mem;
> +       }
> +
> +       serio->id.type = SERIO_8042;
> +       serio->write = sunxips2_write;
> +       serio->open = sunxips2_open;
> +       serio->close = sunxips2_close;
> +       serio->port_data = drvdata;
> +       serio->dev.parent = dev;
> +       strlcpy(serio->name, dev_name(dev), sizeof(serio->name));
> +       strlcpy(serio->phys, dev_name(dev), sizeof(serio->phys));
> +
> +       /* Get IRQ for the device */
> +       irq = platform_get_irq(pdev, 0);
> +       if (!irq) {
> +               dev_err(dev, "no IRQ found\n");
> +               error = -ENXIO;
> +               goto error_disable_clk;
> +       }
> +
> +       drvdata->irq = irq;
> +       drvdata->serio = serio;
> +       drvdata->dev = dev;
> +       error = devm_request_threaded_irq(dev, drvdata->irq,
> +               sunxips2_interrupt, NULL, 0, DRIVER_NAME, drvdata);
> +
> +       if (error) {
> +               dev_err(drvdata->dev, "Interrupt alloc failed
> %d:error:%d\n",
> +                       drvdata->irq, error);
> +               goto error_disable_clk;
> +       }
> +
> +       serio_register_port(serio);
> +       platform_set_drvdata(pdev, drvdata);
> +
> +       return 0;       /* success */
> +
> +error_disable_clk:
> +       clk_disable_unprepare(drvdata->clk);
> +
> +err_free_mem:
> +       kfree(serio);
> +       return error;
> +}
> +
> +static int sunxips2_remove(struct platform_device *pdev)
> +{
> +       struct sunxips2data *drvdata = platform_get_drvdata(pdev);
> +
> +       serio_unregister_port(drvdata->serio);
> +       disable_irq(drvdata->irq);
> +
> +       if (!IS_ERR(drvdata->clk))
> +               clk_disable_unprepare(drvdata->clk);
> +       kfree(drvdata->serio);
> +
> +       return 0;
> +}
> +
> +/* Match table for of_platform binding */
> +static const struct of_device_id sunxips2_of_match[] = {
> +       { .compatible = "allwinner,sun7i-a20-ps2", },
> +       { .compatible = "allwinner,sun4i-a10-ps2", },
> +       { },
> +};
> +
> +MODULE_DEVICE_TABLE(of, sunxips2_of_match);
> +
> +/*platform driver structure*/
> +static struct platform_driver sunxips2_of_driver = {
> +       .probe          = sunxips2_probe,
> +       .remove         = sunxips2_remove,
> +       .driver = {
> +               .name = DRIVER_NAME,
> +               .of_match_table = sunxips2_of_match,
> +       },
> +};
> +module_platform_driver(sunxips2_of_driver);
> +
> +MODULE_AUTHOR("Vishnu Patekar <vishnupatekar0510-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:;>
> >");
> +MODULE_AUTHOR("Aaron.maoye <leafy.myeh-Q9AEpCAkrSgqDJ6do+/SaQ@public.gmane.org <javascript:;>>");
> +MODULE_DESCRIPTION("Sunxi PS/2 driver");
> +MODULE_LICENSE("GPL");
> --
> 1.7.9.5
>
>

-- 
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 20244 bytes --]

^ permalink raw reply

* [PATCH] driver: input :touchscreen : add Raydium I2C touch driver
From: jeffrey.lin @ 2014-12-08  3:42 UTC (permalink / raw)
  To: dmitry.torokhov, rydberg, shc_work, bleung, lee.jones,
	charliemooney
  Cc: jeffrey.lin, roger.yang, KP.li, linux-kernel, linux-input

From: "jeffrey.lin" <jeffrey.lin@rad-ic.com>

This patch is porting Raydium I2C touch driver. Developer can enable
 raydium touch driver by modifying define "CONFIG_TOUCHSCREEN_RM_TS".

Signed-off-by: jeffrey.lin@rad-ic.com
---
 drivers/input/touchscreen/Kconfig      |  12 +
 drivers/input/touchscreen/Makefile     |   1 +
 drivers/input/touchscreen/rm31100_ts.c | 846 +++++++++++++++++++++++++++++++++
 3 files changed, 859 insertions(+)
 create mode 100644 drivers/input/touchscreen/rm31100_ts.c

diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 3ce9181..d0324d2 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -955,4 +955,16 @@ config TOUCHSCREEN_ZFORCE
 	  To compile this driver as a module, choose M here: the
 	  module will be called zforce_ts.
 
+config TOUCHSCREEN_RM_TS
+	tristate "Raydium I2C Touchscreen"
+	depends on I2C
+	help
+	  Say Y here if you have Raydium series I2C touchscreen,
+	  such as RM31100 , connected to your system.
+
+	  If unsure, say N.
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called rm31100_ts.
+
 endif
diff --git a/drivers/input/touchscreen/Makefile b/drivers/input/touchscreen/Makefile
index 687d5a7..3220f66 100644
--- a/drivers/input/touchscreen/Makefile
+++ b/drivers/input/touchscreen/Makefile
@@ -78,3 +78,4 @@ obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE)	+= zylonite-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_W90X900)	+= w90p910_ts.o
 obj-$(CONFIG_TOUCHSCREEN_TPS6507X)	+= tps6507x-ts.o
 obj-$(CONFIG_TOUCHSCREEN_ZFORCE)	+= zforce_ts.o
+obj-$(CONFIG_TOUCHSCREEN_RM_TS)		+= rm31100_ts.o
diff --git a/drivers/input/touchscreen/rm31100_ts.c b/drivers/input/touchscreen/rm31100_ts.c
new file mode 100644
index 0000000..997dc0c
--- /dev/null
+++ b/drivers/input/touchscreen/rm31100_ts.c
@@ -0,0 +1,846 @@
+/*
+ * Raydium RM31100_ts touchscreen driver.
+ *
+ * Copyright (C) 2012-2014, Raydium Semiconductor Corporation.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2, and only version 2, as published by the
+ * Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * Raydium reserves the right to make changes without further notice
+ * to the materials described herein. Raydium does not assume any
+ * liability arising out of the application described herein.
+ *
+ * Contact Raydium Semiconductor Corporation at www.rad-ic.com
+ *
+ * History:
+ *			(C) 2012 Raydium - Update for GPL distribution
+ *			(C) 2009 Enea - Original prototype
+ *
+ */
+#include <linux/async.h>
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/i2c.h>
+#include <linux/input.h>
+#include <linux/slab.h>
+#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/gpio.h>
+#include <linux/mutex.h>
+#include <linux/delay.h>
+#include <linux/pm.h>
+#include <linux/pm_runtime.h>
+#ifdef CONFIG_MISC_DEV
+#include <linux/miscdevice.h>
+#endif
+#include <linux/uaccess.h>
+#include <asm/unaligned.h>
+#include <linux/input/mt.h>
+
+#define rm31100	0x0
+#define rm3110x	0x1
+
+#define INVALID_DATA	0xff
+#define MAX_REPORT_TOUCHED_POINTS	10
+
+#define I2C_CLIENT_ADDR         0x39
+#define I2C_DMA_CLIENT_ADDR     0x5A
+
+struct rm31100_ts_data {
+	u8 x_index;
+	u8 y_index;
+	u8 z_index;
+	u8 id_index;
+	u8 touch_index;
+	u8 data_reg;
+	u8 status_reg;
+	u8 data_size;
+	u8 touch_bytes;
+	u8 update_data;
+	u8 touch_meta_data;
+	u8 finger_size;
+};
+
+struct rm3110x_ts_platform_data {
+	int (*power_on)(int on);
+	int (*dev_setup)(bool on);
+	const char *ts_name;
+	u32 dis_min_x; /* display resoltion ABS min*/
+	u32 dis_max_x;/* display resoltion ABS max*/
+	u32 dis_min_y;
+	u32 dis_max_y;
+	u32 min_touch; /* no.of touches supported */
+	u32 max_touch;
+	u32 min_tid; /* track id */
+	u32 max_tid;
+	u32 min_width;/* size of the finger */
+	u32 max_width;
+	u32 res_x; /* TS resolution unit*/
+	u32 res_y;
+	u32 swap_xy;
+	u8 nfingers;
+	u32 irq_gpio;
+	int resout_gpio;
+	bool wakeup;
+	u32 irq_cfg;
+};
+
+static struct rm31100_ts_data devices[] = {
+	[0] = {
+		.x_index = 2,
+		.y_index = 4,
+		.z_index = 6,
+		.id_index = 1,
+		.data_reg = 0x1,
+		.status_reg = 0,
+		.update_data = 0x0,
+		.touch_bytes = 6,
+		.touch_meta_data = 1,
+		.finger_size = 70,
+	},
+};
+
+struct rm31100_ts {
+	struct i2c_client *client;
+	struct input_dev *input;
+	struct rm3110x_ts_platform_data *pdata;
+	struct rm31100_ts_data *dd;
+	u8 *touch_data;
+	u8 device_id;
+	u8 prev_touches;
+	bool is_suspended;
+	bool int_pending;
+	struct mutex access_lock;
+	u32 pen_irq;
+};
+
+struct rm31100_ts *pts;
+/*
+static inline u16 join_bytes(u8 a, u8 b)
+{
+	u16 ab = 0;
+	ab = ab | a;
+	ab = ab << 8 | b;
+	return ab;
+}
+*/
+static s32 rm31100_ts_write_reg_u8(struct i2c_client *client, u8 reg, u8 val)
+{
+	s32 data;
+
+	data = i2c_smbus_write_byte_data(client, reg, val);
+	if (data < 0)
+		dev_err(&client->dev, "error %d in writing reg 0x%x\n",
+						 data, reg);
+
+	return data;
+}
+
+static s32 rm31100_ts_read_reg_u8(struct i2c_client *client, u8 reg)
+{
+	s32 data;
+
+	data = i2c_smbus_read_byte_data(client, reg);
+	if (data < 0)
+		dev_err(&client->dev, "error %d in reading reg 0x%x\n",
+						 data, reg);
+
+	return data;
+}
+
+static int rm31100_ts_read(struct i2c_client *client, u8 reg, u8 *buf, int num)
+{
+	struct i2c_msg xfer_msg[2];
+
+	xfer_msg[0].addr = client->addr;
+	xfer_msg[0].len = 1;
+	xfer_msg[0].flags = 0;
+	xfer_msg[0].buf = &reg;
+
+	xfer_msg[1].addr = client->addr;
+	xfer_msg[1].len = num;
+	xfer_msg[1].flags = I2C_M_RD;
+	xfer_msg[1].buf = buf;
+
+	return i2c_transfer(client->adapter, xfer_msg, 2);
+}
+
+static int rm31100_ts_write_client_dma(struct i2c_client *client, u8 *buf, int num)
+{
+	struct i2c_msg xfer_msg[1];
+
+	xfer_msg[0].addr = I2C_DMA_CLIENT_ADDR;
+	xfer_msg[0].len = num;
+	xfer_msg[0].flags = 0;
+	xfer_msg[0].buf = buf;
+
+	return i2c_transfer(client->adapter, xfer_msg, 1);
+}
+
+static int rm31100_ts_write(struct i2c_client *client, u8 *buf, int num)
+{
+	struct i2c_msg xfer_msg[1];
+
+	xfer_msg[0].addr = client->addr;
+	xfer_msg[0].len = num;
+	xfer_msg[0].flags = 0;
+	xfer_msg[0].buf = buf;
+
+	return i2c_transfer(client->adapter, xfer_msg, 1);
+}
+#ifdef CONFIG_MISC_DEV
+static int dev_open(struct inode *inode, struct file *filp)
+{
+	mutex_lock(&pts->access_lock);
+	return 0;
+}
+
+static int dev_release(struct inode *inode, struct file *filp)
+{
+	mutex_unlock(&pts->access_lock);
+	return 0;
+}
+static ssize_t
+dev_read(struct file *filp, char __user *buf, size_t count, loff_t *pos)
+{
+	u8 *kbuf;
+	struct i2c_msg xfer_msg;
+	/*static char out[] = "1234567890";*/
+	/*static int idx;*//*= 0; remove by checkpatch*/
+	int i;
+
+	kbuf = kmalloc(count, GFP_KERNEL);
+	if (kbuf == NULL)
+		return -ENOMEM;
+
+	/*xfer_msg.addr = pts->client->addr;*/
+	xfer_msg.addr = I2C_CLIENT_ADDR;
+	xfer_msg.len = count;
+	xfer_msg.flags = I2C_M_RD;
+	xfer_msg.buf = kbuf;
+
+	i2c_transfer(pts->client->adapter, &xfer_msg, 1);
+
+	if (copy_to_user(buf, kbuf, count) == 0)
+		return count;
+	else
+		return -EFAULT;
+}
+
+static ssize_t
+dev_write(struct file *filp, const char __user *buf, size_t count, loff_t *pos)
+{
+	u8 *kbuf;
+	ssize_t status = 0;
+	int i;
+
+	kbuf = kmalloc(count, GFP_KERNEL);
+	if (kbuf == NULL) {
+		dev_err("kmalloc() fail\n");
+		return -ENOMEM;
+	}
+
+	if (copy_from_user(kbuf, buf, count) == 0) {
+		pts->client->addr = I2C_CLIENT_ADDR;
+		if (rm31100_ts_write(pts->client, kbuf, count) < 0)
+			status = -EFAULT;
+		else
+			status = count;
+	} else {
+		dev_err("copy_from_user() fail\n");
+		status = -EFAULT;
+	}
+
+	kfree(kbuf);
+	return status;
+}
+
+static struct file_operations dev_fops = {
+	.owner = THIS_MODULE,
+	.open = dev_open,
+	.release = dev_release,
+	.read = dev_read,
+	.write = dev_write,
+	/*.unlocked_ioctl = dev_ioctl,*/
+};
+
+static struct miscdevice raydium_ts_miscdev = {
+	.minor = MISC_DYNAMIC_MINOR,
+	.name = "raydium_ts",
+	.fops = &dev_fops,
+};
+#endif
+
+
+ssize_t show(struct device_driver *drv, char *buff)
+{
+	struct i2c_msg xfer_msg;
+	int num = 10;
+	char buf[100];
+	/*int i;*/
+
+	xfer_msg.addr = pts->client->addr;
+	xfer_msg.len = num;
+	xfer_msg.flags = I2C_M_RD;
+	xfer_msg.buf = buf;
+	pts->client->addr = I2C_CLIENT_ADDR;
+	i2c_transfer(pts->client->adapter, &xfer_msg, 1);
+
+	return 0;
+}
+
+ssize_t store(struct device_driver *drv, const char *buf, size_t count)
+{
+	/*unsigned char pkt[] = { 0xF2, 5, 1, 1 };*/
+	unsigned char pkt[] = { 0xF1, 5, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0};
+
+	pts->client->addr = I2C_CLIENT_ADDR;
+	rm31100_ts_write(pts->client, pkt, sizeof(pkt));
+
+	return sizeof(pkt);
+}
+
+DRIVER_ATTR(myAttr, 0x777, show, store);
+
+static void report_data(struct rm31100_ts *dev, u16 x, u16 y,
+	u8 pressure, u8 id)
+{
+	struct input_dev *input_dev = dev->input;
+	if (dev->pdata->swap_xy)
+		swap(x, y);
+
+	input_mt_slot(input_dev, id);
+	input_mt_report_slot_state(input_dev, MT_TOOL_FINGER, true);
+	input_report_abs(input_dev, ABS_MT_POSITION_X, x);
+	input_report_abs(input_dev, ABS_MT_POSITION_Y, y);
+	input_report_abs(input_dev, ABS_MT_PRESSURE, pressure);
+	input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, dev->dd->finger_size);
+/*
+	dev_dbg("%s(): id =%2hhd, x =%4hd, y =%4hd, pressure = %hhd\n",
+		__func__, id, x, y, pressure);
+*/
+}
+
+static void process_rm31100_data(struct rm31100_ts *ts)
+{
+	u8 id, pressure, touches, i;
+	u16 x, y;
+
+	touches = ts->touch_data[ts->dd->touch_index];
+
+	if (touches > 0) {
+		for (i = 0; i < touches; i++) {
+			id = ts->touch_data[i * ts->dd->touch_bytes +
+				ts->dd->id_index];
+			pressure = ts->touch_data[i * ts->dd->touch_bytes +
+				ts->dd->z_index];
+			x = get_unaligned_le16(&(ts->touch_data[i *
+				ts->dd->touch_bytes + ts->dd->x_index]));
+			y = get_unaligned_le16(&(ts->touch_data[i *
+				ts->dd->touch_bytes + ts->dd->y_index]));
+			report_data(ts, x, y, pressure, id);
+		}
+	} else
+		input_mt_sync(ts->input);
+
+	ts->prev_touches = touches;
+	/*input_report_key(ts->input, BTN_TOUCH, 1);*/
+	input_mt_report_pointer_emulation(ts->input, true);
+	input_sync(ts->input);
+}
+
+/*static void rm31100_ts_xy_worker(struct work_struct *work) JL remove*/
+static void rm31100_ts_xy_worker(struct rm31100_ts *work)
+{
+	int rc;
+	u8 client_dma_package[4] = {0x0f, 0x00, 0x20, 0x81};
+	struct rm31100_ts *ts = work;
+
+	if (ts->is_suspended == true) {
+		dev_dbg(&ts->client->dev, "TS is supended\n");
+		ts->int_pending = true;
+		return;
+	}
+
+	mutex_lock(&ts->access_lock);
+	/* read data from DATA_REG */
+	/*RM31100 DMA Mode*/
+	rc = rm31100_ts_write_client_dma(ts->client, client_dma_package, 0x04);
+	if (rc < 0) {
+		dev_err(&ts->client->dev, "write client dma failed\n");
+		goto schedule;
+	}
+	rc = rm31100_ts_read(ts->client, ts->dd->data_reg, ts->touch_data,
+	ts->dd->data_size);
+
+	if (rc < 0) {
+		dev_err(&ts->client->dev, "read failed\n");
+		goto schedule;
+	}
+
+	if (ts->touch_data[ts->dd->touch_index] == INVALID_DATA)
+		goto schedule;
+
+	/* write to STATUS_REG to release lock */
+	rc = rm31100_ts_write_reg_u8(ts->client,
+		ts->dd->status_reg, ts->dd->update_data);
+	if (rc < 0) {
+		dev_err(&ts->client->dev, "write failed, try once more\n");
+
+		rc = rm31100_ts_write_reg_u8(ts->client,
+			ts->dd->status_reg, ts->dd->update_data);
+		if (rc < 0)
+			dev_err(&ts->client->dev, "write failed, exiting\n");
+	}
+
+	process_rm31100_data(ts);
+schedule:
+	mutex_unlock(&ts->access_lock);
+}
+
+static irqreturn_t rm31100_ts_irq(int irq, void *dev_id)
+{
+	struct rm31100_ts *ts = dev_id;
+
+	rm31100_ts_xy_worker(ts);
+	return IRQ_HANDLED;
+}
+
+static int rm31100_ts_init_ts(struct i2c_client *client, struct rm31100_ts *ts)
+{
+	/*struct input_dev *input_device;*/
+	/*int rc = 0;*/
+
+	ts->dd = &devices[ts->device_id];
+
+	if (!ts->pdata->nfingers) {
+		dev_err(&client->dev, "Touches information not specified\n");
+		return -EINVAL;
+	}
+
+	if (ts->device_id == rm3110x) {
+		if (ts->pdata->nfingers > 2) {
+			dev_err(&client->dev, "Touches >=1 & <= 2\n");
+			return -EINVAL;
+		}
+		ts->dd->data_size = ts->dd->touch_bytes;
+		ts->dd->touch_index = 0x0;
+	} else if (ts->device_id == rm31100) {
+		if (ts->pdata->nfingers > 10) {
+			dev_err(&client->dev, "Touches >=1 & <= 10\n");
+			return -EINVAL;
+		}
+		ts->dd->data_size = ts->pdata->nfingers * ts->dd->touch_bytes +
+						ts->dd->touch_meta_data;
+		ts->dd->touch_index = 0x0;
+	}
+	/* w001 */
+	else {
+		ts->dd->data_size = ts->pdata->nfingers * ts->dd->touch_bytes +
+		ts->dd->touch_meta_data;
+		ts->dd->touch_index = 0x0;
+	}
+
+	ts->touch_data = kzalloc(ts->dd->data_size, GFP_KERNEL);
+	if (!ts->touch_data) {
+		pr_err("%s: Unable to allocate memory\n", __func__);
+		return -ENOMEM;
+	}
+	return 0;
+}
+
+#ifdef CONFIG_PM
+static int rm31100_ts_suspend(struct device *dev)
+{
+	struct rm31100_ts *ts = dev_get_drvdata(dev);
+	int rc = 0;
+
+	if (device_may_wakeup(dev)) {
+		/* mark suspend flag */
+		ts->is_suspended = true;
+		enable_irq_wake(ts->pen_irq);
+	}
+
+	disable_irq(ts->pen_irq);
+
+	gpio_free(ts->pdata->irq_gpio);
+
+	if (ts->pdata->power_on) {
+		rc = ts->pdata->power_on(0);
+		if (rc) {
+			dev_err(dev, "unable to goto suspend\n");
+			return rc;
+		}
+	}
+	return 0;
+}
+
+static int rm31100_ts_resume(struct device *dev)
+{
+	struct rm31100_ts *ts = dev_get_drvdata(dev);
+
+	int rc = 0;
+
+	if (device_may_wakeup(dev)) {
+		disable_irq_wake(ts->pen_irq);
+
+		ts->is_suspended = false;
+
+		if (ts->int_pending == true)
+			ts->int_pending = false;
+	} else {
+		if (ts->pdata->power_on) {
+			rc = ts->pdata->power_on(1);
+			if (rc) {
+				dev_err(dev, "unable to resume\n");
+				return rc;
+			}
+		}
+
+		enable_irq(ts->pen_irq);
+
+		/* Clear the status register of the TS controller */
+		rc = rm31100_ts_write_reg_u8(ts->client,
+			ts->dd->status_reg, ts->dd->update_data);
+		if (rc < 0) {
+			dev_err(&ts->client->dev,
+				"write failed, try once more\n");
+
+			rc = rm31100_ts_write_reg_u8(ts->client,
+				ts->dd->status_reg,
+				ts->dd->update_data);
+			if (rc < 0)
+				dev_err(&ts->client->dev,
+					"write failed, exiting\n");
+		}
+	}
+
+	return 0;
+}
+
+static struct dev_pm_ops rm31100_ts_pm_ops = {
+	.suspend = rm31100_ts_suspend,
+	.resume = rm31100_ts_resume,
+};
+#endif
+
+static int rm_input_dev_create(struct rm31100_ts *ts)
+{
+	struct input_dev *input_device;
+	int rc = 0;
+	ts->prev_touches = 0;
+
+	input_device = input_allocate_device();
+	if (!input_device) {
+		rc = -ENOMEM;
+		goto error_alloc_dev;
+	}
+	ts->input = input_device;
+
+	input_device->name = "raydium_ts";
+	input_device->id.bustype = BUS_I2C;
+	input_device->dev.parent = &ts->client->dev;
+	input_set_drvdata(input_device, ts);
+
+	__set_bit(EV_ABS, input_device->evbit);
+	__set_bit(INPUT_PROP_DIRECT, input_device->propbit);
+	__set_bit(BTN_TOUCH, input_device->keybit);
+
+
+	if (ts->device_id == rm31100) {
+		/* set up virtual key */
+		__set_bit(EV_KEY, input_device->evbit);
+	}
+	input_mt_init_slots(input_device,
+		MAX_REPORT_TOUCHED_POINTS, 0);
+	input_set_abs_params(input_device, ABS_MT_POSITION_X,
+		ts->pdata->dis_min_x, ts->pdata->dis_max_x, 0, 0);
+	input_set_abs_params(input_device, ABS_MT_POSITION_Y,
+		ts->pdata->dis_min_y, ts->pdata->dis_max_y, 0, 0);
+	input_set_abs_params(input_device, ABS_MT_PRESSURE,
+		0, 0xFF, 0, 0);
+	input_set_abs_params(input_device, ABS_MT_TOUCH_MAJOR,
+		0, 0xFF, 0, 0);
+	rc = input_register_device(input_device);
+	if (rc)
+		goto error_unreg_device;
+
+	return 0;
+
+error_unreg_device:
+	input_free_device(input_device);
+error_alloc_dev:
+	ts->input = NULL;
+	return rc;
+}
+
+static int rm31100_initialize(struct i2c_client *client)
+{
+	struct rm31100_ts *ts = i2c_get_clientdata(client);
+	int rc = 0, /*retry_cnt = 0,*/ temp_reg;
+	/* power on the device */
+	if (ts->pdata->power_on) {
+		rc = ts->pdata->power_on(1);
+		if (rc) {
+			pr_err("%s: Unable to power on the device\n", __func__);
+			goto error_dev_setup;
+		}
+	}
+
+	/* read one byte to make sure i2c device exists */
+	if (ts->device_id == rm3110x)
+		temp_reg = 0x01;
+	else if (ts->device_id == rm31100)
+		temp_reg = 0x00;
+	else
+		temp_reg = 0x05;
+
+	rc = rm31100_ts_read_reg_u8(client, temp_reg);
+	if (rc < 0) {
+		dev_err(&client->dev, "i2c sanity check failed\n");
+		goto error_power_on;
+	}
+
+	rc = rm31100_ts_init_ts(client, ts);
+	if (rc < 0) {
+		dev_err(&client->dev, "rm31100_ts init failed\n");
+		goto error_mutex_destroy;
+	}
+
+	/* configure touchscreen reset out gpio */
+	rc = gpio_request(ts->pdata->resout_gpio, "rm31100_resout_gpio");
+	if (rc) {
+		pr_err("%s: unable to request gpio %d\n",
+			__func__, ts->pdata->resout_gpio);
+		goto error_uninit_ts;
+	}
+
+	rc = gpio_direction_output(ts->pdata->resout_gpio, 0);
+	if (rc) {
+		pr_err("%s: unable to set direction for gpio %d\n",
+			__func__, ts->pdata->resout_gpio);
+		goto error_resout_gpio_dir;
+	}
+	/* reset gpio stabilization time */
+	msleep(20);
+
+	return 0;
+error_resout_gpio_dir:
+	if (ts->pdata->resout_gpio >= 0)
+		gpio_free(ts->pdata->resout_gpio);
+error_uninit_ts:
+	input_unregister_device(ts->input);
+	kfree(ts->touch_data);
+error_mutex_destroy:
+	mutex_destroy(&ts->access_lock);
+error_power_on:
+	if (ts->pdata->power_on)
+		ts->pdata->power_on(0);
+error_dev_setup:
+	if (ts->pdata->dev_setup)
+		ts->pdata->dev_setup(0);
+	return rc;
+}
+
+static void rm_initialize_async(void *data, async_cookie_t cookie)
+{
+	struct rm31100_ts *ts = data;
+	struct i2c_client *client = ts->client;
+	unsigned long irqflags;
+	int err = 0;
+
+	mutex_lock(&ts->access_lock);
+
+	err = rm31100_initialize(client);
+	if (err < 0) {
+		dev_err(&client->dev, "probe failed! unbind device.\n");
+		goto error_free_mem;
+	}
+
+	err = rm_input_dev_create(ts);
+	if (err) {
+		dev_err(&client->dev, "%s crated failed, %d\n", __func__, err);
+		goto error_goio_release;
+	}
+
+	irqflags = client->dev.of_node ? 0 : IRQF_TRIGGER_FALLING;
+
+	err = request_threaded_irq(ts->pen_irq, NULL,
+				   rm31100_ts_irq,
+				   irqflags | IRQF_ONESHOT,
+				   ts->client->dev.driver->name, ts);
+	if (err) {
+		dev_err(&client->dev, "Failed to register interrupt\n");
+		goto error_dev_release;
+	}
+
+	mutex_unlock(&ts->access_lock);
+
+	return;
+
+error_dev_release:
+	input_free_device(ts->input);
+error_goio_release:
+	if (ts->pdata->resout_gpio >= 0)
+		gpio_free(ts->pdata->resout_gpio);
+error_free_mem:
+	mutex_unlock(&ts->access_lock);
+	kfree(ts);
+	return;
+}
+
+
+/*static int __devinit rm31100_ts_probe(struct i2c_client *client,
+			const struct i2c_device_id *id)*/
+static int rm31100_ts_probe(struct i2c_client *client,
+			const struct i2c_device_id *id)
+{
+	struct rm31100_ts *ts;
+	struct rm3110x_ts_platform_data *pdata = client->dev.platform_data;
+	int rc/*, temp_reg*/;
+	union i2c_smbus_data dummy;
+
+	if (!pdata) {
+		dev_err(&client->dev, "platform data is required!\n");
+		return -EINVAL;
+	}
+
+	if (!i2c_check_functionality(client->adapter,
+		I2C_FUNC_SMBUS_READ_WORD_DATA)) {
+		dev_err(&client->dev, "I2C functionality not supported\n");
+		return -EIO;
+	}
+	/* Make sure there is something at this address */
+	if (i2c_smbus_xfer(client->adapter, client->addr, 0,
+		I2C_SMBUS_READ, 0, I2C_SMBUS_BYTE, &dummy) < 0)
+		return -ENODEV;
+
+	ts = kzalloc(sizeof(*ts), GFP_KERNEL);
+	if (!ts)
+		return -ENOMEM;
+	pts = ts;
+
+	/* Enable runtime PM ops, start in ACTIVE mode */
+	rc = pm_runtime_set_active(&client->dev);
+	if (rc < 0)
+		dev_warn(&client->dev, "unable to set runtime pm state\n");
+	pm_runtime_enable(&client->dev);
+
+	ts->client = client;
+	ts->pdata = pdata;
+	i2c_set_clientdata(client, ts);
+	ts->device_id = id->driver_data;
+
+	if (ts->pdata->dev_setup) {
+		rc = ts->pdata->dev_setup(1);
+		if (rc < 0) {
+			dev_err(&client->dev, "dev setup failed\n");
+			goto error_touch_data_alloc;
+		}
+	}
+
+
+	ts->is_suspended = false;
+	ts->int_pending = false;
+	/*mutex_init(&ts->sus_lock); JL remove*/
+	mutex_init(&ts->access_lock);
+
+	async_schedule(rm_initialize_async, ts);
+
+	device_init_wakeup(&client->dev, ts->pdata->wakeup);
+	return 0;
+
+error_touch_data_alloc:
+	pm_runtime_set_suspended(&client->dev);
+	pm_runtime_disable(&client->dev);
+	kfree(ts);
+	return rc;
+}
+
+/*static int __devexit RM31100_ts_remove(struct i2c_client *client)*/
+static int rm31100_ts_remove(struct i2c_client *client)
+{
+	struct rm31100_ts *ts = i2c_get_clientdata(client);
+
+	pm_runtime_set_suspended(&client->dev);
+	pm_runtime_disable(&client->dev);
+
+	device_init_wakeup(&client->dev, 0);
+	free_irq(ts->pen_irq, ts);
+
+	gpio_free(ts->pdata->irq_gpio);
+
+	if (ts->pdata->resout_gpio >= 0)
+		gpio_free(ts->pdata->resout_gpio);
+	input_unregister_device(ts->input);
+
+	/*mutex_destroy(&ts->sus_lock); JL remove*/
+	mutex_destroy(&ts->access_lock);
+
+	if (ts->pdata->power_on)
+		ts->pdata->power_on(0);
+
+	if (ts->pdata->dev_setup)
+		ts->pdata->dev_setup(0);
+
+	kfree(ts->touch_data);
+	kfree(ts);
+
+	return 0;
+}
+
+static const struct i2c_device_id rm31100_ts_id[] = {
+	{"RM31100", rm31100},
+	{"RM3110x", rm3110x},
+	{}
+};
+MODULE_DEVICE_TABLE(i2c, rm31100_ts_id);
+
+
+static struct i2c_driver rm31100_ts_driver = {
+	.driver = {
+		.name = "raydium_ts",
+		.owner = THIS_MODULE,
+#ifdef CONFIG_PM
+		.pm = &rm31100_ts_pm_ops,
+#endif
+	},
+	.probe = rm31100_ts_probe,
+	.remove = rm31100_ts_remove,
+	.id_table = rm31100_ts_id,
+};
+
+static int __init rm31100_ts_init(void)
+{
+	int rc;
+	int rc2;
+
+	rc = i2c_add_driver(&rm31100_ts_driver);
+
+	rc2 = driver_create_file(&rm31100_ts_driver.driver,
+		&driver_attr_myAttr);
+
+	return rc;
+}
+/* Making this as late init to avoid power fluctuations
+ * during LCD initialization.
+ */
+module_init(rm31100_ts_init);
+
+static void __exit rm31100_ts_exit(void)
+{
+	i2c_del_driver(&rm31100_ts_driver);
+}
+module_exit(rm31100_ts_exit);
+
+MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("rm31100-rm3110x touchscreen controller driver");
+MODULE_AUTHOR("Raydium");
+MODULE_ALIAS("platform:rm31100_ts");
-- 
2.1.2


^ permalink raw reply related


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