javalatte

Members
  • Content Count

    4
  • Joined

  • Last visited

About javalatte

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. While trying to get an i2c device to work, I noticed that cpufrequtils had been reset to its initial value. I changed it back to the settings in my initial post, ENABLE=true MIN_SPEED=480000 MAX_SPEED=1200000 GOVERNOR=interactive and now I get these messages: [ 64.125578] w1_master_driver w1_bus_master1: Attaching one wire slave 00.800000000000 crc 8c [ 64.132874] w1_master_driver w1_bus_master1: Family 0 for 00.800000000000.8c is not registered. [ 127.749985] w1_master_driver w1_bus_master1: Attaching one wire slave 00.400000000000 crc 46 [ 127.759739] w1_master_driver w1_bus_master1: Family 0 for 00.400000000000.46 is not registered. [ 178.507484] w1_master_driver w1_bus_master1: Attaching one wire slave 00.c00000000000 crc ca [ 178.514977] w1_master_driver w1_bus_master1: Family 0 for 00.c00000000000.ca is not registered. [ 183.312549] xradio_wlan mmc1:0001:1: missed interrupt [ 254.928772] w1_master_driver w1_bus_master1: Attaching one wire slave 00.200000000000 crc 23 [ 254.936140] w1_master_driver w1_bus_master1: Family 0 for 00.200000000000.23 is not registered. [ 318.499787] w1_master_driver w1_bus_master1: Attaching one wire slave 00.a00000000000 crc af [ 318.507330] w1_master_driver w1_bus_master1: Family 0 for 00.a00000000000.af is not registered. [ 356.420385] w1_master_driver w1_bus_master1: Attaching one wire slave 00.600000000000 crc 65 [ 356.427372] w1_master_driver w1_bus_master1: Family 0 for 00.600000000000.65 is not registered. [ 396.931063] w1_master_driver w1_bus_master1: Attaching one wire slave 00.e00000000000 crc e9 [ 396.938592] w1_master_driver w1_bus_master1: Family 0 for 00.e00000000000.e9 is not registered. [ 459.914227] w1_master_driver w1_bus_master1: Attaching one wire slave 00.100000000000 crc 9d [ 459.920797] w1_master_driver w1_bus_master1: Family 0 for 00.100000000000.9d is not registered. Still wrong, but wrong in a slightly more encouraging way....
  2. I am using "5.60 stable Debian GNU/Linux 9 (stretch) 4.14.70-sunxi". Yes, I removed the w1-items from /etc/modules. The DS18B20 works fine on a Raspberry Pi. Pin PA10 on the OrangePi works fine when I connect a DHT-11 sensor. I tried on PA13 too, same problem. I tried connecting to +3.3V instead of +5V, same problem.
  3. Thanks for the suggestion, Martin. I tried enabling w1-gpio in /boot/armbianEnv.txt. I still get the message saying that the driver for the 1-wire Dallas network protocol is loaded, but I still don't get "[8.xxxxx] W1_SUNXI: Added w1-gpio on GPIO-10", and when I look in /sys/bus/w1/devices, there is nothing there. I have an external pullup, so I first tried with param_w1_pin_int_pullup=0, and also tried with the pullup enabled. I used this guide to set it up: is there anything more up to date?
  4. I am trying to get a DS18B20 working on an OrangePi zero running Armbian. The DS18B20 has a pull-up resistor and works on a Raspberry Pi, and is connected to PA10, +5V and Gnd. I have modified /etc/modules-load.d/modules.conf thus: g_serial w1-sunxi w1-gpio w1-therm I have modified /etc/default/cpufrequtils thus: ENABLE=true MIN_SPEED=480000 MAX_SPEED=1200000 GOVERNOR=interactive After a reboot, dmesg looks like this: [ 8.970765] g_serial gadget: Gadget Serial v2.4 [ 8.970777] g_serial gadget: g_serial ready [ 8.995601] Driver for 1-wire Dallas network protocol. [ 9.083869] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro Note the absence of anything like "[8.xxxxx] W1_SUNXI: Added w1-gpio on GPIO-10", and when I look in /sys/bus/w1/devices, there is nothing there. I ran armbianmonitor -u, and the output is at http://ix.io/1lNv. lsmod shows me this: w1_therm 16384 0 w1_gpio 16384 0 wire 20480 2 w1_gpio,w1_therm