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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-23-2006, 10:37 AM
|
#1
|
Member
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 123
Rep:
|
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.
|
|
|
05-23-2006, 11:00 AM
|
#2
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
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 ).
|
|
|
05-29-2006, 11:05 AM
|
#3
|
Member
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 123
Original Poster
Rep:
|
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.
|
|
|
05-29-2006, 11:35 AM
|
#4
|
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016
Rep:
|
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?
|
|
|
05-30-2006, 10:32 PM
|
#5
|
Member
Registered: Mar 2006
Location: NYS
Distribution: Mandriva-2006
Posts: 123
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|