Puppi Raspberry Pi Hardware

News, happenings
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#341 Post by Lobster »

This from the Puppi Arch wiki
Step 12 Add Multimedia capability
sudo modprobe snd_bcm2835 at prompt after login / before "startx" for sound
pacman -S deadbeef
http://puppylinux.org/wikka/PuppiArch

The most I have tested for is a tone.
Calling in an improving broadcom graphic chip driver will give us increasing oomph [a technical term] :)

If anyone is able to afford two Raspberry Pi's
and can send one to our skint (impoverished)
darkcity who lives in the North of England that would be great . . .
Darkcity is doing a lot of documentation for the wiki.
Be great if he could be sent a board or we had more Rpi documenters for the wiki. Contact him directly.
I already gave my second Rpi board to friend 'Shadow'.

Here Lord and Lady Upton of Cambridge (you heard it here first - MBE and knighthoods etc come first) dish out a board to a young American genius geek.
http://youtu.be/P8O2qMJzTIw
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#342 Post by antiloquax »

Lobster wrote:
If anyone is able to afford two Raspberry Pi's
and can send one to our skint (impoverished)
darkcity who lives in the North of England that would be great . . .
I have offered my "spare" RPi to someone else. If he doesn't get back to me today, I'll let darkcity have it.
mark
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#343 Post by Lobster »

I could not stop myself, and played with it today.
I know exactly what you mean [Morpheus in the Matrix]
http://youtu.be/mWpkXJBCYi0

Generous antiloquax,
must be your Buddhist training in a previous life time 8)

Barrys Rpi hardware touchdown
http://bkhome.org/blog/?viewDetailed=02860

"The Raspberry has landed." Neil Armstrong :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#344 Post by antiloquax »

Lobster wrote: Generous antiloquax,
must be your Buddhist training in a previous life time 8)

"The Raspberry has landed." Neil Armstrong :)
I've also had some in this lifetime ;)
I learned to meditate when I was a student. Sort of a lapsed Buddhist!

I have sound.

Code: Select all

pacman -S alsa-utils alsa-oss alsa-plugins
gpasswd -a root audio
speaker-test -c 2
... and I was blasted with white noise!
I've compiled schismtracker (as recommended in MagPi)
and downloaded some modules.
Added snd-bcm2835 to my rc.conf.

I went and bought a breadboard and some LEDs yesterday. But I forgot to take the magazine with me. I'll have to go back for some resistors etc. Maplins has what you need!
:)
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#345 Post by Lobster »

Actung Lobster off topic interlude
I've also had some in this lifetime.
I learned to meditate when I was a student. Sort of a lapsed Buddhist!

I am pretty much a heretic Buddhist (not really possible)
So do not accept the fantasy of rein carnation. I was not a wombat in a previous lifetime. In this one I definitely am. What I am in other multi-verses probably defies imagination . . .
So I interpret our past being as past lives and the actions (karma) that we set in motion effects our future being or life . . .
Any adult talking of Purelands, Father Christmas, Heaven, Hell or other fairy tales is Lady Gaga (at least partly) in my experience, no matter how enlightened, venerated or medicated.

I practice Buddhism because it works for me. You probably had reasonable results with meditation?
Here is my particular heresy . . .
http://yinyana.tumblr.com/

I will be using the Rpi as a shrine computer eventually
http://puppylinux.org/wikka/BuddhistYAP

OK gotta go do some more mindful plastering (house repairs) 8)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

aarf

#346 Post by aarf »

antiloquax wrote:
I went and bought a breadboard and some LEDs yesterday. But I forgot to take the magazine with me. I'll have to go back for some resistors etc. Maplins has what you need!
:)
question from someone who has no clue (me):
can all/some of the scripts that have been written for arduino be somehow used on raspberry? I mean the ones that have only to use a lesser amount of pins.
or perhaps arduino can be joined to raspberry and programmed in conjunction. like I said I don't know anything just exploring possiblities.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#347 Post by antiloquax »

aarf wrote: question from someone who has no clue (me):
can all/some of the scripts that have been written for arduino be somehow used on raspberry? I mean the ones that have only to use a lesser amount of pins.
or perhaps arduino can be joined to raspberry and programmed in conjunction. like I said I don't know anything just exploring possiblities.
Sorry, I don't know either. Although, I have heard Eben talking about linking up Arduino and RPi - that does work.
mark
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

aarf

#348 Post by aarf »

antiloquax wrote:
aarf wrote: question from someone who has no clue (me):
can all/some of the scripts that have been written for arduino be somehow used on raspberry? I mean the ones that have only to use a lesser amount of pins.
or perhaps arduino can be joined to raspberry and programmed in conjunction. like I said I don't know anything just exploring possiblities.
Sorry, I don't know either. Although, I have heard Eben talking about linking up Arduino and RPi - that does work.
mark
here is the arduino code and instructions for blinking your first LED
http://arduino.cc/en/Tutorial/Blink
don't know if it any use to you.
to get the arduino gui to work on puppy it needs java installed, so far I have not been able to determine if there is a java compatible with both puppy and arm together.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#349 Post by antiloquax »

Thanks aarf! I'll check it out.
mark

