LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-23-2006, 10:37 AM   #1
ssenuta
Member
 
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 123

Rep: Reputation: 16
xmms sound trouble


I cannot get xmms to play an audio cd using its Oss Output Driver in Digital Audio Playback mode. However, I can manually move the slider and get xmms to play a few notes but that is all.

If I switch the Disk Writer Output Plugin, xmms can write cd audio tracks to .wav files on my HD & these .wav files can be burned via cdrecord & played back on a standalone cdrom player -- but not by xmms on my computer.

Xmms also has a problem playing sound files from the /usr/share/sounds directory. Long sound files like the k3b_success1.wav are only partially played back. Again,---if I manually move the xmms slider I can here a different section of the file.

Now, if I configure the xmms Oss Output Driver for "Analog Audio Playback" mode, the xmms slider moves, the cdrom drive activity lite blinks and everything appears to be working properly but no sound is heard. I think I need to have a cable running from the cd drive to my onboard sound connector.

I would like xmms to play cd's in Digital mode Can anyone help?

In the meantime I am going to call around an see if I can locate the proper cd to sound-card cable.Maybe my system can only play cd's in Analog mode. Besides, I'll never know if the xmms analog mode is really playing sounds in analog mode or if is just going thru the motions until I connect the analog cable.

Thank you for taking the time to read this.
 
Old 05-23-2006, 11:00 AM   #2
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
what distro are you using? do you have libcdaudio, wave player, etc.? ("locate libcdaudio.so" "locate libwav.so"). are the plugins enabled in the xmms Audio I/O Plugins screen (in Preferences)? any particular reason why you are using OSS? have you tried alsa, or do you have it installed, configured in the kernel, etc. (why i ask which distro ).
 
Old 05-29-2006, 11:05 AM   #3
ssenuta
Member
 
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 123

Original Poster
Rep: Reputation: 16
xmms no sound

I am using Mandriva-2006 Discovery & I do have CD Audio Player, & Wave Player input plugins enabled. I also Have both the OSS & Alsa output plugins but originally chose to use Oss because it sounds out a few more notes than Alsa when I play a simple .wav file off the HD. ...... I have since changed to the Alsa output plugin

By-the-way, I located and installed a 4-pin analog sound cable from my dvd-rom drive to my Asus MB & now I can play music CD's while in "analog" mode but I still can't play music .wav files off the HD in "any" mode. Digital output by xmms is also still not functional on my dvd-rom & my dvd-rw drive if I configure xmms to use digital mode

It isn't just xmms that has trouble in digital mode Here are some other things I tried:

xmms ..... no sound with .wav file
xmms ..... plays a few note if slider moved manually
/var/log/messages: kernel: zero position is read

cdda2wav dev=/dev/hdd -q -e -t3 -N ..... no sound
konsole: cdrom device (/dev/hdd) is not of type generic SCSI. Setting interface to cooked_ioctl.
EnableCdda_cooked (CDIOCSETCDDA) is not available...

cdda2wav dev=/dev/hdd -O wav -H -t 3 track3.wav ..... writes a functional .wav file

cdparanoia -d /dev/hdd -3 - ..... no sound
konsole: cdrom device (/dev/hdd) is not of type generic SCSI. Setting interface to cooked_ioctl.
EnableCdda_cooked (CDIOCSETCDDA) is not available...

cdparanoia -d /dev/hdd -3 - : lame -V2 -q2 - ..... writes a functional .wav file

play "k3b_success1.wav" ..... some sound but stops & hangs
/var/log/messages: kernel: playback write error (DMA or IRQ trouble?

aplay "k3b_success1.wav" ..... some sound but stops & hangs
/var/log/messages: kernel: zero position is read

--------------------------------------------------------------------------------------------------------------------
Here are some important facts about my system:

Output from uname -a cmd:

Linux localhost 2.6.12 #1 Fri Apr 21 10:31:30 EDT 2006 i686 AMD Athlon(tm) 64 Processor 3000+ unknown GNU/Linux

Output from lspci -v cmd:

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 70)
Subsystem: ASUSTeK Computer Inc.: Unknown device 81b9
Flags: bus master, medium devsel, latency 0, IRQ 5
I/O ports at d400 [size=256]
Capabilities: [c0] Power Management version 2

