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 Wed 23 Apr 2014, 21:21
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
ALSA library compatibility
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [24 Posts]   Goto page: 1, 2 Next
Author Message
tempestuous

Joined: 10 Jun 2005
Posts: 5139
Location: Australia

PostPosted: Sat 17 Mar 2007, 23:27    Post subject:  ALSA library compatibility  

I see quite a few problems with ALSA setup on the forum, and I'm now wondering if some might be caused by the mismatch of ALSA modules, libraries, and utilities currently in Puppy.

What commonly happens is that with each kernel upgrade the ALSA modules are also upgraded, but there can then be compatibility problems with the older ALSA libraries.
alsamixer, for example, can start to display the sound card's features incorrectly. Or in one case I (when I compiled a new kernel in Vector Linux) alsamixer failed to launch with many error messages.
It appears to be good practice to match the version of ALSA libraries, utilities, and kernel modules.

So what's the current situation in Puppy?
Puppy 2.14 has ALSA modules from ALSA 1.0.12rc1, which it inherits from its 2.6.18.1 kernel. This can be seen in /<kernelsource>/include/sound/version.h

I don't know what source was used for the ALSA libraries and utilities, but I suspect that it was from the T2 source repository that Barry used to compile the main libraries when Puppy moved from version 2.02 to 2.10.
alsaconf is v1.0.8
alsamixer is v1.0.11

I suggest that it would be worthwhile upgrading the ALSA libraries and utilities to 1.0.12rc1, to match the ALSA modules.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5139
Location: Australia

PostPosted: Wed 21 Mar 2007, 05:32    Post subject:  

Well, it seems my suggestion did not resonate with anyone having audio problems.
I have gone ahead and compiled the compatible ALSA libraries and utilites, and I suggest anyone having ALSA setup problems might do well to try them.
UPDATE: these ALSA libraries are compatible ONLY WITH Puppy 2.12-2.16.

EDIT March 28 2007: alsa-lib package fixed and re-attached.

EDIT April 15 2007: alsa-utils package fixed to remove "standard" alsaconf.
If you already installed this package earlier, re-install the Puppy-compatible alsaconf, available as attachment to later post.
ALSA-utils-1.0.12rc1.pet
Description 
pet

 Download 
Filename  ALSA-utils-1.0.12rc1.pet 
Filesize  111.1 KB 
Downloaded  1890 Time(s) 
ALSA-lib-1.0.12rc1.pet
Description 
pet

 Download 
Filename  ALSA-lib-1.0.12rc1.pet 
Filesize  314.19 KB 
Downloaded  1752 Time(s) 

Last edited by tempestuous on Sat 21 Mar 2009, 02:13; edited 3 times in total
Back to top
View user's profile Send private message 
WhoDo


Joined: 11 Jul 2006
Posts: 4441
Location: Lake Macquarie NSW Australia

PostPosted: Wed 21 Mar 2007, 08:08    Post subject:  

tempestuous wrote:
Well, it seems my suggestion did not resonate with anyone having audio problems.
I have gone ahead and compiled the compatible ALSA libraries and utilites, and I suggest anyone having ALSA setup problems might do well to try them.

Thanks, tempestuous. I have downloaded and will include with Puppy 2.15CE RC2/Final after testing.

Cheers

_________________
Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5139
Location: Australia

PostPosted: Wed 21 Mar 2007, 09:06    Post subject:  

Oh, I was assuming that these packages might be tried in Puppy 2.14, rather than being added to a new Puppy version.
OK, it seems that Puppy 2.15 now includes these libraries.

Last edited by tempestuous on Sat 14 Apr 2007, 12:17; edited 1 time in total
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5139
Location: Australia

PostPosted: Tue 27 Mar 2007, 23:39    Post subject:  

A symlink was wrong in the alsa-lib package above. I just fixed it.
This problem was small, but serious.
The original package was downloaded 8 times, why did no one report the problem?
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 28 Mar 2007, 03:54    Post subject:  

Have put a link here
http://puppylinux.org/wikka/sound

_________________
Puppy WIKI

Last edited by Lobster on Wed 05 Nov 2008, 08:55; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
tempestuous

Joined: 10 Jun 2005
Posts: 5139
Location: Australia

PostPosted: Sat 14 Apr 2007, 12:19    Post subject:  

WhoDo,
Apologies! My alsa-utils package installed the "standard" alsaconf, which overwrote the customised version Barry provided to accommodate the way that Puppy's drivers load from the zdrv file.
Thus, alsaconf from my package will fail to work, and setup of the ALSA drivers will fail in many cases.

I have just fixed the alsa-utils package (April 15 2007) and re-attached it.
I now also attach the original alsaconf, which is Puppy-compatible, and should fix the problem in recent releases of 2.15, and for anyone else who installed my alsa-utils package before April 15.
alsaconf-original.pet
Description 
pet

 Download 
Filename  alsaconf-original.pet 
Filesize  10.1 KB 
Downloaded  1374 Time(s) 
Back to top
View user's profile Send private message 
cegil

Joined: 05 May 2006
Posts: 24

PostPosted: Sun 15 Apr 2007, 17:53    Post subject: ALSA library compatibility  

I did the three ALSA downloads, but I don't know what to do or which/what to run? I ran the ALSA sound wizard, but it looks like
it is running what was already included in the distribution, huh?
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Tue 17 Apr 2007, 14:38    Post subject: Re: ALSA library compatibility  

cegil wrote:
...but I don't know what to do or which/what to run