EDIT
I'm sorry I won't be able to help darkcity out - I'd already offered my spare Pi to Jaseman (of the MagPi magazine), and he's confirmed he does want it.

EDIT (again)
Thought I'd post a couple of pics of my Pi setup (this actually isn't in my room - it's just where I can get hooked up to ethernet!).
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#350 Post by antiloquax »

Here's my first proper assembly program (I wrote this myself, rather than copying from websites!)
It finds the Greatest Common Divisor of 6099 and 2166. See Knuth, The Art of Computer Programming (3rd ed.) page 4.

Code: Select all

 .section    .data

string:
    .asciz "Euclid's Algorithm: Greatest Common Divisor\n"
len = . - string
result:
    .asciz "Result: %d\n"
m:
    .long   6099
n:
    .long   2166

.text
    .globl  main

main:
    mov r0, $1
    ldr r1, =string
    ldr r2, =len
    mov r7, $4
    swi $0

    ldr r5, =m
    ldr r2, [r5], $4

    ldr r5, =n
    ldr r3, [r5], $4

loop:
    sub r4, r2, r3
    cmp r4, r3
    movge   r2, r4
    bge     loop

    cmp r4, $0
    movgt r2, r3
    movgt r3, r4
    bgt     loop

    mov   r1, r3
    ldr r0, =result
    bl printf
    mov r7, $1
    swi 0

I've had some help from someone on the RPi forum. Still lots to learn ...
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#351 Post by Lobster »

Thanks Mark for assembly coding and pics.

Many years ago, whilst looking at the great variety of Linux, I found there was a great expectation that I had experience and knowledge of Unix, command line, compiling and other geekery.
I did not. I was a noob.

Even though I was using Knoppix/Debian at the time, I was using Puppy to educate myself. I was a noob and lurker.

We are beginning again. Raw hardware - Raspberry Pi does not even come with a case . . .
This time we are in company with over a quarter of a million penguins and those undergoing penguination.

Imagine what an army of geeks can accomplish and pass on to the geek youth . . . :D

It is hard going. I may have to buy yet another SD card. I may have to compile in C (or try to).

Barry is now compiling native Gentoo code on the Rpi
http://www.raspberrypi.org/phpBB3/viewt ... 7&start=50
. . . then with sufficient pets we will have a boot strapped Puppi :)

Puppi Linux
Raspberry Rippling
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#352 Post by antiloquax »

I am still struggling with how to print a single digit (I want to do it just from the ascii value so that I can do maths without using printf)..

Anyway ... I have overclocked my Pi. I got a kernel panic when I took it to 900mhz, but 850 seems fine (default is 700).
:twisted:
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#353 Post by Lobster »

Apparently you can also over volt and that gets the speed up. I won't be doing it . . .
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#354 Post by antiloquax »

I've brought my RPi into school today and hooked it up to the data projector. I did a lesson on a little GUI program based on the "Love-o-matic" iPod app.
Some of the kids were fascinated but others laughed at my Lego case.
Attachments
love.PNG
(10.81 KiB) Downloaded 697 times
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#355 Post by darkcity »

antiloquax wrote:I am still struggling with how to print a single digit (I want to do it just from the ascii value so that I can do maths without using printf)..
...
On Risc OS you would use a system call 'SWI', don't know if there's an linux equivalent?

http://www.apdl.co.uk/riscworld/volume1 ... /index.htm

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#356 Post by antiloquax »

darkcity wrote:On Risc OS you would use a system call 'SWI', don't know if there's an linux equivalent?
Thanks, darkcity. Yes, I have been using SWI - the problem I have been having is that I can print a string, but I want to print individual characters.

I want to be able to print numbers without using the C printf command.
So I need to convert the number to a series of ascii characters and then output those.
Anyway, it'll keep me out of trouble for a while ...

By the way, I'm sorry I wasn't able to supply you with my spare Pi. By the time Lobster mentioned it, I'd already promised it to someone else!
mark
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#357 Post by darkcity »

antiloquax wrote:...

By the way, I'm sorry I wasn't able to supply you with my spare Pi. By the time Lobster mentioned it, I'd already promised it to someone else!
mark
That's kind of you to think about me. I'll get some pi in the long run

; -)

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#358 Post by greengeek »

Antiloquax - 88% ?? Surely it's more than that! :-)
You must have read the number upside down. It should be 88
Oh, wait...

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#359 Post by antiloquax »

:)
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#360 Post by Lobster »

Guys,

Stay fruity. Our slice of pi will come 8)
To answer some questions . . .
Java not yet available but coming
Arduino controller link up being planned, using pi to control several Arduino . . .

Will not get chance to work on c code for gtkdialog until coming weekend.

Kids laughing = good
Some fascinated = potential geeks/penguins/puppy's = v good :)
SD cards are either rubbish OR work and our booting experience will develop

Guys with Rpi . . . Worried about security? Me not - run as root, run fast.
A few days ago couple of Xbox users :evil: tried to jemmy open my front door. :roll:
Will be working towards Rpi lasering or other device. legal suggestions welcome . . . Dog barking motion detectors . . . Flash and pic taking . . . Police dial panic button . . . 'release the hounds' button . . .

My case is now from small blueberry packaging
:)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply