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.

change 1-wire slave search/scan time

Featured Replies

Hello after some search i successfull attack Ibutton on 1 wire, using ibutton probe

my problem is that by default kernel scan for slaves every 10 seconds.  Want to change it to 1 second or less if possible.

Searching a bit, on some linux distributions this solves the problem:

 

modprobe wire timeout=1 slave_ttl=5
modprobe w1-gpio

 

but since in arbian  /arbianEnv.txt take care of modules loaded, it do not work, My current file is:

 

verbosity=1
bootlogo=false
console=serial
disp_mode=1920x10[D80p60
overlay_prefix=sun8i-h3
overlays=i2c0 pps-gpio uart1 uart2 uart3 usbhost1 usbhost2 w1-gpio
param_pps_pin=PA6
param_w1_pin=PC3
rootdev=UUID=6dee376a-a115-473b-939b-b91774c75fa8
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

 

I have tried to add:

param_w1_timeout=1

param_wire_timeout=1

 

and some other - unsuccessfull

I need some help, thanks in advance :)

Solved by nedoskiv

  • Author
  • Solution

here is the part of my rc.local that do the trick for me

 

rmmod w1_gpio
rmmod wire
modprobe wire timeout=0 timeout_us=200000 slave_ttl=3
modprobe w1_gpio

 

since that works, I assume one wire overlay parameter "param_w1_pin=PC3" was keep somewhere and is passed when I load module again.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.