Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: BeagleBone Black and GPIO issues



On Wed, 2024-10-16 at 09:20 +0200, Dr. Nicola Mingotti wrote:
> > 
> I can open the PR later today, i don't know how to assign it to you.
> 

Thanks and sorry. I keep forgetting that ticketing systems often have
restrictions on who can do what, whereas I tend to have more of an
"empowering the user" approach. *shrug*

Can I have some use cases please so that I can see how well they fit
with what we can already do. Nicola, I see that you have clearly
described what you are trying to do in the PR. Do you need to disable
the pull-down at any point in time, or does your application need the
pull-down enabled permanently?

My use case is to attach the gpioow/onewire devices to a GPIO line so
that I can read temperatures from a Dallas DS18B20. I want to use
parasitic power for the DS18B20 and so the owtemp driver needs to be
able to enable and disable pullups on the fly while communicating with
the sensor.

In /etc/gpio.conf I have

	gpio0 attach gpioow 25 0x1

In /etc/modules.conf I have

	gpioow
	owtemp

Ngā mihi,
Lloyd


Home | Main Index | Thread Index | Old Index