lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACAwPwaj_ekK6j9S4CRu6tRTPyjffgDhL3UFnhoYSyJSkAkmpw@mail.gmail.com>
Date:   Mon, 18 Oct 2021 21:02:40 +0300
From:   Maxim Levitsky <maximlevitsky@...il.com>
To:     Andy Shevchenko <andy.shevchenko@...il.com>
Cc:     Hans de Goede <hdegoede@...hat.com>,
        linux-realtek-soc@...ts.infradead.org,
        Oder Chiou <oder_chiou@...ltek.com>,
        Ping-Ke Shih <pkshih@...ltek.com>, nic_swsd@...ltek.com,
        Derek Fang <derek.fang@...ltek.com>,
        Hayes Wang <hayeswang@...ltek.com>,
        Kailang Yang <kailang@...ltek.com>,
        linux-iio <linux-iio@...r.kernel.org>,
        Lars-Peter Clausen <lars@...afoo.de>,
        Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
        LKML <linux-kernel@...r.kernel.org>, info@...neo.com
Subject: Re: BMI160 accelerometer on AyaNeo tablet

I also suspect a mistake from the hardware vendors.

I attached all DSDT decompiled, which shows that they indeed use that
ID, and I also attached the windows driver .INF which was published on
their website  with the driver (https://www.ayaneo.com/downloads)


They are a small startup so they might have used the realtek ID by mistake.
I added them to the CC.

BTW, I also notice a rotation matrix embedded in DSTD, but the linux's
BMI160 driver doesn't recognize it.

Best regards,
    Maxim Levitsky


On Mon, Oct 18, 2021 at 6:31 PM Andy Shevchenko
<andy.shevchenko@...il.com> wrote:
>
> +Cc: Realtek people whom I found in MAINTAINERS or so. Please
> waterfall to the people inside Realtek who can answer the question.
> (Note, you may access this discussion in full via:
> https://lore.kernel.org/linux-iio/CACAwPwYQHRcrabw9=0tvenPzAcwwW1pTaR6a+AEWBF9Hqf_wXQ@mail.gmail.com/T/#u)
>
> The problem here is to have an official confirmation of what 10ec:5280
> ID is from Realtek's point of view. Context: the current discussion
> and a patch state that it's related to gyro sensor. Is it so?
>
> On Mon, Oct 18, 2021 at 6:36 AM Maxim Levitsky <maximlevitsky@...il.com> wrote:
> >
> > On Sat, Oct 16, 2021 at 7:19 PM Maxim Levitsky <maximlevitsky@...il.com> wrote:
> > >
> > > I recently bought this device, and it has this accelerometer/gyroscope.
> > >
> > > Unfortunately, the device is advertised in ACPI as 10EC5280, instead of BMI0160
> > >
> > > I attached a patch that does add this 10EC5280 to the list of ACPI ids of this driver, and the device seems to work fine, showing both acceleration and angular velocity in /sys IIO attributes with reasonable values.
> > >
> >
> > ( resend using plain text - reminds me to never use Gmail's web
> > interface, even on weekends .)
>
>
> --
> With Best Regards,
> Andy Shevchenko

Download attachment "BMI160.inf" of type "application/octet-stream" (2351 bytes)

Download attachment "DSDT.zip" of type "application/zip" (26703 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