Go to advanced search

by RaspISteve
Mon Nov 19, 2018 10:03 am
Forum: C/C++
Topic: Problems with mixing WiringPi Interrupts with forking to a child process
Replies: 2
Views: 2717

Re: Problems with mixing WiringPi Interrupts with forking to a child process

Gordon,

Thank you for your update and WiringPi.

Turns out I haven't had the time to go investigate why it wouldn't work either. Just thought I'd share my experience for the benefit of others.

My program simply polls a GPIO pin but includes a sleep so as not of hog anything.
by RaspISteve
Sun Nov 04, 2018 12:34 am
Forum: C/C++
Topic: Problems with mixing WiringPi Interrupts with forking to a child process
Replies: 2
Views: 2717

Problems with mixing WiringPi Interrupts with forking to a child process

Guys, I have a little program which connects to a signal using a controlled relay and spawns a child process that calls "aplay..." with parameters to play an appropriate voice message before disconnecting the relay when the message plays out. Rather that fire off the "aplay..." and wait enough time ...
by RaspISteve
Fri Aug 03, 2018 6:41 pm
Forum: Other projects
Topic: audio delay device - Echo - up to 2 seconds
Replies: 1
Views: 286

Re: audio delay device - Echo - up to 2 seconds

GH1, Given my minor break through using a Pi to emulated Caller ID I have a little experience using a USB sound dongle with the Pi. I used to make my living bluffing folk I knew enough of the C programming language to get paid for it. If you don't program yet it will be a bit of an up hill ride. If ...
by RaspISteve
Fri Aug 03, 2018 5:36 pm
Forum: Other projects
Topic: Domestic Caller ID Revisited
Replies: 6
Views: 962

Re: Domestic Caller ID Revisited

The problem with Caller ID signaling is that it appears before the first ring cycle which means the modem has to be ON-HOOK and line therefore open to a new call. But caller ID systems are designed to detect the number calling, then not allow the ring to come through if blacklisted, or not whitelis...
by RaspISteve
Thu Aug 02, 2018 10:07 pm
Forum: Other projects
Topic: Domestic Caller ID Revisited
Replies: 6
Views: 962

Domestic Caller ID Revisited

Guys, Just did a little search here looking for Caller ID. Seems lots of folk are having either little success, or just want it. A few have an expensive or hard to find modem which can do it. So far nothing really definitive. Being retired and at home I get a lot of calls from folk wanting something...
by RaspISteve
Sat May 19, 2018 1:53 pm
Forum: Troubleshooting
Topic: Problems: USB C-Media Electronics, Inc. CM108 Audio Controller
Replies: 1
Views: 453

Re: Problems: USB C-Media Electronics, Inc. CM108 Audio Controller

