LinuxQuestions.org
Review your favorite Linux distribution.
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 10-25-2006, 08:31 PM   #1
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318

Rep: Reputation: 30
USB Speakers on E-DR16 on Debian


I am running Enlightenment DR16 on Debian. I am trying to play music on XMMS through my USB powered speakers. Whenever I try to play a music file either on XMMS or any other media player, it gives me an error saying that there are no sound devices or drivers or something. But my audio plays fine if I use the laptop speakers (I am on a laptop). How can I set it to recognize my USB Speakers and play audio through them? Thanks in advance for the help.


I'd also like to offer $5.00 USD through PayPal to the first person who can assist me in getting my audio to work. Thanks again.

Last edited by SentralOrigin; 10-25-2006 at 08:38 PM.
 
Old 10-26-2006, 12:29 PM   #2
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318

Original Poster
Rep: Reputation: 30
Where can I download USB drivers for ALSA?
How do I switch soundcards but change the output from the mainboard?
 
Old 10-26-2006, 02:25 PM   #3
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318

Original Poster
Rep: Reputation: 30
I downloaded the alsa-driver but I don't understand these instructions.

How do I run 'make'? There is no such file and I did view > hidden files and also console says it's not a valid command
 
Old 10-26-2006, 02:33 PM   #4
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
You need to install the compiler and build tools: as root, run apt-get install build-essential
 
Old 10-26-2006, 05:02 PM   #5
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318

Original Poster
Rep: Reputation: 30
It says I already have the newest version

What do I do now?

Last edited by SentralOrigin; 10-26-2006 at 05:06 PM.
 
Old 10-26-2006, 08:28 PM   #6
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
well that's doesn't sound right...

Can you post the exact output of the following commands when run from a console:
Code:
which make

dpkg --listfiles make |grep -v locale

dpkg --status build-essential |head
 
Old 10-26-2006, 09:28 PM   #7
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by ntubski
well that's doesn't sound right...

Can you post the exact output of the following commands when run from a console:
Code:
which make

dpkg --listfiles make |grep -v locale

dpkg --status build-essential |head
/.
/usr
/usr/bin
/usr/bin/make
/usr/lib
/usr/share
/usr/share/doc
/usr/share/doc/make
/usr/share/doc/make/NEWS.gz
/usr/share/doc/make/changelog.gz
/usr/share/doc/make/Explanations.gz
/usr/share/doc/make/changelog.Debian.gz
/usr/share/doc/make/README.gz
/usr/share/doc/make/NEWS.Debian.gz
/usr/share/doc/make/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/make.1.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/make



and



Package: build-essential
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 20
Maintainer: Matthias Klose <doko@debian.org>
Architecture: i386
Version: 11.3
Depends: libc6-dev | libc-dev, gcc (>= 4:4.1.1), g++ (>= 4:4.1.1), make, dpkg-dev (>= 1.13.5)
Description: informational list of build-essential packages
 
Old 10-26-2006, 11:25 PM   #8
hack124x768
Member
 
Registered: Mar 2004
Location: everett
Distribution: slak
Posts: 61

Rep: Reputation: 15
You guys are taking the total wrong approach here. Debian has great hardware support, you shouldn't need to compile anything (w00t! confuse the newbie).

Can you see is in your mixer or by running lsusb (as root in a terminal)?

If yes, you should just need to set up xmms to use them instead of your other ones. Right click in the main xmms window and click on options>preferences.
Make sure ALSA is selected for your output plugin.
Click on configure.
Under the audio device dripdown, click on your speakers, they might have a funny name as ALSA cares about the chip they use, not the lable on the box. It will most likely have (hw:1,0) next to it.
Click OK a bunch and restart the currently playing song (if any) and see it it works.
You may need to adjust your mixes settings still. To do that you should be abe to click on the speaker on the task bar and click mixer (KDE) or double click it (Gnome). Thre should be a device dropdown with your speakers listed there. Click on it and make sure the sliders arn't all the way down, or muted.

Hope this helps.

(give the $5 to a dev, they need it more than freeloaders like me.)
 
Old 10-26-2006, 11:40 PM   #9
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318

Original Poster
Rep: Reputation: 30
I still get the same error message saying that it can't play audio

But the speakers do show up in lsusb

I use Enlightenment so I don't have a taskbar but I know the volume isn't muted because I can hear sound on my mainboard speaker

I think I need a driver or something because the Debian definitely recognizes my speakers are there but it can't play audio with them because it thinks they can't play music even though they know it's for playing audio

Last edited by SentralOrigin; 10-26-2006 at 11:52 PM.
 
Old 10-26-2006, 11:54 PM   #10
hack124x768
Member
 
Registered: Mar 2004
Location: everett
Distribution: slak
Posts: 61

Rep: Reputation: 15
Mainboard speaker... As in the beeper of evil? Thats totally unrelated to PCM audio. You need to make SURE that the USB SPEAKERS are unmuted, as you are probaly looking at the laptop's built in speaker's mixer settings.

Try entering this on be terminal "alsamixer -c 1"
That will show you ONLY the mixer for the USB audio device.

And did you set up xmms to use the second card?
 
Old 10-27-2006, 12:00 AM   #11
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318

Original Poster
Rep: Reputation: 30
alsamixer -c 1



http://img228.imageshack.us/img228/4...apshot1oh5.png



XMMS second card (actually i only have 1 card but 2 different speakers, the mainboard and usb)

http://img19.imageshack.us/img19/5296/snapshot2dk8.png


This is the other option on the bottom one


http://img147.imageshack.us/img147/7...apshot3hz8.png

Last edited by SentralOrigin; 10-27-2006 at 12:12 AM.
 
Old 10-27-2006, 11:54 AM   #12
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Quote:
Originally Posted by hack124x768
You guys are taking the total wrong approach here. Debian has great hardware support, you shouldn't need to compile anything (w00t! confuse the newbie).
Yeah, you're probably right, but I decided tackle the problem that I knew how to handle.

I think the only problem with make is that you were in the wrong directory. You have to cd to the directory where you extracted the files to, then type make and hit enter.
 
Old 10-27-2006, 12:04 PM   #13
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318

Original Poster
Rep: Reputation: 30
I was able to install the ALSA-driver but it made no difference
 
Old 10-27-2006, 02:18 PM   #14
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318

Original Poster
Rep: Reputation: 30
Here are my XMMS ALSA settings


http://img120.imageshack.us/img120/3...apshot4vx3.png




Here is the error message I always get when I try playing USB but mainboard sound works fine


http://img236.imageshack.us/img236/6...apshot5di4.png
 
Old 10-27-2006, 02:46 PM   #15
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318

Original Poster
Rep: Reputation: 30
I was able to record the error message in Aterm when I first try to play a song in XMMS. After this error message, I get the usual pop-up one from the screenshot before this one



http://img56.imageshack.us/img56/2076/snapshot6fa3.png
 
  


Reply

Tags
speakers, usb


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
I need help with my USB Speakers Delicate_Shadow Linux - Hardware 2 08-23-2006 03:39 PM
Problem USB Speakers Mantorok Linux - Hardware 1 05-27-2006 04:40 PM
USB Speakers Help Delicate_Shadow Linux - Hardware 0 05-10-2006 02:50 PM
5.1 speakers won't go on Debian CompiMan Debian 4 03-16-2006 10:28 AM
Enlightenment DR16: audio pauses when resizing or moving windows animehair Linux - Software 0 05-14-2005 04:43 PM

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

All times are GMT -5. The time now is 11:45 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