skematic

  • Content Count

    11
  • Joined

  • Last visited

About skematic

  • Rank
    Member

Recent Profile Visitors

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

  1. I have changed the permission for group and others to rw (so same permissions as user root) @orangepilite:~$ ls -l /dev/mem crw-rw-rw- 1 root kmem 1, 1 Nov 8 14:01 /dev/mem However I'm stil getting No access to /dev/mem. Also, by opening access to /dev/mem, could there be any safety issues?
  2. I want to use my GPIO pins on my OPi lite. After much research and testing, I have done the following - Add user pi to group gpio - Changed /etc/udev/rules.d/99-gpio.rules to SUBSYSTEM=="gpio*", PROGRAM="/bin/sh -c '\ chown -R root:gpio /sys/class/gpio && chmod -R 770 /sys/class/gpio;\ chown -R root:gpio /sys/devices/platform/soc/1c20800.pinctrl/gpiochip0/gpio && chmod -R 770 /sys/devices/platform/soc/1c20800.pinctrl/gpiochip0/gpio;?\ '"???? Now, accessing GPIO pins is working fine via bash: (env) pi@orangepilite:~$ echo 65 > /sys/class/gpio
  3. I couldn't help trying to figure out how to make my own dts file work. Turns out, just like you said, adding usb0_vbus-supply = <0x76>; (0x76 being usb0-vbus's phandle) usb0_vbus-supply = <0x76>; In the phy@01c19400 node did the trick!
  4. You sir, are a genius! I compiled your dts and all 3 usb ports seem to be working. Thank you so much for your effort! For the sake of understanding, may I ask how you fixed this problem?
  5. Awesome. But my kernel is 4.14, your dts seems a lot different than mine. How should I change mine to work?
  6. Forgot to change it back after I was testing it with different settings! It's now using dr_mode = "host" root@orangepilite:~$ lsusb Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 0
  7. I've looked for r_pio r_pio = "/soc/pinctrl@01f02c00"; pinctrl@01f02c00 { compatible = "allwinner,sun8i-h3-r-pinctrl"; reg = <0x1f02c00 0x400>; interrupts = <0x0 0x2d 0x4>; clocks = <0x26 0x3 0x19 0x1a>; clock-names = "apb", "hosc", "losc"; gpio-controller; #gpio-cells = <0x3>; interrupt-controller; #interrupt-cells = <0x3>; linux,phandle = <0x35>; phandle = <0x35>; ir@0 { pins = "PL11"; function = "s_cir_rx"; linux,phandle = <0x27>; phandle = <0x27>; }; r-i2c { pins = "P
  8. I have found nothing in terms of PL2. But I have usb0-vbus: usb0-vbus { compatible = "regulator-fixed"; regulator-name = "usb0-vbus"; regulator-min-microvolt = <0x4c4b40>; regulator-max-microvolt = <0x4c4b40>; enable-active-high; gpio = <0x16 0x1 0x9 0x0>; status = "disabled"; linux,phandle = <0x76>; phandle = <0x76>; }; I have changed status to "okay", however still no power coming from the micro-usb port. Dmesg gives root@orangepilite:~$ dmesg | grep usb0 [ 4.241321] usb0-vbus: Failed to request enable GPIO41: -517 [
  9. The problem I have an USB endoscope camera that works fine with my Orange Pi lite's normal USB port. However I need both USB port for other devices, so I want to connect this same USB camera, which was orginally marketed as USB otg camera for android phones, using Opi lite's micro usb otg connector. What have I tried - In armbian-config menu, I have enabled usbhost0. I believe this overlay is for the usb otg port, but just to be sure I also enabled usbhost1, usbhost2 and usbhost3. - Using dtc I decompiled sun8i-h3-orangepi-lite.dtb into sun8i-h3-orangepi-lite.dtc.
  10. I'm trying to connect to my Orange Pi Lite with TightVNC. I installed tightvncserver on my orange pi lite and ran vncserver :1. On my laptop I installed TightVNC viewer and connected, but it gives me following error "Unable to contact settings server" (see attachment for full error). When I press 'Close', the dialog closes but nothing happens. Help please.