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 Sun 19 May 2013, 15:05
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Lucid Puppy 5.2.8 - Updated ISO Version 005 - APR 05 2012
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 46 of 155 [2322 Posts]   Goto page: Previous 1, 2, 3, ..., 44, 45, 46, 47, 48, ..., 153, 154, 155 Next
Author Message
zekebaby

Joined: 17 Nov 2010
Posts: 45

PostPosted: Thu 01 Dec 2011, 20:47    Post subject:  

playdayz wrote:
Quote:
Try removing the /dev folder before shutting down and see if the volume icons come back at the next boot

zekebaby, deleting /dev caused big problems on reboot. The monitor was not auto detected and then X would not start????

. . . then try just deleting the /dev/snd folder and reboot. That also seemed to work for me. Don't do it from ROX though; add it to the latest shutdown script you can find. IIRC, I did the mod in snapmergepuppy in Wary (don't know if it exists in Lupu)
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1316
Location: Maine, USA

PostPosted: Thu 01 Dec 2011, 21:11    Post subject:  

zekebaby wrote:
. . . then try just deleting the /dev/snd folder and reboot. That also seemed to work for me. Don't do it from ROX though; add it to the latest shutdown script you can find. IIRC, I did the mod in snapmergepuppy in Wary (don't know if it exists in Lupu)
I have made the snapmergepuppy mod in my "patch-2" posted a few pages back:
http://www.murga-linux.com/puppy/viewtopic.php?p=583550#583550

Do you have a suggestion on how to change rc.shutdown to deal with /dev/snd? I could add it to my next patch. BTW, patch-2 has more of the wary updates to rc.shutsown, but I don't see anything about /dev/snd.
Richard
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1316
Location: Maine, USA

PostPosted: Thu 01 Dec 2011, 21:30    Post subject:  

In all the discussion about random loss of sound, no one has addressed what I suspect could be a factor. In analyzing Sylvander's diag files, I saw two sound cards with the same driver and hardware IDs, although their subsystem IDs were different. I suspect that the devices are not always discovered in the same sequence, so that either could end up as device 0, the default sound card.

