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:

#181 Post by Lobster »

Dave_G wrote:Lobster

Glad to hear that Squeeze has gcc, any idea which version?
Depending also which version of Bash is being used, I suspect that
BaCon can be used on the Pi.

Any CLI editors like nano on there?

Sorry about all the questions but you're the only one around here
that actually has a Pi.
gcc version = ver 4.4.5-8
oh yeah bacon always works (according to some)
Nano is there 8)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
puppy_apprentice
Posts: 299
Joined: Tue 07 Feb 2012, 20:32

#182 Post by puppy_apprentice »

hi everybody, some links for you

Raspberry Pi review
http://www.bit-tech.net/hardware/pcs/20 ... i-review/1

and in this part of review: Raspberry Pi - Software you can read:
In short, the Pi promises much - but the software just isn't there yet. For end-users hoping to get going with their new Pis straight out of the box, it could prove a problem - but improved software is on the horizon, and developers from user-friendly and lightweight distributions like Puppy Linux are already working to get their systems up and running on the devices.
so c'mon give the power for RPi and make the best RPi distro ever ;)

User avatar
Dave_G
Posts: 453
Joined: Thu 21 Jul 2011, 13:53

#183 Post by Dave_G »

Thank you Lobster.

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

#184 Post by Lobster »

thanks puppy_apprentice,

As far as I am aware the boards have double the mentioned ram
only the early boards have the lower amount - we can run without much ram - by todays standards.

The review conclusions are correct - it is a marvel, the software - a Puppy speciality is getting the most from limited resources will be key

OK gonna go see what apt-spy is doing . . . Sardines on a plate [Lobsterian cussing] . . . it crashed 8)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#185 Post by sickgut »

Lobster wrote:Thanks guys for info
.
In the land of the raspberries for this post.
Just tried to send an email from gmail.
It no working from midori - no idea why (worked from my ipad)

I tried apt-get install jwm
and it would have worked but I have run out of space to install it.
How? I dunno . . .
On the forum the animated emoticons (on the left) are flickering rather than animated gfs - sort of pre animation . . .

Also to boot up I had to use sudo su
- so i may reinstall two copies of Squeeze (one backup)
and start again

then the plan is try some more bash scripting . . .
pretty much most linux distros are multi user, its puppy that is the odd one out being a single user OS, seriously if you try stripping out the multi user things from debian it will cause alot more trouble than having to sudo -i or su root

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#186 Post by rokytnji »

I tried apt-get install jwm
and it would have worked but I have run out of space to install it.
How? I dunno . . .
]

Size of external SD card that you installed http://downloads.raspberrypi.org/images ... 4-2012.zip to?

I haven't gone through the whole thread to see what you are using lobster . I get by using a 8 gig SD card (preferably class 10 if possible) with a AntiX Full iso install. 690MB cd and after install with nothing added it comes in at a little over 2gig space taken up on SD card.

Code: Select all

df -h
should show how much space is being taken and what is left on sd card as well as

Code: Select all

fdisk -l

Code: Select all

root@Biker:/home/harry# df -h 
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        17G  5.8G   11G  36% /
tmpfs           5.0M     0  5.0M   0% /lib/init/rw
tmpfs            50M  788K   49M   2% /run
udev            243M     0  243M   0% /dev
tmpfs            99M  8.0K   99M   1% /run/shm
/dev/sda1        11G  3.7G  5.9G  39% /mnt/sda1
root@Biker:/home/harry# fdisk -l

Disk /dev/sda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders, total 58605120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x723de8aa

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    21334015    10665984   83  Linux
/dev/sda2        21334320    22458869      562275   82  Linux swap / Solaris
/dev/sda3   *    22458870    58603519    18072325   83  Linux



Inserting my nose, even though I don't have a raspberry pi board.

For no X11 folder in /etc. You need to install xorg.

I installed LXDE on this core install

Code: Select all

root@Biker:/home/harry# inxi -z -F
System:    Host: Biker Kernel: 3.2.2-antix-486-smp i686 (32 bit) 
           Desktop: LXDE (Openbox 3.5.0) Distro: antiX-core-686-a1 20 June 2010
