Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1031259: ddcutil requires module i2c-dev

785 views
Skip to first unread message

Eric Streit

unread,
Feb 14, 2023, 2:40:04 AM2/14/23
to
Package: ddcutil
Version: 1.4.1-1
Severity: normal
X-Debbugs-Cc: er...@yojik.eu

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?
installing ddcutil
* What exactly did you do (or not do) that was effective (or
ineffective)?
installing the module i2c-dev
* What was the outcome of this action?
working :D
* What outcome did you expect instead?
working
*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-3-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ddcutil depends on:
ii i2c-tools 4.3-2+b3
ii libc6 2.36-8
ii libdrm2 2.4.114-1
ii libglib2.0-0 2.74.5-1
ii libkmod2 30+20221128-1
ii libudev1 252.5-2
ii libx11-6 2:1.8.3-3
ii libxrandr2 2:1.5.2-2+b1
ii pci.ids 0.0~2023.01.26-1
ii usb.ids 2023.01.16-1
ii usbutils 1:014-1

ddcutil recommends no packages.

ddcutil suggests no packages.

-- no debconf information

Sanford Rockowitz

unread,
Feb 15, 2023, 4:30:04 AM2/15/23
to
It's not clear to me what's being reported here.

ddcutil does depend on kernel module i2c-dev.  This is extensively documented.  For example, see page Configuration Steps on the ddcutil web site.

On startup, ddcutil issues the following messages if i2c-dev is not loaded or built in:
  
  No /dev/i2c devices/exist.
  ddcutil requires module i2c-dev.

If that is not the case, it is a bug.  Please submit the contents of directory /dev BEFORE module i2c-dev is loaded.

Or you would like package ddcutil to install a file in /etc/modules-load.d or /usr/lib/modules-load.d that forces i2c-dev to be loaded at startup. It is unclear to me whether installing a file in these directories is appropriate behavior for an application.  In this, I have followed the lead of package i2c-tools, which is a basic package intimately connected with i2c-dev in that it exercises i2c-dev and was written by the author (Jon Delvare) of that module.

Sanford Rockowitz

unread,
Feb 15, 2023, 5:50:04 AM2/15/23
to
As I said, it's unclear to me whether it's appropriate for ddcutil installation to cause module i2c-dev to be loaded automatically.  I agree it would simplify ddcutil installation.  I will consult with those at a higher pay grade.

On 2/15/23 04:50, Eric Streit wrote:

hi,

when I installed ddcutil, the module was not loaded  and I had to modprobe it).

Maybe, a way this could be done automatically when installing ddcutil?

Eric

I think, that the module

Le 15/02/2023 à 10:24, Sanford Rockowitz a écrit :
It's not clear to me what's being reported here.

ddcutil does depend on kernel module i2c-dev.  This is extensively documented.  For example, see page Configuration Steps on the ddcutil web site.

On startup, ddcutil issues the following messages if i2c-dev is not loaded or built in:
  
  No /dev/i2c devices/exist.
  ddcutil requires module i2c-dev.

If that is not the case, it is a bug.  Please submit the contents of directory /dev BEFORE module i2c-dev is loaded.

Or you would like package ddcutil to install a file in /etc/modules-load.d or /usr/lib/modules-load.d that forces i2c-dev to be loaded at startup. It is unclear to me whether installing a file in these directories is appropriate behavior for an application.  In this, I have followed the lead of package i2c-tools, which is a basic package intimately connected with i2c-dev in that it exercises i2c-dev and was written by the author (Jon Delvare) of that module.

On 2/14/23 02:31, Eric Streit wrote:

Adam D. Barratt

unread,
Mar 11, 2023, 5:50:04 AM3/11/23
to
Control: reassign -1 ddcutil

On Sat, 2023-03-11 at 09:42 +0000, Debian Bug Tracking System wrote:
> Processing commands for con...@bugs.debian.org:
>
> > reassign 1031259 release.debian.org
> Bug #1031259 [ddcutil] ddcutil requires module i2c-dev
> Bug reassigned from package 'ddcutil' to 'release.debian.org'.
>

Reassigning this bug to release.debian.org makes no sense.

#1032614 is already assigned there, and has outstanding questions that
you haven't answered yet. Please keep discussion with the Release Team
in that bug, requests for changes to ddcutil belong as bugs against
ddcutil.

Regards,

Adam

Sebastian Ramacher

unread,
Mar 13, 2023, 6:00:04 PM3/13/23
to
Control: reassign -1 ddcutil 1.4.1-1

Hi Sanford

On 2023-03-13 08:12:04 +0000, Debian Bug Tracking System wrote:
> Processing commands for con...@bugs.debian.org:
>
> > reassign 1031259 release.debian.org

#1032614 is already assigned to release.debian.org to discuss the
pre-approval. Having a second bug assigned to release.debian.org for the
same issue makes no sense.

Please do not reassign back to release.debian.org

Cheers
--
Sebastian Ramacher

Sanford Rockowitz

unread,
Apr 10, 2023, 9:40:05 AM4/10/23
to
The upstream source has been changed to install file
/usr/lib/modules-conf.d/ddcutil, which will ensure that module i2c-dev
is loaded.  The change will appear in Debian once the code freeze for
bookworm is lifted.
0 new messages