You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Add support for VEML6030 and VEML7700 sensors #7048
The module VEML6030 for 6030, 6035, and 7700 isn't built in the standard Pi kernel configs, so it would need a defconfig change as well as the overlay.
Before we jump through the hoops to add this one, are there any others that you're after?
The 6040, 6070, 6075 are already supported. Which is wonderful! However, these requested additions extend the support of the family of sensors... in that some are UV sensors, some spectral (color), and some Lux only. The pricing and sourcing changes all the time, as batch runs are completed, then have to wait for the batch runs to complete again, so for one project 6030 might available, later only the 7700 is available... then later 6030, etc., etc.
Just for comparison... same is happening with the BMP280, BME280 being replaced, via the BMP580, BMP581, and BMP585 are available now. There is prototype support for BMP580 support via dtoverlay, per 6.12.45, which I tested and it did not seem to work, i2cdetect did not show UU state. I reported this on another issue.
I'm just preparing a PR for this, but I've found that the 6035 and 7700 support doesn't appear until 6.16. Back-porting may be possible, but it's non-trivial. Would you settle for VEML6030 in 6.12, with the others appearing in 6.16 and later?
You can install a trial build of the new kernel and updated overlay using sudo rpi-update pulls/7052 (or build it yourself) - just be careful if you are relying on the initramfs for a non-standard root filesystem, etc.
True, true. I have been looking for an opportunity to learn the kernel build process, maybe this is just that. I trust that you will keep the updated support in queue or back burner for 6.16. So I will close the request for now.
# dmesg -l err,warn
[ 0.463536] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator
[ 0.463693] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator
[ 0.463724] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator
[ 10.173084] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
[ 10.183489] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
[ 11.261775] systemd-journald[276]: File /var/log/journal/5fb45d6628944f068e07a2c618fb4814/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 12.433196] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 12.498128] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 12.499607] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 12.558805] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 12.562514] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 12.571842] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 12.724598] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
[ 12.724727] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
[ 13.108278] veml6030 1-0048: prop pinctrl-0 index 0 invalid phandle
uname -a
Linux phobia 6.12.47-v8+ #1 SMP PREEMPT Wed Sep 17 17:23:22 UTC 2025 aarch64 GNU/Linux
rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
FW_REV:6d1da66a7b1358c9cd324286239f37203b7ce25c
BOOTLOADER_REV:360324a17edebeb625c3fffe872321a0e2c20dc4
WANT_32BIT:0 WANT_64BIT:1 WANT_64BIT_RT:0 WANT_PI4:1 WANT_PI5:1
Updating a system with initramfs configured is not supported by rpi-update.
If your system relies on drivers provided by the initramfs (e.g. custom filesystem options)
it may not boot without regenerating the initramfs.
If you are unsure, test if your system boots with initramfs options disabled from config.txt
Activity
6by9 commentedon Sep 15, 2025
(This is not a firmware issue - dtoverlays are part of the Linux kernel, hence https://github.com/raspberrypi/linux).
The module VEML6030 for 6030, 6035, and 7700 isn't built in the standard Pi kernel configs, so it would need a defconfig change as well as the overlay.
Before we jump through the hoops to add this one, are there any others that you're after?
Jibun-no-Kage commentedon Sep 16, 2025
Ah yes! Thanks for transferring it.
The 6040, 6070, 6075 are already supported. Which is wonderful! However, these requested additions extend the support of the family of sensors... in that some are UV sensors, some spectral (color), and some Lux only. The pricing and sourcing changes all the time, as batch runs are completed, then have to wait for the batch runs to complete again, so for one project 6030 might available, later only the 7700 is available... then later 6030, etc., etc.
Just for comparison... same is happening with the BMP280, BME280 being replaced, via the BMP580, BMP581, and BMP585 are available now. There is prototype support for BMP580 support via dtoverlay, per 6.12.45, which I tested and it did not seem to work, i2cdetect did not show UU state. I reported this on another issue.
pelwell commentedon Sep 17, 2025
I'm just preparing a PR for this, but I've found that the 6035 and 7700 support doesn't appear until 6.16. Back-porting may be possible, but it's non-trivial. Would you settle for VEML6030 in 6.12, with the others appearing in 6.16 and later?
configs: Add CONFIG_VEML6030=m
pelwell commentedon Sep 17, 2025
See: #7052
Jibun-no-Kage commentedon Sep 18, 2025
Yes! No need for jump through hoops! VEML6030 in 6.12... and other is in 6.16 is fine. Again... Thank you.
pelwell commentedon Sep 18, 2025
You can install a trial build of the new kernel and updated overlay using
sudo rpi-update pulls/7052(or build it yourself) - just be careful if you are relying on the initramfs for a non-standard root filesystem, etc.Jibun-no-Kage commentedon Sep 18, 2025
True, true. I have been looking for an opportunity to learn the kernel build process, maybe this is just that. I trust that you will keep the updated support in queue or back burner for 6.16. So I will close the request for now.
Jibun-no-Kage commentedon Sep 21, 2025
For VEML6030... Tested this morning after I pulled 7052 via rpi-update. Got a message in 'dmesg' never seen before that I recall...
My VEML6030 is definitely at i2c address 0x48...
Versus 0x10 when pulled high (if memory serves for the address assignment). Default for my sensor board is 0x48.
Details...
uname -a
Linux phobia 6.12.47-v8+ #1 SMP PREEMPT Wed Sep 17 17:23:22 UTC 2025 aarch64 GNU/Linux
rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
FW_REV:6d1da66a7b1358c9cd324286239f37203b7ce25c
BOOTLOADER_REV:360324a17edebeb625c3fffe872321a0e2c20dc4
WANT_32BIT:0 WANT_64BIT:1 WANT_64BIT_RT:0 WANT_PI4:1 WANT_PI5:1
Updating a system with initramfs configured is not supported by rpi-update.
If your system relies on drivers provided by the initramfs (e.g. custom filesystem options)
it may not boot without regenerating the initramfs.
If you are unsure, test if your system boots with initramfs options disabled from config.txt
Would you like to proceed? (y/N)
pelwell commentedon Sep 21, 2025
I see the problem - the veml declaration is missing a
+99to enable the int_pins fragment. I'll fix it tomorrow.pelwell commentedon Sep 22, 2025
Done - that should work now.
Jibun-no-Kage commentedon Sep 22, 2025
OK... will test again. Appears to be working...
Bright Source...
Dim Source...
Thanks again.
7 remaining items
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m
configs: Add CONFIG_VEML6030=m