Guys, A bit more detail... Remembering the application works correctly on my Ubuntu 16.04 laptop... I can get the audio output mode to NOT barf on a PI (currently Jessie) if I change the code to open TWO channels vice ONE. i=snd_pcm_set_params(pcm, format, SND_PCM_ACCESS_RW_INTERLEAVED, 2, rate, 0, ...
by RaspISteve
Sat May 19, 2018 9:59 am
Forum: Troubleshooting
Topic: Problems: USB C-Media Electronics, Inc. CM108 Audio Controller
Replies: 1
Views: 453

Problems: USB C-Media Electronics, Inc. CM108 Audio Controller

Guys, I have had the USB Audio stick (see Subject) for a while and I remember it working correctly but this all predates Jessie and Stretch. The USB stick works as advertised on my Ubuntu 16.04 laptop but not on current Rasbian. Have searched here for solutions finding a lot of now dated threads. Fo...
by RaspISteve
Sat Mar 31, 2018 10:52 pm
Forum: Troubleshooting
Topic: Formatting SD Card
Replies: 6
Views: 1216

Re: Formatting SD Card

Guys, I've had a problem with the SD-Formater program in that it can act strangely (runs very sluggishly) if the target SD card's formating has got broken. I found that a WIndows "Quick" format got the SD card organised enough for SD-Formater to run correctly. Similarly with Etcher (on Unbuntu). If ...
by RaspISteve
Wed Mar 28, 2018 2:17 pm
Forum: Beginners
Topic: Downloading Jessie
Replies: 11
Views: 10388

Re: Downloading Jessie

Guys, Thought I'd update you on my progress. Yep. Tried Etcher and its very good. It does need a formated SD before the OS will spot it and Etcher will work. In the event my spare SD's formating was stuffed in someway and the SDFormater application wouldn't touch it. Could select the SD but SDFormat...
by RaspISteve
Fri Mar 23, 2018 12:01 pm
Forum: Beginners
Topic: Downloading Jessie
Replies: 11
Views: 10388

Re: Downloading Jessie

Guys, Thanks for the input. Still not discovered Etcher, might even try my Win10 (which usually just gets me very stressed (just hate Win10 its the window panels (bring back Win95/8))) to unzip them. I have all the now older toys to get this done and just hadn't considered the point where "THEY" mad...
by RaspISteve
Thu Mar 22, 2018 9:21 pm
Forum: Beginners
Topic: Downloading Jessie
Replies: 11
Views: 10388

Downloading Jessie

Guys, Having updated one of my Pi's to Stretch (from Jessie as detailed in the Blog) and losing "EmulationStation" I'm trying to get back to the latest "Jessie" simply to give the grandkids something to do and stop them wrecking my home before I get to return them. Trouble is it isn't as straight fo...
by RaspISteve
Wed Mar 21, 2018 10:28 pm
Forum: Troubleshooting
Topic: So I Followed the Blog and Upgraded from Jessie to Stretch
Replies: 3
Views: 590

Re: So I Followed the Blog and Upgraded from Jessie to Stretch

Have just done "update" and got the following: pi@pi3b:~ $ sudo apt-get update Hit:1 http://archive.raspbian.org/raspbian stretch InRelease Hit:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease Get:3 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB] Ign:4 http://dl.bint...
by RaspISteve
Wed Mar 21, 2018 10:21 pm
Forum: Troubleshooting
Topic: So I Followed the Blog and Upgraded from Jessie to Stretch
Replies: 3
Views: 590

Re: So I Followed the Blog and Upgraded from Jessie to Stretch

rpdom, Yep. tried your suggestion.. see below. pi@pi3b:~ $ sudo apt-cache policy Package files: 100 /var/lib/dpkg/status release a=now 500 http://archive.raspberrypi.org/debian stretch/ui armhf Packages release o=Raspberry Pi Foundation,a=stable,n=stretch,l=Raspberry Pi Foundation,c=ui,b=armhf origi...
by RaspISteve
Tue Mar 20, 2018 1:18 am
Forum: Troubleshooting
Topic: So I Followed the Blog and Upgraded from Jessie to Stretch
Replies: 3
Views: 590

So I Followed the Blog and Upgraded from Jessie to Stretch

Guys, As per thread title and it all sort of worked. However, when I do the routine "update" I get a lot of lines still referencing "jessie". The system does report its running "Stretch". And before anyone tells me I should have simply re-started at the top with a new NOOBS... Didn't want to do that...
by RaspISteve
Thu Mar 15, 2018 10:11 pm
Forum: Gaming
Topic: Run Retropie from desktop
Replies: 5
Views: 3965

Re: Run Retropie from desktop

Guys, I had Retropie (or was it EmulationStation) running very nicely under Jessie desktop and was enjoying revisiting Lemmings on the Amiga emulator (bought the kids an Amiga 500 when they were hot). Then driven mostly by all the hype here on how much more sorted out was Stretch I went through the ...
by RaspISteve
Tue Feb 27, 2018 3:27 pm
Forum: Troubleshooting
Topic: RASPBIAN STRETCH PROBLEMS
Replies: 23
Views: 7917

Re: RASPBIAN STRETCH PROBLEMS

Guys, In the face of the complex issues outlined above and at risk of re-lighting an older thread dare I also add that having updated to Stretch I find EmulationStation doesn't now work. Agreed my problem is still very much in the noise and folk out there in Never Never Land are on the case but the ...
by RaspISteve
Thu Aug 31, 2017 10:11 pm
Forum: Media centres
Topic: Where should I report issues: KODI Forum or OSMC Forum?
Replies: 1
Views: 836

Where should I report issues: KODI Forum or OSMC Forum?

Guys, I'm a bit confused as to which forum to report/ask-about issues with my Kodi on my RPi3 board or is it OSMC on RPi3? Given Kodi is a cross platform whizzy-toy I'm guessing here isn't the place either. At risk of appearing a bit cranky I'm sort of struggling with the thing. Just updated to the ...
by RaspISteve
Tue Jun 27, 2017 11:44 am
Forum: Media centres
Topic: I'm Hacked off with Kodi 17.X
Replies: 5
Views: 1956

Re: I'm Hacked off with Kodi 17.X

Guys, Thanks for the input but I'm thinking I didn't explain well enough. I do have a solution to ripping my CDs, go and use my Win7 Kodi, its a pain transferring files but that's not an issue for here. Maybe I'm the last one on the planet with a free standing DVD/CD drive and using it with a Raspbe...
by RaspISteve
Mon Jun 26, 2017 10:33 pm
Forum: Media centres
Topic: I'm Hacked off with Kodi 17.X
Replies: 5
Views: 1956

I'm Hacked off with Kodi 17.X

Guys, Started using Kodi a while back and was able to rip my favourite CD collection to a USB stick. Used it a occasionally but mostly for viewing my bike videos I took in India. The other day bought some more CDs the aim being to rip those to the USB stick. I simply want to be able to access my mus...
by RaspISteve
Wed Jun 21, 2017 7:58 pm
Forum: General discussion
Topic: 'Antique' Televisions with a Pi.
Replies: 16
Views: 3340

Re: 'Antique' Televisions with a Pi.

Paul, Be very careful with old TV sets. Limit any connection to them to a modulated UHF signal connected through the external antenna socket and certainly don't take the back off the thing. Keep any connection to the outside interfaces. There are some very nasty voltages, particularly colour TVs, an...
by RaspISteve
Sun Jun 11, 2017 9:13 pm
Forum: Automation, sensing and robotics
Topic: PyCNC - first CNC machine controller on pure Python for RPi
Replies: 12
Views: 38355

Re: PyCNC - first CNC machine controller on pure Python for

Nik, Just looked again at the circuit showing the X,Y & Y stop wiring. It occurs to suggest that having a single signal the report hitting any/all end stop(s) could confuse things. If at start up one or more of the STOP switches are made the program will not know which way to drive to get away. Wors...
by RaspISteve
Thu May 11, 2017 7:29 pm
Forum: Automation, sensing and robotics
Topic: Poor man's ADC
Replies: 4
Views: 1289

Re: Poor man's ADC

BBUK, If you include a series zener diode in the feed from the battery it will provide a (more or less) constant voltage drop to a simple voltage divider network. It will still be very necessary to include a series current limit resistor with the zener diode. Use Schottky diodes to clamp the zener/r...
by RaspISteve
Thu May 11, 2017 6:57 pm
Forum: Media centres
Topic: no sound over hdmi
Replies: 4
Views: 4281

Re: no sound over hdmi

Guys, Just got updated to Kodi 17.1 (May 2nd'17). I had no sound and it wasn't until I up'ed the TV volume to 55 (normally 10..14) that I could hear anything. I'm sure the earlier version included a menu setting for default sound level but I'm stuffed if I can find it now or any other user volume ad...
by RaspISteve
Mon May 01, 2017 6:28 pm
Forum: Camera board
Topic: Streaming mjpg from Raspberry Cam
Replies: 223
Views: 190491

Re: Streaming mjpg from Raspberry Cam

I am in desperate need of assistance. I am trying to change the port for mjpg-streamer to 8090 as the default 8080 is used by another pi on the same network. I have followed several tutorials I have found and have made no progress. I was able to change the listening port using haproxy for the Pi bu...
by RaspISteve
Mon May 01, 2017 3:49 pm
Forum: Camera board
Topic: Streaming mjpg from Raspberry Cam
Replies: 223
Views: 190491

Re: Streaming mjpg from Raspberry Cam

Guys, While I think about it I'm having problems with streamer in file: "httpd.c:command(... It appears that the original author declares two string pointers, uses them to define positions through the command parameter line and finally uses "free(command)" to dispose of them see: char *command = NUL...

Go to advanced search