New to Debian (Or Linux in general)? Ask your questions here!
captainsc23
Posts: 12 Joined: 2024-08-12 16:08
#1
Post
by captainsc23 » 2025-01-16 09:00
Hello,
I have a sensor (I2C) connected to device that uses live debian system. For some reason when i run i2cdetect -y bus_number, no address shows up.
On Ubuntu this works perfectly, so its not a hardware issue. The steps to load are:
-
-
The i2c bus is loaded as
, shows me the buses. I have also modified the kernel config, so im 100% sure the driver gets loaded. I have checked all other buses and it isnt on any of them. I also tried using adding it through sysfs and that didnt work either. Does anyone have any other things i can look at. Again, its not a hardware issue as this works fine on Ubuntu. Any suggestion on investigation paths are much appreciated. Thanks!
arzgi
Posts: 1775 Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times
#2
Post
by arzgi » 2025-01-16 13:43
Can you tell which device it is? And how did you modity the kernel config?
captainsc23
Posts: 12 Joined: 2024-08-12 16:08
#3
Post
by captainsc23 » 2025-01-16 22:43
@arzgi Unfortunately, i cant say the device. I modified the kernel config and and added CONFIG_...=y and recompiled the kernel, then i was able to load the module using modprobe. I have done this same thing for many other modules and it always works, but not with this particular system. There are actaully 3 i2c devices connected. They all show up on Ubuntu without any extra work but not here.
arzgi
Posts: 1775 Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times
#4
Post
by arzgi » 2025-01-17 13:29
Well, if it is so secret, I'd suggest use Ubuntu. Note Debian live is not the same as Debian installation, here have been threads about the subject.
captainsc23
Posts: 12 Joined: 2024-08-12 16:08
#5
Post
by captainsc23 » 2025-01-17 17:52
@arzgi I understand what debian live is. I have been using it for some time. I just came across and issue that ive never seen before. Clearly its secret for a reason because im not the owner and dont want to reveal company info, but thanks.
arzgi
Posts: 1775 Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times
#6
Post
by arzgi » 2025-01-17 18:42
Good you gave reason to the secrecy, but it stil ties pretty much ways to help you. Debian live has only quite limeted selection of Debian repositery.
arzgi
Posts: 1775 Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times
#7
Post
by arzgi » 2025-01-18 14:37
The device propably is quite new, I guess Ubuntu has newer kernel than Debian live. Don't know if Debian live has inxi, but if you get it installed, try
Code: Select all
arto@dell:~$ inxi -Fxxxmprz
System:
Kernel: 6.1.0-10-amd64 arch: x86_64 bits: 64 compiler: gcc
v: 12.2.0 Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36
info: xfce4-panel wm: xfwm v: 4.18.0 vt: 1 dm: startx
Distro: Debian GNU/Linux 12 (bookworm)
Machine:
Type: Laptop System: Dell product: Latitude 3340 v: 00
serial: <superuser required> Chassis: type: 9
serial: <superuser required>
Mobo: Dell model: 0VVHPV v: A00
serial: <superuser required> UEFI: Dell v: A19
date: 07/16/2019
Battery:
ID-1: BAT0 charge: 29.8 Wh (71.3%)
condition: 41.8/44.4 Wh (94.1%) volts: 7.7 min: 7.4
model: LGC-LGC3.0 DELL PWM3D53 type: Li-ion
serial: <filter> status: discharging
Memory:
RAM: total: 7.68 GiB used: 2.01 GiB (26.2%)
RAM Report: permissions: Unable to run dmidecode. Root
privileges required.
CPU:
Info: dual core model: Intel Celeron 2957U bits: 64 type: MCP
smt: <unsupported> arch: Haswell rev: 1 cache: L1: 128 KiB
L2: 512 KiB L3: 2 MiB
Speed (MHz): avg: 798 high: 799 min/max: 800/1400 cores:
1: 799 2: 798 bogomips: 5587
Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell
driver: i915 v: kernel arch: Gen-7.5 ports: active: eDP-1
empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
chip-ID: 8086:0a06 class-ID: 0300
Device-2: Sunplus Innovation Integrated_Webcam_HD type: USB
driver: uvcvideo bus-ID: 1-1.6:3 chip-ID: 1bcf:2b8d
class-ID: 0e02
Display: server: X.Org v: 1.21.1.7 compositor: xfwm
v: 4.18.0 driver: X: loaded: modesetting unloaded: fbdev,vesa
dri: crocus gpu: i915 display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96
s-size: 361x203mm (14.21x7.99") s-diag: 414mm (16.31")
Monitor-1: eDP-1 model: BOE Display 0x05df res: 1366x768
hz: 60 dpi: 118 size: 293x165mm (11.54x6.5")
diag: 336mm (13.2") modes: 1366x768
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD
Graphics (HSW GT1) direct-render: Yes
Audio:
Device-1: Intel Haswell-ULT HD Audio vendor: Dell
driver: snd_hda_intel v: kernel bus-ID: 00:03.0
chip-ID: 8086:0a0c class-ID: 0403
Device-2: Intel 8 Series HD Audio vendor: Dell 8
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:9c20 class-ID: 0403
API: ALSA v: k6.1.0-10-amd64 status: kernel-api
Server-1: PulseAudio v: 16.1 status: active
Network:
Device-1: Intel Ethernet I218-LM vendor: Dell driver: e1000e
v: kernel port: f080 bus-ID: 00:19.0 chip-ID: 8086:155a
class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: TP-Link Archer T3U [Realtek RTL8812BU] type: USB
driver: rtl88x2bu bus-ID: 2-1:4 chip-ID: 2357:012d
class-ID: 0000 serial: <filter>
IF: wlan0 state: up mac: <filter>
Bluetooth:
Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode)
type: USB driver: btusb v: 0.8 bus-ID: 2-2:3
chip-ID: 0a12:0001 class-ID: fe01
Report: hciconfig ID: hci0 rfk-id: 7 state: up
address: <filter> bt-v: 1.2 lmp-v: 2.0 sub-v: 410d hci-v: 2.0
rev: 2000
Drives:
Local Storage: total: 223.57 GiB used: 105.32 GiB (47.1%)
ID-1: /dev/sda vendor: Kingston model: SA400S37240G
size: 223.57 GiB speed: 6.0 Gb/s type: SSD serial: <filter>
rev: 61K1 scheme: MBR
Partition:
ID-1: / size: 35.87 GiB used: 10.9 GiB (30.4%) fs: ext4
dev: /dev/sda7
ID-2: /boot/efi size: 523 MiB used: 5.8 MiB (1.1%) fs: vfat
dev: /dev/sda1
ID-3: /home size: 175 GiB used: 93.61 GiB (53.5%) fs: ext4
dev: /dev/sda5
Swap:
ID-1: swap-1 type: partition size: 7.45 GiB
used: 817.1 MiB (10.7%) priority: -2 dev: /dev/sda6
Sensors:
System Temperatures: cpu: 49.0 C mobo: 39.0 C
sodimm: SODIMM C
Fan Speeds (RPM): cpu: 0
Repos:
Packages: pm: dpkg pkgs: 2207
Active apt repos in: /etc/apt/sources.list
1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
3: deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
4: deb http://deb.debian.org/debian/ bookworm-proposed-updates main
Info:
Processes: 184 Uptime: 3d 2h 23m wakeups: 55683 Init: systemd
v: 252 target: graphical (5) default: graphical Compilers:
gcc: 12.2.0 alt: 12 Shell: Bash v: 5.2.15
running-in: xfce4-terminal inxi: 3.3.26
arto@dell:~$
It is up to you, what you dare to post.
captainsc23
Posts: 12 Joined: 2024-08-12 16:08
#8
Post
by captainsc23 » 2025-01-19 23:54
I will try to get that pkg @arzgi , what are some things that i should be looking out for with that tool? I know its hard to help without seeing some screenshots
arzgi
Posts: 1775 Joined: 2008-02-21 17:03
Location: Finland
Has thanked: 1 time
Been thanked: 103 times
#9
Post
by arzgi » 2025-01-20 13:42
Hello!
inxi's output tell's much more than some random hard to read picture from the monitor.
Those opitions I gave with inxi, should mask most of the sensitive info, but you can of course decide what would show.
It is kind of the more you give info, makes your changes better go get advice.
Inxi depends only 3 packages