Go to advanced search

by BBUK
Sat Jan 18, 2014 1:15 am
Forum: Arch
Topic: Wireless Networking Advice
Replies: 12
Views: 7436

Re: Wireless Networking Advice

Jbudd. Script as promised. https://www.mediafire.com/?ffz0n5mvlo1xf11 Bear in mind that I use these scripts more as an aide-memoir than anything else as to the steps needed to implement whatever I am playing with and also to save time typing the same commands over and over. As a result there quite a...
by BBUK
Thu Jan 16, 2014 10:56 pm
Forum: Arch
Topic: Wireless Networking Advice
Replies: 12
Views: 7436

Re: Wireless Networking Advice

jbudd, a coincidence and very good timing! I have just completed the first phase of my next project - nothing like yours but involves a Pi with two wifi devices, one acting as an access point and the other connecting to the internet via my home router. I have this working with Arch and have scripted...
by BBUK
Fri Jan 03, 2014 11:25 am
Forum: HATs and other add-ons
Topic: 2.8" TFT + Touch Shield Board v1 a/b/c
Replies: 383
Views: 198085

Re: 2.8" TFT + Touch Shield Board v1 a/b/c

@smstext i see a few people have made internet radio displays out of these screens, has anyone come up with a music player to play music off a hdd or usb stick say a cut down version of xbmc? many thanks in advance http://www.raspberrypi.org/forum/viewtopic.php?f=38&t=64478. The main point of my pro...
by BBUK
Thu Jan 02, 2014 2:54 pm
Forum: Graphics, sound and multimedia
Topic: Portable music/radio streamer using i2s and TFT touchscreen
Replies: 5
Views: 5281

Re: Portable music/radio streamer using i2s and TFT touchscr

