Go to advanced search

by ghans
Fri Dec 14, 2018 5:59 am
Forum: Other programming languages
Topic: Chromium and Raspbian lite, programmatic control
Replies: 4
Views: 96

Re: Chromium and Raspbian lite, programmatic control

Professional browser automation is done with Selenium and the WebDriver protocol. The latter is already supported by Chromium AFAIK. I am not convinced that an embedded webserver isn't the cleanest solution. The seperation between server and client is a positive, since you normally want to swap the ...
by ghans
Wed Dec 12, 2018 5:44 am
Forum: Other projects
Topic: Developer new TFT LCD driver for Linux RPI
Replies: 6
Views: 195

Re: Developer new TFT LCD driver for Linux RPI

Have a look at "tinydrm":
https://github.com/notro/tinydrm/wiki

tinydrm was explicitly designed for writing simpler LCD drivers, especially on the Raspberry Pi.

ghans
by ghans
Fri Dec 07, 2018 6:30 am
Forum: Troubleshooting
Topic: Data Retrieval from corrupted file system raspberry pi SD card
Replies: 5
Views: 175

Re: Data Retrieval from corrupted file system raspberry pi SD card

@anaTech Why are you working with /dev/mmcblk0pXX ? That is obviously the internal SD card which is currently in use. The SD card in the reader should be called differently. To make sure, unplug the reader with card and replug it. Now sudo dmesg | tail should show you the name of the external SD car...
by ghans
Wed Dec 05, 2018 9:04 am
Forum: Troubleshooting
Topic: Data Retrieval from corrupted file system raspberry pi SD card
Replies: 5
Views: 175

Re: Data Retrieval from corrupted file system raspberry pi SD card

Do not try to upload photos here (heavy filesize restrictions), use imgur.com instead. What you want to do is following: 1) Make an image backup of the old card with dd (You need enough free space). sudo dd if=/dev/sda of=/path/to/imgfile.img bs=4K If you don't have enough space you can skip to step...
by ghans
Wed Dec 05, 2018 8:28 am
Forum: Python
Topic: Display simple image on GPIO screen
Replies: 12
Views: 313

Re: Display simple image on GPIO screen

You seem to be using devicetree overlays, which is excellent.
I propose that you use guizero.

guizero is a GUI library specially written for beginners.
It comes very close to your pseudo-code because of this.

https://lawsie.github.io/guizero/images/

ghans
by ghans
Tue Dec 04, 2018 8:06 am
Forum: Python
Topic: Display simple image on GPIO screen
Replies: 12
Views: 313

Re: Display simple image on GPIO screen

How did you get the screens work in the first place ? Which commands did you enter ? Which configuration files did you modify ? Do you have more than one screen attached to your Pi ?
What is currently displayed on your screen ? The desktop ? The command-line ?

ghans
by ghans
Thu Nov 29, 2018 6:19 am
Forum: Other programming languages
Topic: [Apache] Clean links?
Replies: 5
Views: 178

Re: [Apache] Clean links?

You must rename files on the server if it bothers you this much.
This process is called "precent encoding" and your browser is just doing its job by using it.

ghans
by ghans
Tue Nov 27, 2018 10:06 am
Forum: Camera board
Topic: Usb camera does not use GPU
Replies: 9
Views: 288

Re: Usb camera does not use GPU

USB cameras can not be accelerated. The overheads are innate to USB camera devices. The only exception would be cameras with integrated h.264 encoder. They could send the compressed data to the inbuilt h.264 decoder of all Raspberry Pis and then the Pi could display it, circumventing the CPU. Those ...
by ghans
Tue Nov 27, 2018 7:28 am
Forum: Deutsch
Topic: Multiple Kamera
Replies: 2
Views: 191

Re: Multiple Kamera

Man kann mit dem Multi-Kamera-Adapter nicht mehrere Kameras gleichzeitig benutzen, sondern nur alle abwechselnd.
Außerdem braucht es ein Weilchen zum Umschalten. Die Umschaltzeit kann auch schwanken.

ghans
by ghans
Sun Nov 25, 2018 8:44 am
Forum: Beginners
Topic: Trying to install OpenCV, running into errors, what does "cd ~" mean?
Replies: 3
Views: 130

Re: Trying to install OpenCV, running into errors, what does "cd ~" mean?

~ is an abbrevation for your home directory, that is "/home/$username" where $username gets replaced by the current username (duh). The diectory "opencv" did not exist yet inside ~ . You did the sensible thing and created it. So far, so good. Next you tried to install cmake via pip. A rule of thumb:...
by ghans
Sat Nov 24, 2018 10:03 am
Forum: General discussion
Topic: Nothing goes as we say in Quebec - NOOBS issue
Replies: 11
Views: 405

Re: Nothing goes as we say in Quebec

1. Download Etcher and install it: http://www.etcher.io 2. Download Raspbian https://downloads.raspberrypi.org/raspbian_full_latest 3. Put the SD in your laptop/desktop PC. 4. Start Etcher and "burn" Raspbian onto your SD card. 5. Eject the SD card. 6. Put the card into your Pi and start it. 7. Prof...
by ghans
Sat Nov 24, 2018 9:43 am
Forum: Beginners
Topic: Info about librarys to the Pi...
Replies: 2
Views: 136

Re: Info about librarys to the Pi...

