public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [Bug 219418] New: BOSC0200 Accelerometer Invalid chip 12 initialization error
@ 2024-10-22 13:17 bugzilla-daemon
  2024-10-22 13:17 ` [Bug 219418] " bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: bugzilla-daemon @ 2024-10-22 13:17 UTC (permalink / raw)
  To: linux-iio

https://bugzilla.kernel.org/show_bug.cgi?id=219418

            Bug ID: 219418
           Summary: BOSC0200 Accelerometer Invalid chip 12 initialization
                    error
           Product: Drivers
           Version: 2.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: IIO
          Assignee: drivers_iio@kernel-bugs.kernel.org
          Reporter: cameraphone77@gmail.com
        Regression: No

Created attachment 307035
  --> https://bugzilla.kernel.org/attachment.cgi?id=307035&action=edit
lspci output

Hardware: Acer aspire spin 3 A3SP14-31PT-38YA

One line summary of the problem:
BOSC0200 Accelerometer Invalid chip 12 initialization error

Full description of the problem/report:
The Accelerometer is not detected by iio and does not function

Kernel version (from /proc/version):
Linux version 6.11.4-arch2-1 (linux@archlinux) (gcc (GCC) 14.2.1 20240910, GNU
ld (GNU Binutils) 2.43.0) #1 SMP PREEMPT_DYNAMIC Sun, 20 Oct 2024 18:20:12
+0000


sudo /usr/lib/iio-sensor-proxy -v
** (iio-sensor-proxy:2007): DEBUG: 22:33:10.952: Starting iio-sensor-proxy
version 3.5
(iio-sensor-proxy:2007): GLib-GIO-DEBUG: 22:33:10.954: Using cross-namespace
EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
** (iio-sensor-proxy:2007): DEBUG: 22:33:10.991: No sensors or missing kernel
drivers for the sensors

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error
  2024-10-22 13:17 [Bug 219418] New: BOSC0200 Accelerometer Invalid chip 12 initialization error bugzilla-daemon
@ 2024-10-22 13:17 ` bugzilla-daemon
  2024-10-22 13:17 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2024-10-22 13:17 UTC (permalink / raw)
  To: linux-iio

https://bugzilla.kernel.org/show_bug.cgi?id=219418

--- Comment #1 from Camera Phone (cameraphone77@gmail.com) ---
Created attachment 307036
  --> https://bugzilla.kernel.org/attachment.cgi?id=307036&action=edit
