Skip to contentSkip to conversation

New: BOSC0200 Accelerometer Invalid chip 12 initialization error

Bug 219418 [email protected] 2 participants 10 messages Oct 22, 2024 – Dec 12, 2024 IIO

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]
        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

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error

In reply to [email protected]

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

--- Comment #2 from Camera Phone ([email protected]) --- Created attachment 307037
--> https://bugzilla.kernel.org/attachment.cgi?id=307037&action=edit
lspci output

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
maintainer
#3 lore raw
In reply to [email protected]
Quoted 17 lines · On Tue, 22 Oct 2024 13:17:20 +0000 [email protected] 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: [email protected]
          Reporter: [email protected]
        Regression: No
Quoted 8 lines

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

Quoted 18 lines

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

#4 lore raw

[Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error

In reply to [email protected]

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

--- Comment #3 from Jonathan Cameron ([email protected]) ---

Quoted 17 lines · On Tue, 22 Oct 2024 13:17:20 +0000 [email protected] 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: [email protected]
          Reporter: [email protected]
        Regression: No
Quoted 8 lines

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

Quoted 19 lines

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

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

[Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error

In reply to [email protected]

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

--- Comment #4 from Camera Phone ([email protected]) --- (In reply to Jonathan Cameron from comment #3)

Quoted 34 lines
Quoted 17 lines · On Tue, 22 Oct 2024 13:17:20 +0000 [email protected] 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: [email protected]
          Reporter: [email protected]
        Regression: No
Quoted 8 lines

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.

Quoted 5 lines

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.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
maintainer
#6 lore raw

Re: [Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error

Quoted 47 lines · On Sat, 26 Oct 2024 17:06:36 +0000 [email protected] wrote:

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

--- Comment #4 from Camera Phone ([email protected]) --- (In reply to Jonathan Cameron from comment #3)

Quoted 34 lines
Quoted 17 lines · On Tue, 22 Oct 2024 13:17:20 +0000 [email protected] 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: [email protected]
          Reporter: [email protected]
        Regression: No
Quoted 8 lines

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.

Quoted 5 lines

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:

Quoted 8 lines

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

#7 lore raw

[Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error

In reply to [email protected]

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

--- Comment #5 from Jonathan Cameron ([email protected]) ---

Quoted 47 lines · On Sat, 26 Oct 2024 17:06:36 +0000 [email protected] wrote:

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

--- Comment #4 from Camera Phone ([email protected]) --- (In reply to Jonathan Cameron from comment #3)

Quoted 34 lines
Quoted 17 lines · On Tue, 22 Oct 2024 13:17:20 +0000 [email protected] 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: [email protected]
          Reporter: [email protected]
        Regression: No
Quoted 8 lines

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.

Quoted 5 lines

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:

Quoted 8 lines

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

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#8 lore raw

[Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error

In reply to [email protected]

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

--- Comment #6 from Camera Phone ([email protected]) --- (In reply to Jonathan Cameron from comment #5)

Quoted 9 lines

On Sat, 26 Oct 2024 17:06:36 +0000
[email protected] 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

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#9 lore raw

[Bug 219418] BOSC0200 Accelerometer Invalid chip 12 initialization error

In reply to [email protected]

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

Camera Phone ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |INSUFFICIENT_DATA

--- Comment #7 from Camera Phone ([email protected]) --- I'm going to mark this as resolved as we Bosch will not provide the datasheet for this chip.

Signature · 4 lines
You may reply to this email to add a comment.

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