Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

More than one 1 Wire pin

Featured Replies

Board OPi Zero 512,  NEXT kernel 4.13.7, last Sunday compiled.

I'm trying do start more than one Dallas 1 wire interface. My primary idea was to add second w1-gpio overlay but no success. The next one is to edit device tree for w1-gpio to add another pin, and then to edit fixup script. And need some help to understand this ( copied from sun8i-h3-w1-gpio.dts )

 

fragment@0 {
target = <&pio>;
__overlay__ {
w1_pins: w1_pins {
pins = "PD14";
function = "gpio_in";
};
};
};

fragment@1 {
target-path = "/";
__overlay__ {
onewire@0 {
compatible = "w1-gpio";
pinctrl-names = "default";
pinctrl-0 = <&w1_pins>;
gpios = <&pio 3 14 0>; /* PD14 */
status = "okay";
};
};
};
 

What exactly w1_pins: w1_pins mean? w1_pins{} is some kind of definition? Any driver limitations for pins count?

 

btw: I be grateful for any other ideas how to enable second 1 Wire pin.

  • Author

Because fail of one device drops down the whole bus.

p.s. 10x for answer. Anyway, I manage to bring up 3 pins. Kernel driver fully support more than one bus.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.