dmesg output

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error
  2024-10-22 13:17 [Bug 219418] New: BOSC0200 Accelerometer Invalid chip 12 initialization error bugzilla-daemon
  2024-10-22 13:17 ` [Bug 219418] " bugzilla-daemon
@ 2024-10-22 13:17 ` bugzilla-daemon
  2024-10-26 14:49 ` [Bug 219418] New: " Jonathan Cameron
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2024-10-22 13:17 UTC (permalink / raw)
  To: linux-iio

https://bugzilla.kernel.org/show_bug.cgi?id=219418

--- Comment #2 from Camera Phone (cameraphone77@gmail.com) ---
Created attachment 307037
  --> https://bugzilla.kernel.org/attachment.cgi?id=307037&action=edit
lspci output

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bug 219418] New: BOSC0200 Accelerometer Invalid chip 12 initialization error
  2024-10-22 13:17 [Bug 219418] New: BOSC0200 Accelerometer Invalid chip 12 initialization error bugzilla-daemon
  2024-10-22 13:17 ` [Bug 219418] " bugzilla-daemon
  2024-10-22 13:17 ` bugzilla-daemon
@ 2024-10-26 14:49 ` Jonathan Cameron
  2024-10-26 14:49 ` [Bug 219418] " bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Jonathan Cameron @ 2024-10-26 14:49 UTC (permalink / raw)
  To: bugzilla-daemon; +Cc: linux-iio

On Tue, 22 Oct 2024 13:17:20 +0000
bugzilla-daemon@kernel.org wrote:

> https://bugzilla.kernel.org/show_bug.cgi?id=219418
> 
>             Bug ID: 219418
>            Summary: BOSC0200 Accelerometer Invalid chip 12 initialization
>                     error
>            Product: Drivers
>            Version: 2.5
>           Hardware: All
>                 OS: Linux
>             Status: NEW
>           Severity: normal
>           Priority: P3
>          Component: IIO
>           Assignee: drivers_iio@kernel-bugs.kernel.org
>           Reporter: cameraphone77@gmail.com
>         Regression: No
> 
> Created attachment 307035
>   --> https://bugzilla.kernel.org/attachment.cgi?id=307035&action=edit  
> lspci output
> 
> Hardware: Acer aspire spin 3 A3SP14-31PT-38YA
> 
> One line summary of the problem:
> BOSC0200 Accelerometer Invalid chip 12 initialization error

Unfortunately that ID is used by the windows Bosch drivers for numerous
completely incompatible devices.  So we can't do soft matching on this one.
We need to know what the device actually is and add explicit support for
it.

So it's going to take some detective work to find a device with ID 12.

Any other information on what device this might be?

Jonathan
> 
> Full description of the problem/report:
> The Accelerometer is not detected by iio and does not function
> 
> Kernel version (from /proc/version):
> Linux version 6.11.4-arch2-1 (linux@archlinux) (gcc (GCC) 14.2.1 20240910, GNU
> ld (GNU Binutils) 2.43.0) #1 SMP PREEMPT_DYNAMIC Sun, 20 Oct 2024 18:20:12
> +0000
> 
> 
> sudo /usr/lib/iio-sensor-proxy -v
> ** (iio-sensor-proxy:2007): DEBUG: 22:33:10.952: Starting iio-sensor-proxy
> version 3.5
> (iio-sensor-proxy:2007): GLib-GIO-DEBUG: 22:33:10.954: Using cross-namespace
> EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
> ** (iio-sensor-proxy:2007): DEBUG: 22:33:10.991: No sensors or missing kernel
> drivers for the sensors
> 


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error
  2024-10-22 13:17 [Bug 219418] New: BOSC0200 Accelerometer Invalid chip 12 initialization error bugzilla-daemon
                   ` (2 preceding siblings ...)
  2024-10-26 14:49 ` [Bug 219418] New: " Jonathan Cameron
@ 2024-10-26 14:49 ` bugzilla-daemon
  2024-10-26 17:06 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2024-10-26 14:49 UTC (permalink / raw)
  To: linux-iio

https://bugzilla.kernel.org/show_bug.cgi?id=219418

--- Comment #3 from Jonathan Cameron (jic23@kernel.org) ---
On Tue, 22 Oct 2024 13:17:20 +0000
bugzilla-daemon@kernel.org wrote:

> https://bugzilla.kernel.org/show_bug.cgi?id=219418
> 
>             Bug ID: 219418
>            Summary: BOSC0200 Accelerometer Invalid chip 12 initialization
>                     error
>            Product: Drivers
>            Version: 2.5
>           Hardware: All
>                 OS: Linux
>             Status: NEW
>           Severity: normal
>           Priority: P3
>          Component: IIO
>           Assignee: drivers_iio@kernel-bugs.kernel.org
>           Reporter: cameraphone77@gmail.com
>         Regression: No
> 
> Created attachment 307035
>   --> https://bugzilla.kernel.org/attachment.cgi?id=307035&action=edit  
> lspci output
> 
> Hardware: Acer aspire spin 3 A3SP14-31PT-38YA
> 
> One line summary of the problem:
> BOSC0200 Accelerometer Invalid chip 12 initialization error

Unfortunately that ID is used by the windows Bosch drivers for numerous
completely incompatible devices.  So we can't do soft matching on this one.
We need to know what the device actually is and add explicit support for
it.

So it's going to take some detective work to find a device with ID 12.

Any other information on what device this might be?

