Go to advanced search

by with ice cream
Wed Nov 22, 2017 7:42 am
Forum: General discussion
Topic: STICKY: USB boot now working on Pi3
Replies: 465
Views: 119418

Re: STICKY: USB boot now working on Pi3

Using pure USB boot on my Pi3 I am having problems with shutdown and/or reboot. Power-on booting is never an issue, but shutdown or reboot often fails with the system just hanging at the point when I would expect the shutdown to complete or reboot to start. I recently upgraded (still on Jessie, tho...
by with ice cream
Sun Mar 12, 2017 7:43 pm
Forum: Python
Topic: Stopwatch
Replies: 34
Views: 10259

Re: Stopwatch

please note you need to create the empty files using the files names in the code for this I came across your Stopwatch code and plan to adapt it to a solution with a 2.8" GPIO touch screen. It seems that simply touching the necessary files isn't enough. Would it be possible to provide an example? T...
by with ice cream
Sat Nov 12, 2016 8:27 pm
Forum: General discussion
Topic: STICKY: USB boot now working on Pi3
Replies: 465
Views: 119418

Cold boot vs. reboot

Cold USB booting (from no power) works, rebooting fails. Reproducible. I already activated the additional delay ('program_usb_boot_timeout=1' in config.txt) but that doesn't help. What else can I try? (Using an SD card with a cmdline that points to /dev/sda2 is my current workaround.)
by with ice cream
Fri Jul 01, 2016 4:55 pm
Forum: Troubleshooting
Topic: RPi3 Bluetooth and Wifi don't play well together
Replies: 41
Views: 8865

Re: RPi3 Bluetooth and Wifi don't play well together

A few days ago I started putting my Pi 3s bluetooth to use and noticed a serious decrease in wifi performance. Whenever I resolve a bluetooth device's name (to check for its presence) wifi ping times to the router go up from millseconds to full seconds. ssh sessions get dropped. Test it yourself: in...
by with ice cream
Thu Dec 03, 2015 3:47 pm
Forum: Beginners
Topic: How to give permissions to a file that works with dev/mem??
Replies: 12
Views: 1005

Re: How to give permissions to a file that works with dev/me

DougieLawson wrote:GPIO Zero which doesn't need sudo access or any fiddling with permissions for /dev/mem/.
I am in a similar situation. I user a cgi-bin python script and gpiozero but the error output mentions denied access to /dev/mem (for www-data).
by with ice cream
Sun Sep 20, 2015 12:06 am
Forum: Troubleshooting
Topic: MFRC522 + Raspberry Pi B+
Replies: 4
Views: 1019

Re: MFRC522 + Raspberry Pi B+

A few minutes later: solved for me. The key was this comment . The library works (best/only) with a Pi 2 with version 1.40. Here's what I did (I keep my sources in ~/src): cd ~/src/bcm2835-1.36 sudo make uninstall cd ~/src wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.40.tar.gz tar -zxf bcm2...
by with ice cream
Sat Sep 19, 2015 11:45 pm
Forum: Troubleshooting
Topic: MFRC522 + Raspberry Pi B+
Replies: 4
Views: 1019

Re: MFRC522 + Raspberry Pi B+

Not helpful, but I am in the same situation. I rewired everything twice, tried the python code that is floating around - no dice.
by with ice cream
Thu May 28, 2015 6:13 am
Forum: Raspbian
Topic: Kodi 15/16/17 Packages for Raspbian
Replies: 743
Views: 441099

Re: Kodi 15.0-beta Debian package for Raspbian on RPi 2

gkreidl wrote:Then reinstall kodi from the repository.
Thanks!
by with ice cream
Mon May 25, 2015 8:29 pm
Forum: Raspbian
Topic: Kodi 15/16/17 Packages for Raspbian
Replies: 743
Views: 441099

Re: Kodi 15.0-beta Debian package for Raspbian on RPi 2

Thanks for publishing the bleeding edge version. I am afraid that for me as a user of Mediaportal it isn't working. The add-on isn't compatible (it gets disabled and the following message appears in the log: "PVR - Add-on 'MediaPortal PVR Client' is using an incompatible API version. XBMC minimum AP...
by with ice cream
Fri Mar 06, 2015 3:04 pm
Forum: General programming discussion
Topic: Seeking recommendations for code management
Replies: 0
Views: 235

Seeking recommendations for code management

I have six Raspberry Pis, some running 24/7, and some to experiment. I dabble in bash, Python, JavaScript, and some perl. Usually before every firmware update or bigger changes I create images (on Windows) of my SD cards. I think I have a lot of unused ballast and unused scripts in my old installati...
by with ice cream
Wed Mar 04, 2015 7:40 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 19703

Re: lirc-rpi on the RPi2

For those still following: I found the cause of the LED flickering. It is an (unwanted) feedback loop. I started a new topic here.
by with ice cream
Wed Mar 04, 2015 7:36 pm
Forum: Troubleshooting
Topic: Issues with LIRC sending/receiving
Replies: 0
Views: 314

Issues with LIRC sending/receiving

[This started in a different thread but I started a new topic since I found the source of the issue.] In my setup (RPI2 with 3.18.8-v7+ #764) an LED flashes once when an IR sequence is received . Now when I send a sequence it gets at the same time picked up by the receiver and the LED starts flashin...
by with ice cream
Wed Mar 04, 2015 7:32 pm
Forum: Troubleshooting
Topic: RPI2 and GPIO issues [solved/explained]
Replies: 4
Views: 501

Re: RPI2 and GPIO issues

I found the reason for the issue what I am observing. In my setup an LED flashes once when an IR sequence is received . Now when I send a sequence it gets at the same time picked up by the receiver and the LED starts flashing. It seems the sent sequence repeats several times which leads to multiple ...
by with ice cream
Tue Mar 03, 2015 9:35 pm
Forum: Troubleshooting
Topic: RPI2 and GPIO issues [solved/explained]
Replies: 4
Views: 501

Re: RPI2 and GPIO issues

I checked all connections, everything is as it should be. I checked with piscope what happenes when I send an IR sequence (through BCM pin 24). As is to be expected the same sequence appears on the pin where the IR receiver is connected (pin 18). The pin (13) where the flickering LED is connected do...
by with ice cream
Tue Mar 03, 2015 1:56 pm
Forum: Troubleshooting
Topic: RPI2 and GPIO issues [solved/explained]
Replies: 4
Views: 501

Re: RPI2 and GPIO issues

Thank you joan for the suggestion. Since the same setup didn't show this behavior when it was connected to a B+ I am not sure if a picture would help. When I ran into issues related to IR emitters it required a bug fix and now I am wondering if I am in a similar situation. I will try your piscope to...
by with ice cream
Tue Mar 03, 2015 12:46 pm
Forum: Troubleshooting
Topic: RPI2 and GPIO issues [solved/explained]
Replies: 4
Views: 501

RPI2 and GPIO issues [solved/explained]

I encounter strange GPIO behavior on my RPI2. I use a PIR module and activity is detected when there isn't actually any (quite annoying for a motion controlled light source). An LED flickers when a IR emitter (connected to a different pin, of course) sends out pulses. I already switched the LED pins...
by with ice cream
Sat Feb 28, 2015 10:56 am
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 19703

Re: lirc-rpi on the RPi2

To come back to the topic: sending works but I have this weird behavior that when I send a sequence with irsend an LED which is connected to totally different GPIO pin flickers for the duration of the sequence. I tried it with different pins and it still happens. How can this happen?
by with ice cream
Wed Feb 18, 2015 11:05 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 19703

Re: lirc-rpi on the RPi2

Just for completeness sake: yep, it is working again.
by with ice cream
Wed Feb 18, 2015 8:43 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 19703

Re: lirc-rpi on the RPi2

Thanks, elmicha, for the analysis. Look at issue 827, it might be solved. I am currently cloning my SD card and will report back.
by with ice cream
Fri Feb 13, 2015 8:33 am
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 19703

Re: lirc-rpi on the RPi2

OK. I can now confirm elmicha's observations. I hooked up a voltmeter and noticed very weak activity. A less demanding LED also showed a weak flicker. It might be the sluggishness of my cheap voltmeter but the flicker seems to be in the microvolt area. If I turn the pin on via command line I can see...
by with ice cream
Thu Feb 12, 2015 6:51 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 19703

Re: lirc-rpi on the RPi2

Thank you PhilE for your observations. I tried this in the past and just tried again without a test LED turning on.

/boot/options.txt:

Code: Select all

dtoverlay=lirc-rpi,gpio_out_pin=25,gpio_in_pin=18
Receiver on GPIO 1 (BCM 18) is working. "GPIO write 6 on" turns the LED on BCM pin 18 on. irsend does nothing.
by with ice cream
Thu Feb 12, 2015 1:22 pm
Forum: Troubleshooting
Topic: lirc-rpi on the RPi2
Replies: 38
Views: 19703

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: 76888

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: 810

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: 810

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.

Go to advanced search