st_pressure, st_accel IIO drivers fail to detect sensors after reloading kernel modules
Bug #1690310 reported by
Shrirang Bagul
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Medium
|
Shrirang Bagul | ||
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Fails to register the sensors when the user unloads and re-loads the driver module.
1. Unload the kernel modules for st_pressure
$ sudo rmmod st_pressure_i2c
$ sudo rmmod st_pressure
2. Re-load the driver
$ sudo insmod st_pressure
$ sudo insmod st_pressure_i2c
--- OR ---
$ sudo modprobe st_pressure_i2c
dmesg errors:
[ 160.935707] iio iio:device2: DRDY on pdata not valid.
[ 160.941505] st-press-i2c: probe of i2c-SMO9210:00 failed with error -22
The driver fails to register the pressure sensor device. Devices
supported by st_accel driver also suffer from the same bug.
This bug is used for tracking purposes, please do not triage.
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Critical |
description: | updated |
Changed in hwe-next: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
Changed in linux (Ubuntu Xenial): | |
status: | New → Fix Committed |
Changed in hwe-next: | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Committed |
tags: |
added: verification-done-xenial removed: verification-needed-xenial |
Changed in linux (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in hwe-next: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The fix for this has already been reviewed and accepted [1]. It's sitting in the maintainers testing tree waiting to be submitted upstream to Linux kernel [2].
[1] http:// marc.info/ ?l=linux- iio&m=149261071 414832& w=2 /git.kernel. org/pub/ scm/linux/ kernel/ git/jic23/ iio.git/ commit/ ?h=testing& id=7383d44b84c9 4aaca4bf695a6bd 8a69f2295ef1a)
[2] https:/