Output of lsmod cmd:

snd_seq_dummy 2564 0
snd_seq_oss 32384 0
snd_seq_midi_event 5664 1 snd_seq_oss
snd_seq 52560 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 58080 0
snd_mixer_oss 18944 1 snd_pcm_oss
snd_via82xx 24864 0
gameport 11048 1 snd_via82xx
snd_ac97_codec 85724 1 snd_via82xx
snd_pcm 89992 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 22020 2 snd_seq,snd_pcm
snd_page_alloc 8936 2 snd_via82xx,snd_pcm
snd_mpu401_uart 5760 1 snd_via82xx
snd_rawmidi 20832 1 snd_mpu401_uart
snd_seq_device 7052 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd 47620 11 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu40 1_uart,snd_rawmidi,snd_seq_device
soundcore 7072 1 snd


Displayed in /proc/interrupts:

CPU0
0: 11016597 XT-PIC timer
1: 2416 XT-PIC i8042
2: 0 XT-PIC cascade
3: 0 XT-PIC uhci_hcd:usb4
5: 1292 XT-PIC uhci_hcd:usb2, ehci_hcd:usb5, VIA8237
8: 1 XT-PIC rtc
9: 0 XT-PIC acpi
10: 0 XT-PIC uhci_hcd:usb3
11: 0 XT-PIC uhci_hcd:usb1
12: 907081 XT-PIC i8042
14: 18504 XT-PIC ide0
15: 971725 XT-PIC ide1
NMI: 0
ERR: 13


Special Note:
Xine will play a commercial dvd video disc "with sound" from my dvd-rom drive but only if I load the OSS sound driver via82cxxx-audio & configure it to use OSS instead of using Alsa & its corresponding snd_via82xx driver. This is digtal sound output isn't it ??? I don't think xine even has an option for analog audio playback.

Now, If I try to play an audio cd with xine "no" sound is heard & /var/log/messages displays:

kernel: playback write error (DMA or IRQ trouble?)

Thanks again for reading this rather long reply post. I'd appreciate any suggestions.
 
Old 05-29-2006, 11:35 AM   #4
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
i wonder if it's an alsa problem with A64 and VIA? you might try searching the alsa buglist or LQ or google to see if you find any information. you ran alsaconf right?
 
Old 05-30-2006, 10:32 PM   #5
ssenuta
Member
 
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 123

Original Poster
Rep: Reputation: 16
Xmms sound trouble

You were correct in thinking my xmms digital sound problem was a bug. Here is a copy/paste of what I found at alsa. It sounds like this bug has been fixed but the bug report doesn't say what was done to resolve the issue.

I assume Alsa will issue some sort of patch & future releases of both the alsa driver pkg. & linux kernel modules will incorporate the bug fix. I'll poke arround a bit more at the alsa site but my browsing & search skills are pretty limited If anyone knows the alsa procedure, I'd appreciate a brief explaination of what happens. Thanks to all of you.

---------------------------------------------------------
ALSA bugtracking system
Logged in as: guest (viewer) 05-30-2006 14:50 CEST0Switch
Main | My View | View Issues | Change Log | Logout Jump

Viewing Issue Simple Details [ Jump to Notes ] [ View Advanced ] [ Issue History ] [ Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001622 [ALSA - driver] PCI - via82xx block always 12-05-05 18:59 04-20-06 14:45
Reporter m_yates View Status public
Assigned To tiwai
Priority normal Resolution fixed
Status resolved Product Version
Summary 0001622: ASUS A8V-MX onboard sound does not work
Description Onboard sound plays for a second, then freezes on Asus A8V-MX mainboard.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
having trouble installing XMMS garyozzy Linux - Software 6 06-14-2005 07:33 AM
Sound card hanging up, or xmms trouble? ShakeNBake Linux - Laptop and Netbook 1 09-08-2004 06:56 AM
Trouble with xmms FortyFour Linux - General 5 03-12-2004 01:36 PM
trouble with xmms and gaim Lenfade01 Linux - Software 8 12-25-2003 03:55 PM
CD audio no sound, and a little MP3 trouble with XMMS jedillwag Mandriva 20 12-03-2003 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration