Go to advanced search

by lgenzelis
Mon Jun 27, 2016 2:34 pm
Forum: Troubleshooting
Topic: Same model cards working differently
Replies: 7
Views: 1275

Re: Same model cards working differently

I do this simple test on linux host, it helps me to find fake/broken usb flash and sd cards (and I found a lot of them). Thanks! But I've already tested the sd card with badblocks (with both destructive and non-destructive tests) and it shows no errors. Besides, I gave the card to someone who was p...
by lgenzelis
Tue Jun 21, 2016 8:06 pm
Forum: Troubleshooting
Topic: Same model cards working differently
Replies: 7
Views: 1275

Re: Same model cards working differently

Thank you for your feedback everyone. Your links points to other people having trouble with this card model. So I'm not alone! :D This link https://github.com/raspberrypi/linux/issues/1416 pretty much answers my question. According to this, my card is telling the raspberry "hey, if you want to erase...
by lgenzelis
Thu Jun 16, 2016 3:41 pm
Forum: Troubleshooting
Topic: Same model cards working differently
Replies: 7
Views: 1275

Same model cards working differently

Recently, I bought three micro sd cards, all branded Kingston SDC10G2/16GB. The three of them were made in Taiwan (I read somewhere that cards from there had the highest fail rate). However, the cards don't look the same. Two of them look like this: working sd.png And the other one looks like this: ...
by lgenzelis
Wed Jun 15, 2016 6:39 pm
Forum: Python
Topic: RPi.GPIO.wait_for_edge causing finally block to be skipped
Replies: 5
Views: 2014

Re: RPi.GPIO.wait_for_edge causing finally block to be skipp

Is this the same issue that was reported in this thread: https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=119847 ? Yes! It's the same issue. I didn't find that post while googling the problem. However, nobody gave a solution there. They only proposed alternative methods to bypass the bug. I ...
by lgenzelis
Mon Jun 13, 2016 11:51 pm
Forum: Python
Topic: RPi.GPIO.wait_for_edge causing finally block to be skipped
Replies: 5
Views: 2014

Re: RPi.GPIO.wait_for_edge causing finally block to be skipp

Well, this seems to be a bug related to the way RPi.GPIO handles signals (such as KeyboardInterrupt). This module invokes some functions written in c. The function is sort of catching the KeyboardInterrupt and throwing an exception, but it doesn't do it properly. Instead of getting only one exceptio...
by lgenzelis
Mon Jun 13, 2016 4:39 pm
Forum: Python
Topic: RPi.GPIO.wait_for_edge causing finally block to be skipped
Replies: 5
Views: 2014

RPi.GPIO.wait_for_edge causing finally block to be skipped

Consider the following program (nothing needs to be attached to the gpio ports to see the problem): import RPi.GPIO as GPIO, time GPIO.setmode(GPIO.BCM) GPIO.setup(4, GPIO.IN) try: while True: print '...' GPIO.wait_for_edge(4, GPIO.RISING, timeout=1000) print '---' time.sleep(1) finally: print '---F...
by lgenzelis
Tue May 24, 2016 5:52 am
Forum: Troubleshooting
Topic: NOOBS SD card partitions not detected in Linux
Replies: 27
Views: 12601

Re: NOOBS SD card partitions not detected in Linux

ayler31 wrote:command "partprobe /dev/mmcblk0"


The simplest and most effective solution. Thank you!

Go to advanced search