Jonathan
> 
> Full description of the problem/report:
> The Accelerometer is not detected by iio and does not function
> 
> Kernel version (from /proc/version):
> Linux version 6.11.4-arch2-1 (linux@archlinux) (gcc (GCC) 14.2.1 20240910,
> GNU
> ld (GNU Binutils) 2.43.0) #1 SMP PREEMPT_DYNAMIC Sun, 20 Oct 2024 18:20:12
> +0000
> 
> 
> sudo /usr/lib/iio-sensor-proxy -v
> ** (iio-sensor-proxy:2007): DEBUG: 22:33:10.952: Starting iio-sensor-proxy
> version 3.5
> (iio-sensor-proxy:2007): GLib-GIO-DEBUG: 22:33:10.954: Using cross-namespace
> EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
> ** (iio-sensor-proxy:2007): DEBUG: 22:33:10.991: No sensors or missing kernel
> drivers for the sensors
>

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error
  2024-10-22 13:17 [Bug 219418] New: BOSC0200 Accelerometer Invalid chip 12 initialization error bugzilla-daemon
                   ` (3 preceding siblings ...)
  2024-10-26 14:49 ` [Bug 219418] " bugzilla-daemon
@ 2024-10-26 17:06 ` bugzilla-daemon
  2024-10-27 10:34   ` Jonathan Cameron
  2024-10-27 10:34 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 1 reply; 10+ messages in thread
From: bugzilla-daemon @ 2024-10-26 17:06 UTC (permalink / raw)
  To: linux-iio

https://bugzilla.kernel.org/show_bug.cgi?id=219418

