Go to advanced search

by ghans
Fri Sep 21, 2018 7:29 am
Forum: Other programming languages
Topic: PHP & Serial comm with RPi?
Replies: 6
Views: 288

Re: PHP & Serial comm with RPi?

Linux follows the "everything is a file" motto of Unix. As soon you plug an Arduino into the Raspberry, a file should magically appear in /dev. This file represents a serial port and can be read and written to. The handling has not changed in the last 40 years so software like screen and minicom sho...
by ghans
Tue Sep 18, 2018 6:40 pm
Forum: Beginners
Topic: Watching a DVD under Raspian Stretch, how?
Replies: 9
Views: 213

Re: Watching a DVD under Raspian Stretch, how?

The point of Blu-Ray was to introduce copy-protection which cannot be cracked by just dumping the keys of a Windows player and turning it into Linux software ;) AFAIK 22 AACS keys have been leaked and subsequently revoked. Further keys are even kept secret by those who write Blu-Ray ripping software...
by ghans
Mon Sep 17, 2018 1:18 pm
Forum: Python
Topic: os.path to network pc
Replies: 13
Views: 262

Re: os.path to network pc

If your server is running CentOS instead of Windows, you still need to configure network share acess on the Raspberry Pi once. Only then you can check if the connection is working. Furthermore, you need to install file server sofware on CentOS . For Windows File Sharing the software is called "Samba...
by ghans
Mon Sep 17, 2018 12:18 pm
Forum: Python
Topic: os.path to network pc
Replies: 13
Views: 262

Re: os.path to network pc

The files you want to access are stored on a CentOS machine ?

ghans
by ghans
Mon Sep 17, 2018 12:05 pm
Forum: Python
Topic: os.path to network pc
Replies: 13
Views: 262

Re: os.path to network pc

This simply doesn't work on Linux. Before trying to open, read, write and close files from Windows network shares inside a program, you need to explicitly configure them for the whole system. After doing that once, they will be automatically mounted and dismounted on demand within milliseconds. This...
by ghans
Sat Sep 15, 2018 7:05 am
Forum: Troubleshooting
Topic: eSpeak Problems
Replies: 11
Views: 279

Re: eSpeak Problems

You are missing hyphens (-).

ghans
by ghans
Sat Sep 15, 2018 5:53 am
Forum: Other programming languages
Topic: launching C# code
Replies: 13
Views: 378

Re: launching code

If your program is written in C# instead of C or C++ recompilation might not be necessary.

Just like Java, the .NET program should run as-is on the Raspberry Pi. Instead of a Java Virtual Machine (JVM) "Mono" has to be installed on Raspbian for .NET programs to work.

ghans
by ghans
Sun Sep 09, 2018 9:11 am
Forum: Beginners
Topic: Shutdown at command level
Replies: 8
Views: 223

Re: Shutdown at command level

Programs on Linux have default signal handlers. The Python interpreter is a program too ! Of course, Python being a full-fledged programming language allows you to override the default signal handlers inside your own program itself. If you want to it "correctly", overriding the SIGTERM handler of yo...
by ghans
Fri Sep 07, 2018 4:22 pm
Forum: General discussion
Topic: SD card in another computer
Replies: 5
Views: 171

Re: SD card in another computer

I have never heard of consumer SD cards supporting TRIM at all. TRIM is only a thing on "proper" SSDs.

ghans
by ghans
Tue Aug 28, 2018 10:40 am
Forum: Networking and servers
Topic: How does mount.cifs transfer data from RAM
Replies: 3
Views: 118

Re: How does mount.cifs transfer data from RAM

A good keyword for Google is "Linux VFS".

ghans
by ghans
Sat Aug 25, 2018 7:29 am
Forum: Troubleshooting
Topic: How to set display brightness on the Raspberry Pi?
Replies: 6
Views: 262

Re: How to set display brightness on the Raspberry Pi?

The only person who could answer this question is probably Eric Anholt or someone who is working with him directly. His/their work is what made the "xgamma" tool work on the Pi in the first place.

ghans

PS: The Wikipedia page of DDC/CI says that it not only works over VGA, but HDMI too.
by ghans
Fri Aug 24, 2018 7:01 am
Forum: Advanced users
Topic: Creating an extremly reliable Actioncam with a PiZero
Replies: 5
Views: 191

Re: Creating an extremly reliable Actioncam with a PiZero

You want a extremely reliable actioncam but want to use a Pi Zero (for 10 $) ... you do realise that Raspberry Pi UPS systems exist already ? Check their prices and tell me if you can fit it into your budget ... something tells me you'd rather buy a chinese GoPro knockoff .... lol. By all means do s...
by ghans
Fri Aug 24, 2018 4:11 am
Forum: General discussion
Topic: Is it really true, that the RPi runs faster when booting from a good USB Stick?
Replies: 31
Views: 1157

