All of lore.kernel.org
 help / color / mirror / Atom feed
* nonstandart ENS1370 - bug
@ 2005-02-06  1:07 Pavel Kysilka
  0 siblings, 0 replies; only message in thread
From: Pavel Kysilka @ 2005-02-06  1:07 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 2100 bytes --]

	Hi all,

i have ensoniq1370 based pci sound card.

this card have bad pci identification.

0000:00:0a.0 Non-VGA unclassified device: Unknown device 0001:0400 (prog-if 20)
	Subsystem: Unknown device 4942:4c4c

card looks as:

X	4C4C4942	Creative Sound Blaster AudioPCI 64


i found some error with this card.

1) i load module snd-ens1370.

driver is loaded, but in /proc/asound no data about this card.
i cannot play any sound file.

2) i look in the source code file ens1370.c and i add this code.
/* ******************************************************************** */

--- linux-2.6.11-rc3/sound/pci/ens1370.c	2005-02-03 02:56:33.000000000 +0100
+++ /usr/src/linux-2.6.11-rc3/sound/pci/ens1370.c	2005-02-06 01:24:34.000000000 +0100
@@ -439,6 +439,7 @@
 static struct pci_device_id snd_audiopci_ids[] = {
 #ifdef CHIP1370
 	{ 0x1274, 0x5000, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },	/* ES1370 */
+	{ 0x0001, 0x0400, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },	/* bogus ES1370 */
 #endif
 #ifdef CHIP1371
 	{ 0x1274, 0x1371, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },	/* ES1371 */

/* ****************************************************************** */

modules are loaded. in directory /proc/asound are data about this card.
alsamixer working with playback (F3). with recording (F4) not working - it is
not possible manupulate with volume indicator.

sound: input - Line-In or Microphone not working (tested with radio card).
	pcm - i play mp3 file.
console show this 3-times repeated message and computer totally freeze.

Feb  5 02:08:31 prog3 kernel: ALSA sound/core/pcm_lib.c:158: BUG: stream = 0, pos = 0xffff, buffer size = 0x4000, period size = 0x800

Environment:
Linux - 2.6.11-rc3 vanilla kernel
distro: Debian testing
alsa - 1.0.8 from this distro

in the .bz2 attachment:
lspci -vvv about this card
lspci -xxx about this card
/proc/asound
lsmod output

thanks for your time.
sorry for my bad english.

  bye
    pavel kysilka
     programmer http://www.bsys.cz/


________ Information from NOD32 ________
This message was checked by NOD32 Antivirus System for Linux Mail Server.

http://www.nod32.com

[-- Attachment #2: ens1370_bug.tar.bz2 --]
[-- Type: application/octet-stream, Size: 2838 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-06  1:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-06  1:07 nonstandart ENS1370 - bug Pavel Kysilka

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.