Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #58751 > unrolled thread

Bug#873176: linux-image-armmp-lpae: Please add module for DHT11/DHT22 sensors

Started byHarald Geyer <harald@ccbib.org>
First post2017-08-25 12:40 +0200
Last post2017-09-25 16:30 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#873176: linux-image-armmp-lpae: Please add module for DHT11/DHT22 sensors Harald Geyer <harald@ccbib.org> - 2017-08-25 12:40 +0200
    Processed: Re: Bug#873176: linux-image-armmp-lpae: Please add  module for DHT11/DHT22 sensors owner@bugs.debian.org (Debian Bug Tracking System) - 2017-09-25 00:50 +0200
    Bug#873176: linux-image-armmp-lpae: Please add module for DHT11/DHT22 sensors Ben Hutchings <ben@decadent.org.uk> - 2017-09-25 00:50 +0200
      Bug#873176: linux-image-armmp-lpae: Please add module for DHT11/DHT22 sensors Harald Geyer <harald@ccbib.org> - 2017-09-25 16:30 +0200

#58751 — Bug#873176: linux-image-armmp-lpae: Please add module for DHT11/DHT22 sensors

FromHarald Geyer <harald@ccbib.org>
Date2017-08-25 12:40 +0200
SubjectBug#873176: linux-image-armmp-lpae: Please add module for DHT11/DHT22 sensors
Message-ID<uikbT-2RK-5@gated-at.bofh.it>
Package: linux-image-armmp-lpae
Version: 4.12+84
Severity: wishlist

Dear Maintainer,

the DHT22 sensors are quite popular temperature and humidity sensors. I'm
the upstream driver author so I am biased but from my experience with bug
reports many users seem to run custom compiled (and mostly outdated) kernels
only because debian doesn't ship the kernel module for this sensor.

Also I'm switching my systems using these sensors from OpenWRT to debian
ATM so I'm directly affeced by this as well.

Adding CONFIG_DHT11=m will be enough, however I'm less sure about the
architectures to enable this: It will be mostly used on all variants of
ARM but the driver works on any platform with native (ie fast enough for
bit banging) GPIOs.

Thanks for your consideration,
Harald


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 4.12.0-1-armmp-lpae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-armmp-lpae depends on:
ii  linux-image-4.12.0-1-armmp-lpae  4.12.6-1

linux-image-armmp-lpae recommends no packages.

linux-image-armmp-lpae suggests no packages.

-- no debconf information

[toc] | [next] | [standalone]


#59004 — Processed: Re: Bug#873176: linux-image-armmp-lpae: Please add module for DHT11/DHT22 sensors

Fromowner@bugs.debian.org (Debian Bug Tracking System)
Date2017-09-25 00:50 +0200
SubjectProcessed: Re: Bug#873176: linux-image-armmp-lpae: Please add module for DHT11/DHT22 sensors
Message-ID<utnSO-690-7@gated-at.bofh.it>
In reply to#58751
Processing control commands:

> reassign -1 src:linux
Bug #873176 [linux-image-armmp-lpae] linux-image-armmp-lpae: Please add module for DHT11/DHT22 sensors
Bug reassigned from package 'linux-image-armmp-lpae' to 'src:linux'.
No longer marked as found in versions linux-latest/84.
Ignoring request to alter fixed versions of bug #873176 to the same values previously set
> tag -1 moreinfo
Bug #873176 [src:linux] linux-image-armmp-lpae: Please add module for DHT11/DHT22 sensors
Added tag(s) moreinfo.

-- 
873176: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873176
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#59005

FromBen Hutchings <ben@decadent.org.uk>
Date2017-09-25 00:50 +0200
Message-ID<utnSO-690-9@gated-at.bofh.it>
In reply to#58751

[Multipart message — attachments visible in raw view] — view raw

Control: reassign -1 src:linux
Control: tag -1 moreinfo

On Fri, 2017-08-25 at 12:30 +0200, Harald Geyer wrote:
> Package: linux-image-armmp-lpae
> Version: 4.12+84
> Severity: wishlist
> 
> Dear Maintainer,
> 
> the DHT22 sensors are quite popular temperature and humidity sensors. I'm
> the upstream driver author so I am biased but from my experience with bug
> reports many users seem to run custom compiled (and mostly outdated) kernels
> only because debian doesn't ship the kernel module for this sensor.
> 
> Also I'm switching my systems using these sensors from OpenWRT to debian
> ATM so I'm directly affeced by this as well.
> 
> Adding CONFIG_DHT11=m will be enough, however I'm less sure about the
> architectures to enable this: It will be mostly used on all variants of
> ARM but the driver works on any platform with native (ie fast enough for
> bit banging) GPIOs.

This driver appears to depend on Device Tree properties, but none of
the DTBs we build set those properties.  It's not clear to me how it
would be usable.

Ben.

-- 
Ben Hutchings
Make three consecutive correct guesses and you will be considered an
expert.

[toc] | [prev] | [next] | [standalone]


#59020

FromHarald Geyer <harald@ccbib.org>
Date2017-09-25 16:30 +0200
Message-ID<utCyt-7ys-1@gated-at.bofh.it>
In reply to#59005
Ben Hutchings writes:
> Control: reassign -1 src:linux tag -1 moreinfo
> This driver appears to depend on Device Tree properties, but none of the
> DTBs we build set those properties. It's not clear to me how it would be
> usable.

That's a fair point. The user will need to either add a node to the DTB on
his system or have the bootloader apply a device tree fragment on top of
the DTB installed by debian, which would work well with automatic updates
of the kernel. (Or load a device tree fragment from userspace once
debian supports dynamic DT.)

Since updating the DTB is a lot easier then compiling the module for
every update of the debian linux package (and security updates usually
don't change the DTB anyway), I still feel providing the module would
be useful.

Thanks for considering my report,
Harald

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web