Go to advanced search

by BBUK
Wed Jun 08, 2016 8:41 am
Forum: General discussion
Topic: miniDLNA on Jessie
Replies: 4
Views: 1708

Re: miniDLNA on Jessie

You could insert a delay in the minidlna systemd unit file as tpylkko suggests but the solution I adopted in a similar scenario was to mount the USB drive via systemd see (for example) https://oguya.ch/posts/2015-09-01-systemd-mount-partition/ . The minidlna systemd unit file will then need to have ...
by BBUK
Tue May 31, 2016 10:15 am
Forum: Graphics, sound and multimedia
Topic: Audioplayer for touchscreen?
Replies: 3
Views: 1111

Re: Audioplayer for touchscreen?

Hi frau_mahlzahn I made this some time ago https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=64478 . It's a bit out of date now (and does not use bluetooth) BUT the main python script uses a small touchscreen display as a frontend to MPD (see the youtube link) . MPD can be configured to pass i...
by BBUK
Tue May 31, 2016 9:59 am
Forum: Graphics, sound and multimedia
Topic: Actively biamped wifi speaker with UPS shutdown
Replies: 3
Views: 1979

Re: Actively biamped wifi speaker with UPS shutdown

Hi charlielaub Thanks for your comment! The only reason I went to town on the power/shutdown thing (and I really did!) was that I wanted to avoid SD card corruption if the Pi was not halted properly when power was removed. I personally have never suffered from this but seeing the Pi was in a sealed ...
by BBUK
Tue May 03, 2016 8:19 pm
Forum: Graphics, sound and multimedia
Topic: Multi Room Audio without Pulseaudio or RTP
Replies: 1
Views: 1318

Re: Multi Room Audio without Pulseaudio or RTP

Hi again all. I have been streaming from an Ethernet connected master to two wifi slaves and it works perfectly well apart from one flaw. If the wifi drops for any reason (eg dodgy microwave!), the slaves lose sync once the wifi comes up again. There is, I think, a pretty easy solution. The output f...
by BBUK
Mon May 02, 2016 10:31 pm
Forum: Graphics, sound and multimedia
Topic: Multi Room Audio without Pulseaudio or RTP
Replies: 1
Views: 1318

Multi Room Audio without Pulseaudio or RTP

Hi guys. Further to this https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=143706 , I wanted to create another one of the same devices with operation modes as either left and right channels (same room) or dual mono devices (eg different rooms). Working with wifi would be ideal. I played with t...
by BBUK
Sat Apr 09, 2016 6:41 am
Forum: Graphics, sound and multimedia
Topic: Actively biamped wifi speaker with UPS shutdown
Replies: 3
Views: 1979

Re: Actively biamped wifi speaker with UPS shutdown

