Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Oct 2014, 06:26
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Announcements
Puppi Raspberry Pi Hardware
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 13 of 31 [455 Posts]   Goto page: Previous 1, 2, 3, ..., 11, 12, 13, 14, 15, ..., 29, 30, 31 Next
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 18 Apr 2012, 04:27    Post subject:  

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 Cool

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
puppy_apprentice


Joined: 07 Feb 2012
Posts: 135

PostPosted: Wed 18 Apr 2012, 05:03    Post subject:  

hi everybody, some links for you

Raspberry Pi review
http://www.bit-tech.net/hardware/pcs/2012/04/16/raspberry-pi-review/1

and in this part of review: Raspberry Pi - Software you can read:

Quote:
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 Wink
Back to top
View user's profile Send private message 
Dave_G


Joined: 21 Jul 2011
Posts: 459

PostPosted: Wed 18 Apr 2012, 05:14    Post subject:  

Thank you Lobster.
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 18 Apr 2012, 06:04    Post subject:  

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 Cool

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
sickgut


Joined: 23 Mar 2010
Posts: 1157
Location: Tasmania, Australia in the mountains.

PostPosted: Wed 18 Apr 2012, 06:55    Post subject:  

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
Back to top
View user's profile Send private message Visit poster's website 
rokytnji


Joined: 20 Jan 2009
Posts: 1365
Location: Pecos/ Texas

PostPosted: Wed 18 Apr 2012, 06:59    Post subject:  

Quote:
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/debian/6/debian6-13-04-2012/debian6-13-04-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:
df -h
should show how much space is being taken and what is left on sd card as well as
Code:
fdisk -l


Code:
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:
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:
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. Shocked [/quote]
Back to top
View user's profile Send private message Visit poster's website 
sickgut


Joined: 23 Mar 2010
Posts: 1157
Location: Tasmania, Australia in the mountains.

PostPosted: Wed 18 Apr 2012, 07:05    Post subject:  

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 ...
Embarassed


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
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 18 Apr 2012, 07:07    Post subject:  



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 WIKI
Back to top
View user's profile Send private message Visit poster's website 
sickgut


Joined: 23 Mar 2010
Posts: 1157
Location: Tasmania, Australia in the mountains.

PostPosted: Wed 18 Apr 2012, 07:10    Post subject:  

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?
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 18 Apr 2012, 07:17    Post subject:  

Quote:
I better back my nose out of here before I get into trouble


Keep the snoz in Smile
You and the other people here are the nearest thing we have to an ARM development team Smile

I appreciate all the suggestions and help I can get. Cool
At the moment I am starting again . . . putting Squeeze on a couple of four Gig cards.

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
sickgut


Joined: 23 Mar 2010
Posts: 1157
Location: Tasmania, Australia in the mountains.

PostPosted: Wed 18 Apr 2012, 07:22    Post subject:  

Lobster wrote:


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?
Back to top
View user's profile Send private message Visit poster's website 
sickgut


Joined: 23 Mar 2010
Posts: 1157
Location: Tasmania, Australia in the mountains.

PostPosted: Wed 18 Apr 2012, 07:29    Post subject:  

Lobster wrote:
Quote:
I better back my nose out of here before I get into trouble


Keep the snoz in Smile
You and the other people here are the nearest thing we have to an ARM development team Smile

I appreciate all the suggestions and help I can get. Cool
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
Back to top
View user's profile Send private message Visit poster's website 
Dave_G


Joined: 21 Jul 2011
Posts: 459

PostPosted: Wed 18 Apr 2012, 07:43    Post subject:  

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
Back to top
View user's profile Send private message 
rokytnji


Joined: 20 Jan 2009
Posts: 1365
Location: Pecos/ Texas

PostPosted: Wed 18 Apr 2012, 07:54    Post subject:  

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:
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:
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:
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:
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.
Back to top
View user's profile Send private message Visit poster's website 
Dave_G


Joined: 21 Jul 2011
Posts: 459

PostPosted: Wed 18 Apr 2012, 07:59    Post subject:  

Below is the schematic.
RPI_DAC.jpg
 Description   
 Filesize   40.42 KB
 Viewed   237 Time(s)

RPI_DAC.jpg

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 13 of 31 [455 Posts]   Goto page: Previous 1, 2, 3, ..., 11, 12, 13, 14, 15, ..., 29, 30, 31 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Announcements
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1351s ][ Queries: 12 (0.0075s) ][ GZIP on ]