All of lore.kernel.org
 help / color / mirror / Atom feed
* Help with supporting Emu10k1x  and question
@ 2004-02-16 23:39 Francisco Moraes
  2004-02-17 15:35 ` Takashi Iwai
  0 siblings, 1 reply; 8+ 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] 8+ messages in thread

* Re: Help with supporting Emu10k1x  and question
  2004-02-16 23:39 Help with supporting Emu10k1x and question Francisco Moraes
@ 2004-02-17 15:35 ` Takashi Iwai
  2004-02-18 12:04   ` Francisco Moraes
  0 siblings, 1 reply; 8+ 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] 8+ 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; 8+ 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] 8+ 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; 8+ 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] 8+ 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; 8+ 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] 8+ messages in thread

* Re: Help with supporting Emu10k1x  and question
       [not found]         ` <s5h65e2ugga.wl@alsa2.suse.de>
@ 2004-02-27 20:35           ` Francisco Moraes
  2004-05-10 23:49             ` Emu10k1x status Francisco Moraes
  0 siblings, 1 reply; 8+ 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] 8+ messages in thread

* Emu10k1x status
  2004-02-27 20:35           ` Francisco Moraes
@ 2004-05-10 23:49             ` Francisco Moraes
  2004-05-11 11:02               ` Takashi Iwai
  0 siblings, 1 reply; 8+ messages in thread
From: Francisco Moraes @ 2004-05-10 23:49 UTC (permalink / raw)
  To: alsa-devel

Hi everybody,

Just wanted to share the status of the Emu10k1x driver (Dell SB Live! 
Value). I've finally got PCM playback working at 48000khz and a 32Kb 
buffer. I haven't tried too much more than this which is hard because of 
lack of specs for the card.

I am doing some clean up and I hope to have a first pass of the drive 
submitted soon.

By the way, I've also added support for the joystick port on the card. 
This could have been done by simply adding the PCI ID into the 
drivers/char/joystick/emu10k1-gp.c driver in the linux kernel. Any 
suggestions or preferences of whether this should be changed in the 
kernel driver or in the alsa driver itself like I have at the moment?

Francisco


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Emu10k1x status
  2004-05-10 23:49             ` Emu10k1x status Francisco Moraes
@ 2004-05-11 11:02               ` Takashi Iwai
  0 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2004-05-11 11:02 UTC (permalink / raw)
  To: Francisco Moraes; +Cc: alsa-devel

At Mon, 10 May 2004 19:49:19 -0400,
Francisco Moraes wrote:
> 
> Hi everybody,
> 
> Just wanted to share the status of the Emu10k1x driver (Dell SB Live! 
> Value). I've finally got PCM playback working at 48000khz and a 32Kb 
> buffer. I haven't tried too much more than this which is hard because of 
> lack of specs for the card.

great, thanks for your work!

> I am doing some clean up and I hope to have a first pass of the drive 
> submitted soon.

yes, please.  we can review the problem.

> By the way, I've also added support for the joystick port on the card. 
> This could have been done by simply adding the PCI ID into the 
> drivers/char/joystick/emu10k1-gp.c driver in the linux kernel. Any 
> suggestions or preferences of whether this should be changed in the 
> kernel driver or in the alsa driver itself like I have at the moment?

no, it's an independent driver.  please submit the patch to the
author of the emu10k1-gp driver (Vojtech).


Takashi


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-05-11 11:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-16 23:39 Help with supporting Emu10k1x and question 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
2004-05-10 23:49             ` Emu10k1x status Francisco Moraes
2004-05-11 11:02               ` Takashi Iwai

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.