Both of Sylvander's diags showed the older of the two cards as device 0, at the time that retrovol crashed. My guess is that there is something wrong with the older (built-in?) card that upsets retrovol (the speaker icon program). If Sylvander were to look at the setup while sound and retrovol are working, we could test that theory. Instead of getting a diag file, simply capture the output of the command:
cat /proc/asound/*
during a normal run would either confirm or rule out that card duplication as a cause.

In addition, it would be interesting to have those experiencing the problem run that command both while sound/retrovol is working and when it fails.

The command shows more than we need. The relevant files there are "cards" and "modules".
Richard
Back to top
View user's profile Send private message 
zekebaby

Joined: 17 Nov 2010
Posts: 45

PostPosted: Thu 01 Dec 2011, 21:37    Post subject:  

rerwin wrote:
zekebaby wrote:
. . . then try just deleting the /dev/snd folder and reboot. That also seemed to work for me. Don't do it from ROX though; add it to the latest shutdown script you can find. IIRC, I did the mod in snapmergepuppy in Wary (don't know if it exists in Lupu)
I have made the snapmergepuppy mod in my "patch-2" posted a few pages back:
http://www.murga-linux.com/puppy/viewtopic.php?p=583550#583550

Do you have a suggestion on how to change rc.shutdown to deal with /dev/snd? I could add it to my next patch. BTW, patch-2 has more of the wary updates to rc.shutsown, but I don't see anything about /dev/snd.
Richard

Hi Richard,

Look for comment #110224 in snapmergepuppy in the latest Wary to see the fix. I don't know if it works in rc.shutdown, which may run too early. The removal of /dev/snd needs to happen as late as possible.
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 2852
Location: West Lothian, Scotland, UK

PostPosted: Fri 02 Dec 2011, 04:52    Post subject:  

@rerwin

1. I printed out your instructions for a fix from many days back, but it looks rather difficult at 1st glance, and other urgent real-life tasks got in the way, so I've been waiting for the right moment to attempt it.
Is it still appropriate to try this?

2. "just deleting the /dev/snd folder and reboot. That also seemed to work for me. Don't do it from ROX though; add it to the latest shutdown script you can find."
(a) I've previously attempted to delete /dev using Xfe, and that failed to delete.
(b) How to add it [delete of /dev/snd] to the latest shutdown script? Instructions needed.

3. "IIRC, I did the mod in snapmergepuppy in Wary (don't know if it exists in Lupu)"
(a) What does this mean?
(b) What is IIRC?
(c) What is snapmergepuppy?

4. "In analyzing Sylvander's diag files, I saw two sound cards with the same driver and hardware IDs, although their subsystem IDs were different."
I think this donated/gifted hardware has 4-channel sound.
i.e. Surround-sound [via 2-off stereo channels perhaps].

5. "If Sylvander were to look at the setup while sound and retrovol are working, we could test that theory. Instead of getting a diag file, simply capture the output of the command:
cat /proc/asound/*
during a normal run would either confirm or rule out that card duplication as a cause.
"
(a) Would you like me to restore a pupsave backup [to get back to a working system], then run that command?
(b) What then?

6. "In addition, it would be interesting to have those experiencing the problem run that command both while sound/retrovol is working and when it fails."
(a) Once I know HOW [in detail], I could do it also during a fail-state.
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 4622
Location: GB

PostPosted: Fri 02 Dec 2011, 05:36    Post subject:  

Quote:
I saw two sound cards

For almost a decade, possibly even longer, boards have been issued with on-board sound. Folks intending to use posh add-in sound cards, including TV cards, 99-channel theatre sound, etc. should be aware of this. Writing out the on-board chip in BIOS is unreliable. It is necessary to look up the data sheet for the sound chip, identify the power-in, audio-in and audio-out leads and sever them with a scalpel. Then write them out in BIOS. These problems require radical action at the HW end. If you want to sell your board on eBay in ten years time, the on-board sound can be re-enabled with a judicious dab of solder on the cut pins. End of story.
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 2852
Location: West Lothian, Scotland, UK

PostPosted: Fri 02 Dec 2011, 06:29    Post subject:  

OK...
(A)
1. Phoned ErnieK who gave me this desktop PC...
And took a look inside [the side is permanently OFF], whilst on the phone.
Can't see very well; the PC is in the corner, poor access, could disconnect the cables and take it out to gain better access if needed/suggested.

2. There is an added PC sound card in place, but almost UNUSED.
i.e. There is a sound cable connected from the DVD-RW to the sound-card.
That's the only thing making use of it right now.

3. With on-board sound...
I have a splitter connected to the top/green/line-out 3.2mm jack socket, going to: 1=amplified speakers, and 2=an unamplified headset->[volume is OK, even using line signal].
And the headset mic jack going to the bottom/pink/mic socket.

(B)
What's the best thing to do with these?
1. Use only the better quality sound card, and disable the on-board sound in the BIOS Setup?
The manual shows "Chip Configuration->Onboard PCI Audio" [default=enabled, can be disabled]
I'd prefer to use the sound card methinks.
OR...
2. Remove the sound card, and use the on-board sound?
The manual shows "CD1" on mobo->[3 pins=left-audio,grnd,right-audio] for CD-drive audio->[I see this is not connected right now].
OR...
3. Have BOTH on-board AND the sound card enabled, and use both?
Is that possible?
OR...
4. Have the Puppy choose which or BOTH to use, and software-disable whatever is un-needed?

5. Why no sound problem with other Puppies, only Lupu-528 [not with Lupu-526]?
Back to top
View user's profile Send private message 
playdayz


Joined: 25 Apr 2008
Posts: 3705

PostPosted: Fri 02 Dec 2011, 07:20    Post subject:  

Sylvander, Thank you for the thorough testing. Here is the latest snapmergepuppy with the change that zekebaby recommended. You could try it on a fresh install of lupu-528.003.iso. No need for any other of the fixes. Let's see if this works.

Quote:
Why no sound problem with other Puppies, only Lupu-528 [not with Lupu-526]?

That is the big question of course. Have you confirmed that it does it in lupu-528.iso without any updates installed? But it could be that some other update was made that caused the snapmergepuppy problem to become serious. That may be grasping at straws though. Anyway, if the snapmerge business doesn't help I am going to give up.
snapmergefix.pet
Description 
pet

 Download 
Filename  snapmergefix.pet 
Filesize  3.69 KB 
Downloaded  65 Time(s) 
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 4622
Location: GB

PostPosted: Fri 02 Dec 2011, 08:22    Post subject:  

Congratulations! I have been doing HW diagnosis by phone and email for a long time and was 99% sure of your situation.
SW is one thing, but you will always run into problems unless you fix the HW once and for all.
Chances are that the add-in sound card is superior, that's why it was, errr, added.
Look up the specs of on-board and card chips to confirm which is best.
If you just want muzak in the background of indeterminate quality, rip out the add-in card and make do with the on-board sound.
If you need quality for feeding hi-fi, video phone, serious sound projects, it's time to take scalpel in hand and disable that on-board chip in the ways I described above.
There is absolutely no way you can guarantee no problems with the SW until you fix the HW. It may work initially with pd's clever SW manipulation, but one upgrade will break it again every time. Do it now, do it right.
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2252
Location: Japan

PostPosted: Fri 02 Dec 2011, 08:34    Post subject: snapmergepuppy  

Sorry i have not yet reviewed rerwin's code but deleting /dev/snd is good i think.
I proposed to Barry to remove whole /dev in the savefile, but Barry sais we need to keep symlinks.
Yes, we need to keep only symlinks user made but all the rest under /dev can be, should be, removed from the savefile.

EDIT:
Ah, recent woof is removing /dev/snd, It's OK as for sound.
What i want to say is removing whole /dev except symlinks is better. Because i sometimes got trouble with usb printers.

_________________
Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
kevin bowers

Joined: 20 Dec 2009
Posts: 143

PostPosted: Fri 02 Dec 2011, 09:09    Post subject:  

Sage wrote:
Congratulations! I have been doing HW diagnosis by phone and email for a long time and was 99% sure of your situation.
SW is one thing, but you will always run into problems unless you fix the HW once and for all.
Chances are that the add-in sound card is superior, that's why it was, errr, added.
Look up the specs of on-board and card chips to confirm which is best.
If you just want muzak in the background of indeterminate quality, rip out the add-in card and make do with the on-board sound.
If you need quality for feeding hi-fi, video phone, serious sound projects, it's time to take scalpel in hand and disable that on-board chip in the ways I described above.
There is absolutely no way you can guarantee no problems with the SW until you fix the HW. It may work initially with pd's clever SW manipulation, but one upgrade will break it again every time. Do it now, do it right.


Sage, I agree up to a point. Certainly doing it right is, well, righteous. However, please consider: very few people, even "technicians", can do surgery on PC boards, particularly multi-layer MoBos. I've been using soldering irons since I was 5 and I wouldn't attempt it without special equipment. Hacking out chips is a pretty good way to convert a MoBo into a patch for the hole in the drywall. Disabling the on-board sound in the BIOS is certainly worth trying if possible, and it's reversible. Another point: sound chips on modern boards have improved immensely over the last few years. I am currently using on-board audio for vinyl conversions and hi-fi editing with a high level of success. So I recommend either removing the redundant sound card or disabling the on-board stuff in BIOS lest we throw out the baby with the bathwater!
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 4622
Location: GB

PostPosted: Fri 02 Dec 2011, 09:50    Post subject:  

Horses & Courses, Kev!
Depends if you want OK or excellence.
And it really ain't rocket science or need special tools as you suggest.
Folks round here tend to be techno geeks. Mostly they are good at reading, good at searching and surfing, although comprehension is lacking amongst the usual suspects. The datasheet shows a square/rectangle with numbers around it and the keyway. The numbers correspond to a bunch of irrelevant functions apart from '+', 'in', and 'out'. After that, all you need for the radical solution is a magnifying glass like the one grandpa uses to read letters from the Revenue and a scalpel, with or without a holder (ask a friendly nurse?), or 'hobby' knife or even a new Stanley blade. It isn't necessary to tangle with the board inter-layers - the plastic blob is sitting there on the top. If you doubt your talents, then sever all its damn legs!
Those who regularly settle for less know what to expect - that's the message I was sending.
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 2852
Location: West Lothian, Scotland, UK

PostPosted: Fri 02 Dec 2011, 09:57    Post subject:  

(A) STEPS
31. Restored PupsaveHotBackup=5 using Wary-5.2.2, then reboot to Lupu-528.003->[with pmedia=ataflash in isolinux.cfg in the ISO]
32. Installed snapmergefix.pet

(B) All looks well, with loudspeaker icon displayed.
Let's see how long that lasts.
Will report back after some reboots.

@Sage
(C) I have a magnifying glass and a scalpel, but...
I think I'd rather use onboard sound than sever the connections.
Don't need high performance sound anyway.
I'll begin with the easy methods and [if that fails] work my way up to increasing difficulty, but only if/as/when necessary.
Back to top
View user's profile Send private message 
Brown Mouse


Joined: 09 Jun 2009
Posts: 435
Location: Tenerife Canary Islands

PostPosted: Fri 02 Dec 2011, 10:12    Post subject:  

Sage wrote:
After that, all you need for the radical solution is a magnifying glass like the one grandpa uses to read letters from the Revenue and a scalpel, with or without a holder (ask a friendly nurse?), or 'hobby' knife or even a new Stanley blade. It isn't necessary to tangle with the board inter-layers


How things have progressed!To think back when I worked for many years in the art of multi-layer repair and engineering changes to pcb's,I used a high powered Carl Zeiss microscope and a micro ball mill amongst other tools Smile
Back to top
View user's profile Send private message 
zekebaby

Joined: 17 Nov 2010
Posts: 45

PostPosted: Fri 02 Dec 2011, 10:25    Post subject:  

Sylvander wrote:

3. "IIRC, I did the mod in snapmergepuppy in Wary (don't know if it exists in Lupu)"
(a) What does this mean?
(b) What is IIRC?
(c) What is snapmergepuppy?

Here's the more detailed explanation.

I had the same problem with disappearing sound awhile ago in Wary. IIRC (If I Recall Correctly), I added a line to the /usr/bin/snapmergepuppy script to delete the /dev folder. Barry implemented my fix in Wary, but removed just /dev/snd to be more conservative. Look for comment #110224 in snapmergepuppy in the latest Wary to see the fix. Since Lupu doesn't run on this old laptop, I can't verify whether the snapmergepuppy actually script exists in Lupu.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 46 of 155 [2322 Posts]   Goto page: Previous 1, 2, 3, ..., 44, 45, 46, 47, 48, ..., 153, 154, 155 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.1112s ][ Queries: 12 (0.0280s) ][ GZIP on ]