Machine:   System: Intel product: Montara Family of Chipsets
           Mobo: Phoenix model: RT786EX version: 41118 Bios: Phoenix version: MGM-ALL1.86C.1009.D.0604271130 date: 04/27/06
CPU:       Single core Intel Pentium M (-UP-) cache: 2048 KB flags: (sse sse2) clocked at 1594.713 MHz 
Graphics:  Card: Intel 82852/855GM Integrated Graphics Device 
           X.org: 1.11.2.902 driver: intel tty size: 80x24 Advanced Data: N/A for root 
Audio:     Card: Intel 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller driver: snd_intel8x0
           Sound: Advanced Linux Sound Architecture ver: 1.0.24
Network:   Card-1: Atheros AR5212/AR5213 Wireless Network Adapter driver: ath5k 
           IF: wlan0 state: up mac: <filter>
           Card-2: Realtek RTL-8139/8139C/8139C+ driver: 8139too 
           IF: eth1 state: down mac: <filter>
Drives:    HDD Total Size: 30.0GB (33.6% used) 1: /dev/sda IC25N030ATCS04 30.0GB 
Partition: ID: / size: 17G used: 5.8G (36%) fs: ext3 ID: swap-1 size: 0.58GB used: 0.00GB (0%) fs: swap 
Sensors:   System Temperatures: cpu: 42.0C mobo: N/A 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 98 Uptime: 23 min Memory: 229.5/492.9MB Client: Shell inxi: 1.7.33 
root@Biker:/home/harry# inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://ftp.us.debian.org/debian/ testing main contrib non-free
           deb http://security.debian.org/ testing/updates main contrib non-free
           deb http://www.debian-multimedia.org testing main non-free
           deb http://apt.progchild.de stable main
           deb http://liquorix.net/debian/ sid main
           deb http://ftp.belnet.be/mirror/liquorix.net/debian sid main
           Active apt sources in file: /etc/apt/sources.list.d/jitsi.list
           deb http://download.jitsi.org/deb unstable/
root@Biker:/home/harry# apt-cache policy lxde
lxde:
  Installed: 0.5.5-1
  Candidate: 0.5.5-1
  Version table:
 *** 0.5.5-1 0
        500 http://ftp.us.debian.org/debian/ testing/main i386 Packages
        100 /var/lib/dpkg/status
root@Biker:/home/harry# apt-cache policy jwm
jwm:
  Installed: (none)
  Candidate: 2.1.0-1
  Version table:
     2.1.0-1 0
        500 http://ftp.us.debian.org/debian/ testing/main i386 Packages
root@Biker:/home/harry# apt-cache policy xorg
xorg:
  Installed: 1:7.6+10
  Candidate: 1:7.6+11
  Version table:
     1:7.6+11 0
        500 http://ftp.us.debian.org/debian/ testing/main i386 Packages
 *** 1:7.6+10 0
        100 /var/lib/dpkg/status
this Laptop uses Hot swap drives. I run LightHouse 5.03 32 bit on here also.

in case you want to install the inxi information script in your raspberry pi's

In terminal as root

Code: Select all

cd /usr/local/bin && wget -Nc smxi.org/inxi && chmod +x inxi 
let it download and install. Then just run inxi -F to get system info on your raspberry pi's.
You saw how in inxi -r I was able to show my repos

I won't get into installing smxi or sgfxi into raspberry debian as it is a little more involved and can break stuff if not knowing how to run it, and inxi is just a info script. So it is harmless to install


http://code.google.com/p/inxi/

I better back my nose out of here before I get into trouble. :shock: [/quote]

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#187 Post by sickgut »

antiloquax wrote:
sickgut wrote:re: jwm in debian
dont have to compile
the whole idea of running debian is that you can install all your basic packages automatically via the command: apt-get install

so just use: apt-get install jwm
and it will be installed and configured and work immediately
Thanks - I am running RPi Debian under qemu (without network). I'll check the repos again - and see if I can do it that way. I have a virtual usb drive that I can use to pass things to my Virtual Pi.

