* Help with supporting Emu10k1x and question
@ 2004-02-16 23:39 Francisco Moraes
2004-02-17 15:35 ` Takashi Iwai
0 siblings, 1 reply; 13+ messages in thread
From: Francisco Moraes @ 2004-02-16 23:39 UTC (permalink / raw)
To: alsa-devel
I am trying to get the Emu10k1x chip supported in alsa. Anyone willing
to give me a hand, please email me. I've got a few register dumps and I
am trying to get it working.
Now for the question, I tried to add a snd_printk() call to the
pci/emu10k1/io.c ptr_write function, but it causes the system to hang.
Is there any alternative to that?
Thanks,
Francisco
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help with supporting Emu10k1x and question
2004-02-16 23:39 Francisco Moraes
@ 2004-02-17 15:35 ` Takashi Iwai
2004-02-18 12:04 ` Francisco Moraes
0 siblings, 1 reply; 13+ messages in thread
From: Takashi Iwai @ 2004-02-17 15:35 UTC (permalink / raw)
To: Francisco Moraes; +Cc: alsa-devel
At Mon, 16 Feb 2004 18:39:46 -0500,
Francisco Moraes wrote:
>
> I am trying to get the Emu10k1x chip supported in alsa. Anyone willing
> to give me a hand, please email me. I've got a few register dumps and I
> am trying to get it working.
>
> Now for the question, I tried to add a snd_printk() call to the
> pci/emu10k1/io.c ptr_write function, but it causes the system to hang.
it already sounds like you're accessing a wrong register...
Takashi
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help with supporting Emu10k1x and question
2004-02-17 15:35 ` Takashi Iwai
@ 2004-02-18 12:04 ` Francisco Moraes
2004-02-18 12:08 ` Takashi Iwai
0 siblings, 1 reply; 13+ messages in thread
From: Francisco Moraes @ 2004-02-18 12:04 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Takashi Iwai wrote:
>it already sounds like you're accessing a wrong register...
>
>
I removed all the writes and left only mine and I can now trace the PTR
writes. I have not been able to get interrupts working, so it seems like
alsa keeps calling the PCM trigger function with a start and then
followed by a stop. And the process goes on.
Any way I can avoid this or change how things work internally a bit?
Francisco
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help with supporting Emu10k1x and question
2004-02-18 12:04 ` Francisco Moraes
@ 2004-02-18 12:08 ` Takashi Iwai
2004-02-21 14:23 ` Francisco Moraes
[not found] ` <40340A6B.7080507@netzero.net>
0 siblings, 2 replies; 13+ messages in thread
From: Takashi Iwai @ 2004-02-18 12:08 UTC (permalink / raw)
To: Francisco Moraes; +Cc: alsa-devel
At Wed, 18 Feb 2004 07:04:09 -0500,
Francisco Moraes wrote:
>
> Takashi Iwai wrote:
>
> >it already sounds like you're accessing a wrong register...
> >
> >
>
> I removed all the writes and left only mine and I can now trace the PTR
> writes. I have not been able to get interrupts working, so it seems like
> alsa keeps calling the PCM trigger function with a start and then
> followed by a stop. And the process goes on.
this is likely buffer underrun.
i guess the pointer callback doesn't return the correct value, and the
ALSA PCM core thought it's out of sync. try to put printk this
value.
the OSS emulation resets stop/start automatically, so it's not
avaoidable. but ALSA native apps do it by themselves, so it's the
application thing. you can disable the behabior in the application
itself (see aplay.c and xrun).
Takashi
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help with supporting Emu10k1x and question
@ 2004-02-18 17:00 Bastien Aracil
2004-02-22 1:06 ` James Courtier-Dutton
0 siblings, 1 reply; 13+ messages in thread
From: Bastien Aracil @ 2004-02-18 17:00 UTC (permalink / raw)
To: fmoraes74; +Cc: alsa-devel
At Mon, 16 Feb 2004 18:39:46 -0500,
Francisco Moraes wrote:
>I am trying to get the Emu10k1x chip supported in alsa. Anyone willing to
>give me a hand, please > email me. I've got a few register dumps and I am
>trying to get it working.
I'm will be pleased to help you. I got recently a SB Live 5.1! from DELL and
so have no sound with Linux. I'm not an expert of sound card driver put I'm
motivated to make mine working under linux.
Let me known what I can do
Bastien
_________________________________________________________________
Find and compare great deals on Broadband access at the MSN High-Speed
Marketplace. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help with supporting Emu10k1x and question
2004-02-18 12:08 ` Takashi Iwai
@ 2004-02-21 14:23 ` Francisco Moraes
[not found] ` <40340A6B.7080507@netzero.net>
1 sibling, 0 replies; 13+ messages in thread
From: Francisco Moraes @ 2004-02-21 14:23 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 425 bytes --]
Here are few register dumps I took with the Emu10k1 driver modified to
do no writes and an added proc entry to dump the registers.
The first is the state the first time I loaded it (regs-before.txt). The
second is the state after loading/unloading the OSS eval module. The
third is after playing an MP3 with the OSS module.
I still had no luck in getting anything playing, so any insights are
appreciated.
Francisco
[-- Attachment #2: regs-before.txt --]
[-- Type: text/plain, Size: 2856 bytes --]
Registers:
Register 00: 00400000
Register 04: 00000000
Register 08: 00000000
Register 0C: 00000000
Register 10: 00000000
Register 14: 00000001
Register 18: 00001000
Register 1C: 00B60000
Register 20: FFFFFFFF
Register 24: FFFFFFFF
Register 28: F0F0F0F0
Register 2C: F0F0F0F0
Register 30: FFFFFFFF
Register 34: FFFFFFFF
Register 38: FFFFFFFF
Register 3C: FFFFFFFF
Registers
00: 00000000 00000000 00000000
01: 00000000 00000000 00000000
02: 00000000 00000000 00000000
03: 00000000 00000000 00000000
04: 00000000 00000000 00000000
05: 00000000 00000000 00000000
06: 00000000 00000000 00000000
07: 00000000 00000000 00000000
08: 00000000 00000000 00000000
09: 00000000 00000000 00000000
0A: 00000000 00000000 00000000
0B: 00000000 00000000 00000000
0C: 00000000 00000000 00000000
0D: 00000000 00000000 00000000
0E: 00000000 00000000 00000000
0F: 00000000 00000000 00000000
10: 00000000 00000000 00000000
11: 00000000 00000000 00000000
12: 00000000 00000000 00000000
13: 00000000 00000000 00000000
14: 00000000 00000000 00000000
15: 00000000 00000000 00000000
16: 00000000 00000000 00000000
17: 00000000 00000000 00000000
18: 00000000 00000000 00000000
19: 00000000 00000000 00000000
1A: 00000000 00000000 00000000
1B: 00000000 00000000 00000000
1C: 00000000 00000000 00000000
1D: 00000000 00000000 00000000
1E: 00000000 00000000 00000000
1F: 00000000 00000000 00000000
20: 00000000 00000000 00000000
21: 00000000 00000000 00000000
22: 00000000 00000000 00000000
23: 00000000 00000000 00000000
24: 00000000 00000000 00000000
25: 00000000 00000000 00000000
26: 00000000 00000000 00000000
27: 00000000 00000000 00000000
28: 00557C2E 00557C2E 00755BBA
29: 00A5328A 00A5328A 0050DA20
2A: 005D1EAB 005D1EAB 004556EE
2B: 00415ACA 00415ACA 00551EAA
2C: 00755A2E 00755A2E 00755AAE
2D: 00D71EBA 00D71EBA 00455BDA
2E: 00474AAA 00474AAA 00555AEE
2F: 00415AAA 00415AAA 004112AB
30: 00000000 00000000 00000000
31: 00000000 00000000 00000000
32: 00000000 00000000 00000000
33: 00000000 00000000 00000000
34: 00000000 00000000 00000000
35: 00000000 00000000 00000000
36: 00000000 00000000 00000000
37: 00000000 00000000 00000000
38: 00000000 00000000 00000000
39: 00000000 00000000 00000000
3A: 00000000 00000000 00000000
3B: 00000000 00000000 00000000
3C: 00000000 00000000 00000000
3D: 00000000 00000000 00000000
3E: 00000000 00000000 00000000
3F: 00000000 00000000 00000000
40: 00000000 00000000 00000000
41: 0000070F 0000070F 0000070F
42: 02108504 02108504 02108504
43: 02108504 02108504 02108504
44: 02108504 02108504 02108504
45: 00000000 00000000 00000000
46: 00000F0F 00000F0F 00000F0F
47: 00000000 00000000 00000000
48: 00000080 00000080 00000080
49: 00000000 00000000 00000000
4A: 00000000 00000000 00000000
4B: 00000000 00000000 00000000
4C: 00000000 00000000 00000000
4D: 00000000 00000000 00000000
4E: 00000000 00000000 00000000
4F: 00000000 00000000 00000000
[-- Attachment #3: regs-load.txt --]
[-- Type: text/plain, Size: 2856 bytes --]
Registers:
Register 00: 00480000
Register 04: 00000080
Register 08: 00000000
Register 0C: 00000000
Register 10: 00000000
Register 14: 00000001
Register 18: 00001000
Register 1C: 00B60000
Register 20: FFFFFFFF
Register 24: FFFFFFFF
Register 28: F0F0F0F0
Register 2C: F0F0F0F0
Register 30: FFFFFFFF
Register 34: FFFFFFFF
Register 38: FFFFFFFF
Register 3C: FFFFFFFF
Registers
00: 00000000 00000000 00000000
01: 00000000 00000000 00000000
02: 00000000 00000000 00000000
03: 00000000 00000000 00000000
04: 0C8D0000 0C8D0000 00000000
05: 80000000 80000000 00000000
06: 00000000 00000000 00000000
07: 00000000 00000000 00000000
08: 00000000 00000000 00000000
09: 00000000 00000000 00000000
0A: 00000000 00000000 00000000
0B: 00000000 00000000 00000000
0C: 00000000 00000000 00000000
0D: 00000000 00000000 00000000
0E: 00000000 00000000 00000000
0F: 00000000 00000000 00000000
10: 00000000 00000000 00000000
11: 00000000 00000000 00000000
12: 00000000 00000000 00000000
13: 00000000 00000000 00000000
14: 00000000 00000000 00000000
15: 00000000 00000000 00000000
16: 00000000 00000000 00000000
17: 00000000 00000000 00000000
18: 00000000 00000000 00000000
19: 00000000 00000000 00000000
1A: 00000000 00000000 00000000
1B: 00000000 00000000 00000000
1C: 00000000 00000000 00000000
1D: 00000000 00000000 00000000
1E: 00000000 00000000 00000000
1F: 00000000 00000000 00000000
20: 00000000 00000000 00000000
21: 00000000 00000000 00000000
22: 00000000 00000000 00000000
23: 00000000 00000000 00000000
24: 00000000 00000000 00000000
25: 00000000 00000000 00000000
26: 00000000 00000000 00000000
27: 00000000 00000000 00000000
28: 00557C2E 00557C2E 00755BBA
29: 00A5328A 00A5328A 0050DA20
2A: 005D1EAB 005D1EAB 004556EE
2B: 00415ACA 00415ACA 00551EAA
2C: 00755A2E 00755A2E 00755AAE
2D: 00D71EBA 00D71EBA 00455BDA
2E: 00474AAA 00474AAA 00555AEE
2F: 00415AAA 00415AAA 004112AB
30: 00000000 00000000 00000000
31: 00000000 00000000 00000000
32: 00000000 00000000 00000000
33: 00000000 00000000 00000000
34: 00000000 00000000 00000000
35: 00000000 00000000 00000000
36: 00000000 00000000 00000000
37: 00000000 00000000 00000000
38: 00000000 00000000 00000000
39: 00000000 00000000 00000000
3A: 00000000 00000000 00000000
3B: 00000000 00000000 00000000
3C: 00000000 00000000 00000000
3D: 00000000 00000000 00000000
3E: 00000000 00000000 00000000
3F: 00000000 00000000 00000000
40: 00000000 00000000 00000000
41: 0000070F 0000070F 0000070F
42: 02108504 02108504 02108504
43: 02108504 02108504 02108504
44: 02108504 02108504 02108504
45: 00000000 00000000 00000000
46: 00000F0F 00000F0F 00000F0F
47: 00000000 00000000 00000000
48: 00000080 00000080 00000080
49: 00000000 00000000 00000000
4A: 00000000 00000000 00000000
4B: 00000000 00000000 00000000
4C: 00000000 00000000 00000000
4D: 00000000 00000000 00000000
4E: 00000000 00000000 00000000
4F: 00000000 00000000 00000000
[-- Attachment #4: regs-play.txt --]
[-- Type: text/plain, Size: 2856 bytes --]
Registers:
Register 00: 00480000
Register 04: 00000080
Register 08: 00000000
Register 0C: 00000000
Register 10: 00000000
Register 14: 00000001
Register 18: 00001000
Register 1C: 00B60000
Register 20: FFFFFFFF
Register 24: FFFFFFFF
Register 28: F0F0F0F0
Register 2C: F0F0F0F0
Register 30: FFFFFFFF
Register 34: FFFFFFFF
Register 38: FFFFFFFF
Register 3C: FFFFFFFF
Registers
00: 00000000 00000000 00000000
01: 00000000 00000000 00000000
02: 00000000 00000000 00000000
03: 00000000 00000000 00000000
04: 0BBF8000 0BBF8000 00000000
05: 80000000 80000000 00000000
06: 00000060 00000060 00000000
07: 00000000 00000000 00000000
08: 000D000B 000D000B 00000000
09: 00000000 00000000 00000000
0A: 00000000 00000000 00000000
0B: 00000000 00000000 00000000
0C: 00000000 00000000 00000000
0D: 00000000 00000000 00000000
0E: 00000000 00000000 00000000
0F: 00000000 00000000 00000000
10: 00000000 00000000 00000000
11: 00000000 00000000 00000000
12: 00000000 00000000 00000000
13: 00000000 00000000 00000000
14: 00000000 00000000 00000000
15: 00000000 00000000 00000000
16: 00000000 00000000 00000000
17: 00000000 00000000 00000000
18: 00000000 00000000 00000000
19: 00000000 00000000 00000000
1A: 00000000 00000000 00000000
1B: 00000000 00000000 00000000
1C: 00000000 00000000 00000000
1D: 00000000 00000000 00000000
1E: 00000000 00000000 00000000
1F: 00000000 00000000 00000000
20: 00FA6F00 00FA6F00 00000000
21: 00FA7B00 00FA7B00 00000000
22: 00FAA800 00FAA800 00000000
23: 00FAE900 00FAE900 00000000
24: 00FB2900 00FB2900 00000000
25: 00FB5B00 00FB5B00 00000000
26: 00FB8200 00FB8200 00000000
27: 00FB9C00 00FB9C00 00000000
28: 00FE3600 00FE3600 00755BBA
29: 00FD6100 00FD6100 0050DA20
2A: 00FCAE00 00FCAE00 004556EE
2B: 00FC1100 00FC1100 00551EAA
2C: 00FB8000 00FB8000 00755AAE
2D: 00FB0500 00FB0500 00455BDA
2E: 00FAAE00 00FAAE00 00555AEE
2F: 00FA7F00 00FA7F00 004112AB
30: 00F7E100 00F7E100 00000000
31: 00F83700 00F83700 00000000
32: 00F8B500 00F8B500 00000000
33: 00F94900 00F94900 00000000
34: 00F9DB00 00F9DB00 00000000
35: 00FA5200 00FA5200 00000000
36: 00FAA200 00FAA200 00000000
37: 00FACE00 00FACE00 00000000
38: 00FB7F00 00FB7F00 00000000
39: 00FA9C00 00FA9C00 00000000
3A: 00F9CE00 00F9CE00 00000000
3B: 00F91B00 00F91B00 00000000
3C: 00F88800 00F88800 00000000
3D: 00F81600 00F81600 00000000
3E: 00F7D000 00F7D000 00000000
3F: 00F7BC00 00F7BC00 00000000
40: 00000000 00000000 00000000
41: 0000070F 0000070F 0000070F
42: 02108504 02108504 02108504
43: 02108504 02108504 02108504
44: 02108504 02108504 02108504
45: 00000000 00000000 00000000
46: 00000E0E 00000E0E 00000E0E
47: 00000000 00000000 00000000
48: 00000080 00000080 00000080
49: 00000000 00000000 00000000
4A: 00000000 00000000 00000000
4B: 00000000 00000000 00000000
4C: 00000000 00000000 00000000
4D: 00000000 00000000 00000000
4E: 00000000 00000000 00000000
4F: 00000000 00000000 00000000
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help with supporting Emu10k1x and question
2004-02-18 17:00 Bastien Aracil
@ 2004-02-22 1:06 ` James Courtier-Dutton
2004-02-22 7:58 ` Jaroslav Kysela
2004-02-22 13:23 ` Francisco Moraes
0 siblings, 2 replies; 13+ messages in thread
From: James Courtier-Dutton @ 2004-02-22 1:06 UTC (permalink / raw)
To: Bastien Aracil; +Cc: fmoraes74, alsa-devel
Bastien Aracil wrote:
> At Mon, 16 Feb 2004 18:39:46 -0500,
> Francisco Moraes wrote:
>
>> I am trying to get the Emu10k1x chip supported in alsa. Anyone willing
>> to give me a hand, please > email me. I've got a few register dumps
>> and I am trying to get it working.
>
>
> I'm will be pleased to help you. I got recently a SB Live 5.1! from DELL
> and so have no sound with Linux. I'm not an expert of sound card driver
> put I'm motivated to make mine working under linux.
>
> Let me known what I can do
>
> Bastien
>
From what I can see for the emu10k1x (aka. sb Live 5.1 from Dell) is
almost exactly the same as the Audigy LS.
It is a very simple device, and the driver should be based more like the
snd-intel8x0 driver than the snd-emu10k1 driver.
It has no dsp, and no hardware mixing, and is a single open device.
Very similar to the intel8x0 feature wise.
If someone will send me a sample sound card, I will get it working.
Cheers
James
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help with supporting Emu10k1x and question
2004-02-22 1:06 ` James Courtier-Dutton
@ 2004-02-22 7:58 ` Jaroslav Kysela
2004-02-22 13:23 ` Francisco Moraes
1 sibling, 0 replies; 13+ messages in thread
From: Jaroslav Kysela @ 2004-02-22 7:58 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: alsa-devel
On Sun, 22 Feb 2004, James Courtier-Dutton wrote:
> Bastien Aracil wrote:
> > At Mon, 16 Feb 2004 18:39:46 -0500,
> > Francisco Moraes wrote:
> >
> >> I am trying to get the Emu10k1x chip supported in alsa. Anyone willing
> >> to give me a hand, please > email me. I've got a few register dumps
> >> and I am trying to get it working.
> >
> >
> > I'm will be pleased to help you. I got recently a SB Live 5.1! from DELL
> > and so have no sound with Linux. I'm not an expert of sound card driver
> > put I'm motivated to make mine working under linux.
> >
> > Let me known what I can do
> >
> > Bastien
> >
>
> From what I can see for the emu10k1x (aka. sb Live 5.1 from Dell) is
> almost exactly the same as the Audigy LS.
>
> It is a very simple device, and the driver should be based more like the
> snd-intel8x0 driver than the snd-emu10k1 driver.
> It has no dsp, and no hardware mixing, and is a single open device.
> Very similar to the intel8x0 feature wise.
>
> If someone will send me a sample sound card, I will get it working.
Do you have any information about this hardware? Datasheet or sources or
something else? I am very interested.
Jaroslav
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help with supporting Emu10k1x and question
2004-02-22 1:06 ` James Courtier-Dutton
2004-02-22 7:58 ` Jaroslav Kysela
@ 2004-02-22 13:23 ` Francisco Moraes
2004-02-22 14:09 ` James Courtier-Dutton
1 sibling, 1 reply; 13+ messages in thread
From: Francisco Moraes @ 2004-02-22 13:23 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: Bastien Aracil, alsa-devel
>
> From what I can see for the emu10k1x (aka. sb Live 5.1 from Dell) is
> almost exactly the same as the Audigy LS.
>
> It is a very simple device, and the driver should be based more like
> the snd-intel8x0 driver than the snd-emu10k1 driver.
> It has no dsp, and no hardware mixing, and is a single open device.
> Very similar to the intel8x0 feature wise.
>
> If someone will send me a sample sound card, I will get it working.
I cannot send you my card but I will try a driver on it without a
problem as I have already been experimenting. I can also try to send you
my changed emu10k1 driver (with almost everything disabled but pcm and
ac97).
Let me know.
Francisco
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help with supporting Emu10k1x and question
2004-02-22 13:23 ` Francisco Moraes
@ 2004-02-22 14:09 ` James Courtier-Dutton
0 siblings, 0 replies; 13+ messages in thread
From: James Courtier-Dutton @ 2004-02-22 14:09 UTC (permalink / raw)
To: Francisco Moraes; +Cc: Bastien Aracil, alsa-devel
Francisco Moraes wrote:
>
>>
>> From what I can see for the emu10k1x (aka. sb Live 5.1 from Dell) is
>> almost exactly the same as the Audigy LS.
>>
>> It is a very simple device, and the driver should be based more like
>> the snd-intel8x0 driver than the snd-emu10k1 driver.
>> It has no dsp, and no hardware mixing, and is a single open device.
>> Very similar to the intel8x0 feature wise.
>>
>> If someone will send me a sample sound card, I will get it working.
>
>
>
> I cannot send you my card but I will try a driver on it without a
> problem as I have already been experimenting. I can also try to send you
> my changed emu10k1 driver (with almost everything disabled but pcm and
> ac97).
>
> Let me know.
>
> Francisco
>
>
I think you would do better basing your driver on the intel8x0.c code,
and drop the emu10k1 code effort.
The emu10k1x and sb audigy ls are nothing like the emu10k1 or emu10k2.
Send me the code you already have, and I will help correct it.
Just tell me if you have the Dell SB Live (aka. emu10k1x) or the SB
Audigy LS.
Cheers
James
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help with supporting Emu10k1x and question
[not found] <AABADU9R6AU6ULBA@mx06.nyc.untd.com>
@ 2004-02-23 23:58 ` Francisco Moraes
0 siblings, 0 replies; 13+ messages in thread
From: Francisco Moraes @ 2004-02-23 23:58 UTC (permalink / raw)
To: alsa-devel
>> From what I can see for the emu10k1x (aka. sb Live 5.1 from Dell) is
>>almost exactly the same as the Audigy LS.
>>
>>It is a very simple device, and the driver should be based more like the
>> snd-intel8x0 driver than the snd-emu10k1 driver.
>>It has no dsp, and no hardware mixing, and is a single open device.
>>Very similar to the intel8x0 feature wise.
>>
>>If someone will send me a sample sound card, I will get it working.
>>
>>
>
>Do you have any information about this hardware? Datasheet or sources or
>something else? I am very interested.
>
>
No datasheets, source or anything else as far as I know. Just us trying
to reverse engineer it. I've made several changes to the emu10k1 driver
trying to get PCM working, but I am missing something. Hopefully it will
be something simple and I will have PCM playback working.
Francisco
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help with supporting Emu10k1x and question
[not found] ` <s5h65e2ugga.wl@alsa2.suse.de>
@ 2004-02-27 20:35 ` Francisco Moraes
0 siblings, 0 replies; 13+ messages in thread
From: Francisco Moraes @ 2004-02-27 20:35 UTC (permalink / raw)
To: Takashi Iwai, alsa-devel
I seem to be getting closer now. Still no sound, but XMMS is not running
crazy anymore. Now it hangs after two seconds. Here are some of the
debug messages I printed:
The start:
Feb 27 14:39:27 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
1, pointer = 0
Feb 27 14:39:27 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:27 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:27 localhost kernel: pointer: 00000020 00000000
Feb 27 14:39:27 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:27 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
0, pointer = 15304
Feb 27 14:39:27 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
1, pointer = 0
Feb 27 14:39:27 localhost kernel: pointer: 00000020 00000000
Feb 27 14:39:27 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:27 localhost kernel: pointer: 00000020 00000000
Feb 27 14:39:27 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:27 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
0, pointer = 15304
Feb 27 14:39:27 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
1, pointer = 0
Feb 27 14:39:27 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:27 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:27 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:28 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:28 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
0, pointer = 15304
Feb 27 14:39:28 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
1, pointer = 0
Feb 27 14:39:28 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:28 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:28 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:28 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:28 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
0, pointer = 15304
Feb 27 14:39:28 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
1, pointer = 0
Feb 27 14:39:29 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:29 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:29 localhost kernel: pointer: 00000020 00000000
Feb 27 14:39:29 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:29 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
0, pointer = 15304
Feb 27 14:39:29 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
1, pointer = 0
Feb 27 14:39:29 localhost kernel: pointer: 00000020 00000000
Feb 27 14:39:30 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:30 localhost kernel: pointer: 00000020 00000000
Feb 27 14:39:30 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:30 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
0, pointer = 15304
Feb 27 14:39:30 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
1, pointer = 0
Feb 27 14:39:30 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:30 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:30 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:30 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:31 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
0, pointer = 15304
Feb 27 14:39:31 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
1, pointer = 0
Feb 27 14:39:31 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:31 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:31 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:31 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:31 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
0, pointer = 15304
Feb 27 14:39:32 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
1, pointer = 0
Feb 27 14:39:32 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:32 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:32 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:32 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:32 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
0, pointer = 15304
Feb 27 14:39:32 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
1, pointer = 0
Feb 27 14:39:32 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:32 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:33 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:33 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:33 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
0, pointer = 15304
Feb 27 14:39:33 localhost kernel: trigger - emu10k1 = 0xddb78000, cmd =
1, pointer = 0
Feb 27 14:39:33 localhost kernel: pointer: 00000000 00000000
Feb 27 14:39:33 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:39:33 localhost kernel: pointer: 00000000 00000000
After a while, it changed to this:
Feb 27 14:41:56 localhost kernel: pointer: 000041E0 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3dc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:41:56 localhost kernel: pointer: 00004200 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3dc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:41:56 localhost kernel: pointer: 00004200 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3dc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:41:56 localhost kernel: PCM interrupt
Feb 27 14:41:56 localhost kernel: pointer: 00008000 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:41:56 localhost kernel: PCM interrupt
Feb 27 14:41:56 localhost kernel: pointer: 00004020 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3be8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:41:56 localhost kernel: PCM interrupt
Feb 27 14:41:56 localhost kernel: pointer: 00008000 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:41:56 localhost kernel: PCM interrupt
Feb 27 14:41:56 localhost kernel: pointer: 00004020 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3be8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:41:56 localhost kernel: PCM interrupt
Feb 27 14:41:56 localhost kernel: pointer: 00008000 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:41:56 localhost kernel: PCM interrupt
Feb 27 14:41:56 localhost kernel: pointer: 00004020 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3be8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:41:56 localhost kernel: PCM interrupt
Feb 27 14:41:56 localhost kernel: pointer: 00008000 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:41:56 localhost kernel: PCM interrupt
Feb 27 14:41:56 localhost kernel: pointer: 00004020 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3be8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:41:56 localhost kernel: PCM interrupt
Feb 27 14:41:56 localhost kernel: pointer: 00008000 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:41:56 localhost kernel: PCM interrupt
Feb 27 14:41:56 localhost kernel: pointer: 00004020 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3be8, buffer_size = 0x4000,
period_size = 0x40
Feb 27 14:41:56 localhost kernel: PCM interrupt
Feb 27 14:41:56 localhost kernel: pointer: 00008000 00000000
Feb 27 14:41:56 localhost kernel: ptr = 0x3bc8, buffer_size = 0x4000,
period_size = 0x40
Any suggestions on what I may be missing?
Francisco
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help with supporting Emu10k1x and question
[not found] <409446EF.5030002@nc.rr.com>
@ 2004-05-03 14:27 ` Takashi Iwai
0 siblings, 0 replies; 13+ messages in thread
From: Takashi Iwai @ 2004-05-03 14:27 UTC (permalink / raw)
To: Francisco Moraes; +Cc: alsa-devel
At Sat, 01 May 2004 20:55:11 -0400,
Francisco Moraes wrote:
>
> Is there a way for find whether DMA is actually working? I think I am in
> the right track, but I'd like to know if there is a way to debug or find
> whether it is doing the expected and tranferring data to the sound card.
well, the practical way is to check the registers in runtime.
you can build a proc file for register dump, so that you can see it
during the operation. (it's better than printk's from the operational
perspective :)
> Also, is the documentation on the new dma methods available somewhere?
there is no big change regarding the DMA methods.
the DMA buffer allocation was changed, but it's unlikely related with
the emu10k1x chip support...
Takashi
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2004-05-03 14:27 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <409446EF.5030002@nc.rr.com>
2004-05-03 14:27 ` Help with supporting Emu10k1x and question Takashi Iwai
[not found] <AABADU9R6AU6ULBA@mx06.nyc.untd.com>
2004-02-23 23:58 ` Francisco Moraes
2004-02-18 17:00 Bastien Aracil
2004-02-22 1:06 ` James Courtier-Dutton
2004-02-22 7:58 ` Jaroslav Kysela
2004-02-22 13:23 ` Francisco Moraes
2004-02-22 14:09 ` James Courtier-Dutton
-- strict thread matches above, loose matches on Subject: below --
2004-02-16 23:39 Francisco Moraes
2004-02-17 15:35 ` Takashi Iwai
2004-02-18 12:04 ` Francisco Moraes
2004-02-18 12:08 ` Takashi Iwai
2004-02-21 14:23 ` Francisco Moraes
[not found] ` <40340A6B.7080507@netzero.net>
[not found] ` <s5h65e2ugga.wl@alsa2.suse.de>
2004-02-27 20:35 ` Francisco Moraes
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.