Chosen Solution

I am getting no sound with the internal speaker nor the earphone jack. The operating system is OS X 10.5.8. What might the solutions be.

You may have broken the solder joints on the logic board. Here are similar posts on this issue: No sound from PowerBook G4 17" internal speaker after HDD change…

Replace your sound/power board. You can get them on crack bay (I call ebay site that cause buying there is so addictive) for about $30-$40.