Adding this line to /etc/modprobe.d/sound seems to have fixed my problems (well, the ones related to the Intel sound card anyway!) :D:D
fukawi2 ~ $ cat /etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel enable_msi=1
Couple of "fixes" for it in there, but yea otherwise your going to have to wait for the ALSA guys to fix it, seems to be alot of working being done on hda recently so you might be lucky
]]>I think I'll just wait until 2.6.28 is released. I'll reinstall with 64-bit at the same time so I don't need to use PAE.
]]>1) Which kernel source do I need to download from kernel.org? 2.6.27 or 2.6.28?
2) Where to I find the alsa-kernel<really big number>.git file to download? All I can find is changelogs and commit information :s
Take the kernel source, and apply the RC4 'snapshot' against it using patch, THEN compile?
(Are you on IRC?)
]]>And yeah Ill be trolling the boards more than usual since I cant code atm due to taking the skin off my knuckles while doing some house work yesterday if you need someone to yell at lol. Typing one handed is fine.. coding no way
Will whatever is in this package be included in 2.6.28?
It is 2.6.28 just an early RC version with alsa patches that have not been added yet, but yes its pretty close to what 2.6.28 final will be.
]]>That help, or just as scary?
Yes - thanks for trying though.
I'm more concerned about screwing my kernel26-PAE that I've just got working than I am about getting sound working.
I'll give it a try though - see how I go. If I come back cursing and screaming - it's nothing personal
Will whatever is in this package be included in 2.6.28? I'm going to have to recompile my custom kernel anyway once that's released...
]]>The snapshots are the full linux kernel, you just need to unpack it the same way you did with linux-2.6.27.tar.bz2 or whatever it was you downloaded before. Put it in <kernel26 build dir>/src/ and rename the directory to linux-2.6.28, then update your PKGBUILD.
Or in commands the way I do it. (I use a static source dir so I can switch back and fourth without having to change anything in the sources=(...) in the PKGBUILD so you dont have to follow exactly what I do).
cd kernel26/src/
mv linux-2.6.27 l27 #backup old src first.
tar xf ~/downloads/alsa-kernel.git-<really big number here>.tar.gz
mv alsa-kernel.git linux-2.6.28
cd ..
vim PKGBUILD
(also Im guessing you PKGBUILD is pretty standard so might want to back it up before all this)
<insert the stuff I posted above>
change these.
_basekernel=2.6.28
pkgver=2.6.28
source=(# the main kernel config files
config config.x86_64
# standard config files for mkinitcpio ramdisk
kernel26<!! put whatever name you are using in here !!>.preset)
md5sums=()
makepkg
That help, or just as scary?
]]>I need to recompile my kernel to include the latest Alsa? That sounds way over my head :S Maybe I'll just wait for 2.6.28 or something...
I got my Nvidia drivers working again no problem - just recompiled from ABS against my custom kernel.
]]>Nvidia driver is a bit of a hassle with the new kernel though, Ive done all the googling for you earlier today when I built mine
For the PKGBUILD you need this (the bit with the comments around it) after the cd $startdir line. Its a total hack so I didn't worry about it being pretty
It relies on the src/linux-xxx dir being there, as the alsa kernel is packed into alsa.kernel or something, just rename it to linux-2.6.28.
cd $startdir/pkg/usr/src/linux-${_kernver}/include && ln -s asm-$KARCH asm
###########
# HACK : NV 177.80
cp -R $startdir/src/linux-${_basekernel}/arch/$KARCH/* \
$startdir/pkg/usr/src/linux-${_kernver}/arch/$KARCH/
mv asm-$KARCH/asm-offsets.h ../arch/$KARCH/include/asm/
rm -rf asm-$KARCH
ln -s ../arch/$KARCH/asm asm-$KARCH
###########
Then whack this patch in the nvidia PKGBUILD where it says to put patches.
http://andrew.nelless.net/patches/nvidi … 6_28.patch
Why do you have all the disabled modules in rc.conf?
That's my latest attempt at getting it to work this morning after reading another post on the forum. It make no difference - up until just before I posted, there was nothing disabled in there and it still performed exactly the same
]]>I've spent ages trying to get this going, but I've only gotten part of the way there.
The problem at the moment is, when I try to play a WAVE file as per below, the first (I'm guessing here) 500ms of the file just loop and stutter over and over again.
fukawi2 ~ $ aplay /usr/share/sounds/purple/login.wav
Playing WAVE '/usr/share/sounds/purple/login.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo
^CAborted by signal Interrupt...
fukawi2 ~ $
It keeps going until I ^C the process.
Same thing if I try to play and MP3 in VLC... VLC says it's playing, but only the first half-a-second stutters over and over again
rc.conf:
MODULES=(r8169 !snd-mixer-oss !snd-pcm-oss !snd-hwdep !snd-page-alloc !snd-pcm !snd-timer !snd snd-hda-intel !soundcore)
DAEMONS=(@syslog-ng !network hal dhcdbd networkmanager netfs @crond @sshd @openntpd @alsa @fail2ban)
lspci | grep Audio:
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
aplay -l
**** List of PLAYBACK Hardware Devices ******** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
aplay -L
default:CARD=Intel
HDA Intel, STAC92xx Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
Discard all samples (playback) or generate zero samples (capture)