You are not logged in.
Hello
Could somebody be so kind to make a PKGBUILD based on kernel26 in core just without alsa-drivers included, so I can use my own alsa-driver package?
Use the Source, Luke!
Offline
You're supposed to make a diff, rather than remove alsa then put it back in.
Offline
Well you see the problem is that I dont know how to make a diff:)
Last edited by Roberth (2008-02-22 19:57:04)
Use the Source, Luke!
Offline
http://www.linuxforums.org/applications … patch.html does this help
Offline
Example:
cd /usr/src
diff -Naur linux/ linux-old/ > mypatch.diff
Offline
I know how to use a patch, but creating it, knowing which code I have to change.
Use the Source, Luke!
Offline
To just install the alsa 1.0.16 kernel drivers, there is an easier way: wget alsa-driver, unpack it, then run the usual inside its directory:
./configure
make
make install
Offline
I tried that, but it just tried to overwrite the kernels drivers.
Use the Source, Luke!
Offline
Yeah, that's what it's supposed to do
Offline
So that means I have to reinstall it each time I install a kernel? And after I've installed the new driver package, do I just need to modprobe the driver form alsa I want?
Anyway, when I installed alsa-driver and rebooted, it couldnt load a lot of modules from alsa.
Last edited by Roberth (2008-02-23 15:12:33)
Use the Source, Luke!
Offline
no
add an option in pacman.conf
...
[options]
NoUpgrade = [lib/modules/2.6.24-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko]
...
obviously replace [*] with the path to your kernel driver; it should not contain a leading slash '/'
Offline
And again this is going over my knowledge, I don't know which drivers I need.
Use the Source, Luke!
Offline
it's the files that are getting overwritten,
this option simply tells pacman not to overwrite them when you install or upgrade a pkg
'lib/modules/2.6.24-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko' is the location of snd_hda_intel my sound driver. your might be different
Offline
Ahhh okay, sorry I was a little bit confused, but what modules from alsa do I need to load now? My audio card's chipset is c-media 8788.
Last edited by Roberth (2008-02-23 17:58:56)
Use the Source, Luke!
Offline
am not really sure, what's the output of `lsmod|grep snd`
Offline
I have no modules from alsa loaded, I managed to accidentally remove them from rc.conf...
Use the Source, Luke!
Offline
i think the required module si cmipci
umm, `modprobe cmipci`, it should drag in all it's deps.
if you have sound i assume it should be ok to only install that file from your custom pkg, otjerwise you may end up having
to blacklist all the files in the pkg
Offline
Hm, I found out that I had to modprobe snd_cmipci, but then this appear:
bash-3.2# modprobe snd_cmipci
WARNING: Error inserting snd_mpu401_uart (/lib/modules/2.6.24-ARCH/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_opl3_lib (/lib/modules/2.6.24-ARCH/kernel/sound/drivers/opl3/snd-opl3-lib.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_cmipci (/lib/modules/2.6.24-ARCH/kernel/sound/pci/snd-cmipci.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Use the Source, Luke!
Offline
To fix "Unknown symbol in module", *recompile* the module for your kernel.
Kernel modules should be recompiled every time you compile a kernel.
Offline
no
add an option in pacman.conf
...
[options]
NoUpgrade = [lib/modules/2.6.24-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko]
...
obviously replace [*] with the path to your kernel driver; it should not contain a leading slash '/'
Isn't NoUpgrade directive deprecated?
"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
MSI Raider GE78HX 13VI-032PL
Offline