Go to advanced search

by RobCranfill
Wed Dec 16, 2020 8:15 pm
Forum: Troubleshooting
Topic: could not open moddep file '/lib/modules/4.19.75-v7l+/modules.dep.bin'
Replies: 5
Views: 10362

Re: could not open moddep file '/lib/modules/4.19.75-v7l+/modules.dep.bin'

Thanks for the above solution! It does work, but on my Pi it's kinda slow, and I was wondering if there's a reason we can't just copy the files from the SSD card (which is what got the updated boot files) to the SD card (which is what really boots)?
by RobCranfill
Wed Jun 03, 2020 4:54 pm
Forum: Beginners
Topic: new Raspberry Pi Imager doesn't see Micro SD card
Replies: 35
Views: 14825

Re: new Raspberry Pi Imager doesn't see Micro SD card

I see that the "locked cards don't show up" is already reported as issue #59 on GitHub. I didn't realize this was open source, I will look there first in future! :-)
by RobCranfill
Sun May 24, 2020 12:44 am
Forum: Python
Topic: how to exit signal.pause() in code [SOLVED]
Replies: 7
Views: 1959

Re: how to exit signal.pause() in code [SOLVED]

One final comment: If you want to do even less coding, you don't really need to define and hook up a handler for the signal. Just send it, and signal.pause() still exits. In my test code, above, I did that and it works, but I do get a message on screen that User defined signal 1 was received. /rob
by RobCranfill
Sun May 24, 2020 12:32 am
Forum: Python
Topic: how to exit signal.pause() in code [SOLVED]
Replies: 7
Views: 1959

Re: how to exit signal.pause() in code [SOLVED]

OK, I think I found the answer. According to the docs https://docs.python.org/3/library/signal.html signal.pause() Cause the process to sleep until a signal is received; the appropriate handler will then be called. Returns nothing. So all you have to do is ... send yourself a signal. You don't even ...
by RobCranfill
Sun May 24, 2020 12:02 am
Forum: Python
Topic: how to exit signal.pause() in code [SOLVED]
Replies: 7
Views: 1959

Re: how to exit signal.pause() in code [SOLVED]

I see that someone - the OP? - marked this as "[SOLVED]", but at best what I see here is a workaround. Does anyone know how to actually solve it? I have the same problem. I have a headless Pi running some software for a MIDI project of mine. I attached a button (to GPIO pin 7) so that I ca...
by RobCranfill
Sat May 23, 2020 5:43 pm
Forum: Beginners
Topic: new Raspberry Pi Imager doesn't see Micro SD card
Replies: 35
Views: 14825

Re: new Raspberry Pi Imager doesn't see Micro SD card

I just ran into this problem - my SD card wasn't recognized by Imager, even tho everything else on my Windows machine could see it. Then I noticed the card - an old-school full-sized SD card, not a micro card - was locked: the little tab on the side was set to the 'locked' position. I unlocked it, t...
by RobCranfill
Thu Oct 25, 2018 8:49 pm
Forum: Troubleshooting
Topic: illegal instruction on sudo
Replies: 11
Views: 6471

Re: illegal instruction on sudo

I just ran into this problem, and I didn't find any real solution.... except rebooting seems to have fixed it. I assume you probably tried that (it's kind of a Windows-y, half-assed solution, no?) but just in case this encourages someone else with the same problem to try rebooting, here it is. Of co...

Go to advanced search