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 <https://www.ddcutil.com/config_steps/#kernel-module-i2c-dev> 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:
Package: ddcutil
Version: 1.4.1-1
Severity: normal
X-Debbugs-Cc:e...@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

Reply via email to