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.
|
 |
|
10-25-2006, 08:31 PM
|
#1
|
Member
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318
Rep:
|
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.
|
|
|
10-26-2006, 12:29 PM
|
#2
|
Member
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318
Original Poster
Rep:
|
Where can I download USB drivers for ALSA?
How do I switch soundcards but change the output from the mainboard?
|
|
|
10-26-2006, 02:25 PM
|
#3
|
Member
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318
Original Poster
Rep:
|
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
|
|
|
10-26-2006, 02:33 PM
|
#4
|
Senior Member
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,829
|
You need to install the compiler and build tools: as root, run apt-get install build-essential
|
|
|
10-26-2006, 05:02 PM
|
#5
|
Member
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318
Original Poster
Rep:
|
It says I already have the newest version
What do I do now?
Last edited by SentralOrigin; 10-26-2006 at 05:06 PM.
|
|
|
10-26-2006, 08:28 PM
|
#6
|
Senior Member
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,829
|
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
|
|
|
10-26-2006, 09:28 PM
|
#7
|
Member
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318
Original Poster
Rep:
|
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
|
|
|
10-26-2006, 11:25 PM
|
#8
|
Member
Registered: Mar 2004
Location: everett
Distribution: slak
Posts: 61
Rep:
|
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.)
|
|
|
10-26-2006, 11:40 PM
|
#9
|
Member
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318
Original Poster
Rep:
|
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.
|
|
|
10-26-2006, 11:54 PM
|
#10
|
Member
Registered: Mar 2004
Location: everett
Distribution: slak
Posts: 61
Rep:
|
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?
|
|
|
10-27-2006, 12:00 AM
|
#11
|
Member
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318
Original Poster
Rep:
|
Last edited by SentralOrigin; 10-27-2006 at 12:12 AM.
|
|
|
10-27-2006, 11:54 AM
|
#12
|
Senior Member
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,829
|
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.
|
|
|
10-27-2006, 12:04 PM
|
#13
|
Member
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318
Original Poster
Rep:
|
I was able to install the ALSA-driver but it made no difference
|
|
|
10-27-2006, 02:46 PM
|
#15
|
Member
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 07:23 AM.
|
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
|
|