Bug 133759
Summary: | adap kudzu to udev and improve index sound card | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Féliciano Matias <feliciano.matias> | ||||
Component: | kudzu | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3 | CC: | patpertusus, rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 1.1.113-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-04-22 18:29:13 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 136451 | ||||||
Attachments: |
|
Description
Féliciano Matias
2004-09-27 10:55:17 UTC
Created attachment 104360 [details]
improve index sound card
Add :
options snd-XXXX index=n
remove :
install snd-XXXX /sbin/modprobe ...
Since FC3 use udev, "alias snd-card-X snd-XXXX" is useless. snd-card-X is used to autoload module. But udev does not feet with autoloading. Also, "remove <module>..." in modprobe.conf does not support alias. So "modprobe -r snd-card-X" does not store the setting of the card. Perhaps it's time to remove this alias. The previous patch change module_upgrade.c . I don't test module_upgrade. "remove <module>" it's intentional that it doesn't support alias. Nothing will ever call 'modprobe -r snd-card-X', AFAIK; things will only remove the specific module. (and that's rare enough.) So, why to keep "alias snd-card-X ...." ? This alias is interesting in one case (AFAIK) : $ modprobe -c | grep "alias.*snd-card-" | cut -f 3 -d ' ' snd-ens1371 snd-via82xx kmodule also provide these informations : $ kmodule | grep AUDIO | cut -f 2 -d ' ' snd-via82xx snd-ens1371 Before udev (with a static /dev) this alias was usefull for autoloading sound modules. With udev we have to explicitly load the module (initscript, modprobe, etc). A version of this added in 1.1.112-1. Oops, 1.1.113-1. |