BarryK wrote:01micko, note that your file_sharing_no_bins has the x86 binaries in it still.
And
Gave credit to HairyWill, but that was Pnethood, sorry Kirk!
Just started woofing an Armedslack... if it works I'll post some diffs for woof.
BarryK wrote:01micko, note that your file_sharing_no_bins has the x86 binaries in it still.
Any of the multimedia based distros must have done (not tried any)I wonder if any of the other distros have fixed these sound problems?
You need to set hdmi_drive=2 in the config.txt and then on boot modprobe snd_bcm2835
Code: Select all
program_name /usr/local/petget/find_cat: line1: syntax error: unexpected "("
Code: Select all
amixer cset numid=3 1
Code: Select all
amixer cset numid=3 2
Looks like that software decoding is too much for the Rasp. Maybe changing the ARM/GPU memory split in start.elf could help a little bit? Not tested.Milhouse wrote:The Raspberry Pi Foundation have indicated that a codec pack (for MPEG2, DTS, DD etc.) with full GPU acceleration may be made available for the current Pi's "for under £10" at some point in the future. The cost is to satisfy the licensing requirements, but certainly a more powerful Raspberry Pi is not required.
Once available, current Pi's should be able to decode (and maybe even encode) pretty much anything using just the GPU.
Good news.Yes - I have been quite busy - but mainly with programming things. The last issue of the MagPi had something by me on Scratch and I am hoping to get something in the next issue - a game in Python.
I need to upload latest Woof, will do that asap.01micko wrote:I'm just installing my "SLR" (SLacko for Rasberry Pi, built from Armedslack-13.37) to an SD card, used Barry's kernel, latest .img (july 7).
It will be a very different build (if it works). It has later Alsa than Debian, see if that makes a difference to sound.
If the image works but sound doesn't I might try a build from -current.
LATER: boo.... kernel panic on boot.... hmmm..
"Kerenel panic - not syncing: No init found. Try passing init= option to kernel. See Documentation/init.txt for guidance."
I am jealous that you guys have working sound, even if it is stuttering!rhadon wrote:Audio, mp3:for headphones/ audio jackCode: Select all
amixer cset numid=3 1
andfor hdmi works fine with gxineCode: Select all
amixer cset numid=3 2
Video is la little bit less stuttering with gxine than with gnome mplayer. In both cases no full sceen possible. VLC isn't reliable with Rasp.
Thanks!BarryK wrote:I need to upload latest Woof, will do that asap.
Code: Select all
diff -ru playmusic-0.1.7/funcrcfileWrite playmusic_mplayer-0.1.7/funcrcfileWrite
--- playmusic-0.1.7/funcrcfileWrite 2011-12-06 22:41:30.000000000 +1000
+++ playmusic_mplayer-0.1.7/funcrcfileWrite 2012-07-10 08:00:51.383796981 +1000
@@ -25,19 +25,25 @@
## Write the players section.
if [ $1 = new ]; then
## Find a flac player.
- if [ -n "`which flac123`" ]; then flac="flac123 -q"; fi
+ if [ -n "`which flac123`" ]; then flac="flac123 -q"
+ elif [ -n "`which mplayer`" ]; then flac="mplayer -ao alsa"
+ fi
- ## Find an mp3 player.
- if [ -n "`which mpg123`" ]; then mp3="mpg123 -q"
+ ## Find an mp3 player. #prefer mplayer on raspi
+ if [ -n "`which mplayer`" ]; then mp3="mplayer -ao alsa"
elif [ -n "`which mpg321`" ]; then mp3="mpg321 -q"
elif [ -n "`which madplay`" ]; then mp3="madplay -q"
fi
## Find an ogg player.
- if [ -n "`which ogg123`" ]; then ogg="ogg123 -q"; fi
+ if [ -n "`which ogg123`" ]; then ogg="ogg123 -q"
+ elif [ -n "`which mplayer`" ]; then ogg="mplayer -ao alsa"
+ fi
## Find a player for other.
- if [ -n "`which playsound`" ]; then other="playsound"; fi
+ if [ -n "`which playsound`" ]; then other="playsound"
+ elif [ -n "`which mplayer`" ]; then other="mplayer -ao alsa"
+ fi
## Find a wav player.
if [ -n "`which wavplay`" ]; then wav="wavplay -q"
diff -ru playmusic-0.1.7/main playmusic_mplayer-0.1.7/main
--- playmusic-0.1.7/main 2011-12-06 22:41:30.000000000 +1000
+++ playmusic_mplayer-0.1.7/main 2012-07-10 07:32:19.880379245 +1000
@@ -121,8 +121,9 @@
exit 1
fi
-## Create a temporary directory.
-TEMP_DIR=`mktemp -d --tmpdir ${TARGET}.XXXXXXXX`
+## Create a temporary directory. #hack for rpi 120710
+#TEMP_DIR=`mktemp -d --tmpdir ${TARGET}.XXXXXXXX`
+TEMP_DIR=`mktemp -dt ${TARGET}.XXXXXXXX`
if [ $? -ne 0 ]; then
echo "Error: Couldn't create temporary directory."
exit 1
.. and therein lies the problem. sdb1 will be a partition on the device, even though it may be the whole space on the device. Please just use sdb. The image needs to be written to the device, not a partition.peterw wrote: # unxz --stdout raspi-sd-4gb-sap6-5.95.img.xz | dd of=/dev/sdb
# sync
In my case it is sdb1
No, /dev/sdb1 is wrong. In your case it is /dev/sdbpeterw wrote:Hi
I am looking for suggestions as to what I am doing wrong. I can't get the Puppy SAP image to my SDHC. The history so far.
I have recently received my board. To get it to work reliably I had to add two parallel power supply wires to the +5V and 0V USB lead to achieve a stable 5V at the board TP1 and TP2. It then booted up the debian programme using their procedure to write it to the SDHC and my keyboard and mouse attached to a powered usb hub works fine.
Knowing my hardware is OK, I have then used Barry's procedure to write the image:
# unxz --stdout raspi-sd-4gb-sap6-5.95.img.xz | dd of=/dev/sdb
# sync
In my case it is sdb1
It writes the image but it is not then recognised by the system and does not produce an icon on the screen. dmesg shows that the SHDC is seen with errors (Unhandled sense error). If inserted to the board the PWR light comes on but not the OK green LED. To get the SDHCs to work again I have to use the HP usb utility.
I have tried this with two SDHCs and got the same result. I have also tried the raspberry pi method by uncompressing the SAP file and using a modified version of their command:
dd bs=1M if=raspi-sd-4gb-sap6-5.96.img of=/dev/sdb1
Looking at the debian SDHC it has a 75MB vfat partition and a large ext4 one. Should I have done something to the partition of the SDHC first?
Sorry this is bit of a ramble. I am running out of ideas.
Peterw
Ah yes, there is a problem with executables in /usr/games. I had better put that one on the to-do list.eowens2 wrote:A question about the Puppy Package Manager.
I wanted to add some board games to SAP Alpha2, so I entered "Ace-of-Penguins" to the "Find" field of PPM. PPM promptly found the file in debian-squeeze-main, I checked "examine dependencies" and PPM downloaded the file and any necessary dependencies and gave me a final "Successfully Installed" message.
I closed down PPM and went to the "Fun" menu, hoping to find some new games there, but there were no new items in the menu.
I went to the console and used "find" to look for *ace-of-penguins* and all of the files were found in various directories of "/usr" and a session can be initiated with something like "/usr/games/ace-frecell" or "/usr/games/ace-taipei".
So the question is, does PPM not install programs into Puppy's menus if they are not a dot-PET package?
Another observation about PPM. I must have somehow accidentally un-ticked "debian-squeeze-contrib" and "debian-squeeze-main" as repos, because they disappeared from the list at the top of the PPM main page. I clicked on "Configure package manager" and re-ticked those two repositories, clicked on "O.K." and exited PPM.
However on re-entering PPM, those two repos are still missing from the list (and if I again go into "Configure package manager", those two repos are again un-ticked).
When I look at /root/.packages/REPOS_DISTRO_COMPAT I find "http://us.debian.org/debian" which I assume is debian-main. PPM seems to be not remembering that I want to include debian-squeeze-contrib and debian-squeeze-main. Or do I need to edit REPOS_DISTRO_COMPAT?
Thanks!
Code: Select all
# aplay leave.wav
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4649:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2190:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:654: audio open error: No such file or directory
#