Most recent kernel where this bug did *NOT* occur: N/A, longstanding problem Distribution: Fedora Devel Hardware Environment: AMD X2 + CK804 + E-MU 1820m Software Environment: Init scripts Problem Description: Sometimes firmware loading of the E-MU 1820m audiodock fails, resulting on broken audio system and every LED of the audiodock on (light up as normal on init, does not light down every led but the ones in use after init) This has been happening interminently since the alsa driver was written on all the kernels I've used. Usually rebooting several times on the same kernel fixes the problem James Courtier-Dutton had requested a dmesg of a failing kernel, I had sent it to him before but never opened a formal bug Steps to reproduce: Just boot and look at the pretty lights
Created attachment 10694 [details] dmesg with broken e-mu 1820m init
still in 2.6.21-rc5-mm2
Created attachment 11110 [details] dmesg of a failed init
Created attachment 11111 [details] dmesg of a successful init
I've just uploaded 2 dmesg from the same kernel, taken at a few minutes of interval (after a reboot). Kernel is vanilla 2.6.21-rc6-mm1 + nouveau patch (orthogonal, had the failure way before it was available) The first boot failed initializing the hardware the second succeeded This is traced in the logs: emu1010: Card options=0x2 emu1010: Card options=0x2 emu1010: Card options3=0x2 +emu1010: Loading Audio Dock Firmware +firmware size=0x133a4 +emu1010: EMU_HANA+DOCK_IRQ_STATUS=0x36 +emu1010: EMU_HANA+DOCK_ID=0x55 +emu1010: Audio Dock Firmware loaded +Audio Dock ver:3.4
still occurs on current kernels
The correct fix to this is to implement a tasklet in the driver to monitor the plug/unplug of the audio dock, and then load the firmware as a result. I just have not had time to implement it.
Any updates on the problem? Do you think it's a good candidate for publishing as a "wanted feature" for takers? Thanks.
Fix is alsa-kernel hg repository: changeset: 5199:61295544011e tag: tip user: james date: Mon Jul 23 17:52:27 2007 +0100 summary: Summary:snd-emu10k1:Improves firmware loading for E-Mu cards. I have implemented a kthread to watch for the Audio/Microdock, and as it appears, it loads the firmware. Please verify the fix.
James, tahnks a lot I will test it ASAP. Which may not be too soon unfortunately, as I'm on the eve of leaving for summer holidays
Any update for this? Does it work for you now?
Is the patch already in 2.6.23? I usually test alsa-kernel in mm kernels, but Andrew has not released one for a month now :(
Ok, Andrew released a mm kernel at last, and it's reasonnably solid (only oopses on shutdown) so I could test latest alsa-devel while chain-rebooting The initialisation never failed, so I'll mark this as closed Thank you very much for the fix!