[linux-audio-user] realtime problems

From: Atte André Jensen <atte.jensen@email-addr-hidden>
Date: Mon Aug 07 2006 - 11:24:07 EEST

Hi

I just installed xubuntu 6.06 on my T41 laptop. When I start jack like
this: "jackstart -R -d alsa -p 64" I get:

jackstart: cannot get realtime capabilities, current capabilities are:
            =ep cap_setpcap-e
     probably running under a kernel with capabilities disabled,
     a suitable kernel would have printed something like "=eip"

This is both with the stock kernel (2.6.15) and a 2.6.17 patched with
http://people.redhat.com/mingo/realtime-preempt/

Here's something from my .config:

atte@email-addr-hidden:~$ grep PREEMPT /usr/src/linux/.config
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT_DESKTOP is not set
CONFIG_PREEMPT_RT=y
CONFIG_PREEMPT=y
CONFIG_PREEMPT_SOFTIRQS=y
CONFIG_PREEMPT_HARDIRQS=y
CONFIG_PREEMPT_BKL=y
CONFIG_PREEMPT_RCU=y
# CONFIG_DEBUG_PREEMPT is not set
# CONFIG_CRITICAL_PREEMPT_TIMING is not set

Another thing: Supposed I get the realtime kernel running, one of my usb
keyboards (evolution mk-449c) is not recognized (tried both vanilla
2.6.17 and with the patch applied + the 2.6.17.7 w/wout patch). When I
plug it in I get this in dmesg:

[ 500.792000] usb 2-2.1: new full speed USB device using uhci_hcd and
address 4
[ 500.916000] usb 2-2.1: no configuration chosen from 1 choice

Needless to say, my alsa configuration is exactly the same with all
kernels, here's my /etc/modprobe.d/alsa-base:

atte@email-addr-hidden:~$ cat /etc/modprobe.d/alsa-base
# autoloader aliases
install sound-slot-0 modprobe snd-card-0
install sound-slot-1 modprobe snd-card-1
install sound-slot-2 modprobe snd-card-2
install sound-slot-3 modprobe snd-card-3
install sound-slot-4 modprobe snd-card-4
install sound-slot-5 modprobe snd-card-5
install sound-slot-6 modprobe snd-card-6
install sound-slot-7 modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd modprobe --ignore-install snd $CMDLINE_OPTS && { modprobe
-Qb snd-ioctl32 ; : ; }
install snd-pcm modprobe --ignore-install snd-pcm $CMDLINE_OPTS && {
modprobe -Qb snd-pcm-oss ; : ; }
install snd-mixer modprobe --ignore-install snd-mixer $CMDLINE_OPTS && {
modprobe -Qb snd-mixer-oss ; : ; }
install snd-seq modprobe --ignore-install snd-seq $CMDLINE_OPTS && {
modprobe -Qba snd-seq-midi snd-seq-oss ; : ; }

# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS
&& { modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx modprobe --ignore-install snd-via82xx $CMDLINE_OPTS
&& { modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 modprobe --ignore-install saa7134 $CMDLINE_OPTS && {
modprobe -Qb saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2

# i810
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-card-0

# ua-1a
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
alias snd-card-1 snd-usb-audio
alias sound-slot-1 snd-card-1

#evolution 1
alias snd-card-2 snd-usb-audio
alias sound-slot-2 snd-card-2
#evolution 2
alias snd-card-3 snd-usb-audio
alias sound-slot-3 snd-card-3
#evolution 2
alias snd-card-4 snd-usb-audio
alias sound-slot-4 snd-card-4

options snd-intel8x0 index=0
options snd-usb-audio index=1,2,3,4 vid=0x0582,0x0a4d,0x0a4d,0x0a4d
pid=0x0018,0x008e,0x008e,0x008f nrpacks=1

-- 
peace, love & harmony
Atte
Received on Mon Aug 7 12:15:02 2006

This archive was generated by hypermail 2.1.8 : Mon Aug 07 2006 - 12:15:03 EEST