Squeezed Arm Puppy for Raspberry Pi, alpha4
I wrote a little gui for setting the sound to auto/analog/HDMI.
Should make it super easy. The radio buttons reflect the current state.
My sound (analog) was working ootb, still, anything played through aplay is no good.
NOTE: this will not display if the sound module is not loaded! (will show an error in terminal)
Should make it super easy. The radio buttons reflect the current state.
My sound (analog) was working ootb, still, anything played through aplay is no good.
NOTE: this will not display if the sound module is not loaded! (will show an error in terminal)
- Attachments
-
- raspigui.png
- (14.42 KiB) Downloaded 1512 times
-
- pi_subsound_set-0.1-raspi.pet
- (5 KiB) Downloaded 405 times
Puppy Linux Blog - contact me for access
- antiloquax
- Posts: 405
- Joined: Fri 27 Jan 2012, 09:17
Thanks micko!01micko wrote:I wrote a little gui for setting the sound to auto/analog/HDMI.
By the way, my Python / Pygame pet does work. I just hadn't been thorough enough about dependencies. It requires: libpng, libjpeg (dev versions) and the dev versions of the sdl elements (sdl itself, mixer, sound, image, ttf).
Python Arm pet
I may re-compile in the new Alpha, just for kicks!
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.
"[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.
Hi,
I got a new problem with alpha3, not being able to use german keyboard layout.
In Quicksetup I select
No matter I restart X or reboot, typing in a terminal allways shows no change. I guess that it's us keyboard layout.
Restarting Quicksetup again shows de-latin1. I can change it to de, but running again, it shows again de-latin1 (and in terminal still us layout)
Firewall setup:
I get the message:
Sound is per default analog. No prolem to hear mp3 with PlayMusic. Sound is good but with "scratches" about every 30sec., more or less. Maybe of interest, after a song is finished, PlayMusic allways try to play the next file. If this is a avi or mp4 movie, MPlayer opens and plays it (more or less).
No problem to change sound to HDMI (even during playing a song ), no scratches. So for normal usage, HDMI seems to be the best for me.
Will test gmome mplayer, gxine, omxplayer, pi_subsound_set, sws and more, soon.
@rrolsbe
IIRC Puppy detects all swap partitions and mounts it, but i don't know the order it uses these partitions. With alpa2 I just deleted the swap partition of the sd card and Sap6 automatically used the swap partition of the usb hd. You can also unmount a swap partition via command line, but I haven't tested in Sap6 and don't remember the command .
More later,
Rolf
I got a new problem with alpha3, not being able to use german keyboard layout.
In Quicksetup I select
Code: Select all
de_DE
Europe/Berlin
de
Restarting Quicksetup again shows de-latin1. I can change it to de, but running again, it shows again de-latin1 (and in terminal still us layout)
Firewall setup:
I get the message:
Code: Select all
'rxvt-unicode-256color: unknown terminal type.
Configuration terminated. Goodbye.
Firewall install script finished.
No problem to change sound to HDMI (even during playing a song ), no scratches. So for normal usage, HDMI seems to be the best for me.
Will test gmome mplayer, gxine, omxplayer, pi_subsound_set, sws and more, soon.
@rrolsbe
IIRC Puppy detects all swap partitions and mounts it, but i don't know the order it uses these partitions. With alpa2 I just deleted the swap partition of the sd card and Sap6 automatically used the swap partition of the usb hd. You can also unmount a swap partition via command line, but I haven't tested in Sap6 and don't remember the command .
More later,
Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.
Raspberry Pi without Puppy? No, thanks.
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: Alpha 3 report & Going for the Holy Grail
You find a variable in /etc/rc.d/BOOTCONSTRAINED that you can comment-out. Though, that will also cause the swap partition on the SD card to load.rrolsbe wrote:Questions: I am running Puppy from /root on an external USB drive to improve performance. I also have a swap partition on the external drive, how do I make Puppy use it?
So, I recommend run:
# dd if=/dev/zero of=/dev/mmcblk0p3
to wipe the swap partition on the SD card.
[url]https://bkhome.org/news/[/url]
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Please read the Release Notes.Lobster wrote:HDMI in alpha 2The sound problems are going to be awkward. Can anyone give me an idiot's guide to the story so far? I don't seem to have alsa working.
- working for some (with some break up)
- noise from HDMI monitor but not recognizable (that was my condition)
- no sound from HDMI (Barrys monitor)
HDMI in alpha 3
- not working for me at all now for HDMI, even when changing settings in config.txt
modprobing etc
- sound from headphone socket is the new default for alpha 3? If so I have not tested
There is a script that runs at bootup, /etc/init.d/11alsa_raspi that sets sound to the analog output.
Change the properties of that to non-executable then it won't run at bootup. Or, edit it to set sound o/p to HDMI.
[url]https://bkhome.org/news/[/url]
- antiloquax
- Posts: 405
- Joined: Fri 27 Jan 2012, 09:17
Thanks Barry - I was focussing on getting Python / Pygame installed, but I will use your instructions to get the sound to go via HDMI.
Great work by the way! I am a very happy Puppy!
I've posted on the RPi forum about the success with my wireless dongle.
I know the editors of the MagPi magazine pretty well (I did an article on Scratch for them last time). They seem pretty focussed on Debian at the moment. But I am going to try to persuade them to do something on Puppy soon.
mark
Great work by the way! I am a very happy Puppy!
I've posted on the RPi forum about the success with my wireless dongle.
I know the editors of the MagPi magazine pretty well (I did an article on Scratch for them last time). They seem pretty focussed on Debian at the moment. But I am going to try to persuade them to do something on Puppy soon.
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.
"[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.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
New audio mixer not running from command line
Ignore the idiot crustacean (that would be me)
Too many arms and not enough neurons.
The Mixmos s running just not doing anything useful so far . . .
About to try Micko's sound GUI pet - pretty cool to have pets (Barry produced some but did not test them) Sorry
Puppy second boot is pretty speedy (by the time I have found the remote and turned on HDMI TV I am in Puppy - no pseudo sudo passwords required)
Puppi Linux
Rock and Raspberry Roll
Barry
What about /etc/init.d/11alsa_raspi reading a config file? Say.. /etc/rapsi_alsa.conf? Default could be "0" or "1" or "2" or whatever the consensus is and my little gui could be used to change that.
just a thought.
@Lobster, when you fire up that gui, the default should be the "Analog" option radio button. If analog (headphones or external speakers) work for you leave it else try out the other 2. HDMI doesn't work for me, but I think it's the el cheapo gear I have. I might plug in my raspi to the 40" Samsung, (when wifey is at work on Sunday )
What about /etc/init.d/11alsa_raspi reading a config file? Say.. /etc/rapsi_alsa.conf? Default could be "0" or "1" or "2" or whatever the consensus is and my little gui could be used to change that.
just a thought.
@Lobster, when you fire up that gui, the default should be the "Analog" option radio button. If analog (headphones or external speakers) work for you leave it else try out the other 2. HDMI doesn't work for me, but I think it's the el cheapo gear I have. I might plug in my raspi to the 40" Samsung, (when wifey is at work on Sunday )
Puppy Linux Blog - contact me for access
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Mick the the GUI locked up my Pi
now all my icons are gone. (fixable)
The HDMI worked (well sound of raspy static - not actual sound) for me but not analog or auto
- the pet is in setup
gonna reboot and try to run from command line for better feedback.
found your pet code in
/usr/sbin/pi_sound_set.sh
in case anyone else wants a look
now all my icons are gone. (fixable)
The HDMI worked (well sound of raspy static - not actual sound) for me but not analog or auto
- the pet is in setup
gonna reboot and try to run from command line for better feedback.
found your pet code in
/usr/sbin/pi_sound_set.sh
in case anyone else wants a look
Now that you guys have this long experience of using RPi.
Was it true that you needed to buy new kind of Sd cards that the old ones
where the wrong type and that the new ones are special kinds of SD
that maybe is not sold everywhere and have to be bought online from some
other country?
What is referred to SD anyway How big are there? Those I have already
in my many Smartphones are like the nail of a thumb or so.
Say 14mmx10mm and can be put into an adapter that is maybe 23mmx30mm
One SD I have is named Zap microSD 512MB could that then be not compatible being too old and slow?
Was it true that you needed to buy new kind of Sd cards that the old ones
where the wrong type and that the new ones are special kinds of SD
that maybe is not sold everywhere and have to be bought online from some
other country?
What is referred to SD anyway How big are there? Those I have already
in my many Smartphones are like the nail of a thumb or so.
Say 14mmx10mm and can be put into an adapter that is maybe 23mmx30mm
One SD I have is named Zap microSD 512MB could that then be not compatible being too old and slow?
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
"micro" is no good, need the standard SD size. Sure, there is an adapter but that I see as another bottle neck. We try to avoid those .nooby wrote: One SD I have is named Zap microSD 512MB could that then be not compatible being too old and slow?
Are you getting a raspberry pi nooby? If not you can test with qemu. There is a nice "howto" by our friend jamesbond .(See the "How To" section)
Edit; there you go! Link in below post.
Last edited by 01micko on Thu 12 Jul 2012, 12:58, edited 1 time in total.
Puppy Linux Blog - contact me for access
Re: Alpha 3 report & Going for the Holy Grail
See here, second post.rrolsbe wrote:Have an SSH daemon available on the Pi that would allow ssh, scp and ssh -X from a remote (more powerful machine) I think dropbear would suffice?
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
The Rpi Foundation recommend Class 4 and above (10 is the highest)buy new kind of Sd cards
If no class number it will probably not work.
Barry recommends Class 6 as a minimum and I would agree.
Even the same brand of Class 4 can be temperamental.
The Rpi Foundation or someone who gets through a lot recommends Transcend brand SD cards.
As far as I am concerned all SD cards are overpriced and not as reliable as solid state devices should be. However I do not hear complaints from phone and camera users? Are we stressing them more?
Barry is trying to minimise their read writes.
- antiloquax
- Posts: 405
- Joined: Fri 27 Jan 2012, 09:17
The other thing is that the different releases (due to firmware I guess??) work with different ranges of cards.Lobster wrote:Barry recommends Class 6 as a minimum and I would agree.
Even the same brand of Class 4 can be temperamental.
Puppy and Arch work on cards that the Debian Squeeze release will not tolerate.
I believe the way to go is to move the filesystem to a usb flash drive (or equivalent) and alter the commandline text file accordingly. This is how I do it with my Arch set up (using a USB3 Kingston Elitestick).
So far I am running Puppy off a card, but I might splash out on another high-speed usb flash stick thingy.
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.
"[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.
- antiloquax
- Posts: 405
- Joined: Fri 27 Jan 2012, 09:17
@ Lobster - if you are in the mood for some pets, this does work, but getting the "deb" - endencies in place might take a while!
And here's a little test program, if you want to see if it works.
markantiloquax wrote:Here's a link to my Python and Pygame pet. You'll need tcl and tk plus dev versions of sdl, sdl-image, sdl-mixer and sdl-ttf, linpng, lipjpeg, smpeg. In the Debian repos they are listed as "libsdl" whatever.
Python Arm pet
And here's a little test program, if you want to see if it works.
- Attachments
-
- pibounce.tar.gz
- (13.9 KiB) Downloaded 320 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.
"[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.
Thanks guys much appreciated. So RPi needs that bigger
and high quality version for to work then. I only have
the cheapest micro SD versions that came with the smartphones
I have a lot of USB flash though so would be good to have a computer for these
I have no RPi, I sure want to but hesitated when I saw the Sold out sign
some weeks ago.
I look forward to the Norwegian version or similar instead.
They seems to have better RAM and already in a case too.
No hurry I wait until late this year or next until it settle down
and people have decided on what will be the main thing to use.
and high quality version for to work then. I only have
the cheapest micro SD versions that came with the smartphones
I have a lot of USB flash though so would be good to have a computer for these
I have no RPi, I sure want to but hesitated when I saw the Sold out sign
some weeks ago.
I look forward to the Norwegian version or similar instead.
They seems to have better RAM and already in a case too.
No hurry I wait until late this year or next until it settle down
and people have decided on what will be the main thing to use.
Last edited by nooby on Fri 13 Jul 2012, 06:38, edited 1 time in total.
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
Hi,
I'm still not able to use german keyboard layout.
I can select e.g. azerty or sv-latin1 (Sweden). Both are working fine.
Using be-latin1 (Belgium) or gr (Greece), no success. Like de (German) or de-latin1, I allways have us keyboard layout when typing in a terminal.
I did also a new install with a new download. No change, same problem.
Selecting UTF-8 or not, doesn't matter.
This problem is new for me. It didn't happen in earlier versions of sap6 nor in other Puppies.
@Mick
pi_subsound_set-0.1-raspi.pet works fine for me. No problems with it.
~Rolf
I'm still not able to use german keyboard layout.
I can select e.g. azerty or sv-latin1 (Sweden). Both are working fine.
Using be-latin1 (Belgium) or gr (Greece), no success. Like de (German) or de-latin1, I allways have us keyboard layout when typing in a terminal.
I did also a new install with a new download. No change, same problem.
Selecting UTF-8 or not, doesn't matter.
This problem is new for me. It didn't happen in earlier versions of sap6 nor in other Puppies.
@Mick
pi_subsound_set-0.1-raspi.pet works fine for me. No problems with it.
~Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.
Raspberry Pi without Puppy? No, thanks.
Re: Alpha 3 report & Going for the Holy Grail
Barry/Rolf
Thanks for the posts! Since a swap partition existed, I didn't realize the swap partition was NOT being used in Alpha3. Running without swap when using /root from SDHC card is probably a good idea (guess it might crash if RAM is exhausted?).
BTW, copying the files needed for the omxplayer from my Debian Squeeze SDHC to Puppy no longer works. Guess something in the boot blob/firmware changed between Alpha 1 and 3 (get a strange vchiq lib error - /dev/vchiq does exist? Sure would like to use the omxplayer to watch mp4 videos with Puppy!
Thanks for the posts! Since a swap partition existed, I didn't realize the swap partition was NOT being used in Alpha3. Running without swap when using /root from SDHC card is probably a good idea (guess it might crash if RAM is exhausted?).
BTW, copying the files needed for the omxplayer from my Debian Squeeze SDHC to Puppy no longer works. Guess something in the boot blob/firmware changed between Alpha 1 and 3 (get a strange vchiq lib error - /dev/vchiq does exist? Sure would like to use the omxplayer to watch mp4 videos with Puppy!
BarryK wrote:You find a variable in /etc/rc.d/BOOTCONSTRAINED that you can comment-out. Though, that will also cause the swap partition on the SD card to load.rrolsbe wrote:Questions: I am running Puppy from /root on an external USB drive to improve performance. I also have a swap partition on the external drive, how do I make Puppy use it?
So, I recommend run:
# dd if=/dev/zero of=/dev/mmcblk0p3
to wipe the swap partition on the SD card.
@rrolsbe
You could try the pet here.
My Opera downloads it as omxplayer-0.0.1.gz. If this happens for you too, just rename .gz to .pet.
~Rolf
You could try the pet here.
My Opera downloads it as omxplayer-0.0.1.gz. If this happens for you too, just rename .gz to .pet.
~Rolf
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.
Raspberry Pi without Puppy? No, thanks.
Raspberry Pi homepage has just posted (about 2200 GMT Thursday) a video narrated by Dom from the R_Pi Foundation, of the R_pi booting and navigating about the internet using the changes afforded by Raspbian. Most impressive! Apparently they are going to make it a general release in the near future.
Dom is also overclocking his R_pi to 1.0 GHz in the video. I have been running at 850 MHz since I received it without problems, but my device would not boot at 1.0 GHz; 950 MHz, nope; 925 MHz, lots of error messages but no boot. It boots O.K at 900 Mhz. I'll try that for a while.
I have been trying out alpha-3 SAP. It does indeed boot much faster.
It looks like the inclusion of "find_cat" did not cure any of the major problems in PPM. Most programs I would look for in PPM could not be found (bad databases?). Updating the databases still gives the " line 1: syntax error: unexpected '(' ", requiring ctrl-c to get out.
I finally was able to find and install "Ace-of-Penguins" card games, but they installed under "Utilities/General Utilities" in the menus! But clicking on the name of the game in this incorrect location did ititiate a game.
After setting up an internet connection, it did not persist on a reboot. After setting the connection up again and browsing for a while, the "Active Interfaces" icon in the right-lower corner still has a red "X" through it and the message "Active Interfaces: None".
Dom is also overclocking his R_pi to 1.0 GHz in the video. I have been running at 850 MHz since I received it without problems, but my device would not boot at 1.0 GHz; 950 MHz, nope; 925 MHz, lots of error messages but no boot. It boots O.K at 900 Mhz. I'll try that for a while.
I have been trying out alpha-3 SAP. It does indeed boot much faster.
It looks like the inclusion of "find_cat" did not cure any of the major problems in PPM. Most programs I would look for in PPM could not be found (bad databases?). Updating the databases still gives the " line 1: syntax error: unexpected '(' ", requiring ctrl-c to get out.
I finally was able to find and install "Ace-of-Penguins" card games, but they installed under "Utilities/General Utilities" in the menus! But clicking on the name of the game in this incorrect location did ititiate a game.
After setting up an internet connection, it did not persist on a reboot. After setting the connection up again and browsing for a while, the "Active Interfaces" icon in the right-lower corner still has a red "X" through it and the message "Active Interfaces: None".