Do I have to use a specific Debian ARM repo? ANd where is it? Sorry for my ignorance ...
:oops:
if you are running the Rasp Pi debian image that can be downloaded from the Rasp Pi site, then everything should be configured to go right ahead and run apt-get update then apt-get install jwm

what is in your /etc/apt/sources.list file?

you cant just download and install debian arm from the debian and get a working iso like you can with the other i386 or amd64 type platforms, the packages all exist in a repository and you have to use an already working debian to download the packages and use debootstrap etc to chroot and do other things that i dont particularly know how to do....

im mentioning this above about the debootstrap method because to actually make the OS you have to have had the correct repo information already entered in your /etc/apt/sources.list file to begin with.

but if you are running the debian image from rasp pi people and the apt-getting isnt working after you apt-get update and you know the network stuff is working, then post the contents of the /etc/apt/sources.list and we will help best we can

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

#188 Post by Lobster »

Image

I like being single user.
In fact once a release version of Raspberry PupPy
or whatever it is called, is released . . .
the first thing I will do is push down the lock on the SD card
and save on a USB keydrive

However Sickgut you are more knowledgeable on potential problems/implementations. Appreciate your advice.
I was hoping to use sound - but the ALSA drivers not yet available.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#189 Post by sickgut »

re: lobster running out of space...

is there a difference between the size of the image being used and the size of the SD card? What i mean is if you have say a 4gb card and your using a 2gb image, it could be that the entire card isnt being used, and if thats the case then its easiest to apt-get install gparted or some other partitioning software that will let you resize partitions so you can gain access to the rest of the card....

i dont have a rasp pi yet and i havent used their debian image in an emulator but i have had alot of experience with imaging one image that is smaller than the card to a larger card .... unless they are using a special installer that automatically fills in the unused space after the card is prepared imaged etc then you will have to assign the extra space yourself

also, are their swap partitions and or a swap file presetup on the card if you use their image?

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

#190 Post by Lobster »

I better back my nose out of here before I get into trouble
Keep the snoz in :)
You and the other people here are the nearest thing we have to an ARM development team :)

I appreciate all the suggestions and help I can get. 8)
At the moment I am starting again . . . putting Squeeze on a couple of four Gig cards.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#191 Post by sickgut »

Lobster wrote:Image

I like being single user.
In fact once a release version of Raspberry PupPy
or whatever it is called, is released . . .
the first thing I will do is push down the lock on the SD card
and save on a USB keydrive

However Sickgut you are more knowledgeable on potential problems/implementations. Appreciate your advice.
I was hoping to use sound - but the ALSA drivers not yet available.
Problem with running a debian image that is multiuser and trying to do everything single user is that yeah you can just log in as root and do everything as root, but when you install programs from the debian repos, they often expect a normal user to execute them not a root user, one example of this is VLC as it simply refuses to run as anything other than a normal user. And the problem with running as a normal user, after you have installed as much stuff as you can as root is that you boot into your X session and click on things and nothing works as you dont have permissions.... so you end up with having to log in as root to run half your stuff and as a normal user to run the other half.

This is the problem with sticking with the base default debian image, once you puppy is compiled for it then ofc you can do whatever you like with users, but its basicly impossible to bleach out the multiuser stuff in the debian image that was built ground up to be multiuser. I think it would actually be quicker and easier to build a puppy from scratch than convert debian to single userness and have it work like puppy does.

really? alsa drivers in the default image? wtf... do they have any other sound drivers installed or is the Rasp Pi simply mute at the current stage?
If its a case of yes the drivers are in there but its not working then there is a line that saintless contributed to the pussy project that redetects the sound stuff once you are booted and this generally got non working sound hardware to come to life but it uses alsa tho, if alsa drivers arent there then it wont work.....

ill see if i can find the line of code to run, i dont have it with me atm, ill update this post when i get it together.... it may or may not help, i dunno

also... if there is no sound drivers for the Rasp Pi, i wonder if you can run a external usb sound adaptor and use that instead? does anyone know anymore about this?

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#192 Post by sickgut »

