LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-14-2006, 01:45 PM   #1
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
Upgrade to udev-080 > No more audio devices in /dev


Today I upgraded to kernel 2.6.15 and downloaded the latest udev (080) from kernel.org and built it with the official SlackBuild script for 064 (from slackware.com)

It compiled and installed fine, but now I have no audio/mixer/sound devices in /dev anymore, and thus no sound.

Alsaconfig works fine and recognizes my card as ali5451, but inbetween a couple of clear-screens, when it's about to set the new parameters, alsaconf says:

Loading ALSA mixer settings: /usr/sbin/alsactl restore
/usr/sbin/alsactl: load_state:1236: No soundcards found...

However, lspci prints it correctly as Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)

lsmod gives
Module Size Used by
radeon 108320 1
drm 66324 2 radeon
snd_pcm_oss 48736 0
snd_mixer_oss 17216 1 snd_pcm_oss
wlan_tkip 10752 2
ati_agp 6732 1
snd_ali5451 21132 0
snd_ac97_codec 93600 1 snd_ali5451
snd_ac97_bus 1984 1 snd_ac97_codec
snd_pcm 80008 3 snd_pcm_oss,snd_ali5451,snd_ac97_codec
snd_timer 20676 1 snd_pcm
snd 45348 6 snd_pcm_oss,snd_mixer_oss,snd_ali5451,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc 8840 1 snd_pcm
ath_pci 71196 0
ath_rate_sample 14728 1 ath_pci
wlan 132060 4 wlan_tkip,ath_pci,ath_rate_sample
ath_hal 146704 3 ath_pci,ath_rate_sample
tg3 101380 0
pcmcia 31508 4
yenta_socket 25420 4
rsrc_nonstatic 10432 1 yenta_socket
pcmcia_core 36304 3 pcmcia,yenta_socket,rsrc_nonstatic
agpgart 29704 2 drm,ati_agp


I'd really like to get my /dev/audio devices back, so any insight would be greatly appreciated!

-Y1

Last edited by Yalla-One; 01-14-2006 at 02:01 PM.
 
Old 01-14-2006, 02:09 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Recompile your kernel with the sound drivers as modules
 
Old 01-14-2006, 02:17 PM   #3
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Original Poster
Rep: Reputation: 36
They are already compiled as <M>odules - have done that since 2.6.12 ... Which is why this doesn't make much sense to me...

As you can see from my initial post with lsmod output, the modules are even loaded.

-Y1
 
Old 01-14-2006, 02:25 PM   #4
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Here's my lsmod:
Code:
lsmod
Module                  Size  Used by
psmouse                31236  0
i915                   16000  1
drm                    58900  2 i915
snd_pcm_oss            42144  0
snd_mixer_oss          14464  1 snd_pcm_oss
pcspkr                  1796  0
intel_agp              18204  1
i2c_i801                7308  0
i2c_core               15888  1 i2c_i801
snd_maestro3           20132  1
snd_ac97_codec         80416  1 snd_maestro3
snd_ac97_bus            2048  1 snd_ac97_codec
snd_pcm                69896  3 snd_pcm_oss,snd_maestro3,snd_ac97_codec
snd_timer              19076  1 snd_pcm
snd_page_alloc          8072  1 snd_pcm
snd                    42084  8 snd_pcm_oss,snd_mixer_oss,snd_maestro3,snd_ac97_codec,snd_pcm,snd_timer
prism2_cs              70536  1
p80211                 25872  2 prism2_cs
isofs                  29880  1
agpgart                26824  3 drm,intel_agp
The major difference I can see (Besides the video) is i2c. It is in charge of communication between various chunks 'o hardware. Maybe???
 
Old 01-14-2006, 02:33 PM   #5
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Original Poster
Rep: Reputation: 36
Hi again, and thanks for your answers!

I loaded the i2c modules, but it made no difference.

What puzzles me is that this worked perfectly before going to 2.6.15 and upgrading to udev 0.8.0 - could it be a udev problem?

Furthermore, the modules are loaded (ref my lsmod output), but still the alsactl claims "No soundcards found" - how could this be?

I can't find anything in the changelog indicating that this should break, but then again, I'm no expert...

