briks Posted February 5, 2020 Posted February 5, 2020 Hi all, Orange Pi One Armbian_20.02.0-rc1_Orangepione_bionic_current_5.4.14 Enable w1-gpio /boot/ambianEnv.txt: overlays=w1-gpio param_w1_pin=PD14 param_w1_pin_int_pullup=1 dmesg | grep -E 'w1|wire' [ 5.271798] Driver for 1-wire Dallas network protocol. [ 5.304021] gpio-110 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file What and where else needs to be done? 0 Quote
martinayotte Posted February 5, 2020 Posted February 5, 2020 4 hours ago, briks said: [ 5.304021] gpio-110 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file What and where else needs to be done? This is only a warning ... Do you have something like that (change the 28-000003ebdd28 folder according to your device) : cat /sys/bus/w1/devices/28-000003ebdd28/w1_slave 3b 01 4b 46 7f ff 05 10 54 : crc=54 YES 3b 01 4b 46 7f ff 05 10 54 t=19687 0 Quote
briks Posted February 5, 2020 Author Posted February 5, 2020 No, /sys/bus/w1/devices/: ~w1_bus_master1 0 Quote
martinayotte Posted February 5, 2020 Posted February 5, 2020 40 minutes ago, briks said: No, Check around the "w1" lines in "dmesg", maybe there some hints there. Also, I'm personally always using external pullups, it is more efficient then internal one. Here is what I've in "dmesg" : [ 8.566391] Driver for 1-wire Dallas network protocol. [ 8.571927] gpio-111 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file [ 8.599634] w1_master_driver w1_bus_master1: Attaching one wire slave 28.000003ebdd28 crc 82 0 Quote
briks Posted February 6, 2020 Author Posted February 6, 2020 in "dmesg" only two lines, as I wrote before i use external pullup param_w1_pin_int_pullup = 1 and param_w1_pin_int_pullup = 0 do not affect the result 0 Quote
briks Posted February 6, 2020 Author Posted February 6, 2020 pin PD14 (110) - physical pin 12 - there is no activity, port polling does not occur I control a digital oscilloscope 0 Quote
mantouboji Posted February 6, 2020 Posted February 6, 2020 I use PA20, PIN37. overlays=w1-gpio usbhost0 param_w1_pin=PA20 1 Quote
briks Posted February 6, 2020 Author Posted February 6, 2020 used PA20(pin37), PA10(35). PD14(12). PC4(16), PC7(18). PA21(26) no result 0 Quote
martinayotte Posted February 6, 2020 Posted February 6, 2020 8 hours ago, briks said: in "dmesg" only two lines, as I wrote before Maybe your device is defective ... 0 Quote
briks Posted February 6, 2020 Author Posted February 6, 2020 device worker, worked with arduino. It stopped working when I connected to the Orange Pi One. It turned out not a working connector. The connector is fixed, and it worked. dmesg | grep -E 'w1|wire' [ 6.301655] Driver for 1-wire Dallas network protocol. [ 6.326682] gpio-20 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file [ 6.356384] w1_master_driver w1_bus_master1: Attaching one wire slave 28.0305977931ed crc 40 Thank you all for participating. 0 Quote
wollik Posted December 12, 2021 Posted December 12, 2021 Am 6.2.2020 um 13:47 schrieb briks: used PA20(pin37), PA10(35). PD14(12). PC4(16), PC7(18). PA21(26) no result Hi briks, please can you tell me where you got the informations to map the Pxn(n) nunbers to the pysical pins? Regards wollik 0 Quote
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.