mantouboji

Members
  • Content Count

    41
  • Joined

  • Last visited

About mantouboji

  • Rank
    Advanced Member

Recent Profile Visitors

540 profile views
  1. mantouboji

    Orange Pi PC 1-Wire

    whether commented or not, no any difference. I use a 5.1K pullup external. Welcome to ARMBIAN 5.61 user-built Ubuntu 18.04.1 LTS 4.14.72-sunxi
  2. mantouboji

    Orange Pi PC 1-Wire

    I used its config for a long time. It works very well in 16.04 . overlays=pps-gpio uart1 usbhost0 w1-gpio param_w1_pin=PA10 #param_w1_pin_int_pullup=1 param_pps_pin=PA7 now: 11月 17 20:35:03 opione2 kernel: w1_master_driver w1_bus_master1: Attaching one wire slave 80.d2c000430010 crc fb 11月 17 20:35:03 opione2 kernel: w1_master_driver w1_bus_master1: Family 80 for 80.d2c000430010.fb is not registered. 11月 17 20:35:18 opione2 kernel: w1_master_driver w1_bus_master1: Attaching one wire slave 80.32c000430010 crc 12 11月 17 20:35:18 opione2 kernel: w1_master_driver w1_bus_master1: Family 80 for 80.32c000430010.12 is not registered. 1
  3. mantouboji

    Orange Pi PC 1-Wire

    After upgrade to Ubuntu 18.04,I can’t read my two DS18B20 devices for weeks. I use OrangePi One.
  4. mantouboji

    Orange Pi One USB-OTG

    That's all right! It works!
  5. mantouboji

    Orange Pi One USB-OTG

    May I edit it on-the-fly without rebuild anything?
  6. mantouboji

    Orange Pi One USB-OTG

    I built it in your git tree, no any modification. Welcome to ARMBIAN 5.31 stable Ubuntu 16.04.3 LTS 4.11.12-sun8i System load: 0.11 0.06 0.01 Up time: 5 days Memory usage: 10 % of 464MB IP: 192.168.20.200,192.168.20.172 CPU temp: 52°C Usage of /: 30% of 7.2G [ 0 security updates available, 4 updates total: apt upgrade ] Last check: 2017-08-29 00:00 [ General system configuration: armbian-config ] Last login: Thu Aug 24 02:08:46 2017 from 192.168.20.40 yaofei@opione:~$ yaofei@opione:~$ yaofei@opione:~$ uname -a Linux opione 4.11.12-sun8i #19 SMP Wed Aug 23 23:51:57 CST 2017 armv7l armv7l armv7l GNU/Linux
  7. mantouboji

    Orange Pi One USB-OTG

    no works: yaofei@opione1:~$ dmesg | grep usb0 [ 3.165900] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc/pinctrl@01f02c00/usb0_vbus_pin@0, deferring probe [ 3.906582] usb0-vbus: disabling yaofei@opione1:~$ uname -a Linux opione1 4.11.12-sun8i #19 SMP Wed Aug 23 23:51:57 CST 2017 armv7l armv7l armv7l GNU/Linux
  8. I use the OrangePi Zero. But it is similar to other model. It's very simple: 1) use the mainline 4.11.x kernel 2) enable the uart1 and pps-gpio in /boot/armbianEnv.txt like this : overlays=uart1 pps-gpio param_pps_pin=PA7 3) edit /etc/default/gpsd to use ttyS1 as gps device # Devices gpsd should collect to at boot time. # They need to be read/writeable, either by user gpsd or the group dialout. DEVICES="/dev/ttyS1" # Other options you want to pass to gpsd GPSD_OPTIONS="-G -n " 4) If you use ntpd, edit /etc/ntpd.conf like this: # GPS Serial data reference server 127.127.28.0 minpoll 4 maxpoll 4 prefer fudge 127.127.28.0 time1 0.135 refid GPS server 127.127.22.0 maxpoll 4 # ATOM(PPS) fudge 127.127.22.0 flag3 1 # enable PPS API 5) Or if you prefer crony rather than ntp, install chrony instead of ntp, edit /etc/chrony/chrony.conf , add this to end of it: refclock SHM 0 refid GPS precision 1e-1 offset 0.134 delay 0.2 noselect refclock PPS /dev/pps0 lock GPS 6) connect GPS module to UART1 GPS Zero --------------------- TXD UART1_RX PIN10 RXD UART1_TX PIN8 PPS IO-1 PIN12 7) use ntpq -p or chrony sources. to check it.
  9. mantouboji

    Orange Pi One USB-OTG

    dmesg | grep usb0 [ 3.165850] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc/pinctrl@01f02c00/usb0_vbus_pin@0, deferring probe [ 3.906543] usb0-vbus: disabling
  10. mantouboji

    Orange Pi One USB-OTG

    Yeah, OTG port is usbhost0, but there is a power switch controlled by PL2, it is not enabled. martinayotte said he will release a patch.
  11. mantouboji

    Bug in usbOTG host in orange pi lite

    It seems the usb0_vbus pin (PL2) not active to open the power.
  12. mantouboji

    Orange Pi One USB-OTG

    Thanks, but don't works. In fact I've tried every usbhostX overlay before post this topic.
  13. mantouboji

    Orange Pi One USB-OTG

    There are two USB dongles on my Orange Pi One box, one is a USB Bluetooth in USB-OTG port and other is a mu7601 USB WiFi in the USB port. When I switched it from legacy kernel to lastest development kernel 4.11.x, the bluetooth card disappeared. So I exchange two dongles each other , the one in USB port works, and the one in USB-OTG port always failed. Is there any solution?
  14. mantouboji

    chrony problem with gpsd and pps-gpio on H3

    use the main-line kernel
  15. mantouboji

    GPIO PA7 on OPi Zero

    I'm testing the GPS PPS function. If I use PA7 (GPIO PIN 12 in OrangePI Zero), get nothing. But if change to PA3, (GPIO PIN 15), it works well ether pps-gpio module or gpsd itself. Is any strange stuff on PA7?