Skip to contentSkip to conversation

1.0.13 and indigoio

DISCUSSION Dmitry Baikov 4 participants 24 messages Oct 5, 2006 – Dec 16, 2006 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello!

Echo Indigo IO refuses to work with alsa-driver > 1.0.11 with alsa-driver/alsa-firmware-1.0.12:

[ 4212.781000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
low) -> IRQ 177
[ 4212.781000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 4213.094000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level,
low) -> IRQ 185
[ 4213.163000] ALSA
/mnt/bits/portage/tmp/portage/alsa-driver-1.0.12/work/alsa-driver-1.0.12/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:46:
get_firmware(): Firmware not available (-2)
[ 4213.163000] ALSA
/mnt/bits/portage/tmp/portage/alsa-driver-1.0.12/work/alsa-driver-1.0.12/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:249:
Firmware not found !
[ 4213.163000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -2

with driver/firmware-1.0.13:

[ 4361.080000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
low) -> IRQ 177
[ 4361.080000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 4361.306000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level,
low) -> IRQ 185
[ 4387.819000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -5

Tested on x86 laptop and amd64 desktop with kernel: linux-2.6.18-gentoo.

it worked perfectly on x86 with linux-2.6.17-gentoo-r5 + alsa-driver/firmware-1.0.11
Can't test 1.0.11 with 2.6.18 as alsa-driver does not build.

Please CC me in your replies.

Dmitry.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#1 lore raw

At Thu, 5 Oct 2006 16:36:28 +0400,

Quoted 20 lines · Dmitry Baikov

Hello!

Echo Indigo IO refuses to work with alsa-driver > 1.0.11 with alsa-driver/alsa-firmware-1.0.12:

[ 4212.781000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
low) -> IRQ 177
[ 4212.781000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 4213.094000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level,
low) -> IRQ 185
[ 4213.163000] ALSA
/mnt/bits/portage/tmp/portage/alsa-driver-1.0.12/work/alsa-driver-1.0.12/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:46:
get_firmware(): Firmware not available (-2)
[ 4213.163000] ALSA
/mnt/bits/portage/tmp/portage/alsa-driver-1.0.12/work/alsa-driver-1.0.12/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:249:
Firmware not found !
[ 4213.163000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -2
Quoted 8 lines

with driver/firmware-1.0.13:

[ 4361.080000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
low) -> IRQ 177
[ 4361.080000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 4361.306000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level,
low) -> IRQ 185
[ 4387.819000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -5

Build with debug option. You should see more messages.

Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#2 lore raw
Quoted 1 line · Takashi Iwai

Build with debug option. You should see more messages.

[ 1090.574000] pccard: card ejected from slot 0
[ 1090.605000] PCMCIA: socket f7c0f828: *** DANGER *** unable to remove socket power
[ 1093.549000] pccard: CardBus card inserted into slot 0
[ 1093.549000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:2015: Echoaudio driver starting...
[ 1093.549000] PCI: Enabling device 0000:07:00.0 (0000 -> 0002)
[ 1093.549000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level, low) -> IRQ 185
[ 1093.549000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1932: chip=f7a0a014
[ 1093.549000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1962: pci=f7f4f000 irq=185 subdev=00a0 Init hardware...
[ 1093.549000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/indigoio_dsp.c:41: init_hw() - Indigo IO
[ 1093.549000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:43: firmware requested: indigo_io_dsp.fw
[ 1093.570000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:342: load_dsp: Set bad_board to TRUE
[ 1093.570000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:43: firmware requested: loader_dsp.fw
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:313: Resident loader failed to set HF5
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:53: firmware released
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:53: firmware released
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1978: init_hw err=-5
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1868: Stop DSP...
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:882: rest_in_peace() open=0
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:846: stop_transport 0
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:865: stop_transport: No pipes to stop!
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1873: Stopped.
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1884: MMIO freed.
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1890: Chip freed.
[ 1093.590000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -5

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

#4 lore raw
Quoted 1 line · Dmitry Baikov
[ 1093.590000] ALSA > /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:313: Resident loader failed to set HF5

The dsp-loader code failed loading. Unfortunately I have no idea on what happens and I can't debug what the DSP does. All I know is it didn't set that HF5 bit in a register after it apparently has received all the data.

Quoted 1 line

Forgot to add, the very first insertion works.

Uhm... I'll have a look at the code again.

--
Giuliano.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#5 lore raw
Quoted 3 lines · On Fri, 6 Oct 2006 12:19:47 +0200 (CEST) Giuliano Pochini…
Quoted 1 line

Forgot to add, the very first insertion works.

Uhm... I'll have a look at the code again.

Found nothing. I'll check outside the driver.

--
Giuliano.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#6 lore raw
Quoted 2 lines · Giuliano Pochini
Quoted 1 line

Uhm... I'll have a look at the code again.

Found nothing. I'll check outside the driver.

And take a look into hdsp thread. There's a possibility smth cardbus-related is broken in the kernel, I suppose.

Thank you.

Dmitry.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#7 lore raw
In reply to Dmitry Baikov

At Thu, 5 Oct 2006 16:49:16 +0400,

Quoted 14 lines · Dmitry Baikov
[ 1090.574000] pccard: card ejected from slot 0
[ 1090.605000] PCMCIA: socket f7c0f828: *** DANGER *** unable to remove socket power
[ 1093.549000] pccard: CardBus card inserted into slot 0
[ 1093.549000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:2015: Echoaudio driver starting...
[ 1093.549000] PCI: Enabling device 0000:07:00.0 (0000 -> 0002)
[ 1093.549000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level, low) -> IRQ 185
[ 1093.549000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1932: chip=f7a0a014
[ 1093.549000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1962: pci=f7f4f000 irq=185 subdev=00a0 Init hardware...
[ 1093.549000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/indigoio_dsp.c:41: init_hw() - Indigo IO
[ 1093.549000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:43: firmware requested: indigo_io_dsp.fw
[ 1093.570000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:342: load_dsp: Set bad_board to TRUE
[ 1093.570000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:43: firmware requested: loader_dsp.fw
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:313: Resident loader failed to set HF5

Then this must be a problem regarding the DSP access.

Giuliano, any clue?

(BTW, such serious error messages should be always shown even without debug option.)

Takashi

Quoted 11 lines
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:53: firmware released
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:53: firmware released
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1978: init_hw err=-5
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1868: Stop DSP...
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:882: rest_in_peace() open=0
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:846: stop_transport 0
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:865: stop_transport: No pipes to stop!
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1873: Stopped.
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1884: MMIO freed.
[ 1093.590000] ALSA /mnt/bits/portage/tmp/portage/alsa-driver-1.0.13/work/alsa-driver-1.0.13/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:1890: Chip freed.
[ 1093.590000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -5

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#8 lore raw
Quoted 5 lines · Takashi Iwai

At Thu, 5 Oct 2006 16:49:16 +0400,

Quoted 3 lines · Dmitry Baikov
[ 1090.574000] pccard: card ejected from slot 0
[ 1090.605000] PCMCIA: socket f7c0f828: *** DANGER *** unable to remove socket power

I wonder what this may cause. Dmitry said the first insersion works.

Quoted 6 lines

Then this must be a problem regarding the DSP access.

Giuliano, any clue?

(BTW, such serious error messages should be always shown even without debug option.)

"Resident loader failed to set HF5" is not more meaningful than a -EIO. The dsp doesn't provide any debug support, I haven't any doc on the hardware of any card and the firmware is in binary form. I just know something didn't work :(

--
Giuliano.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#9 lore raw

At Fri, 6 Oct 2006 12:26:20 +0200 (CEST),

Quoted 6 lines · Giuliano Pochini
Quoted 4 lines · Takashi Iwai

Then this must be a problem regarding the DSP access.

Giuliano, any clue?

Quoted 7 lines
Quoted 2 lines

(BTW, such serious error messages should be always shown even without debug option.)

"Resident loader failed to set HF5" is not more meaningful than a -EIO. The dsp doesn't provide any debug support, I haven't any doc on the hardware of any card and the firmware is in binary form. I just know something didn't work :(

Well, then the driver should show that is a DSP error. Currently, the only kernel message is that the probe failed with -5, and this isn't intuitive at all.

Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#10 lore raw
In reply to Giuliano Pochini
Quoted 4 lines · Giuliano Pochini
Quoted 3 lines
Quoted 2 lines · Dmitry Baikov
[ 1090.574000] pccard: card ejected from slot 0
[ 1090.605000] PCMCIA: socket f7c0f828: *** DANGER *** unable to remove socket power

I wonder what this may cause. Dmitry said the first insersion works.

Can it be the problem with linux-2.6.18?

I just reinstalled my repaired laptop and finally moved to 64-bit on desktop and experience these 2 problems with cardbus: echo and rme.

I'll try to test old working setup later today.

Dmitry.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#11 lore raw

linux-2.6.17-gentoo-r6, alsa-driver-1.0.11, alsa-firmware-1.0.11

booted without the card.

[4294713.088000] pccard: CardBus card inserted into slot 0
[4294713.140000] PCI: Enabling device 0000:07:00.0 (0000 -> 0002)
[4294713.140000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level,
low) -> IRQ 185
[4294713.248000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -5
[4294724.488000] pccard: card ejected from slot 0
[4294724.519000] PCMCIA: socket c18cb028: *** DANGER *** unable to
remove socket power
[4294734.271000] pccard: CardBus card inserted into slot 0
[4294734.271000] PCI: Enabling device 0000:07:00.0 (0000 -> 0002)
[4294734.271000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level,
low) -> IRQ 185
[4294734.292000] ALSA

/mnt/bits/portage/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/pci/echoaudio/echoaudio.c:2010:
Card registered: Indigo IO rev.0 (DSP56361) at 0x54000000 irq 185

cards works. Then:

[4294888.595000] pccard: card ejected from slot 0
[4294892.873000] pccard: CardBus card inserted into slot 0
[4294892.873000] PCI: Enabling device 0000:07:00.0 (0000 -> 0002)
[4294892.873000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level,
low) -> IRQ 185
[4294892.898000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -5
[4294901.091000] pccard: card ejected from slot 0
[4294901.122000] PCMCIA: socket c18cb028: *** DANGER *** unable to
remove socket power
[4294904.843000] pccard: CardBus card inserted into slot 0
[4294904.843000] PCI: Enabling device 0000:07:00.0 (0000 -> 0002)
[4294904.843000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level,
low) -> IRQ 185
[4294904.892000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -5
[4294976.527000] pccard: card ejected from slot 0
[4294976.558000] PCMCIA: socket c18cb028: *** DANGER *** unable to
remove socket power
[4294983.133000] pccard: CardBus card inserted into slot 0
[4294983.133000] PCI: Enabling device 0000:07:00.0 (0000 -> 0002)
[4294983.133000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level,
low) -> IRQ 185
[4294983.158000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -5

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#12 lore raw
Quoted 9 lines · Dmitry Baikov

linux-2.6.17-gentoo-r6, alsa-driver-1.0.11, alsa-firmware-1.0.11

booted without the card.

[...]

cards works. Then:

[4294892.898000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -5

I don't know what happens when the card is removed. From your log it seems that the pci_driver.remove() procedure is not called. Just to check it isn't an hardware issue: try to boot with the card in (you said it works), modprobe -r snd-indigo
modprobe snd-indigo
(probably the cards works)

modprobe -r snd-indigo
remove the card
reinsert it
modprobe snd-indigo

Does it work now ?

--
Giuliano.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#13 lore raw
Quoted 6 lines · Giuliano Pochini

that the pci_driver.remove() procedure is not called. Just to check it isn't an hardware issue: try to boot with the card in (you said it works), modprobe -r snd-indigo
modprobe snd-indigo
(probably the cards works)

Quoted 6 lines

modprobe -r snd-indigo
remove the card
reinsert it
modprobe snd-indigo

Does it work now ?

Yes.

Dmitry.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#15 lore raw
In reply to Dmitry Baikov
Quoted 1 line · On Fri, 6 Oct 2006 19:02:22 +0400 "Dmitry Baikov" <[email protected]> wrote:
[4294713.088000] pccard: CardBus card inserted into slot 0

What cardbus interface are you using ?

--
Giuliano.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#16 lore raw
Quoted 1 line · Giuliano Pochini

What cardbus interface are you using ?

on desktop:
00:07.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)

on laptop:
06:07.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller

Dmitry.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

A message that is not in the archive (sent off-list or not yet received): [email protected]

#18 lore raw
Quoted 5 lines · Giuliano Pochini

I'm short of ideas. I searched for infos and I found this page:

http://www.kernel.org/pub/linux/utils/kernel/pcmcia/powerbugs.html

but it is quite old info.

Thank you.
I'll report as soon as I test that solutions (in a few days).

Dmitry.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#19 lore raw
Quoted 6 lines · Giuliano Pochini
Quoted 5 lines

I'm short of ideas. I searched for infos and I found this page:

http://www.kernel.org/pub/linux/utils/kernel/pcmcia/powerbugs.html

but it is quite old info.

Sorry that few days lasted so long, but I have some results now.

Adding cardbus bridge's memory as a reserved region solved the "unable to remove power" problem.

Strangely enough, the page says it is needed only when cardbus region overlaps with system RAM and says ("Eg, if you have 1GB of RAM, the PCMCIA bridge memory resource must be above 0x40000000."). In my case it is at 0xb0116000 - well above. But the solution works somehow.

I didn't test the RME Cardbus yet, but think the issue will also be solved. Because "unable to apply power" error showed up only after "unable to remove power" one.

Regards,
Dmitry.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#20 lore raw
Quoted 2 lines

Adding cardbus bridge's memory as a reserved region solved the "unable to remove power" problem.

No, it does not solve. Messages appear again. But reinsertion works.

Seems it needs more testing.

Dmitry.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#21 lore raw
Quoted 6 lines · On Thu, 2 Nov 2006 05:51:38 +0300 "Dmitry Baikov" <[email protected]> wrote:
Quoted 2 lines

Adding cardbus bridge's memory as a reserved region solved the "unable to remove power" problem.

No, it does not solve. Messages appear again. But reinsertion works.

Seems it needs more testing.

I hate this kind of problems. They are strange enough to require a trial and error approach, but it always happen on hardware I don't have access to :(

--
Giuliano.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#22 lore raw

After some time of watching and experimenting, the things are this:

Indigo IO is always inserted into cardbus slot, sometimes it fails at boot time with

[    8.580000] PCI: Enabling device 0000:07:00.0 (0000 -> 0002)
[    8.580000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level,
low) -> IRQ 16
[    8.790000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -5

It can be cured with unloading alsa driver and replugging the card:

[ 3445.790000] pccard: card ejected from slot 0
[ 3445.821000] PCMCIA: socket c1b4a428: *** DANGER *** unable to
remove socket power
[ 3449.018000] pccard: CardBus card inserted into slot 0
[ 3449.041000] PCI: Enabling device 0000:07:00.0 (0000 -> 0002)
[ 3449.041000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level,
low) -> IRQ 16
[ 3449.122000] Card registered: Indigo IO rev.0 (DSP56361) at 0x54000000 irq 16

After this, card works.

Manual reservation of memory regions does not change anything.

It is a problem I can live with, but something is definitely wrong here.

Regards,
Dmitry.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#23 lore raw
Quoted 7 lines · On Thu, 14 Dec 2006 20:05:32 +0300 "Dmitry Baikov" <[email protected]> wrote:

After some time of watching and experimenting, the things are this:
[...]
After this, card works.

Manual reservation of memory regions does not change anything.

It is a problem I can live with, but something is definitely wrong here.

That's true. The problem is I have no clues and I don't have the hardware.

--
Giuliano.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#24 lore raw
In reply to Dmitry Baikov
Quoted 19 lines · Dmitry Baikov

Hello!

Echo Indigo IO refuses to work with alsa-driver > 1.0.11 with alsa-driver/alsa-firmware-1.0.12:

[ 4212.781000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
low) -> IRQ 177
[ 4212.781000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 4213.094000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level,
low) -> IRQ 185
[ 4213.163000] ALSA
/mnt/bits/portage/tmp/portage/alsa-driver-1.0.12/work/alsa-driver-1.0.12/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio.c:46:
get_firmware(): Firmware not available (-2)
[ 4213.163000] ALSA
/mnt/bits/portage/tmp/portage/alsa-driver-1.0.12/work/alsa-driver-1.0.12/pci/echoaudio/../../alsa-kernel/pci/echoaudio/echoaudio_dsp.c:249:
Firmware not found !
[ 4213.163000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -2
Quoted 8 lines

with driver/firmware-1.0.13:

[ 4361.080000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level,
low) -> IRQ 177
[ 4361.080000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
[ 4361.306000] ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 18 (level,
low) -> IRQ 185
[ 4387.819000] Echoaudio Indigo IO: probe of 0000:07:00.0 failed with error -5

There were a stupid bug in the makefile of alsa-firmware that prevented loader_dsp.fw from being installed, so most recent cards didn't work. I fixed it in 1.0.12 IIRC. The -EIO error with 1.0.13 is a different problem. [another msg follows]

--
Giuliano.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV