You are not logged in.

#1 2005-07-22 10:21:10

cmp
Member
Registered: 2005-01-03
Posts: 350

Udev and Alsa

Hi, I migrated from devfs to udev and everything works fine, except alsa. everytime I boot into my system, no soundcard can be found. After I run 'sudo /sbin/udevstart' and unute master and pcm it works fine.
Is there a way to avoid this?

Offline

#2 2005-07-22 10:36:21

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Udev and Alsa

If udev is already in rc.conf daemons it should work- with the exheption of a few cards which need their module plus "snd-pcm-oss" listed in the modules section.
Currently not using udev at all, since hwd (the Arch way!) gives me better (and faster) results as a hardware detection daemon... you should give it a try. I have put it in the daemons array right after syslog-ng.


Microshaft delenda est

Offline

#3 2005-07-22 10:48:49

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Udev and Alsa

udev doesnt need to be in the /etc/rc.conf daemons.

It isnt a comparable thing to hwd either, its a totally different thing. You cant run hwd instead of udev.

are you sure you arent mixing up hotplug and udev?

You are either running devfs or udev scarecrow.

iphitus

Offline

#4 2005-07-22 10:57:56

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Udev and Alsa

did you run migrate-udev?

Offline

#5 2005-07-22 14:35:11

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: Udev and Alsa

I did run migrate-udev and have the right modules in my rc.conf. I'm starting hotplut (even if I don't need it, but haven't tried the udev deamon.
currently I have to run:
/sbin/udevstart
/usr/sbin/alsaconf

then the sound works, but everything else works flawlessly.

Offline

#6 2005-07-22 14:42:51

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Udev and Alsa

iphitus wrote:

You are either running devfs or udev scarecrow.

There is a third option -- static /dev. ;-)

It has nothing to do with hwd though.

Dusty

Offline

#7 2005-07-22 18:40:59

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Udev and Alsa

This could help:
http://bbs.archlinux.org/viewtopic.php?t=13687

It solved a similar problem for me.

Offline

#8 2005-07-22 19:08:49

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Udev and Alsa

iphitus wrote:

are you sure you arent mixing up hotplug and udev?

Ooops!  :oops:


Microshaft delenda est

Offline

#9 2005-07-23 12:35:58

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: Udev and Alsa

The sleep in my /etc/rc.d/alsa file does not work, even running alsamixer in x does not work, I do have to use /sbin/udestart beforehand.

Offline

#10 2005-07-24 11:53:09

cmp
Member
Registered: 2005-01-03
Posts: 350

Re: Udev and Alsa

I just have put /sbin/udevstart after the module loading in my rc.sysinit. now everything works again.

Offline

Board footer

Powered by FluxBB