[linux-audio-user] timer resolution

Emanuel Rumpf x at branwelt.de
Thu Jan 19 16:02:24 EST 2006


Werner Schweer wrote:

>>On Wednesday 18 January 2006 17:41, Emanuel Rumpf wrote:
>>  
>>
>  
>
>>>>Werner Schweer wrote:
>>>>    
>>>>
>>    
>>
>>>>>>>>$ ls -lh /dev/rtc
>>>>>>>>crw-rw----  1 root audio 10, 135 2005-12-15 12:27 /dev/rtc
>>>>>>>>        
>>>>>>>>
>>>>        
>>>>
>>>>>>----------^^
>>>>>>if you are not in group audio, you dont have any permissions for /dev/rtc.
>>>>>>Please check with "id" command.
>>>>>>      
>>>>>>
>>>      
>>>
>>>>I'm in the audio-group   (debian system, 2.6.13)
>>>>
>>>>$ id
>>>>Groups=......25(floppy),29(audio),40(src),......
>>>>    
>>>>
>>    
>>
>>
>>ok, another thing i noticed:
>>
>>your "cat /proc/driver/rtc" gives
>>	...
>>	update_IRQ      : no
>>	periodic_IRQ    : no
>>
>>my configuration says:
>>
>>	periodic_IRQ    : yes
>>
>>Maybe you should disable HPET in your kernel. As far as i know nobody
>>is using it. Especially the kernel option "HPET Control RTC IRQ" 
>>may disable your /dev/rtc.
>>
>>/Werner
>>
>  
>
Now I disabled all options I found that contained the word HPET:

CONFIG_HPET_TIMER=n
CONFIG_HPET=n
CONFIG_HPET_MMAP=n

I also followed Martin Habets suggestion and set

CONFIG_RTC=y
CONFIG_GEN_RTC=n

and also
CONFIG_SND_RTCTIMER=m
to
CONFIG_SND_RTCTIMER=y


Without success.
-----------------------------------

Then I built a new kernel (2.6.15.1) (previos was  2.6.13)

Now the timer is working, but my usb card isn't anymore, while the pci
card is working.



jackd started with PCI-card (hw:0): (OK)

$ jackd -R -d alsa -d hw:0 -p512
jackd 0.100.0
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|512|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 512 frames, buffer = 2 periods
nperiods = 2 for capture
nperiods = 2 for playback


----------------------------------------------------------------------------------------------------


jackd started with USB-card (hw:1):  (FAILES)


$ jackd -R -d alsa -d hw:1 -p512
jackd 0.100.0
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:1|hw:1|512|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:1
configuring for 48000Hz, period = 512 frames, buffer = 2 periods
Note: audio device hw:1 doesn't support a 32bit sample format so JACK
will try a 24bit format instead
nperiods = 2 for capture
Note: audio device hw:1 doesn't support a 32bit sample format so JACK
will try a 24bit format instead
nperiods = 2 for playback
ALSA: could not start playback (Broken pipe)
DRIVER NT: could not start driver
cannot start driver
jackd watchdog: timeout - killing jackd
Aborted

--------------------------------------------------------------------------------------------------------



the snd-usb-audio module loaded successfully.
but jackd sais: cannot start driver.
any suggestions ?


Thanks for your help and inputs,
Emanuel









More information about the Linux-audio-user mailing list