Here's what works for me:

Download all three of the dot-pets provided above, then install them in the order shown below:

For each one, go

1. Right-click "Download" in the forum dialog box.

2. Open in New Tab.

3. A dialog box willl appear, titled "Opening alsa...pet"
--Left-click "Save it to disk," then "OK"

4. On the first one (choose ALSA-lib-1.0.12rc1.pet), do the following (not necessary on the two others):
--Click "Browse for other folders"
--Click "root" button, then "my-applications", then "Save" (if you are in 2.14 using the jwm windowmanager, you may have to drag the window up a bit to see the "Save" button).

5. On the second two (alsaconf-original.pet and ALSA-utils-1.0.12rc1.pet), just click Save, the dialog box will already point to /root/my-applications.

6. After you download all three, now open a Rox window, go to /root/my-applications, and left-click-and-install them in this order:

ALSA-lib-1.0.12rc1.pet
alsaconf-original.pet
ALSA-utils-1.0.12rc1.pet

7. Menu - Shutdown - Restart X Server.

8. Menu - Utility - rxvt and issue the command

fixmenus

9. Again do Menu - Shutdown - Restart X Server.

Now you can do Menu - Setup - ALSA sound wizard.

I've tried this on a P3 running 2.14 and a P4 running 2.15CE-Final (patched) and it works; the P3 had the can't-find-ESS1868-ISA-card issue, and this cures it. Please note that it does take a few seconds for the "Driver Selection" window to appear, if you don't have a PCI card and choose to "Probe ISA cards."

HTH,
SHS
Back to top
View user's profile Send private message 
cegil

Joined: 05 May 2006
Posts: 24

PostPosted: Sat 21 Apr 2007, 18:15    Post subject:  

I just did the above steps, but when I start ALSA setup, it still
shows as ALSA WIZARD ver 1.0.8 ... looks like I have to do
something else to force it to ver 1.0.12, huh?
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Sat 21 Apr 2007, 19:26    Post subject:  

What I give above is a "one-size-fits-all" fix. I designed it to correct every problem I could think of and (***EDITED: well, actually that's giving myself too much credit; I should say, "I'm suggesting you install tempestuous's packages in this order and stop at the original alsaconf, because I believe this will solve the problem and just..."***) work no matter which of the various reported ways people have tangled their shoelaces. It addresses actually several reported losses of alsaconf or sound capability, some of which happened after a version upgrade, and others of which seem to spring from a conflict somehow with xvesa which I'm still tracking down.

If you want to see "version 1.0.12rc1" when you start alsaconf, so everything seems consistent, you can carry it one step further: do the above procedure, and then copy /usr/sbin/alsaconf in from the liveCD of 2.15CE. It may work. But I wouldn't guarantee it, particularly if you are using a version of 2.15CE prior to the last Final, or if you are using 2.14 or earlier, or if the problem stems from the xvesa bug.

If the procedure (without copying the 2.15CE alsaconf in) makes alsaconf work OK, and you then copy the 2.15CE alsaconf over, and now it doesn't work, then I would like to know:

1. In what manner does it fail?
and
2. What version of Puppy do you have, and how installed? Clean install, or an upgrade?
and
3. Are you using xorg or xvesa?

Rgds,
SHS

Last edited by Sit Heel Speak on Mon 23 Apr 2007, 20:33; edited 1 time in total
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5139
Location: Australia

PostPosted: Sat 21 Apr 2007, 21:23    Post subject:  

The correct version of alsaconf to use is the original one which Barry modified to be Puppy-compatible.
The actual version of this utility does not really matter. It's just a script.

The updated ALSA 1.0.12rc1 packages are most important for the core ALSA library, libasound.so.2.0.0, and alsamixer. All other ALSA utilities are not so important.
Back to top
View user's profile Send private message 
jonyo

Joined: 28 Dec 2006
Posts: 2727

PostPosted: Sun 22 Apr 2007, 12:22    Post subject:  

I haven't sorted out alsa..as in when it doesn't work on various setups, I don't know how to go about fixing it.. Confused It either works or doesn't when I run live cd save file to HD on boot.

Mentioned it in another thread that on this desktop, had no sound with 2.12 &3 but once I booted with 2.15 Bingo Exclamation had sound for the first time. Very Happy
--------------------------------------------
Compaq Presario SR 2020NX Athlon 64
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5139
Location: Australia

PostPosted: Mon 23 Apr 2007, 11:43    Post subject:  

jonyo wrote:
... had no sound with 2.12 &3 but once I booted with 2.15 Bingo Exclamation had sound for the first time.

2.12, 2.13, and 2.14 have mismatched ALSA modules/libraries as I mentioned in the first post. 2.15 has updated libraries.
It appears that the new libraries achieve a critical benefit in this instance.
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 1877
Location: The Blue Marble

PostPosted: Tue 15 May 2007, 03:41    Post subject:  

Hi,

I've just upgraded my box. Now it runs on nForce405 with ALC883 codec. I read in many places that:
1) the correct driver is snd-hda-intel
2) that it only works starting with 1.0.13

Unfortunately puppy 2.15CE only has 1.0.12 (thanks to tempestuous), and as a result = no sound in the new box. Running alsaconf doesn't detect it, and running modprobe snd-hda-intel loads the module but /proc/asound/cards shows nothing.

How difficult is it to upgrade to alsa 1.0.13 ?

Thanks !

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [24 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Suggestions
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.0746s ][ Queries: 13 (0.0050s) ][ GZIP on ]