--- Comment #4 from Camera Phone (cameraphone77@gmail.com) ---
(In reply to Jonathan Cameron from comment #3)
> On Tue, 22 Oct 2024 13:17:20 +0000
> bugzilla-daemon@kernel.org wrote:
> 
> > https://bugzilla.kernel.org/show_bug.cgi?id=219418
> > 
> >             Bug ID: 219418
> >            Summary: BOSC0200 Accelerometer Invalid chip 12 initialization
> >                     error
> >            Product: Drivers
> >            Version: 2.5
> >           Hardware: All
> >                 OS: Linux
> >             Status: NEW
> >           Severity: normal
> >           Priority: P3
> >          Component: IIO
> >           Assignee: drivers_iio@kernel-bugs.kernel.org
> >           Reporter: cameraphone77@gmail.com
> >         Regression: No
> > 
> > Created attachment 307035 [details]
> >   --> https://bugzilla.kernel.org/attachment.cgi?id=307035&action=edit  
> > lspci output
> > 
> > Hardware: Acer aspire spin 3 A3SP14-31PT-38YA
> > 
> > One line summary of the problem:
> > BOSC0200 Accelerometer Invalid chip 12 initialization error
> 
> Unfortunately that ID is used by the windows Bosch drivers for numerous
> completely incompatible devices.  So we can't do soft matching on this one.
> We need to know what the device actually is and add explicit support for
> it.
> 
> So it's going to take some detective work to find a device with ID 12.
> 
> Any other information on what device this might be?
> 
> Jonathan

I looked through all the bosch accelerator datasheets I could find and the
closest i could get was:

CHIP     chip_id
BMA423 - 0x13
BMA456 - 0x16

I'm thinking it may be the BMA422 but that datasheet isn't available for some
reason.   I did also ask in their forums but no responses.  Unfortunately, I
don't think it's an easy task to disassemble the screen.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error
  2024-10-26 17:06 ` bugzilla-daemon
@ 2024-10-27 10:34   ` Jonathan Cameron
  0 siblings, 0 replies; 10+ messages in thread
From: Jonathan Cameron @ 2024-10-27 10:34 UTC (permalink / raw)
  To: bugzilla-daemon; +Cc: linux-iio

On Sat, 26 Oct 2024 17:06:36 +0000
bugzilla-daemon@kernel.org wrote:

> https://bugzilla.kernel.org/show_bug.cgi?id=219418
> 
> --- Comment #4 from Camera Phone (cameraphone77@gmail.com) ---
> (In reply to Jonathan Cameron from comment #3)
> > On Tue, 22 Oct 2024 13:17:20 +0000
> > bugzilla-daemon@kernel.org wrote:
> >   
> > > https://bugzilla.kernel.org/show_bug.cgi?id=219418
> > > 
> > >             Bug ID: 219418
> > >            Summary: BOSC0200 Accelerometer Invalid chip 12 initialization
> > >                     error
> > >            Product: Drivers
> > >            Version: 2.5
> > >           Hardware: All
> > >                 OS: Linux
> > >             Status: NEW
> > >           Severity: normal
> > >           Priority: P3
> > >          Component: IIO
> > >           Assignee: drivers_iio@kernel-bugs.kernel.org
> > >           Reporter: cameraphone77@gmail.com
> > >         Regression: No
> > > 
> > > Created attachment 307035 [details]  
> > >   --> https://bugzilla.kernel.org/attachment.cgi?id=307035&action=edit    
> > > lspci output
> > > 
> > > Hardware: Acer aspire spin 3 A3SP14-31PT-38YA
> > > 
> > > One line summary of the problem:
> > > BOSC0200 Accelerometer Invalid chip 12 initialization error  
> > 
> > Unfortunately that ID is used by the windows Bosch drivers for numerous
> > completely incompatible devices.  So we can't do soft matching on this one.
> > We need to know what the device actually is and add explicit support for
> > it.
> > 
> > So it's going to take some detective work to find a device with ID 12.
> > 
> > Any other information on what device this might be?
> > 
> > Jonathan  
> 
> I looked through all the bosch accelerator datasheets I could find and the
> closest i could get was:
> 
> CHIP     chip_id
> BMA423 - 0x13
> BMA456 - 0x16
> 
> I'm thinking it may be the BMA422 but that datasheet isn't available for some
> reason.   I did also ask in their forums but no responses.  Unfortunately, I
> don't think it's an easy task to disassemble the screen.
> 
Without a datasheet this is hard, but you 'could' try just hacking in the
ID in the driver and see what works?  Particularly if scales match up with the
stuff on the flyer that is available for the BMA422.

Jonathan



^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error
  2024-10-22 13:17 [Bug 219418] New: BOSC0200 Accelerometer Invalid chip 12 initialization error bugzilla-daemon
                   ` (4 preceding siblings ...)
  2024-10-26 17:06 ` bugzilla-daemon
@ 2024-10-27 10:34 ` bugzilla-daemon
  2024-10-27 19:43 ` bugzilla-daemon
  2024-12-12  1:48 ` bugzilla-daemon
  7 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2024-10-27 10:34 UTC (permalink / raw)
  To: linux-iio

https://bugzilla.kernel.org/show_bug.cgi?id=219418

--- Comment #5 from Jonathan Cameron (jic23@kernel.org) ---
On Sat, 26 Oct 2024 17:06:36 +0000
bugzilla-daemon@kernel.org wrote:

> https://bugzilla.kernel.org/show_bug.cgi?id=219418
> 
> --- Comment #4 from Camera Phone (cameraphone77@gmail.com) ---
> (In reply to Jonathan Cameron from comment #3)
> > On Tue, 22 Oct 2024 13:17:20 +0000
> > bugzilla-daemon@kernel.org wrote:
> >   
> > > https://bugzilla.kernel.org/show_bug.cgi?id=219418
> > > 
> > >             Bug ID: 219418
> > >            Summary: BOSC0200 Accelerometer Invalid chip 12 initialization
> > >                     error
> > >            Product: Drivers
> > >            Version: 2.5
> > >           Hardware: All
> > >                 OS: Linux
> > >             Status: NEW
> > >           Severity: normal
> > >           Priority: P3
> > >          Component: IIO
> > >           Assignee: drivers_iio@kernel-bugs.kernel.org
> > >           Reporter: cameraphone77@gmail.com
> > >         Regression: No
> > > 
> > > Created attachment 307035 [details]  
> > >   --> https://bugzilla.kernel.org/attachment.cgi?id=307035&action=edit    
> > > lspci output
> > > 
> > > Hardware: Acer aspire spin 3 A3SP14-31PT-38YA
> > > 
> > > One line summary of the problem:
> > > BOSC0200 Accelerometer Invalid chip 12 initialization error  
> > 
> > Unfortunately that ID is used by the windows Bosch drivers for numerous
> > completely incompatible devices.  So we can't do soft matching on this one.
> > We need to know what the device actually is and add explicit support for
> > it.
> > 
> > So it's going to take some detective work to find a device with ID 12.
> > 
> > Any other information on what device this might be?
> > 
> > Jonathan  
> 
> I looked through all the bosch accelerator datasheets I could find and the
> closest i could get was:
> 
> CHIP     chip_id
> BMA423 - 0x13
> BMA456 - 0x16
> 
> I'm thinking it may be the BMA422 but that datasheet isn't available for some
> reason.   I did also ask in their forums but no responses.  Unfortunately, I
> don't think it's an easy task to disassemble the screen.
> 
Without a datasheet this is hard, but you 'could' try just hacking in the
ID in the driver and see what works?  Particularly if scales match up with the
stuff on the flyer that is available for the BMA422.

Jonathan

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error
  2024-10-22 13:17 [Bug 219418] New: BOSC0200 Accelerometer Invalid chip 12 initialization error bugzilla-daemon
                   ` (5 preceding siblings ...)
  2024-10-27 10:34 ` bugzilla-daemon
@ 2024-10-27 19:43 ` bugzilla-daemon
  2024-12-12  1:48 ` bugzilla-daemon
  7 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2024-10-27 19:43 UTC (permalink / raw)
  To: linux-iio

https://bugzilla.kernel.org/show_bug.cgi?id=219418

--- Comment #6 from Camera Phone (cameraphone77@gmail.com) ---
(In reply to Jonathan Cameron from comment #5)
> On Sat, 26 Oct 2024 17:06:36 +0000
> bugzilla-daemon@kernel.org wrote:
> 
> Without a datasheet this is hard, but you 'could' try just hacking in the
> ID in the driver and see what works?  Particularly if scales match up with
> the
> stuff on the flyer that is available for the BMA422.
> 
> Jonathan

I did try hard-coding each of the 5 chip_ids from bmc150_accel_chip_info_tbl in
bmc150-accel-core.c, unfortunately none of them worked.  monitor-sensor would
not register any changes when moving the display panel.

I did find this which does confirm it is a BMA422 chip based on the 0x12
chip_id:

https://git.15h.org/mrothfuss/chrome-ec/src/commit/003ec08f8c67845ae8481d3fb4124555213b04c4/driver/accel_bma422.h

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error
  2024-10-22 13:17 [Bug 219418] New: BOSC0200 Accelerometer Invalid chip 12 initialization error bugzilla-daemon
                   ` (6 preceding siblings ...)
  2024-10-27 19:43 ` bugzilla-daemon
@ 2024-12-12  1:48 ` bugzilla-daemon
  7 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2024-12-12  1:48 UTC (permalink / raw)
  To: linux-iio

https://bugzilla.kernel.org/show_bug.cgi?id=219418

Camera Phone (cameraphone77@gmail.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INSUFFICIENT_DATA

--- Comment #7 from Camera Phone (cameraphone77@gmail.com) ---
I'm going to mark this as resolved as we Bosch will not provide the datasheet
for this chip.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-12-12  1:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22 13:17 [Bug 219418] New: BOSC0200 Accelerometer Invalid chip 12 initialization error bugzilla-daemon
2024-10-22 13:17 ` [Bug 219418] " bugzilla-daemon
2024-10-22 13:17 ` bugzilla-daemon
2024-10-26 14:49 ` [Bug 219418] New: " Jonathan Cameron
2024-10-26 14:49 ` [Bug 219418] " bugzilla-daemon
2024-10-26 17:06 ` bugzilla-daemon
2024-10-27 10:34   ` Jonathan Cameron
2024-10-27 10:34 ` bugzilla-daemon
2024-10-27 19:43 ` bugzilla-daemon
2024-12-12  1:48 ` bugzilla-daemon

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