LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   ESS 1868 soundcard issues with Lubuntu (https://www.linuxquestions.org/questions/linux-hardware-18/ess-1868-soundcard-issues-with-lubuntu-4175504500/)

teleguy 05-09-2014 04:24 PM

ESS 1868 soundcard issues with Lubuntu
 
I recently installed Lubuntu 13.10 on an old Pentium III with an ESS 1868 Audio Drive (Isa Soundcard). The card works fine in Windows XP but not in Linux.

The modprobe commands did nothing so I added snd_es18xx to /etc/modules however when Lubuntu boots it displays this message:

es18xx unable to assign resources
es18xx PnP configure failure (out of resources?)

So I went into the Bios and disabled "PnP OS" so that the card is configured by the Bios. After that there's no message anymore. However one of two things will happen:

1. As soon as the desktop and the mouse cursor show up a faint cackling sound is heard from the speakers and the entire system freezes.

2. Lubuntu boots successfully. When I move the volume control up and down or click on the mute button faint static can be heard. Aplay -L lists the soundcard as installed. Then I try to play a soundfile or a CD and the entire system freezes again. Once or twice I managed to actually play a CD but it sounded horrible, like Midi music of an old Dos game.


The next thing I tried is turning on "PnP OS" again and disabling the onboard serial and USB ports to free up resources. The results were 100% identical to disabling "PnP OS".

Any ideas what else I could do?

ondoho 05-10-2014 12:54 PM

Quote:

Originally Posted by teleguy (Post 5168043)
The card works fine in Windows XP

yes but try installing windows xp on that computer, you won't have sound either.

but that's not so important.

please remove all that you added to /etc or anywhere else and try to get the system back to its original state (before you started meddling) and lets go about this logically.

1)
where did you get the idea that copying these files to /etc would help?
maybe there's something good in it.

2)
a quick websearch gives me the impression that even 10 years ago your sound card was somewhat problematic and rare.

3)
please post the output of following terminal commands:
"lsmod"
"lspci"

4)
why on earth did you install 13.10 and not 14.04?

teleguy 05-10-2014 01:15 PM

Thanks for your reply.

Windows XP is already installed on that computer with working sound.

1)I read about it in various forums. I'll look if I can still find it in browser history.

2) No idea.

3) I don't have the computer at home but I'll be able to post it on monday.

4) That was a few weeks ago, before 14.04 come out.

teleguy 05-10-2014 03:07 PM

I didn't find the original forum posts but this guide is pretty similar.

http://www.pc-freak.net/blog/configu...xubuntu-linux/

teleguy 05-12-2014 02:51 AM

This is the output with the snd-es18xx line:
Code:

Module                  Size  Used by
zram                  18070  1
vesafb                13500  1
parport_pc            31981  1
ppdev                  17391  0
rfcomm                53664  0
microcode              18830  0
bnep                  18893  2
bluetooth            323534  10 bnep,rfcomm
mac_hid                13037  0
ttm                    71886  0
psmouse                90642  0
serio_raw              13189  0
drm_kms_helper        46867  0
i2c_viapro            13096  0
ohci_pci              13305  0
drm                  242354  2 ttm,drm_kms_helper
snd_es18xx            33845  1
snd_mpu401_uart        13865  1 snd_es18xx
i2c_algo_bit          13197  0
snd_opl3_lib          18651  1 snd_es18xx
snd_hwdep              13272  1 snd_opl3_lib
snd_pcm                89488  1 snd_es18xx
snd_page_alloc        14230  1 snd_pcm
snd_seq_midi          13132  0
snd_seq_midi_event    14475  1 snd_seq_midi
shpchp                32129  0
snd_rawmidi            25094  2 snd_mpu401_uart,snd_seq_midi
snd_seq                55383  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device        14137  4 snd_seq,snd_rawmidi,snd_opl3_lib,snd_seq_midi
snd_timer              24447  3 snd_pcm,snd_seq,snd_opl3_lib
snd                    60790  12 snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_mpu401_uart,snd_seq_device,snd_es18xx,snd_opl3_lib,snd_seq_midi
soundcore              12600  1 snd
lp                    13299  0
parport                40795  3 lp,ppdev,parport_pc
pata_acpi              12886  0
8139too                32530  0
8139cp                27038  0
mii                    13654  2 8139cp,8139too
pata_via              13407  3

Code:

00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 22)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 09)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:07.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 02)
00:07.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management
00:09.0 USB controller: ULi Electronics Inc. USB 1.1 Controller (rev 03)
00:09.1 USB controller: ULi Electronics Inc. USB 1.1 Controller (rev 03)
00:09.2 USB controller: ULi Electronics Inc. USB 1.1 Controller (rev 03)
00:09.3 USB controller: ULi Electronics Inc. USB 2.0 Controller (rev 01)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation NV17 [GeForce4 MX 440] (rev a3)


teleguy 05-12-2014 03:00 AM

And this without:

Code:

Module                  Size  Used by
zram                  18070  1
vesafb                13500  1
parport_pc            31981  1
ppdev                  17391  0
microcode              18830  0
bnep                  18893  2
rfcomm                53664  0
bluetooth            323534  10 bnep,rfcomm
mac_hid                13037  0
psmouse                90642  0
serio_raw              13189  0
ttm                    71886  0
drm_kms_helper        46867  0
ohci_pci              13305  0
i2c_viapro            13096  0
drm                  242354  2 ttm,drm_kms_helper
i2c_algo_bit          13197  0
shpchp                32129  0
lp                    13299  0
parport                40795  3 lp,ppdev,parport_pc
pata_acpi              12886  0
8139too                32530  0
8139cp                27038  0
mii                    13654  2 8139cp,8139too
pata_via              13407  3

