Go to advanced search

by adam van gaalen
Mon Sep 17, 2018 5:22 pm
Forum: Troubleshooting
Topic: kernel 4.14.69-v7+ gives: kernel: [29298.960359] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -16
Replies: 3
Views: 3054

kernel 4.14.69-v7+ gives: kernel: [29298.960359] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -16

I have been using my Pi 3+ to play my favourite audio-files ever since the 3+ became available. I have a small script that inventories my music-folder for mp3-files and then randomly generates '/usr/bin/omxplayer -o local <filename}.mp3' lines. The script could run for days until all mp3's had been ...
by adam van gaalen
Tue Jun 26, 2018 5:56 am
Forum: General discussion
Topic: Strange cron.hourly/fake-hwclock non valid date
Replies: 4
Views: 978

Re: Strange cron.hourly/fake-hwclock non valid date

Last night I had a similar situation. cron.hourly reported: /etc/cron.hourly/fake-hwclock: date: invalid date ‘#!/bin/tcsh\n/usr/bin’ /sbin/fake-hwclock: 33: [: -ge: argument expected Current system time: 2018-06-25 22:17:02 fake-hwclock saved clock information is in the future: #!/bin/tcsh /usr/bin...
by adam van gaalen
Mon Apr 24, 2017 12:29 pm
Forum: General discussion
Topic: Switching Conrad RSL366R switches through pilights?
Replies: 0
Views: 419

Switching Conrad RSL366R switches through pilights?

I am using one of my Pi's to switch a whole lot of devices by means of a 433 MHz transmitter. These devices include 'blokker', 'action', 'kaku', 'elro', 'X10' etc. devices. Recently I got hold of a Conrad switch that (at the back) says it is an RSL366R device. So far I have not been successful in tr...
by adam van gaalen
Fri Jun 24, 2016 9:37 pm
Forum: Advanced users
Topic: device-tree for DHT11 Temperature/Humidity sensor
Replies: 12
Views: 10043

Re: device-tree for DHT11 Temperature/Humidity sensor

Instead of:
while ( ${NTRIES} < 100 )

I have been going as far down as:
while ( ${NTRIES} < 5 )

and the code still appears to be rocksolid on my RPi model B.

Doing only 5 reads instead of 100 saves time and may have a positive effect on the lifetime of the sensor.
by adam van gaalen
Fri Jun 24, 2016 2:19 pm
Forum: Advanced users
Topic: device-tree for DHT11 Temperature/Humidity sensor
Replies: 12
Views: 10043

Re: device-tree for DHT11 Temperature/Humidity sensor

OK, from a C-program you could do that. I wrote my stuff because people complain that when they 'cat' de DHT11-file they keep getting lots of errors. Usually I get > 90 good values when reading the sensor 100 times. Of course one could decide to read 10 times only, probably still producing about 8 t...
by adam van gaalen
Fri Jun 24, 2016 1:30 pm
Forum: Advanced users
Topic: device-tree for DHT11 Temperature/Humidity sensor
Replies: 12
Views: 10043

Re: device-tree for DHT11 Temperature/Humidity sensor

I too had all kinds of problems reading the TEMP and RH values. If you read them you get I/O-errors, timeouts etc... I found out however, that when you read the sensor-values a lot of times in a small loop, you will get good-looking values. Here is an example in a tcsh script: #!/bin/tcsh # @ NTRIES...
by adam van gaalen
Sat Feb 07, 2015 1:15 pm
Forum: Troubleshooting
Topic: kernel panic on 2015-01-31 raspian model B
Replies: 14
Views: 3836

Re: kernel panic on 2015-01-31 raspian model B

