DS2430 1Wire Driver missing (also in stock Rasbian Kernel)

Topics about the Software of Revolution Pi
Post Reply
User avatar
RR4711
Posts: 246
Joined: 22 Feb 2018, 13:28

DS2430 1Wire Driver missing (also in stock Rasbian Kernel)

Post by RR4711 »

The KUNBUS Images seem to lack the kernel module for 1Wire Chip DS2430.
I'm not sure if you make changes to the default Raspbian/RaspberryPiOS Kernelconfig, but if so:

Would it be possible to enable building the w1_ds2430.c module in future releases?

I know KUNBUS is not using the 1wire stuff, but we use it with custom HW via the CONBRIDGE GPIO. All 1wire drivers are in the image thankfully except the 1w_ds2430.c

I checked source for 6.1.134 kernels (Debian 11 Bullseye)
https://elixir.bootlin.com/linux/v6.1.1 ... 1_ds2430.c

and for 6.6. (Debian 12 Bookworm)
https://elixir.bootlin.com/linux/v6.6/s ... 1_ds2430.c
and the driver file seems to be in both trees, but just not being built. (Also not in stock Raspbian images)

Is it possible to add it to the kernelconfig so it's in the next images
Or shall I better ask upstream? Who is best to contact?

Markus
User avatar
nicolaiB
KUNBUS
Posts: 1131
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: DS2430 1Wire Driver missing (also in stock Rasbian Kernel)

Post by nicolaiB »

Hi Markus,

from what I can see nothing should speaks against enabling CONFIG_W1_SLAVE_DS2430. I will also make a pull request with Raspberry Pi, so it's included in all relevant configs. Guess DS2430 would be also somewhat interesting for normal Pi users.

Nicolai
Nicolai
User avatar
RR4711
Posts: 246
Joined: 22 Feb 2018, 13:28

Re: DS2430 1Wire Driver missing (also in stock Rasbian Kernel)

Post by RR4711 »

Thanks a lot!

Markus
User avatar
nicolaiB
KUNBUS
Posts: 1131
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: DS2430 1Wire Driver missing (also in stock Rasbian Kernel)

Post by nicolaiB »

I've created a pull request upstream. Feel free to add something about your use case there.

https://github.com/raspberrypi/linux/pull/
Nicolai
User avatar
RR4711
Posts: 246
Joined: 22 Feb 2018, 13:28

Re: DS2430 1Wire Driver missing (also in stock Rasbian Kernel)

Post by RR4711 »

It got merged. Is there any chance of having a kernel package (nighly build or so) for an RevPi Connect SE (CM4S)? Or when is the next update scheduled?
User avatar
nicolaiB
KUNBUS
Posts: 1131
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: DS2430 1Wire Driver missing (also in stock Rasbian Kernel)

Post by nicolaiB »

Hi Markus

The merge request is pending but if you want to test the CI snapshot package this would be appreciated:

MR: https://gitlab.com/revolutionpi/linux/- ... quests/299

Packages: Note that if you require piControl on the RevPi you need to install picontrol-dkms and the kernel headers when using the snapshot kernel packages.
Nicolai
Post Reply