linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roger Gammans <rgammans@gammascience.co.uk>
To: "Singh, Sandeep" <ssingh1@amd.com>,
	Sandeep Singh <Sandeep.Singh@amd.com>
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-input@vger.kernel.org
Subject: Re: [PATCH v4 4/4] SFH: Create HID report to Enable support of AMD sensor fusion Hub (SFH)
Date: Mon, 30 Mar 2020 20:07:51 +0100	[thread overview]
Message-ID: <fb289e488d777bd4e56befa6e8791de84a830557.camel@gammascience.co.uk> (raw)
In-Reply-To: <b96bb88c-dd1a-97d3-21fa-2cc60a4d6a60@amd.com>

On Mon, 2020-03-30 at 09:53 +0530, Singh, Sandeep wrote:
> Hi Roger,
> 
> On 3/30/2020 12:10 AM, Roger Gammans wrote:
> > [CAUTION: External Email]
> > 
> > Also I don't seem to be getting any data through
> > to monitor-sensor in user space when I do install it, but I am
> > gettting logs of log messages similar to this:
> > 
> >   pcie_mp2_amd 0000:04:00.7: AMD-Vi: Event logged [IO_PAGE_FAULT
> > domain=0x000c address=0x5267f000 flags=0x0020]
> >   pcie_mp2_amd 0000:04:00.7: AMD-Vi: Event logged [IO_PAGE_FAULT
> > domain=0x000c address=0x5267f000 flags=0x0020]
> > 
> > This is compiled against the debian 5.4.0 kernel, on a
> >       HP ENVY x360 Convertible 15-ds0xxx, SKU 6TD07EA#ABU
> > 
> > I can run other tests or try other kernels if you think it might
> > help,
> > let me know what you need.
> Can you disable IOMMU from bios and give a try or if your laptop
> does 
> not have iommu option you can pass boot parameter "iommu=soft"

I couldn't find anything useful in the BIOS, so tried iommu=soft on the
kernel command line. And that seems to have done the trick, we get
rotation info all the way through to the userspace, and the desktop 
does it auto-rotate magic. Thanks for all your hard work.

On module inserion I have these messages if it is of any concern:-

pcie_mp2_amd 0000:04:00.7: MP2 device found [1022:15e4] (rev 0)
hid-generic 0020:03FE:0001.0003: hidraw2: <UNKNOWN> HID v0.01 Device [hid-amdtp 03FE:0001] on 
hid-generic 0020:03FE:0001.0004: hidraw3: <UNKNOWN> HID v0.01 Device [hid-amdtp 03FE:0001] on 
hid-generic 0020:03FE:0001.0005: hidraw4: <UNKNOWN> HID v0.01 Device [hid-amdtp 03FE:0001] on 

-- 
Roger Gammans <rgammans@gammascience.co.uk>


  reply	other threads:[~2020-03-30 19:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-29 18:40 [PATCH v4 4/4] SFH: Create HID report to Enable support of AMD sensor fusion Hub (SFH) Roger Gammans
2020-03-30  4:23 ` Singh, Sandeep
2020-03-30 19:07   ` Roger Gammans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-02-27  4:58 [PATCH v4 0/4] SFH: Add Support for AMD Sensor Fusion Hub Sandeep Singh
2020-02-27  4:58 ` [PATCH v4 4/4] SFH: Create HID report to Enable support of AMD sensor fusion Hub (SFH) Sandeep Singh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb289e488d777bd4e56befa6e8791de84a830557.camel@gammascience.co.uk \
    --to=rgammans@gammascience.co.uk \
    --cc=Sandeep.Singh@amd.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ssingh1@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).