It just crashed again twice... No stacktrace as it happened right after 'startx'... All I had was a frozen GUI... 8-( During the boot-processes following the crashes I noticed a lot of memory-card I/O-errors... As I said before: This happens on 3 different micro-SD-cards. Sure hoping it's not a Pi-h...
by adam van gaalen
Sat Feb 07, 2015 11:42 am
Forum: Troubleshooting
Topic: kernel panic on 2015-01-31 raspian model B
Replies: 14
Views: 3836

Re: kernel panic on 2015-01-31 raspian model B

sudo /usr/bin/raspi-config

and there: 4 Internationalisation Options
and there: I3 Change Keyboard Layout


In fact you DID reseat... PULLED OUT the card, formatted it, wrote raspbian onto it and PUSHED it back IN.
by adam van gaalen
Sat Feb 07, 2015 9:08 am
Forum: Troubleshooting
Topic: kernel panic on 2015-01-31 raspian model B
Replies: 14
Views: 3836

Re: kernel panic on 2015-01-31 raspian model B

Did you, like I did, re-seat the micro-SD card (maybe 20 times or so)? While it used to crash within minutes before doing this it didn't crash anymore afterwards. It even survived the night showing a webpage with quite a few movies playing on it. Adam van Gaalen Systems programmer since about 45 yea...
by adam van gaalen
Fri Feb 06, 2015 7:11 pm
Forum: Troubleshooting
Topic: kernel panic on 2015-01-31 raspian model B
Replies: 14
Views: 3836

Re: kernel panic on 2015-01-31 raspian model B

I'm sorry (no, happy) to report that I did not manage to get it panic'ing again… Here is what I did, that may have, hopefully, fixed it: I pushed in and out the little memory-card maybe about 20 times or so because I just wanted to make sure the connections between the Pi and the card would be OK. W...
by adam van gaalen
Fri Feb 06, 2015 3:43 pm
Forum: Troubleshooting
Topic: kernel panic on 2015-01-31 raspian model B
Replies: 14
Views: 3836

Re: kernel panic on 2015-01-31 raspian model B

Tried wheezy 2014-12-24 on the model B 2, but it doesn't get any further than the colored startup-screen. Sometimes it doesn't even get that far…

I've tried to take a photo of the screen, but when it got in focus the Pi rebooted.
Will try again in a sec.

Where do I send the picture to?
by adam van gaalen
Fri Feb 06, 2015 12:16 pm
Forum: Troubleshooting
Topic: kernel panic on 2015-01-31 raspian model B
Replies: 14
Views: 3836

Re: kernel panic on 2015-01-31 raspian model B

New SD-card, 16GB class 10,… Again the system panics…

Will go check to see what happens when using the previous wheezy-release...
by adam van gaalen
Fri Feb 06, 2015 10:35 am
Forum: Troubleshooting
Topic: kernel panic on 2015-01-31 raspian model B
Replies: 14
Views: 3836

Re: kernel panic on 2015-01-31 raspian model B

I installed my brand new model B 2 yesterday and I am now experiencing quite some kernel panics with the 2015-01-31 wheezy. This is my 5th RPi, yet the first one that ever panic'ed. Could be the new Pi or the new wheezy… I wonder... One SDRAM gives more problems than another but both of them fail wh...
by adam van gaalen
Mon Jun 02, 2014 7:52 pm
Forum: Raspbian
Topic: Improved forked-daapd (iTunes server)
Replies: 1538
Views: 397991

Re: Improved forked-daapd (iTunes server)

Know what? I did the reinstall right away and YES!!!
My Remote got paired right away!

Thanks again!
by adam van gaalen
Mon Jun 02, 2014 7:42 pm
Forum: Raspbian
Topic: Improved forked-daapd (iTunes server)
Replies: 1538
Views: 397991

Re: Improved forked-daapd (iTunes server)

Wow... Must have found an install-procedure somewhere that was not the most perfect one.

Thanks!

Will try to do a reinstall sometime later this week.
by adam van gaalen
Mon Jun 02, 2014 6:47 pm
Forum: Raspbian
Topic: Improved forked-daapd (iTunes server)
Replies: 1538
Views: 397991

Re: Improved forked-daapd (iTunes server)

Hmmm... I just installed it, wonder where I went wrong...

I added: deb http://www.gyfgafguf.dk/raspbian wheezy-backports/armhf/ and
deb http://www.gyfgafguf.dk/raspbian wheezy/armhf/ to my /etc/apt/sources.list

and did an: aptitude -y install forked-daapd
by adam van gaalen
Mon Jun 02, 2014 3:28 pm
Forum: Raspbian
Topic: Improved forked-daapd (iTunes server)
Replies: 1538
Views: 397991

Re: Improved forked-daapd (iTunes server)

The library was not on a remote filesystem.. testberrypi:~daapd# pwd /var/cache/forked-daapd testberrypi:~daapd# df -k . Filesystem 1K-blocks Used Available Use% Mounted on /dev/root 7631432 3591988 3684112 50% / I just moved the iTunes data to /srv/music, as defaulted in the config-file and then re...
by adam van gaalen
Mon Jun 02, 2014 2:37 pm
Forum: Raspbian
Topic: Improved forked-daapd (iTunes server)
Replies: 1538
Views: 397991

Re: Improved forked-daapd (iTunes server)

I have been reading posts and struggling for many hours now. Not getting my iPhone or iPad paired. The log says: + eth0 IPv4 C758FF4A-453A-4608-8104-D787454E7A49 _touch-remote._tcp local = eth0 IPv4 C758FF4A-453A-4608-8104-D787454E7A49 _touch-remote._tcp local hostname = [Adams-iPhone.local] address...
by adam van gaalen
Fri Apr 11, 2014 1:10 pm
Forum: Troubleshooting
Topic: NTP with DCHP
Replies: 8
Views: 6719

Re: NTP with DCHP

Make sure you have a line like (10.0.0.138 is my DHCP-server): server 10.0.0.138 iburst in your file: /var/lib/ntp/ntp.conf.dhcp I even added some more lines: server 0.debian.pool.ntp.org iburst server 1.debian.pool.ntp.org iburst server 2.debian.pool.ntp.org iburst server 3.debian.pool.ntp.org ibur...
by adam van gaalen
Tue Sep 03, 2013 8:52 pm
Forum: Troubleshooting
Topic: Reboot fails w/ Gembird SilverShield USB power strip attache
Replies: 7
Views: 2523

Re: Reboot fails w/ Gembird SilverShield USB power strip att

it works fine when using the latest kernel! I'm happy!
by adam van gaalen
Sat May 18, 2013 12:43 pm
Forum: Troubleshooting
Topic: USB redux
Replies: 514
Views: 210936

Re: USB redux

I'm happy to report that using kernel #450, for the first time ever, my Gembird switches appear to work very well on my Rpi. USB certainly has gotten a lot more stable now!
by adam van gaalen
Thu Mar 21, 2013 11:38 pm
Forum: Troubleshooting
Topic: Reboot fails w/ Gembird SilverShield USB power strip attache
Replies: 7
Views: 2523

Re: Reboot fails w/ Gembird SilverShield USB power strip att

uname -a gives:
Linux blackberrypi 3.6.11+ #371 PREEMPT Thu Feb 7 16:31:35 GMT 2013 armv6l GNU/Linux

lsusb gives the correct info but when accessing the device (either directly or though a US 1.0/2.0/3.0 hub) the system is hung after just a few attempts.
by adam van gaalen
Thu Mar 14, 2013 2:12 pm
Forum: Gaming
Topic: TUTORIAL: How to get Minecraft Pi edition working!
Replies: 40
Views: 30507

Re: TUTORIAL: How to get Minecraft Pi edition working!

It does! My son has been playing it on both a 256MB and a 512MB Rpi.
The results were the same.
by adam van gaalen
Mon Feb 18, 2013 4:09 pm
Forum: Troubleshooting
Topic: USB redux
Replies: 514
Views: 210936

Re: USB redux

So that's why I did not discover any improvement over the previous Wheezy release...
2013-02-09 has kernel 3.6.1+#371 while the one that paul42 uses (and appears to be better) is 375???

Go to advanced search