-Y1
 
Old 01-14-2006, 02:42 PM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
I just went to 2.6.15 myself, but did not change udev. Sound is fine on mine. Don't know what to tell you
 
Old 01-14-2006, 02:45 PM   #7
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Original Poster
Rep: Reputation: 36
You managed to go to 2.6.15 and stay with Slackware's udev064 ? I read that was recommended against.. Anyway - when going latest udev from kernel.org I finally got my Synaptics touchpad to work correctly, so I'm reluctant to going back...

Thanks for your help!

Does anyone else have any ideas?

-Y1
 
Old 01-14-2006, 02:55 PM   #8
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
cwwilson721:
Udev is broken for certain things with 2.6.15, you need to upgrade to udev 071 as a minimum.

Yalla-One:
I'd reccommend you switch to udev 072 for 2.6.15 - I had trouble with the newer udev's (they didn't seem to come out right with the Slackware udev SlackBuild), and 071 broke the custom rules I had in /dev/input for my input devices.

Last edited by cathectic; 01-14-2006 at 02:56 PM.
 
Old 01-14-2006, 03:07 PM   #9
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
My udev is working fine. Detects my sound, usb devices, Alps Touchpad....

I have no reason to upgrade it. Sometimes the newest and greastest isn't so great
 
Old 01-14-2006, 03:10 PM   #10
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Original Poster
Rep: Reputation: 36
Thanks cathectic!

I finally narrowed the problem down to udev myself.

I'm running udev080, and even though /etc/rc.d/rc.udev is mode 755 and supposedly runs at startup, it doesn't properly create the /dev/sound/* device files - so when I re-run the /etc/rc.d/rc.udev afer boot, everything works fine. However, if I leave it as is, there are no sound devices in /dev, and thus no sound.

I do not know if this is due to me using a SlackBuild script written for udev064 on udev080, or if it's due to changes in udev (or another bug), but knowing that running /etc/rc.d/rc.udev manually again after boot fixes the problem, I suspect this is either due to a race condition or due to a script error.

Has anyone else had similar experience with the recent udevs?

-Y1
 
Old 01-14-2006, 04:57 PM   #11
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
I'd suggest you look here
http://piterpunk.info02.com.br/extra/
May be this fixes your problems.
It must be said udev dosen't work smoothly on Slack.
I recently changed to kernel 2.6.15 and udev 0.79 ,no longer hotplug helper.... It seems everything is working fine on my system.
At least it boots very fast
Ciao
 
Old 01-14-2006, 08:43 PM   #12
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
Quote:
My udev is working fine. Detects my sound, usb devices, Alps Touchpad....
I have a udev rule to ensure that there is always a symlink to my touchpad from /dev/input/touchpad - 2.6.15 breaks this with udev because of changes to the /sys input class.

Quote:
Has anyone else had similar experience with the recent udevs?
Yes, I did (besides problems cropping up when building the package). Hence I downgraded to 072 which played nice with the sound and my custom input device rules. If you want to move to one of the really new udev's, I suspect they need much more fiddling to get them to play nice - you can see from the ChangeLog's the difficulty even Pat has in getting udev to play nice on Slackware at the best of times.
 
Old 01-15-2006, 08:44 AM   #13
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Original Poster
Rep: Reputation: 36
The problem turned out to be with udev so downgrading to udev 064 from core Slackware solved the problem, except that breaks my synaptics mouse which is no big deal.

Then tried PiterPunk's packages for the new udev and associated rc.x scripts, but unfortunately that broke the system completely by refusing to mount root rw, and keeping it read-only. Will investigate when I have more time...

So for now, the problem is solved by keeping with the default Slackware udev version...

-Y1 (wishing for a stable, consistent udev release )
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Udev & devices trouble Macky Slackware 1 12-01-2005 02:11 PM
UDEV and Raw devices swissworks Slackware 6 09-14-2004 01:08 PM
Figuring out /dev audio devices klearcut Linux - Newbie 0 08-18-2004 10:51 AM
Help! udev created 51 sound devices! tamills Debian 2 05-17-2004 09:07 AM
udev and 51 sound devices! tamills Linux - Hardware 0 05-15-2004 05:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration