Go to advanced search

by DetlevSchm
Fri Oct 25, 2019 8:18 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RTC module and I2C-0 problem
Replies: 23
Views: 6470

Re: RTC module and I2C-0 problem

Thanks, it works now :D
by DetlevSchm
Thu Oct 24, 2019 5:33 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RTC module and I2C-0 problem
Replies: 23
Views: 6470

Re: RTC module and I2C-0 problem

6by9 wrote:If you want to attach to i2c-0 then you need an overlay with "target = <&i2c_vc>;"
Where do I put this modified i2c-rtc-overlay.dts file?

There is a /boot/overlays/ folder, but it contains only .dtbo files, nowhere else do I have .dts files.
by DetlevSchm
Tue Jun 30, 2015 4:23 pm
Forum: Assistive technology and accessibility
Topic: emacspeak and orca for the blind.
Replies: 1
Views: 4259

Re: emacspeak and orca

There is no need to install an "original" Debian image, because most operating systems for the Raspberry Pi are Debian derivates specifically adjusted to the hardware, and yes, both packages are available on, for instance, Raspbian: * emacspeak in version 29.0 * gnome-orca in version 3.4.2 I know th...
by DetlevSchm
Mon Jun 15, 2015 5:00 am
Forum: Advanced users
Topic: how to make a menu with scripts
Replies: 2
Views: 1088

Re: how to make a menu with scripts

Analogous to zenity, you can use whiptail, which displays fullscreen.

See if this example suits your needs:

Code: Select all

whiptail --menu 'menu title' 20 60 10 'tag 1' 'item 1' 'tag 2' 'item 2'
by DetlevSchm
Mon Feb 16, 2015 7:47 pm
Forum: Troubleshooting
Topic: apt-get update fails with GPG error: vontaene.de NO_PUBKEY
Replies: 8
Views: 12487

Re: apt-get update fails with GPG error: vontaene.de NO_PUBK

I have got the same error and fixed it by following this procedure: (see the first answer)

Summary:

Code: Select all

apt-get install debian-keyring
gpg --keyserver pgp.mit.edu --recv-keys 0C667A3E
gpg --armor --export 0C667A3E | apt-key add -
After that, 'apt-get update' did not issue the above error anymore.
by DetlevSchm
Sun Feb 08, 2015 8:02 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Device Tree, temperature sensors problem
Replies: 3
Views: 3592

Re: Device Tree, temperature sensors problem

Physical pin number 7 is GPIO number 4
OMG, I knew that once. Sorry and thanks ;)
by DetlevSchm
Sat Feb 07, 2015 2:08 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Device Tree, temperature sensors problem
Replies: 3
Views: 3592

Device Tree, temperature sensors problem

I could not make it work. After an apt-get upgrade with the changes for the "device tree", I have added dtoverlay=w1-gpio,gpiopin=7 to the end of /boot/config.txt and also done an rpi-update and reboot. I have 6 sensors on a three-wire bus: gpio pin 2 = Vdd gpio pin 6 = ground gpio pin 7 = data with...
by DetlevSchm
Tue Oct 22, 2013 1:36 pm
Forum: Advanced users
Topic: Terminal look & feel
Replies: 5
Views: 1324

Re: Terminal look & feel

Code: Select all

/home/pi/.config/lxterminal/lxterminal.conf
cursorunderline=true
by DetlevSchm
Thu Oct 17, 2013 7:50 am
Forum: General discussion
Topic: Why must I login to view a subscribed post from email?
Replies: 8
Views: 2246

Re: Why must I login to view a subscribed post from email?

... didn't know it did that until you mentioned it ... I did not have expected, that this was intention :-). This is for a starter: The three links are http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=58357&p=438743&e=438743 http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=58357 http://...
by DetlevSchm
Sun Oct 13, 2013 8:21 am
Forum: Troubleshooting
Topic: Audio In Problems
Replies: 14
Views: 2865

Re: Audio In Problems

... with no audio input being played. Is similar on the Macbook pro and on the Raspberry. This is an idle state, but if sound is received, the soundcard is working more and thus draws more power. I second Davespice's suggestion to use a powered USB hub, or verify otherwise, that the voltage under l...
by DetlevSchm
Thu Oct 10, 2013 1:52 pm
Forum: Other projects
Topic: Bugblat PIF FPGA board
Replies: 2
Views: 1818

Re: Bugblat PIF FPGA board

I understand, what you can do with it, but what is is good for? What is a practical application for it?
by DetlevSchm
Wed Oct 09, 2013 2:32 pm
Forum: Troubleshooting
Topic: Can't hear a simple beep
Replies: 3
Views: 1017

Re: Can't hear a simple beep

'beep' expects an internal PC speaker present, which the Raspberry does not have. However, there is a package called 'softbeep', that emulates such a speaker. With softbeep installed, I get proper beeps (not that 'beep') at the terminal prompt. 'beep' itself surprisingly does not work. After some in...
by DetlevSchm
Sun Oct 06, 2013 9:27 am
Forum: General discussion
Topic: using xscreensaver to power off HDMI
Replies: 5
Views: 5598

Re: using xscreensaver to power off HDMI

'tvservice -o' switches the HDMI output signal off. This has little impact on the monitor's power consumption. The monitor is still on and just receives a blank signal. My 10 year old monitor even annoyingly blinks the power LED. There might be monitors, however, that switch to standby mode, if they...
by DetlevSchm
Mon Sep 23, 2013 2:42 pm
Forum: Troubleshooting
Topic: Problem with cron
Replies: 2
Views: 545

