[alsa-devel] PATCH - MIDI on ice1724 - real-time kernel problem SOLVED(?)

Martin Krüger m_a_krueger at gmx.de
Wed May 28 13:58:22 CEST 2008


Martin Krüger schrieb:
> Takashi Iwai schrieb:
>   
>> At Mon, 26 May 2008 12:54:32 +0200,
>> Martin Krüger wrote:
>>   
>>     
>>> Pavel Hofman wrote:
>>>     
>>>       
>>>> Martin Krüger wrote:
>>>>   
>>>>       
>>>>         
>>>>> Pavel Hofman wrote:
>>>>>     
>>>>> Hi, 
>>>>>
>>>>> thanks a lot for taking care for that issue. 
>>>>> I just tried it out by modifying the following files from the 2.6.26-rc3 kernel:
>>>>>
>>>>> sound/pci/Kconfig (modified by hand)
>>>>> sound/pci/ice1712/ice1712.h (modified by hand)
>>>>> sound/pci/ice1712/envy24ht.h (modified by hand)
>>>>> sound/pci/ice1712/ice1724.c (copied from the actual Git snapshot)
>>>>>
>>>>> I double-checked all the handmade changes, should be ok. 
>>>>>
>>>>> Midi in via "amidi -p hw:0 -d" works now without problem, 
>>>>> but when trying to write to the device, for example by "amidi -p hw:0 -s txdata.syx" 
>>>>> it causes an immediate crash. 
>>>>>
>>>>> That would not be a problem for me, but jackd probes all ports, and is unusable now.
>>>>>
>>>>> Perhaps i forgot a patch, is the output working for you? 
>>>>>     
>>>>>         
>>>>>           
>>>> Hello Martin,
>>>>
>>>> I did check the MIDI output using command
>>>>
>>>> amidi -p hw:0 -S F0411042110C000000000074FF0411042110C000000
>>>>
>>>> Ubuntu Studio 7.10, both -generic and -rt kernel, Audiotrak Prodigy 192, 
>>>> the original patch (I assume the current git version is identical).
>>>>
>>>> There was no MIDI device connected to the output as I have none.
>>>>
>>>> I traced if MIDI-out on Juli goes through the Xilinx CPLD, and it seemed 
>>>> the MIDI lines go straight to the connectors, just as on my Prodigy 192. 
>>>> Unfortunately, I do not have Juli available any more to test the patch.
>>>>
>>>> Please could you provide more details about the crash?
>>>>
>>>> Thanks,
>>>>
>>>> Pavel.
>>>> _______________________________________________
>>>> Alsa-devel mailing list
>>>> Alsa-devel at alsa-project.org
>>>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>>>>   
>>>>       
>>>>         
>>> Hello Pavel,
>>>
>>> i just compiled a new 2.6.25.4 kernel with realtime support. the kernel 
>>> is from kernel.org, so without any patches except the realtime patch 
>>> from the alsa wiki.
>>>     
>>>       
>> To be sure -- does 2.6.25.4 without realtime support work?
>>
>>
>> Takashi
>>   
>>     
> No. Not with an unpatched kernel set to "Preemptible Kernel (Low-Latency 
> Desktop) PREEMPT_DESKTOP". I didn't test the lower preemption modes.
>
> Martin
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>   
Hi,

i just compiled a 2.6.25-3 with Preemption disabled and i still get the 
the same.

Midi in works, Midi out leads to a complete system freeze.
Is there a workaroud of disabling just Midi out? That would solve the 
bug for me, and would prevent other users from freezing their system...

Thanks for your help,
Martin



More information about the Alsa-devel mailing list