Code:

00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev 22)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 09)
00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:07.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 02)
00:07.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management
00:09.0 USB controller: ULi Electronics Inc. USB 1.1 Controller (rev 03)
00:09.1 USB controller: ULi Electronics Inc. USB 1.1 Controller (rev 03)
00:09.2 USB controller: ULi Electronics Inc. USB 1.1 Controller (rev 03)
00:09.3 USB controller: ULi Electronics Inc. USB 2.0 Controller (rev 01)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation NV17 [GeForce4 MX 440] (rev a3)


ondoho 05-12-2014 12:48 PM

i don't know about the bios setting "PnP OS" or what it means.

the link you posted talks about 2 modules.
please test it manually first:
Code:

For one time test of sound card driver, I tested by running:
# /sbin/modprobe -v snd-es18xx
# /sbin/modprobe -v snd-sb16

these commands probably have to be run with sudo.
and don't forget to turn up hte sliders in alsamixer.
do you get more than a faint crackling? does the system still freeze?
post the output of these commands.

edit: how do you know you have that soundcard?

teleguy 05-13-2014 05:26 AM

Code:

sudo /sbin/modprobe -v snd-es18xx
insmod /lib/modules/3.11.0-12-generic/kernel/sound/soundcore.ko
install /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
insmod /lib/modules/3.11.0-12-generic/kernel/sound/core/snd.ko
insmod /lib/modules/3.11.0-12-generic/kernel/sound/core/snd-page-alloc.ko
install /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
insmod /lib/modules/3.11.0-12-generic/kernel/sound/core/snd-pcm.ko
insmod /lib/modules/3.11.0-12-generic/kernel/sound/core/snd-hwdep.ko
insmod /lib/modules/3.11.0-12-generic/kernel/sound/drivers/opl3/snd-opl3-lib.ko
insmod /lib/modules/3.11.0-12-generic/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko
insmod /lib/modules/3.11.0-12-generic/kernel/sound/isa/snd-es18xx.ko

sudo /sbin/modprobe -v snd-sb16
insmod /lib/modules/3.11.0-12-generic/kernel/sound/isa/sb/snd-sb-common.ko
insmod /lib/modules/3.11.0-12-generic/kernel/sound/isa/sb/snd-sb16-dsp.ko
insmod /lib/modules/3.11.0-12-generic/kernel/sound/isa/sb/snd-sb16-csp.ko
insmod /lib/modules/3.11.0-12-generic/kernel/sound/isa/sb/snd-sb16.ko

This way it works a little better. A CD now provides properly sounding music. However after playing for a while the system freezes again.
I can't open alsamixer. I can not find it in the menus and if I type "alsamixer" in the terminal it says it can't find the file or folder. Pulseaudio works though.

Quote:

how do you know you have that soundcard?
That's how Windows calls it. The name "ESS ES1868 Plug and Play AudioDrive" also shows up on the POST screen and when I run dmesg.

ondoho 05-13-2014 03:26 PM

aaah, dmesg.

anyhow, the modprobe commands don't return any error or even warning.
you can try to troubleshoot by looking at /var/log/Xorg* log files after the crash/freeze - there's a small problem: the file Xorg.0.log is for the running session, and one of the others is for the previous session, but i don't know which one.

when the freeze occurs, what happens when you press ctrl+alt+F3? do you get to a login terminal, can you login as your normal user?
if yes, type "top" and see what's eating your resources.

you must try to find more info on your setup. i can't lead you through this, i don't have this kind of experience or hardware.

teleguy 05-14-2014 05:40 AM

1 Attachment(s)
Thanks for helping me this far!



Anyway the system doesn't respond to ctrl+alt+F3.

I found only one other Xorg file (Xorg.0.log.old). Is that it?

Doesn't seem to have anything related to that crash in it.
:confused:

ondoho 05-14-2014 12:52 PM

Quote:

Originally Posted by teleguy (Post 5170589)
I found only one other Xorg file (Xorg.0.log.old). Is that it?

as i said, i don't know.
maybe post both of them!
and tell me about the timeline - like, "the xsession was running for 6 minutes, then the crash/freeze occured while i listened to a cd, and after 2 min i did a hard reset" (pressing power button for 5+ sec). something like that.

incidentally, it seems you installed the proprietary nvidia (graphics) driver, but the system is not using it. it uses nouveau instead. which is totally ok, just a piece of info i managed to glean from your log file.

oh, btw, are you always doing the modprobes manually now or have you added both modules to /etc/(wherewasit), so that they really get loaded at bootup?
you can verify that with "lsmod".
this is crucial information to interpreting the log files.
are the freezes only happening when you actually play sound?

from your previous post with the modprobes i'd say that the modules/drivers get loaded ok (no errors) but they're simply not working properly. maybe they can be configured.

teleguy 06-17-2014 04:50 AM

2 Attachment(s)
Sorry for not responding sooner, I was busy with other projects.

Here are the logfiles. The freeze occured while playing a CD about 6 minutes after Lubuntu finished booting.

I'm still using the modprobe commands. The freezes are always related to sounds being played.

I tried configuring the soundcard like this:

sudo modprobe snd-es18xx isapnp=0 port=0x220 mpu_port=0x300 irq=7 dma1=0 dma2=1

either using the same resources as in windows or values that worked for other people but dmesg shows the card always defaulting to the same settings. Sometimes it says something like "unable to grap irq 7" but even when it doesn't the resources I assign are totally ignored.


All times are GMT -5. The time now is 03:17 PM.