Re: Is it really true, that the RPi runs faster when booting from a good USB Stick?

I though this has to do with the fact that SSDs and rotating harddisks have much better random I/O performance ?

ghans
by ghans
Tue Aug 21, 2018 4:48 am
Forum: Beginners
Topic: downloading stuff using Linux?
Replies: 3
Views: 203

Re: downloading stuff using Linux?

Most random "Linux" download pages will never work on the Pi. Only download when the software authors explictly mention Raspberry Pi.

ghans
by ghans
Mon Aug 20, 2018 4:39 am
Forum: Beginners
Topic: Updating audio drivers for 3.5 jack
Replies: 7
Views: 184

Re: Updating audio drivers for 3.5 jack

The audio driver on the Pi has been improved several times over the years. Some of the improvements are actually inside the firmware (start.elf) instead of the Linux kernel. Updating the firmware (and the Linux kernel) is usally done with the "apt-get" command nowadays. Sadly LibreELEC is notorious ...
by ghans
Wed Aug 15, 2018 4:53 pm
Forum: Networking and servers
Topic: scp transfer of .PNG photos---something doesn't work
Replies: 14
Views: 302

Re: scp transfer of .PNG photos---something doesn't work

Windows tries to infer filetype from the file extension, which works most of the time.
Linux does not honor filename extension but uses "magic" (signatures inside the file).

ghans
by ghans
Sat Aug 04, 2018 3:59 am
Forum: Networking and servers
Topic: Acess point, redirect to HTTP, capture packets!
Replies: 5
Views: 358

Re: Acess point, redirect to HTTP, capture packets!

HSTS preloading was invented to prevent such downgrade attacks and as of 2018 all major browsers employ it.
"sslstrip" still works on websites without preloaded HSTS, though.

ghans
by ghans
Mon Jul 30, 2018 9:27 am
Forum: Media centres
Topic: Dual Monitors.
Replies: 9
Views: 423

Re: Dual Monitors.

No Raspberry Pi can drive more than a single HDMI screen. There is probably no way around that except USB Graphic cards, and it is hard to find reliable information about Linux compatibility with those. There are some Linux applications out there which promise to work as Chromecast sender. One of th...
by ghans
Mon Jul 30, 2018 8:51 am
Forum: Graphics, sound and multimedia
Topic: Multiple displays running simultaneously
Replies: 12
Views: 511

Re: Multiple displays running simultaneously

I doubt there is any solution out there which is as "turn-key" as PiWall. Some basic computer knowledge will be necessary for that too, mind you.

ghans
by ghans
Mon Jul 30, 2018 7:52 am
Forum: General discussion
Topic: files and directorios permissions
Replies: 10
Views: 49485

Re: files and directorios permissions

Are you using NTFS-3G ? Are you sure the disk hasn't been marked as "dirty" ? This happens if you don't properly unmount / eject it and can only be fixed by Microsoft CHKDSK
on Windows...

ghans
by ghans
Sun Jul 29, 2018 11:11 am
Forum: Graphics, sound and multimedia
Topic: Running fbi from an x windows application using Python3
Replies: 2
Views: 126

Re: Running fbi from an x windows application using Python3

Did you try the "openvt" command ? It seems to do exactly what you want.

ghans
by ghans
Sat Jul 28, 2018 7:12 pm
Forum: Graphics, sound and multimedia
Topic: Multiple displays running simultaneously
Replies: 12
Views: 511

Re: Multiple displays running simultaneously

No Raspberry Pi can drive more than 2 screens at 30fps/1080p.
You will need multiple Raspberries. This is a solved problem.

www.piwall.co.uk

ghans
by ghans
Sat Jul 28, 2018 9:34 am
Forum: General discussion
Topic: USB Programming
Replies: 14
Views: 485

Re: USB Programming

Are you 100% sure the device actually uses USB ? Perhaps it just uses USB sockets because the creator thought it would be funny to misuse standardised sockets - see "passive VGA-to-HDMI cables" etc.

ghans
by ghans
Fri Jul 27, 2018 7:12 am
Forum: Automation, sensing and robotics
Topic: Automation and Control
Replies: 10
Views: 512

Re: Automation and Control

Linux is a preemptive non-realtime multitasking operating system. Linux has complete control over processes and can kill them if they misbehave (eg. OOM killer). It also schedules processes as it sees fit. This is not different from Windows, by the way. When a process sleeps, Linux is free to schedu...

Go to advanced search