LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-16-2010, 05:20 PM   #1
McAngel
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Post xmms2 "Couldn't open device: hw:0,0"


Hello to everybody.

I was googling a lot but did not find any solution for my problem.
The problem is next. I've seen that xmms2 consumed too much CPU usage and changed the alsa.device config to hw:0,0
Code:
xmms2 config alsa.device hw:0,0
everything was good, xmms2 played music and xmms2d stopped to abuse CPU.

But today I wanted to start xmms2 and it have crashed with this error:
Quote:
Log output will be stored in /home/mcangel/.cache/xmms2/xmms2d.log
xmms2 started
ERROR: Couldn't start playback: Could not start playback
log file:
Quote:
--- Starting new xmms2d ---
INFO: ../src/xmms/log.c:36: Initialized logging system
INFO: ../src/xmms/ipc.c:950: IPC listening on 'unix:///tmp/xmms-ipc-mcangel'.
INFO: ../src/xmms/main.c:507: Using output plugin: alsa
ERROR: ../src/plugins/alsa/alsa.c:213: Couldn't open device: hw:0,0
ERROR: ../src/xmms/output.c:957: Could not initialize output plugin
after some time of googling and thinking i've found that changing device back to default helps and xmms2 plays music. But the previous problem (too much CPU usage) is back

Can anybody help me in this situation. I don't know why xmms2 doesn't see device hw:0,0

output of aplay -l is:
Quote:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
Підприлади: 0/1
Підприлад #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
Підприлади: 1/1
Підприлад #0: subdevice #0
I am on Ubuntu 8.10

Last edited by McAngel; 04-16-2010 at 05:26 PM. Reason: wrong data
 
Old 04-18-2010, 08:49 AM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
I'm not sure how xmms differs from xmms2, but you can select the method of sound usage in xmms. OSS / ALSA / JACK / ARTS / ESD / PULSE AUDIO / ??? Accessing hw:0,0 only makes sense if you're using alsa in said configuration. You might also try simplifying it with just hw:0. And make sure you're not running other daemons that block usage. You might also be running into issues where a web browser (or plugin) is grabbing the OSS version of sound and locking the device from being used by other means / applications.

HTH
 
Old 04-19-2010, 02:48 PM   #3
McAngel
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Original Poster
Rep: Reputation: 0
I'm using ALSA. And hw:0 does the same. I don't know why but xmms2 simply doesn't see this device. Do you know any daemons that may block usage or how to check it?
I think I'll read some documentation about how the sound system is working on Ubuntu. But if someone know how to fix this error I shall greatly appreciate any help
 
  


Reply

Tags
device, xmms2



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
VFS: cannot open root device "sda3" or unknown-block (0,0) snakeo2 Linux - Newbie 10 07-05-2012 08:23 PM
Ubuntu Custom kernel - kp: cannot open root device "sda1" Thaidog Linux - Software 5 01-08-2009 04:34 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
VFS: Cannot open root device "<NULL>" or unknown-block(8.22) aleksanteri Linux From Scratch 1 10-30-2007 04:02 AM
"Unable to open USB device "usb://hp/LaserJet%201000": No such device" lordshipmayhem Mandriva 2 08-08-2004 04:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:56 AM.

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