You are not logged in.
hi
udev works right now
and now a usefull link to more udev info
http://www.reactivated.net/udevrules.php
after update you have to reset your permsissions on everything
the file is called:
/etc/udev/permissions.d/udev.permissions
mine looks like that to get cdburning and audio working again as user
---snip
# disk devices
hdc:root:users:660
hdd:root:users:660
---snap
--snip
# audio devices
dsp*:root:users:0660
audio*:root:users:0660
midi*:root:users:0660
mixer*:root:users:0660
sequencer*:root:users:0660
sound/*:root:users:0660
snd/*:root:users:0660
beep:root:users:0660
admm*:root:users:0660
adsp*:root:users:0660
aload*:root:users:0660
amidi*:root:users:0660
dmfm*:root:users:0660
dmmidi*:root:users:0660
sndstat:root:users:0660
---snap
to get cdrom dvd and cdrecorder links if you want them
add to your (change it for your needs)
/etc/udev/rules.d/udev.rules
---snip
# cdrom/dvd links
KERNEL="hdc" SYMLINK="dvd"
KERNEL="hdd" SYMLINK="cdrecorder cdrom"
# ide block devices
BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", NAME="%k", SYMLINK="%c{1} %c{2}"
---snap
important the KERNEL="hdx" options must be entered before
BUS="ide", KERNEL="hd*" ...
because it won't work if you enter it after it.
that's it for right now
feel free to post more usefull things about the subject right here
Offline
just installed udev last night, and it boots fine. However, I get a message during boot that my sound card could not be found. I use alsa. Anyone know what to do?
Thanks
-Khaz
Offline
Alsa not started in my box too.
Offline
did you note this part of tpowa's post?
etc/udev/permissions.d/udev.permissions
mine looks like that to get cdburning and audio working again as user
---snip
# disk devices
hdc:root:users:660
hdd:root:users:660
---snap--snip
# audio devices
dsp*:root:users:0660
audio*:root:users:0660
midi*:root:users:0660
mixer*:root:users:0660
sequencer*:root:users:0660
sound/*:root:users:0660
snd/*:root:users:0660
beep:root:users:0660
admm*:root:users:0660
adsp*:root:users:0660
aload*:root:users:0660
amidi*:root:users:0660
dmfm*:root:users:0660
dmmidi*:root:users:0660
sndstat:root:users:0660
if you look at the default for this file the permissions are root:root. change the second root to users as shown above.
AKA uknowme
I am not your friend
Offline
what you want to say with alsa not working?
if kde complains about /dev/dsp not readable check your permissions of /dev/dsp
does the module not load (try lsmod)
have you changed /etc/modprobe.conf?
mine looks like that
snip---
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.3 ---
alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-via82xx
# --- END: Generated by ALSACONF, do not edit. ---
snap--
i used alsaconf to set up alsa
have you changed /etc/rc.conf?
your modules should look like that:
MODULES=(!usbserial !ide-scsi rtc !via-agp nvidia ide-floppy snd-card-0 snd-pcm-oss parport parport_pc lp !usblp sd_mod)
or does your favorite music app not play any sound? (can be a permission problem wich i explained in the first post
or use your favorite mixer app to increase the volume)
please be more precise what's not working
alsa setup is not black art ;-)
Offline
yeah do you want to know how to restart udev to test symlinks etc.?
here are the commands to be run by root to restart udev:
/etc/./start_udev
mount /dev/pts
mount /dev/shm
Offline
Just a thought how about putting this in the Wiki
Mr Green
Mr Green
Offline
The way that I configured udev is to have a whole permissions and rules directory. This lets you have custom permissions and rules files that will never be overwritten.
If you want to add permissions to devices that aren't listed in udev.permissions, just create your own .permissions file in the same directory.
Same goes for rules.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
Hi,
I have udev mostly working OK for me but some driver modules are not loaded at boot-up, e.g. tulip driver de4x5, ide-cd, psmouse, parport_pc and lp, and snd-oss-***.
I originally had module auto-loading setup, using modprobe.devfs to specify driver modules to be loaded on demand. Now apparently we have loading on first detection but still don't really know how suitable driver modules are identified by udev/hotplug.
TIA for any info/hints.
Regards
Neoklis ... Ham Radio Call: 5B4AZ
Offline
udev doesn't do module autoloading based on accesses. Period. It's not designed to and it probably never will. All those aliases that you have will have to be loaded through rc.conf or using hotplug appropriately (on device connection).
If you want module autoloading, you have to go back to devfs.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
i'm not sure what the problem is. right when it finishes starting the network, i see a message flash that says something like ... sound card cant be found. it goes by so fast i cant read it. i looked in the /var/logs but i dont dont what im looking for. i ran alsaconf again, but that didnt work. i think it has something to do with the modules.
this is what my rc.conf looks lilke:
[/code]MODULES=(!usbserial !ide-scsi !8139too sk98lin nvidia snd-card-0 snd_emu10k1 snd-pcm-oss)
DAEMONS=(syslogd klogd !pcmcia network netfs crond alsamixer)
[code]
i noticed after looking at your modprobe that you have the hotplug daemon. mine doesnt? i tried adding the hotplug and i got even more errors on boot up.
this is what my modprobe looks like:
[/code]alias /dev/nvidia* nvidia
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.5 ---
options snd device_mode=0666
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
# --- END: Generated by ALSACONF, do not edit. ---[code]
i'm totally lost. im starting to think i need to remove udev... how would i do that ?
thanks for any adivce you have.
-khaz[/code]
Offline
All you got to do to get alsa going is to put the "right" module in rc.conf and edit your udev.permissions!
Maybe your module is this snd-emu10k1
arch + gentoo + initng + python = enlisy
Offline
This is what my udev looks like.
# audio devices
dsp*:root:users:0660
audio*:root:users:0660
midi*:root:users:0660
mixer*:root:users:0660
sequencer*:root:users:0660
sound/*:root:users:0660
snd/*:root:users:0660
beep:root:users:0660
admm*:root:users:0660
adsp*:root:users:0660
aload*:root:users:0660
amidi*:root:users:0660
dmfm*:root:users:0660
dmmidi*:root:users:0660
sndstat:root:users:0660
I changed the mod in rc.conf.. nogo.
Offline
looks good, does it not work?
arch + gentoo + initng + python = enlisy
Offline
no.
I dont know what else could be wrong.
Offline
this is what my disc devices look like. i cant get me cdrom to mount either. says :
[root@entropy jason]# mount /mnt/cd
mount: special device /dev/cdroms/cdrom0 does not exist
# disk devices
hd*:root:disk:660
sd*:root:disk:660
dasd*:root:disk:660
ataraid*:root:disk:660
loop*:root:disk:660
md*:root:disk:660
ide/*/*/*/*/*:root:disk:660
discs/*/*:root:disk:660
loop/*:root:disk:660
md/*:root:disk:660
Offline
Your cdrom must be specified in fstab.
Maybe it could be a permission problem, check your optical device section.
Is your soundcard still not found?
arch + gentoo + initng + python = enlisy
Offline
sound card is not working.
Offline
Take away snd-card-0 and snd-pcm-oss and reboot.
If snd-emu10k1 is the right module it should work.
arch + gentoo + initng + python = enlisy
Offline
no, did not work. my sound card worked fine before udev was installed.
Offline
What does $ alsamixer , give?
No sound card found or permission denied?
arch + gentoo + initng + python = enlisy
Offline
4 things:
- network (e100) is not working (rc.d/network start [FAILED])
- apache is not starting ([FAILED])
- keyboard is not working in x
- usb-storage and firewire external harddisks are not under /dev/discs/ nor /dev/sdX (kernel sees them, but i cannot find them under /dev )
- 2.4.x kernel do not boot at all (2.6.x is, so this is only minor trouble)
my MODULES:
MODULES=(e100 ide-scsi usb-storage scanner sr_mod sd_mod nvram !bluez hci_usb l2cap ohci1394 !thinkpad !smapi !rtcmosram !thinkpadpm snd-intel8x0 snd-pcm-oss lp intel-agp usbvision)
my DAEMONS:
DAEMONS=(syslogd klogd pcmcia hotplug crond !ifplugd network portmap cups fam proftpd httpd sshd !sfscd)
and network:
lo="lo 127.0.0.1"
eth0="dhcp"
eth2="dhcp"
INTERFACES=(lo eth0 eth2)
keyboard:
Section "InputDevice"
Driver "Keyboard"
Identifier "Keyboard[0]"
Option "MapName" "Standard Keyboard [ pc104 ]"
Option "Protocol" "Standard"
Option "XkbLayout" "de_CH"
Option "XkbModel" "pc101"
Option "XkbRules" "xfree86"
Option "RightAlt" "ModeShift"
EndSection
-> booting in devfs enabled kernel works, that's why i'm not angry on linux :-) ... general tip: add an alternative entry in your bootloader without the devfs=nomount, so you can boot into devfs until udev works for all things for you
any ideas how to solve these issues?
The impossible missions are the only ones which succeed.
Offline
well the sound is now working. i removed a daemon from rc.conf called alsamixer. when i first installed arch and was working on getting my sound card up i found somewhere in this forum a script that would save my alsamixer settings upon shutdown and restore them at boot.. looks like i dont need it at all.
i still havent figured out why my cd isnt mounting. any ideas?
Offline
ohh ... forgot: no alsa module got loaded too, so no sound as issue 5 :-(
The impossible missions are the only ones which succeed.
Offline
@khazdar
your device is not recognised at all. Strange....
@dp
udev don't like login managers! kakabaratruskias keyboard didn't work until he turned it off.
arch + gentoo + initng + python = enlisy
Offline