Lobster wrote:
I better back my nose out of here before I get into trouble
Keep the snoz in :)
You and the other people here are the nearest thing we have to an ARM development team :)

I appreciate all the suggestions and help I can get. 8)
At the moment I am starting again . . . putting Squeeze on a couple of four Gig cards.
unfortunately the very few people who actually know about debian ARM are the same ones who actually contribute to it and funny enough are way to busy to answer questions and help end users... getting support for debian ARM is like accidently breaking your ARMs and your legs and rolling to the hospital.... you will prob die of old age before there is any help available....

i think once the rasp pi is in the hands of more people and the forums are alive with actual useful info about the debian image they use, things will get easier.

hmmm.... ill see if i can get one of these rasp emulators etc and help out.
can someone give me a link please?

i have had pleanty of experience with the normal debian on intel hardware and most things are the same but there could very well be many many things i am over looking in relation to the Rasp Pi image and it running on ARM etc.. maybe a day or two messing with the emulator will help

User avatar
Dave_G
Posts: 453
Joined: Thu 21 Jul 2011, 13:53

#193 Post by Dave_G »

Lobster

I guess an external USB type sound card would work but surely
it would also require drivers.

Since Pi has no sound support yet, this is the perfect excuse to reach for
the soldering iron and build an external R-2R type DAC to get some
elementary 8 bit sound out of the GPIOs

Remember the Mod scene from days gone by?
I remember building a crude DAC for the LPT port on an old 386 PC then
writing software to send out samples from wav files one by one to the LPT port where
the DAC would convert the samples into analog voltages.
Filtering was very basic and consisted of a few capacitors and resistors.
No awards for "hi-fi" sound, but it worked suprisingly well given it's simplicity.

The output from the DAC can be connected to a pair of amplified PC speakers
thus saving the hassle of needing to build a small audio amp.

Since the Pi comes with gcc, then I assume it also has "usleep" which one
can use for a delay and timing between samples.

Once I get my Pi, whether sound support is available by then or not, I'm
gonna build myself one of these just for the fun of it.

The pin-outs of the Pi here:
(The pins of interest are GPIO 0 - 7 and of course 0v)

http://elinux.org/RPi_Low-level_peripherals

rokytnji
Posts: 2262
Joined: Tue 20 Jan 2009, 15:54

#194 Post by rokytnji »

Ok. You asked. Here goes nothing. Remember I am a tattooed GED educated Self taught Linux User. I remembered this fix after a power nap thinking about you ran out of room installing JWM.

If you get an error like:

Code: Select all

E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit.
When you tried to install JWM . This has nothing to do with size of SD card

The fix is to edit as root your /etc/apt/apt.conf file and increase the value of the APT::Cache-Limit line to 75000000, save that file and then re-run the command.

Also. Always run

Code: Select all

apt-get update
before installing anything through apt so you get the latest libs and applications available

When done installing everything after updating. To clean the sd to free up space as root again

Code: Select all

apt-get clean
run df-h after apt-get update. Put it in a text file. Don't have to save it. Then do df -h again after apt-get clean. You'll notice the difference.

Code: Select all

Fetched 10.2 MB in 41s (245 kB/s)                                              
Reading package lists... Done
root@Biker:/home/harry# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        17G  5.8G   11G  36% /
tmpfs           5.0M     0  5.0M   0% /lib/init/rw
tmpfs            50M  788K   49M   2% /run
udev            243M     0  243M   0% /dev
tmpfs            99M  496K   99M   1% /run/shm
/dev/sda1        11G  3.7G  5.9G  39% /mnt/sda1
root@Biker:/home/harry# apt-get clean
root@Biker:/home/harry# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        17G  5.7G   11G  36% /
tmpfs           5.0M     0  5.0M   0% /lib/init/rw
tmpfs            50M  788K   49M   2% /run
udev            243M     0  243M   0% /dev
tmpfs            99M  496K   99M   1% /run/shm
/dev/sda1        11G  3.7G  5.9G  39% /mnt/sda1
10MB aint much but it may make a difference later. My system is pretty up to date though since I run as a rolling release schedule. You might download more than 10MB.

