Go to advanced search

by with ice cream
Thu Feb 12, 2015 1:22 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 25270

Re: lirc-rpi on the RPi2

For me IR out is also failing. I tried it with the assumed default out pin and with specifically assigning another one.

Edit:

Code: Select all

$ uname -a
Linux berry 3.18.6-v7+ #753 SMP PREEMPT Sun Feb 8 14:53:56 GMT 2015 armv7l GNU/Linux
by with ice cream
Sun Feb 08, 2015 4:45 pm
Forum: General discussion
Topic: The Raspberry Pi 2 Q&A thread
Replies: 442
Views: 120523

Sudden freeze

I am experiencing sudden freezes (and there is no camera flashes that could cause this). There are no suspicious syslog entries. Firmware was second to current, updated on Friday, Feb. 6. I am updating now again as I type. Also, the screen (connected via HDSM-to-VGA adaptor) only has the proper reso...
by with ice cream
Fri Feb 06, 2015 3:15 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Possible timing issue (433 MHz transmitter, Pi2)? [Solved]
Replies: 9
Views: 1424

Re: Possible timing issue (433 MHz transmitter, Pi2)?

with ice cream wrote:The send command runs much quicker now. I have to roll back everything else what I tried to find the problem to be able to confirm.
Roll-back was quicker than I thought. It is indeed working! Mille grazie, pattagghiu!
by with ice cream
Fri Feb 06, 2015 3:09 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Possible timing issue (433 MHz transmitter, Pi2)? [Solved]
Replies: 9
Views: 1424

Re: Possible timing issue (433 MHz transmitter, Pi2)?

pattagghiu wrote:let us know :)
The send command runs much quicker now. I have to roll back everything else what I tried to find the problem to be able to confirm.
by with ice cream
Fri Feb 06, 2015 2:32 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Possible timing issue (433 MHz transmitter, Pi2)? [Solved]
Replies: 9
Views: 1424

Re: Possible timing issue (433 MHz transmitter, Pi2)?

There's a usleep problem with pi2, it's described in the Q&A thread and it seems solved with last upgrade. Take a look there, maybe it's the source of your problem That makes sense, thank you for pointing this out. I am rpi-updating now and will see if it helps. The download is actually rather slow...
by with ice cream
Fri Feb 06, 2015 2:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Possible timing issue (433 MHz transmitter, Pi2)? [Solved]
Replies: 9
Views: 1424

Re: Possible timing issue (433 MHz transmitter, Pi2)?

You might need to compile rcswitch against the new wiringPi library, but unfortunately that doesnt seem to work either on my end at least. I got it to compile and I know there is an actual transmission (I can see/hear it using my SDR setup), it is just not right. It seems to be stretched. I tried e...
by with ice cream
Fri Feb 06, 2015 11:00 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Possible timing issue (433 MHz transmitter, Pi2)? [Solved]
Replies: 9
Views: 1424

Possible timing issue (433 MHz transmitter, Pi2)? [Solved]

