Jump to content

gnasch

Members
  • Posts

    111
  • Joined

  • Last visited

Everything posted by gnasch

  1. Hello, ccapublic, every new kernel distributed by dist-upgrade will break your 8192cu. you need to rebuild your module locally, as per the documentation: https://docs.armbian.com/User-Guide_Advanced-Features/#how-to-build-a-wireless-driver see also this thread: https://forum.armbian.com/index.php/topic/2892-module-8192cuko-not-working-in-armbian-514/?hl=depmod#entry20403 Its armbians beginners trap for frustrating the new ones ;-) best, gnasch
  2. How hard does your opi have to work? temperature from armbianmonitor -m cpu load from htop? thanks, gnasch
  3. About POE: generally if you want to work with longer cables, higher feed voltage is better, about 48V is brought by standard conforming POE switches, and/or standard conforming POE injectors. The standard also requests a multi step "feeling" protocol to see whether the device is POE capable, so that nothing will be grilled by unrequested 48V. If you are sure what is connected on which port, you can forget about the "feeling" and take cheaper injectors/splitters without it. If you have only modest cable length and moderate power requirements you can use lower feed voltage, say 24-30V. Many chinese devices do this, but they will no more conform to standard. Here is a nice cheap 48 to 5V splitter which seems ok for opipc, i will order and test one of these. https://www.aliexpress.com/item/5V-2A-POE-splitter-gigabit-802-3af-at-active-POE-splitter-for-5V-2A-IP-camera/32741502485.html best, gnasch
  4. you seem to be looking for this: https://forum.armbian.com/index.php/topic/998-xfce-in-spanish-or-any-other-language-different-than-english/?hl=localization best, gnasch
  5. you might want to read this: https://forum.armbian.com/index.php/topic/1213-ov5640-camera-with-orange-pi/?hl=ov5640 best, gnasch
  6. Hi, the driver provided in the kernel does not work, please try this: https://docs.armbian.com/User-Guide_Advanced-Features/#how-to-build-a-wireless-driver put your new driver to be auto loaded in /etc/modules, then depmod -a, and poweroff / poweron. your wlan0 should now show up. I think this is a test to new users ;-) best, gnasch
  7. Fear not! this temperature is actually quite moderate. best, gnasch
  8. Maybe you could look at raspberry pi, they have lots of activities around schools. They are also very well documented for less technical users. VGA video is too harsh, try to contact companies in your region, they change computers periodically and maybe they can donate you a more recent DVI or even HDMI Monitor, and maybe a USB mouse and keyboard. A HDMI to DVI cable is quite cheap. I commend your commitment! Best luck, gnasch.
  9. sry if this is a stupid question: in which format should <pin> be given to your script? I only get these: cg@poisson:/usr/local/bin$ GpioCalc.py pg6 Traceback (most recent call last): File "/usr/local/bin/GpioCalc.py", line 22, in <module> print("%d" % convert(args[0])) File "/usr/local/bin/GpioCalc.py", line 11, in convert idx = string.uppercase.index(alp) AttributeError: 'module' object has no attribute 'uppercase' cg@poisson:/usr/local/bin$ GpioCalc.py g6 Traceback (most recent call last): File "/usr/local/bin/GpioCalc.py", line 22, in <module> print("%d" % convert(args[0])) File "/usr/local/bin/GpioCalc.py", line 11, in convert idx = string.uppercase.index(alp) AttributeError: 'module' object has no attribute 'uppercase' cg@poisson:/usr/local/bin$ GpioCalc.py g 6 Traceback (most recent call last): File "/usr/local/bin/GpioCalc.py", line 22, in <module> print("%d" % convert(args[0])) File "/usr/local/bin/GpioCalc.py", line 10, in convert alp = value[1] IndexError: string index out of range cg@poisson:/usr/local/bin$ GpioCalc.py 38 Traceback (most recent call last): File "/usr/local/bin/GpioCalc.py", line 22, in <module> print("%d" % convert(args[0])) File "/usr/local/bin/GpioCalc.py", line 11, in convert idx = string.uppercase.index(alp) AttributeError: 'module' object has no attribute 'uppercase' cg@poisson:/usr/local/bin$
  10. Try this: https://www.aliexpress.com/item/1PCS-CH340G-Serial-Converter-USB-2-0-To-TTL-6PIN-Module-for-PRO-mini-Instead-of/32309334168.html
  11. modprobe is not accessible as a normal user, you have to execute it as root: sudo modprobe gc2035 there is a nice tutorial at: http://www.cnx-software.com/2015/09/26/how-to-use-orange-pi-camera-in-linux-with-motion and more info: https://forum.armbian.com/index.php/topic/1517-bird-watching-station-opi-one-and-aliexpress-csi-cam-with-armbian/#entry11783 good luck!
  12. @chaoswk: I can confim the exakt same peak of activity arount 7 in the morning. Even the cpu temperature rises. Certainly updates or something. In this context I consider your watchdog practice very unsafe: If the computer is busy, your script will lag a little, and --pouf-- bye,bye. Please try to install and configure watchdog package, or leave this out for some time. best, gnasch
  13. so I have read this whole thread and also the one at the orangepi forums - Never been so confused... Is it correct that if I want to connect an OV5640 Camera to an Orangepi PC without soldering and massacrating cables, then I have to get this Extension set from Xunlong with the low-res camera; https://www.aliexpress.com/item/Orange-Pi-Open-source-IP-Camera-with-wide-angle-lens-Smart-Home-Control-Device-for-PC/32652476606.html remove the 2MP camera, then get a reversing 24 pin flat cable like this: https://www.aliexpress.com/item/6pcs-24-PIN-200MM-Length-0-5mm-Pitch-FFC-TTL-Ribbon-Flat-Cable-Reverse-Direction-For/32619251538.html and hook this into Cam500B from FriendlyArm https://www.aliexpress.com/item/CAM500B-High-Definition-Camera-5M-Pixel-2592x1944-image-sizes-support-AFC-AWB-AEC-etc-720P-30fps/32766487392.html Ok so far? Then it is almost like Lego. Thanks, gnasch
  14. I do not know why but after every update of kernel my 8192cu module is dead again. So I go through it: recompile on Opi Pc, install it, depmod -a, reboot with power remove, then it works again.... maybe its the same for you? gnasch
  15. this may be a stupid question but did you reload systemd config after modifying the file? systemctl daemon reload http://serverfault.com/questions/700862/do-systemd-unit-files-have-to-be-reloaded-when-modified best, gnasch
  16. There is mention of activating the serial ports in armbian documentation here: https://docs.armbian.com/Hardware_Allwinner/#enable-serial-devttys3-on-pins-8-and-10-of-the-40-pin-header It involves change of the fex file. Maybe this helps? best, gnasch
  17. the watchdog is integrated in H3 SOC, I have no idea about H2+. best, gnasch
  18. If it reboots after "echo" , then watchdog is present and active in kernel. i have 4 watchdog processes, one per processor. root@orangepipcplus:/etc/init.d# ps aux |grep watch root 7 0.0 0.0 0 0 ? S Nov17 0:01 [watchdog/0] root 11 0.0 0.0 0 0 ? S Nov17 0:01 [watchdog/1] root 15 0.0 0.0 0 0 ? S Nov17 0:01 [watchdog/2] root 19 0.0 0.0 0 0 ? S Nov17 0:01 [watchdog/3] root 19080 0.0 0.0 3924 760 pts/1 S+ 14:45 0:00 grep watch root@orangepipcplus:/etc/init.d# my /etc/watchdog.conf is this: #ping = 172.31.14.1 #ping = 172.26.1.255 #interface = eth0 #file = /var/log/messages #change = 1407 # Uncomment to enable test. Setting one of these values to '0' disables it. # These values will hopefully never reboot your machine during normal use # (if your machine is really hung, the loadavg will go much higher than 25) #max-load-1 = 24 #max-load-5 = 18 #max-load-15 = 12 # Note that this is the number of pages! # To get the real size, check how large the pagesize is on your machine. #min-memory = 1 #allocatable-memory = 1 #repair-binary = /usr/sbin/repair #repair-timeout = #test-binary = #test-timeout = watchdog-device = /dev/watchdog # Defaults compiled into the binary temperature-device =/sys/class/thermal/thermal_zone0/temp max-temperature = 120 # Defaults compiled into the binary #admin = root interval = 1 logtick = 60 log-dir = /var/log/watchdog # This greatly decreases the chance that watchdog won't be scheduled before # your machine is really loaded realtime = yes priority = 1 # Check if rsyslogd is still running by enabling the following line #pidfile = /var/run/rsyslogd.pid and in /etc/init.d/watchdog it looks like that: Hope this helps
  19. try: echo 1 > /dev/watchdog, then see what happens. if there is a reaction, the kernel module works. then check /etc/default/watchdog int top there should be a process watchdog, killing it would produce a process wd_keepalive, killing that should reboot. best, gnasch
  20. Armbian will expand its filesystem to the size of the sdcard on first boot. So you may want to look into gparted for editing partitions, or you could setup armbian on a 8GB card, then dd it to a 16GB card after firstboot and use the now unused space. Also FTP is a crutch, old and not secure, you can transfer files securely over ssh, via scp or sshfs depending on your needs. best, gnasch
  21. http://gr.gnasch.ch/download/armbian/ usr: armbian pw: armbian
  22. many people have problems with bad SD-Cards. Everything becomes unreliable when using a low quality SD-Card. please see here, and follow this exactly. https://docs.armbian.com/User-Guide_Getting-Started/#how-to-prepare-a-sd-card best, gnasch
  23. No, the OP wanted a way to have a proprietary embedded system based on armbian. I showed him links on how to do this, but I also wanted him to consider the alternative of putting the device in open source.
  24. you can run proprietary code under linux. for details see here: http://www.datamation.com/osrc/article.php/12068_3801396_3/Bruce-Perens-Combining-GPL-and-Proprietary-Software.htm http://www.barrgroup.com/Embedded-Systems/How-To/Embedded-Linux-GPL-License and the definitive guide: https://www.softwarefreedom.org/resources/2008/compliance-guide.html So all the onus of developing and maintaining your code is on you. Nobody will be able to make your product better. It will be difficult to interface and integrate. It will have limited success in its niche. Then it will die. Or you could open source it.,,,
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines