31.10.2024, 23:59 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
SentralOrigin
Titel: USB Speakers on Laptop  BeitragVerfasst am: 25.10.2006, 05:01 Uhr



Anmeldung: 22. Okt 2005
Beiträge: 100
Wohnort: California, USA
I have laptop speakers but I don't want to use those; I want to use the speakers connected to my USB port. How can I make my Kanotix use that and not the laptop speakers?
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
Kano
Titel: RE: USB Speakers on Laptop  BeitragVerfasst am: 25.10.2006, 09:57 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 16790

Most easy way would be to blacklist die "normal" module or you disable onboard sound in BIOS.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
SentralOrigin
Titel: RE: USB Speakers on Laptop  BeitragVerfasst am: 25.10.2006, 13:51 Uhr



Anmeldung: 22. Okt 2005
Beiträge: 100
Wohnort: California, USA
Can you teach me how to do that please
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
hubi
Titel: RE: USB Speakers on Laptop  BeitragVerfasst am: 25.10.2006, 16:24 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
I have never blacklisted the onboard sound (but that's a great idea) but use Philips external USB speakers when I visit my parents. I just plug it in and set alsa to hw:1,0 (either in kcontrol or in the apps). Most of the time they are recognized at such.

Blacklisting:
as root edit /etc/modprobe.d/blacklist and add
Zitat:
blacklist snd-whatever


Easy way as root in the shell:
Code:
echo blacklist snd-whatever >> /etc/modprobe.d/blacklist

snd-whatever has to be replaced by the name of your sound-module. You can list your modules with
Code:
lsmod | grep snd
If you do not know what the output means, post it here.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
SentralOrigin
Titel:   BeitragVerfasst am: 25.10.2006, 16:50 Uhr



Anmeldung: 22. Okt 2005
Beiträge: 100
Wohnort: California, USA
The sound doesn't work at all now. The USB powered speakers are green lighted which means they are on and operating. Maybe Kanotix is not detecting them? I am using Enlightenment DR16 by the way
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 25.10.2006, 17:26 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
First two things I would check:

1. alsa hardware setting (xmms does it nicely, gives you the hardware address in alsa-plugin configuration)
2. alsamixer setting. Maybe you have to mute or unmute sth.

You can also check
Code:
lsusb
if your speakers are recognized at all by the USB-system.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
SentralOrigin
Titel:   BeitragVerfasst am: 25.10.2006, 17:27 Uhr



Anmeldung: 22. Okt 2005
Beiträge: 100
Wohnort: California, USA
How do I undo a blacklist?

I got the sound back working but it still doesn't come out of the speakers

Yes it does detect my USB speakers

How do I get to blacklist? I get error

root@Debian:/home/sentralorigin # /etc/modprobe.d/blacklist
bash: /etc/modprobe.d/blacklist: Permission denied


Also how do I log out of root from console




I got a list of these and blacklisted every single one with echo blacklist snd-blahblah-blah >> /etc/modprobe.d/blacklist


snd_usb_audio 69984 1
snd_intel8x0m 14732 6
snd_intel8x0 28956 3
snd_ac97_codec 86304 2 snd_intel8x0m,snd_intel8x0
snd_ac97_bus 3072 1 snd_ac97_codec
snd_usb_lib 14720 1 snd_usb_audio
snd_pcm_oss 39456 0
snd_mixer_oss 14720 1 snd_pcm_oss
snd_rawmidi 20000 1 snd_usb_lib
snd_seq_device 7308 1 snd_rawmidi
snd_hwdep 7812 1 snd_usb_audio
snd_pcm 66052 7 snd_usb_audio,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 19588 1 snd_pcm
snd 42852 29 snd_usb_audio,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_rawmidi,snd_seq_device,snd_hwdep,snd_pcm,snd_timer
soundcore 8288 1 snd
snd_page_alloc 8456 3 snd_intel8x0m,snd_intel8x0,snd_pcm
usbcore 107908 6 snd_usb_audio,snd_usb_lib,usbhid,ehci_hcd,uhci_hcd
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
Kano
Titel:   BeitragVerfasst am: 25.10.2006, 17:57 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 16790

Thats not needed. Only blacklist snd_intel8x0.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
mzilikazi
Titel:   BeitragVerfasst am: 25.10.2006, 18:29 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
SentralOrigin hat folgendes geschrieben::


How do I get to blacklist? I get error

root@Debian:/home/sentralorigin # /etc/modprobe.d/blacklist
bash: /etc/modprobe.d/blacklist: Permission denied


You need to use an editor to edit the file. Not sure what editor you have available so I'll use xedit as an example:
Code:
$ su
# xedit /etc/modprobe.d/blacklist


I like an small editor called leafpad but you can use any editor you like.
Code:
# apt-get install leafpad


Zitat:

Also how do I log out of root from console


CTRL+D
OR
Code:
exit


Smilie

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
SentralOrigin
Titel:   BeitragVerfasst am: 25.10.2006, 19:32 Uhr



Anmeldung: 22. Okt 2005
Beiträge: 100
Wohnort: California, USA
Oops

How do I log into root from the login screen? I can only see my name 'SentralOrigin' and no option to log in as root as when I had 2005-4


Zuletzt bearbeitet von SentralOrigin am 25.10.2006, 19:41 Uhr, insgesamt 2 Male bearbeitet
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
SentralOrigin
Titel:   BeitragVerfasst am: 25.10.2006, 19:35 Uhr



Anmeldung: 22. Okt 2005
Beiträge: 100
Wohnort: California, USA
mzilikazi hat folgendes geschrieben::
SentralOrigin hat folgendes geschrieben::


How do I get to blacklist? I get error

root@Debian:/home/sentralorigin # /etc/modprobe.d/blacklist
bash: /etc/modprobe.d/blacklist: Permission denied


You need to use an editor to edit the file. Not sure what editor you have available so I'll use xedit as an example:
Code:
$ su
# xedit /etc/modprobe.d/blacklist


I like an small editor called leafpad but you can use any editor you like.
Code:
# apt-get install leafpad



I tried to edit and then save but I get this error:

The document could not be saved, as it was not possible to write to file:///etc/modprobe.d/blacklist.
Check that you have write access to this file or that enough disk space is available.

I think it's because I'm not logged in as root. How can I log in to root? I don't have the option to because I only have one option to log in as "SentralOrigin"
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 25.10.2006, 19:42 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
Do blacklisting like that:
Code:
echo blacklist snd_intel8x0 >> /etc/modprobe.d/blacklist
After that it is blacklisted, you wrote a line into a textfile.



To undo the blacklisting, open the file through the console as root like that (there are two ways, chose one of them:
Code:
# mcedit /etc/modprobe.d/blacklist
# vim /etc/modprobe.d/blacklist


If you are more familiar with gui-editors (I suppose so) become root the following way:
Code:
sux
[password]
kedit /etc/modprobe.d/blacklist


Then you can either delete the line or you just comment that line with # plus SPACE. So it might look like that:
Zitat:
# blacklist snd_intel8x0


Btw, you cannot start the file blacklist in a shell just by typing it's path, it is a text-file.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
mzilikazi
Titel:   BeitragVerfasst am: 25.10.2006, 19:58 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
SentralOrigin hat folgendes geschrieben::
[
I think it's because I'm not logged in as root. How can I log in to root? I don't have the option to because I only have one option to log in as "SentralOrigin"


Well logging into Xwindows as root is not a good idea nor is it necessary. Just use a terminal, get root and edit your file from there.
Code:
$ su
# xedit /etc/modprobe.d/blacklist


Note the $ indicates you are USER
the # indicates that you are ROOT

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
SentralOrigin
Titel:   BeitragVerfasst am: 25.10.2006, 20:01 Uhr



Anmeldung: 22. Okt 2005
Beiträge: 100
Wohnort: California, USA
Thank you sir that fixed all my problems EXCEPT the sound problem :p

The music still plays through my laptop speakers instead of my USB speakers.

Do I have to reboot or something?
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
SentralOrigin
Titel:   BeitragVerfasst am: 25.10.2006, 20:42 Uhr



Anmeldung: 22. Okt 2005
Beiträge: 100
Wohnort: California, USA
Okay I can't block the mainboard sound from BIOS, but I got the blacklisting correctly so the sound doesn't come out anymore.

But now the sound won't come out at all. How can I make it recognize my USB speakers now?
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
SentralOrigin
Titel:   BeitragVerfasst am: 25.10.2006, 20:52 Uhr



Anmeldung: 22. Okt 2005
Beiträge: 100
Wohnort: California, USA
It seems as if my box recognizes the USB as speakers and it knows that it can play audio through it, but it just doesn't want to because it thinks it can't play audio? or something LOL

Any suggestions on how to make it play through my USB? I'm running on Enlightenment DR16, by the way. When I try to play music through XMMS it says sound is not detected but when I check the settings it knows that the USB speakers are there and I can change the volume on the thing and in the XMMS (but it does it both at the same time) so I dunno
Please help
Thank you very much for all the help so far
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 25.10.2006, 20:58 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
Here is Kanotix, not Delphix Mr. Green

Sometimes a reboot is the quickest way. My cheapo external USB soundcard here needs a reboot and is recognised then by the default settings. xmms does not love it, kde-progs love it.

My USB-speakers at my parent's place are more sophisticated, they can be set to work how I want. And that's the easiest way:
Do you have xmms installed. If yes, open it and look at the list of devices for the alsa-plugin. That's quite handy.

Look at this pic:
http://img508.imageshack.us/img508/6852/xmmsjd9.png

It's the alsa-output-plugin configuration in the xmms options, and there you can see hw:0,0. That is the address for alsa you need to set. In this case, it is my cheapo external soundcard, it runs through default pcm, which yours obviously does not, your default is the internal speakers.

By having got that address, you just adjust all your outputs to alsa with that address. How to teach E DR16 that it uses alsa only, I do not have the slightest idea, I do not know that DE. So try it with xmms first or with any other multimedia software.

You can also try to reload alsa as root in the shell (don't type the #, it inidcates you should be root):
Code:
# /etc/init.d/alsa reload


So you can do:
1. check xmms for address
2. reboot
3. reload alsa

If then there is still no sound, I am out of ideas Mr. Green

Greetings
hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 25.10.2006, 21:07 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
SentralOrigin hat folgendes geschrieben::
When I try to play music through XMMS it says sound is not detected but when I check the settings it knows that the USB speakers are there and I can change the volume on the thing and in the XMMS (but it does it both at the same time) so I dunno


Alright, some cheapo USB as well obviously (cheap does not mean automatically the price you pay :-/).

Ok, same problem here, I was never able to convince xmms to play sth. All KDE-stuff works perfectly.

But you have the address. Try other players with that hardware-adress (hw:x,x).

It's obviously a hardware thing, my Philips-Speakers are plug and play. With every application and with every player, and they can play sound simultaniously from various sources. With my cheapo here I can't do those funny things.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
SentralOrigin
Titel:   BeitragVerfasst am: 25.10.2006, 21:15 Uhr



Anmeldung: 22. Okt 2005
Beiträge: 100
Wohnort: California, USA
Damnit it still doesn't play

In the Alsa config, should I box off the "Use software volume control"? I don't know what that does. It still won't play any sound, even when I removed the blacklist from the mainboard lol. But I set it to play as the hw 0,0 USB device. Damnit
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
SentralOrigin
Titel:   BeitragVerfasst am: 25.10.2006, 21:17 Uhr



Anmeldung: 22. Okt 2005
Beiträge: 100
Wohnort: California, USA
I tried using Amarok but my error message is:

xine was unable to initialize any audio drivers.
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
SentralOrigin
Titel:   BeitragVerfasst am: 25.10.2006, 21:20 Uhr



Anmeldung: 22. Okt 2005
Beiträge: 100
Wohnort: California, USA
I just unplugged my USB speakers and I plugged them back in and now they won't even turn on

Do I need to mount the USB drive maybe?

I just tried playing music in Kaffeine or whatever and I got the error:

xine
failed to initialize all audio drivers

Or something along the lines of that
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 25.10.2006, 21:35 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
SentralOrigin hat folgendes geschrieben::
But I set it to play as the hw 0,0 USB device.
The address should be hw:0,0

Or was it a typo?

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 25.10.2006, 21:37 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
SentralOrigin hat folgendes geschrieben::
I tried using Amarok but my error message is:

xine was unable to initialize any audio drivers.
Ah! I know that one.

Keep xine, set device to automatic. If that works, reset it to alsa. And if that works, keep it.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
hubi
Titel:   BeitragVerfasst am: 25.10.2006, 21:40 Uhr



Anmeldung: 22. Jan 2006
Beiträge: 1296
Wohnort: Budapest
SentralOrigin hat folgendes geschrieben::
I just unplugged my USB speakers and I plugged them back in and now they won't even turn on
None of my speakers/soundcards which are USB love being unplugged. I usually reboot then, just because I don't know how to get the modules back. Quite dumb those things. Mounting does not help, they are no filesystems.

hubi

_________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
mzilikazi
Titel:   BeitragVerfasst am: 25.10.2006, 23:22 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
SentralOrigin hat folgendes geschrieben::
I just unplugged my USB speakers and I plugged them back in and now they won't even turn on

Do I need to mount the USB drive maybe?

I just tried playing music in Kaffeine or whatever and I got the error:

xine
failed to initialize all audio drivers

Or something along the lines of that


What make/model/brand of USB speakers? I've never owned any USB speakers myself but Google might know something about them.

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.