nedoskiv Posted March 28, 2023 Share Posted March 28, 2023 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 0 Quote Link to comment Share on other sites More sharing options...
Solution nedoskiv Posted March 28, 2023 Author Solution Share Posted March 28, 2023 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.