The help system on Linux is called "manpages". Section 3 covers library functions. Type man 3 intro for an introduction to section 3. Nearly anything and everything on Linux has a manpage. Including the "man" command itself. To search manpages, try the "apropos" command. Try to to find the manpages ...
by ghans
Tue Nov 20, 2018 7:42 am
Forum: Bare metal, Assembly language
Topic: Enable Bluetooth/Wifi Rpi Zero W Bare Metal
Replies: 10
Views: 1223

Re: Enable Bluetooth/Wifi Rpi Zero W Bare Metal

Broadcom sold its Bluetooth division to Cypress ...

http://www.cypress.com/file/298076/download

ghans
by ghans
Sat Nov 17, 2018 9:01 am
Forum: General discussion
Topic: Can I put photo's on the SD-card and read it with an arduino?
Replies: 8
Views: 288

Re: Can I put photo's on the SD-card and read it with an arduino?

Quick format is indeed quicker and causes less wear. The only drawback is that
that data is not overwritten but just marked as "empty" so with easily available software
your top secret cookie recipes could be recovered.

ghans
by ghans
Fri Nov 16, 2018 9:43 am
Forum: Deutsch
Topic: Backup-Gerät für SD-Karten? Vergleichbar mit WD Passport Wireless Pro, aber schneller?
Replies: 4
Views: 573

Re: Backup-Gerät für SD-Karten? Vergleichbar mit WD Passport Wireless Pro, aber schneller?

Alle Raspberry Pis haben einen 480 Mbit/s USB 2.0 port.
Da hängt eine 4-Port-USB-Hub-plus-Ethernet-Kombi dran. Soweit ich weiß, bedeutet dies die Aufteilung der 480 MBit auf alle fünf (oder weniger) Geräte.

ghabs
by ghans
Thu Nov 15, 2018 7:01 am
Forum: Deutsch
Topic: Backup-Gerät für SD-Karten? Vergleichbar mit WD Passport Wireless Pro, aber schneller?
Replies: 4
Views: 573

Re: Backup-Gerät für SD-Karten? Vergleichbar mit WD Passport Wireless Pro, aber schneller?

Ist dein Projekt mit einem Pi umsetzbar : Ja. Erreicht du dein Perfomance-Ziel mit einem Pi : Nein. Viel viel würdest für dieses Projekt maximal ausgeben ? Hast du Erfahrung mit Batchdateien unter Windows ? Um dieses Projekt abzuschließen, wirst du dich mit Raspbian (ein Linux) auseinandersetzen müs...
by ghans
Wed Nov 14, 2018 4:02 pm
Forum: Networking and servers
Topic: Copy a received 433Mhz signal and send it?
Replies: 1
Views: 340

Re: Copy a received 433Mhz signal and send it?

Very primitive 433 Mhz transcievers can be connected to a soundcard. Transmitting and recieving becomes playback and recording.

ghans
by ghans
Wed Nov 14, 2018 3:27 pm
Forum: Beginners
Topic: Streaming Flash Video Player
Replies: 10
Views: 443

Re: Streaming Flash Video Player

If Flash support is mandatory the Raspberry Pi is a poor choice.

ghans
by ghans
Tue Nov 13, 2018 5:19 am
Forum: Beginners
Topic: Am I in the right place?
Replies: 13
Views: 489

Re: Am I in the right place?

How big is your budget ? There are very good RPi soundcards out there which are tremendously better than the rather mediocre default sound output. They have been around for some time and must be plug-n-play by now.

ghans
by ghans
Fri Nov 02, 2018 5:43 am
Forum: Troubleshooting
Topic: Error in format of program file
Replies: 12
Views: 280

Re: Error in format of program file

You can try installing the Eclipse version available via Add/Remove software.
It will probably be a bit older, but should actually work.

ghans
by ghans
Fri Nov 02, 2018 5:35 am
Forum: Beginners
Topic: USB Camera: How to get a live feed?
Replies: 3
Views: 188

Re: USB Camera: How to get a live feed?

Code: Select all

sudo apt-get update
sudo apt-get install guvcview
GUVCView should do what you want.

ghans
by ghans
Fri Nov 02, 2018 5:24 am
Forum: Advanced users
Topic: Wake On Lan
Replies: 9
Views: 354

Re: Wake On Lan

No Raspberry Pi model supports Wake-on-LAN. People always say the Ethernet chip supports it, but the respective WoL pins are not wired up to anything. No Raspberry Pi has a dedicated low-power standby mode from which it can be woken up by different external triggers anyway. It can only be reset from...
by ghans
Wed Oct 31, 2018 8:48 am
Forum: General discussion
Topic: Batch programming or Startup file list or equivalent.
Replies: 13
Views: 636

Re: Batch programming or Startup file list or equivalent.

The startup manager on Raspbian is called "systemd". It replaces the older "sysvinit" which heavily relied on shell scripts interpreted by dash/bash. systemd uses configuation files, called "unit files". Read more on writing your own unit files here: https://www.digitalocean.com/community/tutorials/...
by ghans
Mon Oct 29, 2018 5:08 am
Forum: Beginners
Topic: Restore Pi to known configuration
Replies: 12
Views: 920

Re: Restore Pi to known configuration

Regularly overwriting a Raspbian installation sounds both slow and like a great way to trash SD cards by the dozen. overlayfs avoids this entirely.

ghans
by ghans
Fri Oct 26, 2018 4:41 am
Forum: Beginners
Topic: Restore Pi to known configuration
Replies: 12
Views: 920

Re: Restore Pi to known configuration

Why don't you use overlayfs ?

https://yagrebu.net/unix/rpi-overlay.md

ghans

Go to advanced search