Just a little follow up. I mentioned that I did a fair amount of tinkering with the various ladspa filters. One that I played with quite a bit was ACDf ( http://audio.claub.net/LADSPA-plugins.html ). If anyone wants to try that, this will compile and install the plugin for a Pi2 (as root): mkdir ACD...
by BBUK
Fri Apr 08, 2016 7:31 pm
Forum: Advanced users
Topic: Detecting power down sequence end
Replies: 15
Views: 2988

Re: Detecting power down sequence end

Hi again Flxmx Here is what I eventually implemented using the overlay. https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=143706 I needed a full UPS for a minute or two to enable the Pi to shut down properly and used an Adafruit 1000C as an easy way of achieving this. Overkill for what you wan...
by BBUK
Fri Apr 08, 2016 5:50 pm
Forum: Graphics, sound and multimedia
Topic: Actively biamped wifi speaker with UPS shutdown
Replies: 3
Views: 1979

Actively biamped wifi speaker with UPS shutdown

Hi all A write up of my latest Pi project. http://www.mediafire.com/view/qcdxjo08souc1nh/P1030078.JPG http://www.mediafire.com/view/dssqmcn94dxjx9n/P1030079.JPG What you are looking at here is a Monitor Audio R252 speaker (dating from the 80's but reportedly pretty good at the time). To give it a mo...
by BBUK
Mon Mar 21, 2016 4:25 pm
Forum: Advanced users
Topic: Detecting power down sequence end
Replies: 15
Views: 2988

Re: Detecting power down sequence end

Hi Flxmx.

Have a look at the device tree overlay designed for this purpose (it is called gpio-poweroff).

https://github.com/raspberrypi/firmware ... ays/README

Quite a lot of discussion on it on these boards (and I am experimenting with it myself).

Have fun.

BBUK
by BBUK
Thu Mar 03, 2016 7:58 am
Forum: Arch
Topic: Pi3
Replies: 6
Views: 4448

Re: Pi3

Same with me, albeit with a fresh install.

I do see the pi3 .dtb in /boot (which confirms I should have the correct image).

I have not investigated the issue to any great degree so it may just something I have not done correctly. I'll report back once I have had a decent check.

BBUK
by BBUK
Mon Mar 02, 2015 5:22 pm
Forum: Automation, sensing and robotics
Topic: Triac switching mains LED lamps- interesting problem
Replies: 8
Views: 1882

Re: Triac switching mains LED lamps- interesting problem

Hi there. It's been a while since I did something similar, I am not really expert in power electronics and you don't say which triac you are using but I think you have to watch the latching current of the power triac. If a small load is presented to the power triac then, when the current is less tha...
by BBUK
Tue Jan 06, 2015 9:40 am
Forum: Raspbian
Topic: Help setting up a "Headless" A+ over wifi
Replies: 20
Views: 7701

Re: Help setting up a "Headless" A+ over wifi

Hi Codingcat.

Have a look at this method I created for something else http://www.raspberrypi.org/forums/viewt ... 29&t=75762.

I have not tested it on the latest Raspbian but you may get a few pointers nonetheless.

Have fun

BBUK
by BBUK
Wed Oct 22, 2014 4:53 pm
Forum: Python
Topic: Find WiFi-Devices nearby
Replies: 5
Views: 2070

Re: Find WiFi-Devices nearby

I looked at this sort of thing a while ago when making something that protected against ARP-poisoning attacks. It turned out that wifi-networks are easier to hack that to protect against hacking. A simple solution may be to use arp-scan. This will throw up the devices that are connected to the local...
by BBUK
Wed Jul 30, 2014 4:01 pm
Forum: C/C++
Topic: GCC Arch Repo
Replies: 5
Views: 946

Re: GCC Arch Repo

Hi PiPiPi. As a regular Arch user, I can confirm that packages can be downloaded separately and then installed offline - see the "Additional Commands" section here: https://wiki.archlinux.org/index.php/pacman . I do this quite a lot for initial offline configuration of the stuff I am playing with. B...
by BBUK
Wed Jul 30, 2014 10:53 am
Forum: Raspbian
Topic: Raspbian boot times...What is your record?
Replies: 9
Views: 1854

Re: Raspbian boot times...What is your record?

Of course, Arch boots to login prompt in 7-8 seconds with wireless coming up a couple of seconds after that. I understand that much of this is down to systemd init/daemon system (not available on Raspbian I think). Whilst I had a bit of pain shifting to the systemd approach (from init.d scripts/upst...
by BBUK
Tue Jul 29, 2014 3:42 pm
Forum: Python
Topic: Objects and accesing for the NON object oriented programmer
Replies: 12
Views: 3624

Re: Objects and accesing for the NON object oriented program

You are clearly insane :) but you need to call someobject properly. Perhaps:

Code: Select all

line4 = someobject().split('\n')[3]
I could help further if I saw the actual code you were using and how the library is called...
by BBUK
Tue Jul 29, 2014 2:20 pm
Forum: Python
Topic: Access /root directory
Replies: 3
Views: 3557

Re: Access /root directory

Hi BioniC187. First of all the partition you are referring to is commonly mounted at /boot (in Arch and Raspbian at least, I don't know what xbmc does). This should have read (but not write) permissions for general users. If you just want to read the file: f=open('/boot/myfile','r') contents=f.read(...
by BBUK
Tue Jul 29, 2014 1:59 pm
Forum: Python
Topic: Objects and accesing for the NON object oriented programmer
Replies: 12
Views: 3624

Re: Objects and accesing for the NON object oriented program

The mantra is that "everything in Python is an object". The trick is not to worry about it, the method you are calling by "someobject" just returns a string (a type of object). Your query, therefore, is just about string handling. So: line4 = someobject.split('\n')[3] To explain, "someobject" return...
by BBUK
Thu Jul 24, 2014 8:28 pm
Forum: Gaming
Topic: Joystick / Gamepad install for Advance Mame
Replies: 11
Views: 30579

Re: Joystick / Gamepad install for Advance Mame

Hi sangabriel. Here is a zip containing the files I used and a picture of my resulting controller (that's the micro USB of an Arduino Micro facing the picture): http://www.mediafire.com/download/q14r28p99asvcv7/SurfaceJoystick.zip . The files HID.cpp and USBAPI.h are modified forms of the originals ...
by BBUK
Fri Jul 18, 2014 4:53 pm
Forum: Networking and servers
Topic: Text to Speech with Webpage
Replies: 1
Views: 789

Re: Text to Speech with Webpage

Howdy. My PHP is really rusty but this should get you started <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Espeaker</title> </he...
by BBUK
Mon Jul 14, 2014 7:19 am
Forum: Arch
Topic: Arduino IDE
Replies: 3
Views: 1206

Re: Arduino IDE

Do you have X installed? If so, it should just be a case of going into a terminal any typing whatever command triggers the IDE (it will probably be the same one as for Raspbian. If not, then you will have to install X (and probably then reinstall the IDE). There is a recent thread on how to do that....
by BBUK
Mon Jul 14, 2014 7:15 am
Forum: Arch
Topic: Wolfson audio card
Replies: 13
Views: 4814

Re: Wolfson audio card

Hi. I'm afraid that outlining all the steps needed would take quite some time (far longer than the initial test). There are lots of resources available, for example http://elinux.org/Raspberry_Pi_Kernel_Compilation . I think you will have to get familar with the process first. The first time I tried...
by BBUK
Fri Jul 11, 2014 3:26 pm
Forum: Arch
Topic: Arduino IDE
Replies: 3
Views: 1206

Re: Arduino IDE

Hi timbo24, I assume that you are trying to install from the PKGBUILD from AUR. That indeed states that the platforms are i686 and x86 only. I have not, however, found one yet that did not directly compile into Arm despite what the PKGBUILD says so use makepkg -As or change the arch= line in the PKG...
by BBUK
Fri Jul 11, 2014 2:17 pm
Forum: Networking and servers
Topic: Wireless Repeater (OBSOLETE OLD INFO!)
Replies: 13
Views: 88002

Re: Wireless Repeater

See also here http://www.raspberrypi.org/forums/viewt ... 3&p=489189 which is a little script to turn an Arch installation into a repeater as requested.

Have fun

BBUK
by BBUK
Fri Jul 11, 2014 12:17 pm
Forum: Arch
Topic: Wolfson audio card
Replies: 13
Views: 4814

Re: Wolfson audio card

Howdy There were 3 or 4 that did not apply cleanly and I just did what anyone else would do (i.e. look at the rejects and analyse what was trying to be done by the patch). The only difficult one was to arch/arm/mach-bcm2708/include/mach/irqs.h which I think should be applied such that the end of the...

Go to advanced search