LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   xmms2 "Couldn't open device: hw:0,0" (https://www.linuxquestions.org/questions/linux-software-2/xmms2-couldn%27t-open-device-hw-0-0-a-802468/)

McAngel 04-16-2010 05:20 PM

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

Shadow_7 04-18-2010 08:49 AM

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

McAngel 04-19-2010 02:48 PM

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 :)


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