I'm off to install a 3.3.1 kernel next. Since I am a AntiX team member. As well as a MacPup team member for runtt21 (I have been a little busy to mess like I would like with Macpup528v2 Beta) but I get there eventually.

User avatar
Dave_G
Posts: 453
Joined: Thu 21 Jul 2011, 13:53

#195 Post by Dave_G »

Below is the schematic.
Attachments
RPI_DAC.jpg
(40.42 KiB) Downloaded 325 times

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#196 Post by sickgut »

Dave_G wrote:Lobster

I guess an external USB type sound card would work but surely
it would also require drivers.

Since Pi has no sound support yet, this is the perfect excuse to reach for
the soldering iron and build an external R-2R type DAC to get some
elementary 8 bit sound out of the GPIOs

Remember the Mod scene from days gone by?
I remember building a crude DAC for the LPT port on an old 386 PC then
writing software to send out samples from wav files one by one to the LPT port where
the DAC would convert the samples into analog voltages.
Filtering was very basic and consisted of a few capacitors and resistors.
No awards for "hi-fi" sound, but it worked suprisingly well given it's simplicity.

The output from the DAC can be connected to a pair of amplified PC speakers
thus saving the hassle of needing to build a small audio amp.

Since the Pi comes with gcc, then I assume it also has "usleep" which one
can use for a delay and timing between samples.

Once I get my Pi, whether sound support is available by then or not, I'm
gonna build myself one of these just for the fun of it.

The pin-outs of the Pi here:
(The pins of interest are GPIO 0 - 7 and of course 0v)

http://elinux.org/RPi_Low-level_peripherals
WTF i really cant believe they actually released the rasp pi with no official sound support yet in the software....

i think i just lost the last ounce of faith i had in the entire universe, also i feel like i just had some marketting managers weener in my mouth. I need to order some mouthwash online and then hide in seclusion for the next decade and reimerge when the rasp pi has sound.

[update]
however the analogue video connector means i can use my tv and unplug my ps/2 and replace it with the rasp pi and attach a mouse and keyboard instead of a ps/2 controller. Maybe ill only hide away in seclusion for 5 years instead of 10.

[update]
mouthwash altho delivered extremely quickly was not effective. Maybe a hotdog will fix that, replace the taste of one weener with another larger one.

[update]
need to wait till tomorrow till i can buy a hotdog. Ordered more mouthwash. Fingers crossed.
Last edited by sickgut on Wed 18 Apr 2012, 12:21, edited 2 times in total.

User avatar
Dave_G
Posts: 453
Joined: Thu 21 Jul 2011, 13:53

#197 Post by Dave_G »

sickgut

Don't take my writing that the Pi has no sound support as gospel.
I only assumed it has none by what Lobster wrote.

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#198 Post by sickgut »

Dave_G wrote:sickgut

Don't take my writing that the Pi has no sound support as gospel.
I only assumed it has none by what Lobster wrote.
after hastily setting up camp to live in seclusion to hide my sad and mudden face from the world, i came down from the mountain for a minute to check the raspberry pi site and it indeed doesnt have any sound support, altho the sound hardware is there. After confirming my worst fears, i have started on the long trek up the mountain again with more mouthwash this time.

When i here the happy beeps of 8 bit mame emulators running on the raspberry pi, i may come down from the mountain again to see what the fuss is about.

humblesoul
Posts: 32
Joined: Fri 06 Apr 2012, 20:19

#199 Post by humblesoul »

no sound support
usb?

User avatar
Dave_G
Posts: 453
Joined: Thu 21 Jul 2011, 13:53

#200 Post by Dave_G »

sickgut wrote:
i may come down from the mountain again to see what the fuss is about.
Don't worry, you will know when to come down when the mountains echo to the sounds of beeps and bops. Hehehe !

From what I can remember, the frequency response extended to about 10Khz
but the SNR was only about 45dB or so.
Certainly OK to play sound clips and even music but like I said don't expect CD quality sound.
Last edited by Dave_G on Wed 18 Apr 2012, 12:42, edited 1 time in total.

Post Reply