Re: Problem with cron

Your script does something, for which you need root permissions.

Either call it from root's crontab:

Code: Select all

sudo crontab -e
or prefix the call with sudo:

Code: Select all

crontab -e
* * * * sudo /usr/local/bin/WiFi_Check
given that you are not prompted for the root password.
by DetlevSchm
Fri Sep 20, 2013 6:19 am
Forum: General discussion
Topic: How do I get the temperature sensors to work on my Pi
Replies: 9
Views: 4425

Re: How do I get the temperature sensors to work on my Pi

vcgencmd needs to be fully qualified: /opt/vc/bin/vcgencmd However, the CPU temperature you get with a cat command: # CPU temperature cat /sys/class/thermal/thermal_zone0/temp 42236 # Core temperature of BCM2835 SoC /opt/vc/bin/vcgencmd measure_temp temp=41.7'C acpitemp is clonky-specific and appear...
by DetlevSchm
Thu Sep 19, 2013 6:18 pm
Forum: Advanced users
Topic: Enabling audible terminal bell/beep on wheezy
Replies: 2
Views: 3653

Re: Enabling audible terminal bell/beep on wheezy

Thanks for the link. This works for me sufficiently.
by DetlevSchm
Thu Aug 29, 2013 3:32 pm
Forum: Beginners
Topic: [SOLVED] Automate keystrokes
Replies: 4
Views: 3238

Re: Automate keystrokes

Check, whether xdotool is installed (it should be):

Code: Select all

which xdotool
/usr/bin/xdotool
If not, you can install the tool with:

Code: Select all

apt-get install xdotool
Then, this should cycle through tabs in an open Midori window:

Code: Select all

xdotool search --class midori key 'ctrl+Tab'
cron is good :-).
by DetlevSchm
Mon Aug 19, 2013 1:25 pm
Forum: Beginners
Topic: Help! No joy installing python modules
Replies: 11
Views: 3781

Re: Help! No joy installing python modules

You need to add the PYTHONPATH environment variable pointing to your modules export PYTHONPATH='/home/pi/my_python_modules' in two locations: If the variable should apply for all users: /etc/profile # for login shells /etc/bash.bashrc # for non-login shells If the variable should only apply for user...
by DetlevSchm
Tue Jul 23, 2013 12:45 pm
Forum: Raspbian
Topic: [Solved] Init.d script for nodejs app not working
Replies: 6
Views: 8211

Re: [Solved] Init.d script for nodejs app not working

Right, "S" does not make much sense, even though it worked. I replaced my "S" with "2 3 4 5" and other combinations, like "3 2 5 4" and "3 4 5" *1), to find out, that in any case, the script was run just once and always in runlevel 2 *1). This fits to Default Debian installation does not make any di...
by DetlevSchm
Mon Jul 22, 2013 1:29 pm
Forum: Raspbian
Topic: [Solved] Init.d script for nodejs app not working
Replies: 6
Views: 8211

Re: Init.d script for nodejs app not working

From what you described, it should work, however, here are some thoughts: ( 1 ) As you have specified the default run-levels in your /etc/init.d/doorbell script, you do not need to activate the script with ___ update-rc.d doorbell start 20 3 4 5 . stop 20 0 1 2 6 . but just ___ update-rc.d doorbell ...
by DetlevSchm
Mon Jul 22, 2013 12:03 pm
Forum: Troubleshooting
Topic: Cron job doe not always run
Replies: 1
Views: 1106

Re: Cron job doe not always run

Redirect possible standard and error output into a file and examine it, when you think it has missed a run:

0 * * * * /usr/bin/php /var/www/cronjob.php &>> /home/pi/my_cron.log
by DetlevSchm
Sat Jul 13, 2013 3:19 pm
Forum: Troubleshooting
Topic: exec php doesn't work
Replies: 4
Views: 1798

Re: exec php doesn't work

exec has two more parameters, which are filled with output from mpg321, as well as a return code.
Try to figure out, what actually happens, instead of giving www-data sudo rights.
by DetlevSchm
Thu Jul 11, 2013 11:23 am
Forum: Troubleshooting
Topic: print '\a' no audio!!!
Replies: 4
Views: 782

Re: print '\a' no audio!!!

In order to hear the ASCII bell character ('\a') a built-in speaker must be present, but the Raspberry Pi does not have one, nor does the audio jack represent a built-in speaker.

Short: It does not work.

Anything other you hear goes through the internal sound chip.
by DetlevSchm
Wed Jul 10, 2013 7:43 pm
Forum: Beginners
Topic: Backing up the SD card - what's difference .bin vs. .img?
Replies: 23
Views: 11849

Re: Backing up the SD card - what's difference .bin vs. .img

anik, I apologize, if I have opened an old wound, I did not know your background. As for my suggestions, I was under the impression, that you do not know, that 'man' exists. 'Reading' a man page does not mean, one has to read it from a to z, nobody does that. The parameters you asked for can be foun...
by DetlevSchm
Wed Jul 10, 2013 6:23 pm
Forum: Beginners
Topic: Backing up the SD card - what's difference .bin vs. .img?
Replies: 23
Views: 11849

Re: Backing up the SD card - what's difference .bin vs. .img

anik wrote:What does "conv=sync,noerror" do?

Code: Select all

man dd
anik wrote:Why would using rsync be preferable to using scp, and what would the syntax of the rsync command be?

Code: Select all

man rsync
You get the meaning of 'man'? :-)

Go to advanced search