Skip to content

dtoverlays: Disable kernel drivers for humidity sensor on Sense HATs#6758

Merged
pelwell merged 1 commit intoraspberrypi:rpi-6.12.yfrom
6by9:rpi-6.12.y-dtoverlays
Apr 1, 2025
Merged

dtoverlays: Disable kernel drivers for humidity sensor on Sense HATs#6758
pelwell merged 1 commit intoraspberrypi:rpi-6.12.yfrom
6by9:rpi-6.12.y-dtoverlays

Conversation

@6by9
Copy link
Contributor

@6by9 6by9 commented Apr 1, 2025

The Sense HAT library talks directly to the humidity sensor via i2cdev.

The overlay has always defined the humidity sensor, but the relevant kernel module wasn't being built until
#6093, applied to 6.9 and above.

We now have a kernel driver claiming the I2C address, so userspace can't talk directly to the sensor.

Disable the humidity sensor in the overlays

https://forums.raspberrypi.com/viewtopic.php?p=2307047

The Sense HAT library talks directly to the humidity sensor via
i2cdev.

The overlay has always defined the humidity sensor, but the relevant
kernel module wasn't being built until
raspberrypi#6093, applied to 6.9 and
above.

We now have a kernel driver claiming the I2C address, so userspace
can't talk directly to the sensor.

Disable the humidity sensor in the overlays

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
@pelwell pelwell merged commit b37a3f6 into raspberrypi:rpi-6.12.y Apr 1, 2025
13 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Apr 2, 2025
…se HATs

See: raspberrypi/linux#6758

kernel: ads7846 touch overlay fixups
See: raspberrypi/linux#6760

kernel: staging: bcm2835-camera: Initialise dev in v4l2_dev
See: raspberrypi/linux#6754

kernel: media: i2c: imx415: Correct hmax_min values for 891Mbps/lane
See: raspberrypi/linux#6750

kernel: PCI: pcie-brcmstb: fake MSIx support on internal MSI target
See: raspberrypi/linux#6761

kernel: DRM fixes for cropping P030/SAND128 on Pi5
See: raspberrypi/linux#6741

kernel: Show process name in set_mempolicy() ignored message
See: raspberrypi/linux#6762
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Apr 2, 2025
…se HATs

See: raspberrypi/linux#6758

kernel: ads7846 touch overlay fixups
See: raspberrypi/linux#6760

kernel: staging: bcm2835-camera: Initialise dev in v4l2_dev
See: raspberrypi/linux#6754

kernel: media: i2c: imx415: Correct hmax_min values for 891Mbps/lane
See: raspberrypi/linux#6750

kernel: PCI: pcie-brcmstb: fake MSIx support on internal MSI target
See: raspberrypi/linux#6761

kernel: DRM fixes for cropping P030/SAND128 on Pi5
See: raspberrypi/linux#6741

kernel: Show process name in set_mempolicy() ignored message
See: raspberrypi/linux#6762
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants