You are not logged in.

#1 2008-02-22 18:23:42

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

[request]kernel26 without alsa-driver

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

#2 2008-02-22 18:48:48

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [request]kernel26 without alsa-driver

You're supposed to make a diff, rather than remove alsa then put it back in.

Offline

#3 2008-02-22 19:56:52

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [request]kernel26 without alsa-driver

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

#4 2008-02-22 20:03:22

FeatherMonkey
Member
Registered: 2007-02-26
Posts: 313

Re: [request]kernel26 without alsa-driver

Offline

#5 2008-02-22 20:26:56

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [request]kernel26 without alsa-driver

Example:

cd /usr/src
diff -Naur linux/ linux-old/ > mypatch.diff

Offline

#6 2008-02-23 01:03:33

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [request]kernel26 without alsa-driver

I know how to use a patch, but creating it, knowing which code I have to change.


Use the Source, Luke!

Offline

#7 2008-02-23 10:21:24

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [request]kernel26 without alsa-driver

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

#8 2008-02-23 12:12:01

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [request]kernel26 without alsa-driver

I tried that, but it just tried to overwrite the kernels drivers.


Use the Source, Luke!

Offline

#9 2008-02-23 14:14:05

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [request]kernel26 without alsa-driver

Yeah, that's what it's supposed to do wink

Offline

#10 2008-02-23 14:54:32

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [request]kernel26 without alsa-driver

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

#11 2008-02-23 16:28:18

raeven
Member
From: the Herts of Crunchy Nut Land
Registered: 2008-02-19
Posts: 31
Website

Re: [request]kernel26 without alsa-driver

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

#12 2008-02-23 17:08:12

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [request]kernel26 without alsa-driver

And again this is going over my knowledge, I don't know which drivers I need.


Use the Source, Luke!

Offline

#13 2008-02-23 17:16:17

raeven
Member
From: the Herts of Crunchy Nut Land
Registered: 2008-02-19
Posts: 31
Website

Re: [request]kernel26 without alsa-driver

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

#14 2008-02-23 17:49:13

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [request]kernel26 without alsa-driver

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

#15 2008-02-23 18:15:40

raeven
Member
From: the Herts of Crunchy Nut Land
Registered: 2008-02-19
Posts: 31
Website

Re: [request]kernel26 without alsa-driver

am not really sure, what's the output of `lsmod|grep snd`

Offline

#16 2008-02-23 18:17:02

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [request]kernel26 without alsa-driver

I have no modules from alsa loaded, I managed to accidentally remove them from rc.conf...


Use the Source, Luke!

Offline

#17 2008-02-23 18:29:15

raeven
Member
From: the Herts of Crunchy Nut Land
Registered: 2008-02-19
Posts: 31
Website

Re: [request]kernel26 without alsa-driver

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

#18 2008-02-23 20:10:13

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: [request]kernel26 without alsa-driver

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

#19 2008-02-24 21:17:58

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [request]kernel26 without alsa-driver

To fix "Unknown symbol in module", *recompile* the module for your kernel.

Kernel modules should be recompiled every time you compile a kernel.

Offline

#20 2008-02-28 10:22:29

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 644

Re: [request]kernel26 without alsa-driver

raeven wrote:

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

Board footer

Powered by FluxBB