I use a 433 MHz transmitter to control electric outlets. It worked quite well with the old kernel and a B+ (source: https://github.com/r10r/rcswitch-pi). Now I changed the model to a Pi 2 B and also updated everything (including Wiring Pi). It now seems as if I am running into a timing issue. When a...
by with ice cream
Fri Dec 12, 2014 4:02 pm
Forum: Python
Topic: "Fridge door sound" - GPIO: ignore interference
Replies: 5
Views: 909

Re: "Fridge door sound" - GPIO: ignore interference

Thank you for the help. I will observe if it helped and mark it as solved later.
by with ice cream
Fri Dec 12, 2014 3:58 pm
Forum: Python
Topic: "Fridge door sound" - GPIO: ignore interference
Replies: 5
Views: 909

Re: "Fridge door sound" - GPIO: ignore interference

Absolutely. This is more or less exactly what I did now: def edge(channel): if GPIO.input(REED): time.sleep(0.2) if GPIO.input(REED) == False: return p.stdin.write('\npausing_keep pause\n') pass else: time.sleep(0.2) if GPIO.input(REED): return p.stdin.write('\npausing_keep pause\n')
by with ice cream
Fri Dec 12, 2014 2:59 pm
Forum: Python
Topic: "Fridge door sound" - GPIO: ignore interference
Replies: 5
Views: 909

Re: "Fridge door sound" - GPIO: ignore interference

Gordon, thank you. That makes sense. Would it work if I added a short delay at the beginning of the if/else clauses and exit processing if the state was different?
by with ice cream
Fri Dec 12, 2014 2:46 pm
Forum: Python
Topic: "Fridge door sound" - GPIO: ignore interference
Replies: 5
Views: 909

"Fridge door sound" - GPIO: ignore interference

In my setup a sound is played when a reed switch at my fridge door is opened. For an instant reaction I start mplayer in slave mode and pause it. I resume playback when the switch is opened and pause playback again when the switch is closed. Regrettably there seems to be a (magnetic?) spike when the...
by with ice cream
Fri Sep 05, 2014 3:48 pm
Forum: Python
Topic: Web radio player, push info text to desktop?
Replies: 1
Views: 678

Web radio player, push info text to desktop?

I am currently struggling with displaying web radio info text (ICY Info) on the desktop. I have some stations that change the text during the stream and I would like to have a windows on the screen that gets updated as the stream text is updated. In the end the window should actually be without bord...
by with ice cream
Mon Aug 18, 2014 2:56 pm
Forum: Advanced users
Topic: Backup strategy for a setup with OS on flash drive?
Replies: 2
Views: 747

Backup strategy for a setup with OS on flash drive?

I back up my Pis that boot and run from the same medium (ie. one (micro) SD card) as disk images with Win32DiskImager. This is simple. Yet, I am seeking advice on how to proceed with my Rasbmc (OSMC in the future) setup where I boot from the SD card but everything else resides on a USB flash drive. ...
by with ice cream
Fri Aug 08, 2014 8:48 am
Forum: General discussion
Topic: The Raspberry Pi Model B+ Q&A thread
Replies: 388
Views: 189318

Re: The Raspberry Pi Model B+ Q&A thread

I switched from a B, rev. 2, to a B+ and at the same time changed the audio output from a USB sound card to the 3.5 mm jack. I also detect some noise during audio playback (mpd/mpc with alsa) but, due to the output method switch, cannot confirm if that is a B+ specific issue. It had been using the U...
by with ice cream
Tue Jul 29, 2014 5:32 am
Forum: Troubleshooting
Topic: ENOSPC rpi camera not working
Replies: 28
Views: 5838

Re: ENOSPC rpi camera not working

shiningstone wrote:what is 1.5 A power supply?
A power supply that is capable of delivering 1.5 ampere of current. A Pi itself without any devices runs OK with 0.5 to 0.75 ampere (= 500 to 750 mA), but more is drawn, when more things are hooked up to it.
by with ice cream
Sat Jul 26, 2014 5:59 am
Forum: Troubleshooting
Topic: ENOSPC rpi camera not working
Replies: 28
Views: 5838

Re: ENOSPC rpi camera not working

I think I successfully narrowed it down and solved my problem. And this is thanks to a new feature in the B+, the brownout warning. I noticed a flashing rainbow square in the upper right-hand corner of my screen whenever the camera was active. At first I thought it was a broken preview function of r...
by with ice cream
Fri Jul 25, 2014 8:26 pm
Forum: Troubleshooting
Topic: ENOSPC rpi camera not working
Replies: 28
Views: 5838

Re: ENOSPC rpi camera not working

ShiftPlusOne wrote:Nope, everything works fine here.
Strange. Also on a B+?
by with ice cream
Thu Jul 24, 2014 9:06 pm
Forum: General discussion
Topic: The Raspberry Pi Model B+ Q&A thread
Replies: 388
Views: 189318

Re: The Raspberry Pi Model B+ Q&A thread

Thanks for the quick reply. The camera problem seems to be a firmware issue. I downgraded and now it is working (see related thread here).
by with ice cream
Thu Jul 24, 2014 9:03 pm
Forum: Troubleshooting
Topic: ENOSPC rpi camera not working
Replies: 28
Views: 5838

Re: ENOSPC rpi camera not working

Thank you for the quick response. To test it in a setup similar to what I had when everything was working I downgraded to 494947f. And now it is working again (with both of my camera modules). The issue lies definitely in one of the updates after 494947f.
by with ice cream
Thu Jul 24, 2014 8:33 pm
Forum: Troubleshooting
Topic: ENOSPC rpi camera not working
Replies: 28
Views: 5838

Re: ENOSPC rpi camera not working

I seem to be running into camera issues as well. I changed from a Raspberry Pi model B revision 2 to a B+, I updated to the latest firmware, I blacklisted all i2c modules, I tested it with two previously working cameras. The cameras are not recognized.
by with ice cream
Thu Jul 24, 2014 7:54 pm
Forum: General discussion
Topic: The Raspberry Pi Model B+ Q&A thread
Replies: 388
Views: 189318

Re: The Raspberry Pi Model B+ Q&A thread

I upgraded from a B rev. 2 to a B+, all updates (packages and firmware) have been applied. Now I can't get the camera module to work and my 1-wire thermometer is acting up. Am I missing a step?
by with ice cream
Sat Jul 19, 2014 5:42 pm
Forum: Deutsch
Topic: 26-Pin-Erweiterungs/-Ausgleichsstecker für B+ - wo?
Replies: 2
Views: 795

26-Pin-Erweiterungs/-Ausgleichsstecker für B+ - wo?

Ich bin stolzer Besitzer eines Raspberry Pi B+ und stehe vor dem Problem, dass die Höhe der USB-Ports den Einsatz von Erweiterungskarten alten Typs (z.B. UPiS oder das Adafruit Prototyping Board) verhindert. Weiß jemand, wo man diesen Stecker günstig in Deutschland beschaffen kann? Wie heißt das Tei...
by with ice cream
Sat Jul 12, 2014 3:38 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Script with edge detection failing when called from rc.local
Replies: 1
Views: 626

Script with edge detection failing when called from rc.local

I have a bash script with several steps where edge detection on wiringPi pin 4 (= BCM 23) works when pi calls the script from a shell (with sudo). It goes wild, though, when called during boot from /etc/rc.local. I even added a 1 minute wait, but it doesn't make a difference. The script goes through...

Go to advanced search