Public bug reported:

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.

** Affects: linux (Ubuntu)
     Importance: Critical
         Status: Confirmed

** Changed in: linux (Ubuntu)
       Status: New => Confirmed

** Changed in: linux (Ubuntu)
   Importance: Undecided => Critical

** Description changed:

- the driver fails to register the sensors when the user unloads and re-
- loads the driver module.
+ 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.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1690310

Title:
  st_pressure, st_accel IIO drivers fail to detect sensors after
  reloading kernel modules

Status in linux package in Ubuntu:
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1690310/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to