@koalo/Florian, the changes made to your 3.10.y-asoc version of the kernel were pretty basic. I just copied over the 3.8 card drivers, made a couple of changes to reflect the new platform name etc and inserted a couple of lines in rpi-proto.c to deal with the new bclk ratio (see the end of the main ...
by BBUK
Fri Dec 27, 2013 5:44 pm
Forum: Graphics, sound and multimedia
Topic: Portable music/radio streamer using i2s and TFT touchscreen
Replies: 5
Views: 5281

Portable music/radio streamer using i2s and TFT touchscreen

Hi all. Here is my take on a portable Pi music player. http://youtu.be/X0d7d0fCjEI Sorry about the washed out colours - they look great in real life (see the Star Wars clip at the end for an idea). Also the backlight fade effect looks strange on the video... In terms of hardware, in that layer case ...
by BBUK
Thu Dec 26, 2013 8:51 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 886
Views: 422821

Re: I2S: Anyone got it running? (answer is yes!)

BBUK, I think you need to set bitclock (frame length) in the card driver. There's a new function in 3.10. Bingo! Thanks vadim. Adding struct snd_soc_dai *cpu_dai = rtd->cpu_dai; int retcode = snd_soc_dai_set_bclk_ratio(cpu_dai,32*2); if (retcode < 0){ dev_err(substream->pcm->dev, "Failed to set BCL...
by BBUK
Mon Dec 23, 2013 4:08 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 886
Views: 422821

Re: I2S: Anyone got it running? (answer is yes!)

Hi Koalo/all. I previously had 3.8 working but the 3.10.y version (although it seems to compile correctly) plays what seems to be double speed sound using the WM8731 (proto board) driver. I have not undertaken much investigation but will report back with what I find. Just a heads up at the moment. B...
by BBUK
Sat Nov 23, 2013 11:26 am
Forum: For sale
Topic: 2.8" TFT + Touch Shield Board v1b/c
Replies: 163
Views: 97492

Re: 2.8" TFT + Touch Shield Board v1b/c

Hi all. First of all thanks to texy for developing this board - I think they are very good and I have bought two. One question, does anyone happen to know if notro's drivers support updating only a changed part of the display? I want to smoothly scroll a small proportion of the display (actually jus...
by BBUK
Sun Nov 03, 2013 10:25 am
Forum: Gaming
Topic: joystick Y X axes
Replies: 1
Views: 537

Re: joystick Y X axes

Hi.
the page you linked referenced this one http://ithink.ch/blog/2013/09/08/patchi ... ry_pi.html that contains step-by-step instructions that look OK to me.
by BBUK
Sat Oct 12, 2013 11:19 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI is broken in > 3.6
Replies: 2
Views: 2943

Re: SPI is broken in > 3.6

Hi. I can confirm that I have SPI working in 3.8. Thanks to the pointer that installing the drivers as modules did not appear to work, I tried a couple of things but all I needed in the end was to switch both: <*> BCM2708 SPI controller driver (SPI0) and <*> User mode SPI device driver support to be...
by BBUK
Fri Oct 04, 2013 4:45 pm
Forum: Gaming
Topic: AdvMame 0.83.1 to 0.94
Replies: 34
Views: 6036

Re: AdvMame 0.83.1 to 0.94

Thanks Welshy.

You are right in that I have moved to another distro for my Pi efforts - Arch as it happens. I am still, however, very much messing around with R-Pis.

And yes, again, I did mean puddings MAME4ALL!

Sorry for any confusion.

BBUK
by BBUK
Fri Oct 04, 2013 3:25 pm
Forum: Gaming
Topic: AdvMame 0.83.1 to 0.94
Replies: 34
Views: 6036

Re: AdvMame 0.83.1 to 0.94

Hi all. As welshy said this is a really old script. I am also on to other things now. From memory, however, I think I had a similar failure when compiling on my 256 meg Pi and it was solved by creating a swapfile. I don't use Raspbian any more so the details may be a bit shaky but the way I think I ...
by BBUK
Tue Aug 27, 2013 1:57 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 886
Views: 422821

Re: I2S: Anyone got it running? (answer is yes!)

Just a short note to thank all the contributors on this thread, particularly, of course, koalo, philpoole and pasdesignal. I only discovered the thread a few days ago, realised that I2S was perfect for my needs and now have it working brilliantly on Arch running on a Model A Pi and using the Mbed TL...
by BBUK
Fri Aug 23, 2013 12:33 pm
Forum: Arch
Topic: Cross compilation basic idea
Replies: 4
Views: 2455

Re: Cross compilation basic idea

Hi again gusa. You could use that toolchain (the arm6 hf) version, yes BUT it is not designed specifically for the Pi and so some further work will probably be required. Have a look at this http://hertaville.com/2012/09/28/development-environment-raspberry-pi-cross-compiler/ which, whilst aimed at R...
by BBUK
Fri Aug 23, 2013 8:38 am
Forum: Arch
Topic: Differences between poweroff/halt
Replies: 6
Views: 5558

Re: Differences between poweroff/halt

Thanks both.

I'll investigate and report back if I find anything. On the particular setup I am experimenting with the unusual behaviour is perfectly reproducible - I just don't know why!

BBUK
by BBUK
Fri Aug 23, 2013 7:14 am
Forum: Arch
Topic: Differences between poweroff/halt
Replies: 6
Views: 5558

Differences between poweroff/halt

Hi all. I have a setup that is behaving rather strangely. "poweroff" and "shutdown -h", reboot the system. "halt", however, actually powers off the system as I would expect. Can anyone let me know the differences between the behaviour of "poweroff" and "halt" so I can investigate? Note that I unders...
by BBUK
Fri Aug 23, 2013 7:06 am
Forum: Arch
Topic: Cross compilation basic idea
Replies: 4
Views: 2455

Re: Cross compilation basic idea

Hi gusa. Is it the same compiling for Raspbian or ArchLinux? Broadly the same, yes. The packages you will need to install have different names (eg base-devel for Arch) but bear in mind that (at least at one point) Raspbian and Arch used different versions of libc such that something compiled on the ...
by BBUK
Mon Aug 19, 2013 1:30 pm
Forum: Arch
Topic: Latest image boot messages continue write after login prompt
Replies: 3
Views: 1641

Re: Latest image boot messages continue write after login pr

pepedog, how about this. https://bbs.archlinux.org/viewtopic.php?id=147808&p=2 (either of the solutions in the last two posts would seem to do the trick - I haven't tried). The real question is whether ppl want the existing behaviour or for their login not to be polluted by systemd messages. Persona...
by BBUK
Mon Aug 12, 2013 3:08 pm
Forum: Arch
Topic: autoplay mp3
Replies: 1
Views: 2488

Re: autoplay mp3

Hi Fvet I used Arch to set up a music server playing radio stations and mp3s. Although my requirement was more complex than yours (and used mplayer in slave mode), you could perhaps adapt my solution to your needs. First of all I created a file /etc/systemd/service/mplayer.service as follows: [Unit]...
by BBUK
Sat Jul 13, 2013 5:31 am
Forum: Networking and servers
Topic: Installing LAMP server, problems with MySql
Replies: 26
Views: 8382

Re: Installing LAMP server, problems with MySql

Hmm...
Let's clean up the packages in full and try again:

Code: Select all

sudo apt-get remove --purge mysql-client mysql-server
sudo apt get autoremove
sudo apt-get clean
sudo apt-get install mysql-client mysql-server
BBUK
by BBUK
Fri Jul 12, 2013 11:07 pm
Forum: Networking and servers
Topic: Installing LAMP server, problems with MySql
Replies: 26
Views: 8382

Re: Installing LAMP server, problems with MySql

And what happened when you entered the second two commands ...
by BBUK
Fri Jul 12, 2013 10:43 pm
Forum: Networking and servers
Topic: Installing LAMP server, problems with MySql
Replies: 26
Views: 8382

Re: Installing LAMP server, problems with MySql

You will have to be more precise.
Tell us what happened and what you did when you entered the first of the commands I set out above
by BBUK
Fri Jul 12, 2013 4:02 pm
Forum: Networking and servers
Topic: Installing LAMP server, problems with MySql
Replies: 26
Views: 8382

Re: Installing LAMP server, problems with MySql

This could be one of a few things. Try this to reduce the possibilities: sudo dpkg-reconfigure mysql-server-5.5 If that works (from memory there will be a couple of curses screens to go through to enter some details), then try your install command again. If it reports that mysql-server-5.5 is not in...
by BBUK
Thu Jun 27, 2013 2:39 pm
Forum: Networking and servers
Topic: Samba Help
Replies: 5
Views: 1593

Re: Samba Help

Hi boston9. They are not necessarily the same. If, say, your NAS Pi has a hostname "raspberrypi" and it shares a folder called /mnt/foo then, from the perspective of the machines accessing the share, it could be called \\raspberrypi\bar. It depends on what smb.conf says the folder should be shared a...

Go to advanced search