Skip to contentSkip to conversation

nonstandart ENS1370 - bug

PATCH Pavel Kysilka 1 participant 1 message Feb 6, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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. /* ******************************************************************** */

usr/src/linux-2.6.11-rc3/sound/pci/ens1370.c renamed from sound/pci/ens1370.c +1 -0
@@ -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