o.k. still one man down -> need to check why the mag refuses to come up.
changed the overlay fragment to
but it stills fails at https://github.com/raspberrypi/linux/bl ... ger.c#L183my MAG fragment got changed to
Code:
pi@newpi5:~ $ sudo i2cdetect -y 3 0 1 2 3 4 5 6 7 8 9 a b c d e f00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- UU -- -- -- -- -- 1e -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: UU UU -- -- UU -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- UU pi@newpi5:~ $ dmesg -l warn,err[ 0.562985] nvme nvme0: failed to allocate host memory buffer.[ 0.686428] genirq: irq_chip rp1_irq_chip did not update eff. affinity mask of irq 106[ 2.496796] systemd-journald[295]: File /var/log/journal/847f66450bc640b1aeba339d7b9b2251/system.journal corrupted or uncleanly shut down, renaming and replacing.[ 3.343510] pispbe 1000880000.pisp_be: Runtime PM usage count underflow![ 3.384100] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator[ 3.384135] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator[ 3.630517] isl29018 3-0044: supply vcc not found, using dummy regulator[ 3.630575] isl29018 3-0044: No cache defaults, reading back from HW[ 3.642803] st-accel-i2c 3-0018: supply vdd not found, using dummy regulator[ 3.642848] st-accel-i2c 3-0018: supply vddio not found, using dummy regulator[ 3.645103] bmp280 3-0077: supply vddd not found, using dummy regulator[ 3.645145] bmp280 3-0077: supply vdda not found, using dummy regulator[ 3.657309] inv-mpu6050-i2c 3-0068: supply vdd not found, using dummy regulator[ 3.657379] inv-mpu6050-i2c 3-0068: supply vddio not found, using dummy regulator[ 3.657494] st-magn-i2c 3-001e: supply vdd not found, using dummy regulator[ 3.657528] st-magn-i2c 3-001e: supply vddio not found, using dummy regulator[ 3.659575] iio iio:device5: edge IRQ not supported w/o stat register.[ 3.659627] st-magn-i2c 3-001e: probe with driver st-magn-i2c failed with error -95[ 12.204567] ieee80211 phy0: brcmf_p2p_send_action_frame: Unknown Frame: category 0xa, action 0x8pi@newpi5:~ $ uname -aLinux newpi5 6.12.17-v8-16k+ #1 SMP PREEMPT Thu Mar 6 19:59:54 CET 2025 aarch64 GNU/Linuxpi@newpi5:~ $ but it stills fails at https://github.com/raspberrypi/linux/bl ... ger.c#L183
Code:
/* Tell the interrupt handler that we're dealing with edges */if (irq_trig == IRQF_TRIGGER_FALLING || irq_trig == IRQF_TRIGGER_RISING) {if (!sdata->sensor_settings->drdy_irq.stat_drdy.addr) {dev_err(&indio_dev->dev,"edge IRQ not supported w/o stat register.\n");return -EOPNOTSUPP;}sdata->edge_irq = true;} else {/* * If we're not using edges (i.e. level interrupts) we * just mask off the IRQ, handle one interrupt, then * if the line is still low, we return to the * interrupt handler top half again and start over. */irq_trig |= IRQF_ONESHOT;}Code:
fragment@46 {target = <&i2cbus>;__dormant__ {#address-cells = <1>;#size-cells = <0>;status = "okay";clock-frequency = <100000>;lsm303dlmmag: lsm303dlmmag@1e {compatible = "st,lsm303dlm-magn";reg = <0x1e>;st,drdy-int-pin = <1>;interrupt-parent = <&gpio>;interrupts = <4 IRQ_TYPE_EDGE_RISING>;pinctrl-0 = <&int_pins>;pinctrl-names = "default";};};};Statistics: Posted by aBUGSworstnightmare — Fri Mar 07, 2025 6:52 am