Author |
Message |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Wed 30 May 2012, 17:04 Post subject:
|
|
I love code snips. Thanks Karl...
I was just thinking earlier that Puppy`s sound quit working. Hummmm......
Lots of white out files, not all are sound. Do I really want to delete them all?
### Perhaps just the ones in /dev and /dev/snd ?
Code: | sh-4.1# find /initrd/pup_rw -name "*.wh.*"
/initrd/pup_rw/.wh..wh.aufs
/initrd/pup_rw/.wh..wh.plnk
/initrd/pup_rw/dev/snd/.wh.pcmC0D0p
/initrd/pup_rw/dev/snd/.wh.pcmC0D0c
/initrd/pup_rw/dev/snd/.wh.pcmC0D1p
/initrd/pup_rw/dev/snd/.wh.pcmC0D1c
/initrd/pup_rw/dev/snd/.wh.controlC0
/initrd/pup_rw/dev/snd/.wh.seq
/initrd/pup_rw/dev/snd/.wh.pcmC0D3p
/initrd/pup_rw/dev/snd/.wh.timer
/initrd/pup_rw/dev/.wh.sg4
/initrd/pup_rw/dev/.wh.adsp
/initrd/pup_rw/dev/.wh.dsp
/initrd/pup_rw/dev/.wh.mixer
/initrd/pup_rw/dev/.wh.sequencer2
/initrd/pup_rw/dev/.udev/links/inputx2fby-pathx2fplatform-pcspkr-event-spkr/.wh..wh..opq
/initrd/pup_rw/dev/.wh.audio
/initrd/pup_rw/dev/.wh.sequencer
/initrd/pup_rw/root/Startup/.wh.test_if_connected
/initrd/pup_rw/root/.packages/.wh.Packages-puppy-woof-official
/initrd/pup_rw/etc/.wh.windowmanager.openbox
/initrd/pup_rw/.wh..wh.orph
/initrd/pup_rw/usr/lib/xorg/modules/drivers/.wh.displaylink_drv.so
/initrd/pup_rw/usr/share/applications/.wh.flash-player-properties
/initrd/pup_rw/var/local/icons/.wh..wh..opq
/initrd/pup_rw/.wh.pinstall.sh |
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 4208 Location: Kiel,Germany
|
Posted: Thu 31 May 2012, 05:32 Post subject:
|
|
Quote: | /initrd/pup_rw/root/Startup/.wh.test_if_connected
/initrd/pup_rw/root/.packages/.wh.Packages-puppy-woof-official
/initrd/pup_rw/etc/.wh.windowmanager.openbox
/initrd/pup_rw/.wh..wh.orph
/initrd/pup_rw/usr/lib/xorg/modules/drivers/.wh.displaylink_drv.so
/initrd/pup_rw/usr/share/applications/.wh.flash-player-properties
/initrd/pup_rw/var/local/icons/.wh..wh..opq
/initrd/pup_rw/.wh.pinstall.s |
Don't know fore sure if these .wh. are of use for anything . The kernel driver " aufs " is configurable to show them or not . I also configured mine to show them, would be a TODO if i configure a kernel not to show them , how that behaves .. running mainly full , so no need for aufs for me ..
If there is a .wh. file for a file, writing to the normal file might not work anymore . The file gets corrupted . I experienced that with the important configuration file /etc/rc.d/PUPSTATE .
I wanted to have a backup of PUPSTATE and made a line mv PUPSTATE PUPSTATE.prev in rc.shutdown, which created that .wh.PUPSTATE file . Next boot appeared to work normal, but /init of initrd.gz writes to PUPSTATE every time and that seemed to corrupt the file . cat and source on it would not work : I/O Error . fsck could not handle it . Had to umount the PUPSAVE-FILE.2fs and delete the .wh. file and comment my line in rc.shutdown .
Probably this is caused because i put my line in after umounting -r pupsave-file layer, but i am not sure about this .
If you don't need the driver displaylink_drv.so and flash works for you or you even like to have flasplayer.so blocked and don't need to read or write to /etc/windowmanager.openbox .............
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Thu 31 May 2012, 21:18 Post subject:
|
|
Thanks Karl; I think I`ll try renaming the white files in /dev and /dev/snd.
They look to be sound files with names like: mixer, sequencer, audio, etc.
My girl friend asked if you were the famous Karel Gott.
But I said you spell your name differently. She`s a big fan of his.
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 4208 Location: Kiel,Germany
|
Posted: Fri 01 Jun 2012, 07:25 Post subject:
|
|
Karel Gott was very famous here in the 70's and 80's
PUR Biene Maja Karel Gott Live auf Schalke
Not a musical talent here .
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Fri 01 Jun 2012, 12:15 Post subject:
|
|
Hey Karl; Renamed the whiteout files and no sound.
So I ran Alsa config. again and now it works!
I`m left wondering what the heck deleted the sound devices in the first place.
Many thanks my friend ! Terry B.
# I`ll keep you up on what I`ve got going with stand-alone apps.
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 4208 Location: Kiel,Germany
|
Posted: Fri 01 Jun 2012, 14:00 Post subject:
|
|
udevd , the kernel and probably the modules deleted the sound device nodes while alsaconf rmmod 'ed the modules . The modules when loaded create the device nodes new, supported by udevd and rules in /etc/udev or /lib/udev to create the wanted permissions and ownerships like root:audio .
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Sat 02 Jun 2012, 03:45 Post subject:
|
|
Interesting... Almost seems like a bug. But I`m sure it`s standard procedure.
I`ve had the sound die on other Puppies, but maybe for different reasons.
I think this is very common for the 5xx series, I`ve seen lots of posts on it.
Perhaps make a fix script to automate what I did? And a menu button for it.
# I made a few stand-alone pkgs. by different methods. Working on tools now.
# I`m really excited about the Audacious music player pkg.
I made it entirely from Ubuntu Lucid binary files, and I modified the exec. files.
Seems to work well, as my methods get more refined I`ll post some SqApp files.
|
Back to top
|
|
 |
|