LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2011, 11:00 PM   #1
Ipozya
Member
 
Registered: Dec 2010
Distribution: Arch
Posts: 54

Rep: Reputation: 2
USB Speakers (Logitech v20)


Hello,
I was wondering if someone could assist me in getting my usb speakers up and running? Here is the output from lspci, lsusb, lsmod

lspci
Code:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc M96 [Mobility Radeon HD 4650]
01:00.1 Audio device: ATI Technologies Inc RV710/730
06:00.0 Network controller: Intel Corporation WiFi Link 5100
08:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 14)
0a:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
0a:03.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
0a:03.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
lsusb (I highlighted the speakers in bold, which are recognized)
Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05ca:183d Ricoh Co., Ltd Sony Vaio Integrated Webcam
Bus 007 Device 002: ID 046d:c521 Logitech, Inc. Cordless Mouse Receiver
Bus 006 Device 002: ID 046d:0a04 Logitech, Inc. V20 portable speakers (USB powered)
lsmod
Code:
Module                  Size  Used by
btusb                  11689  0 
bluetooth              53970  1 btusb
snd_usb_audio          87191  0 
snd_usbmidi_lib        18484  1 snd_usb_audio
snd_rawmidi            19525  1 snd_usbmidi_lib
ipv6                  280810  0 
reiserfs              238148  1 
snd_hda_codec_hdmi     22593  1 
uvcvideo               61832  0 
videodev               65502  1 uvcvideo
v4l1_compat            16010  2 uvcvideo,videodev
v4l2_compat_ioctl32    10228  1 videodev
arc4                    1394  2 
ecb                     2057  2 
snd_seq_dummy           1479  0 
usbhid                 36375  0 
hid                    77863  1 usbhid
snd_seq_oss            29368  0 
snd_seq_midi_event      5516  1 snd_seq_oss
snd_seq                50594  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          5281  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
radeon                920204  2 
snd_pcm_oss            39669  0 
snd_mixer_oss          17858  1 snd_pcm_oss
snd_hda_codec_realtek   295557  1 
ttm                    52821  1 radeon
drm_kms_helper         26587  1 radeon
drm                   173731  4 radeon,ttm,drm_kms_helper
i2c_algo_bit            4927  1 radeon
iwlagn                358041  0 
iwlcore                92743  1 iwlagn
mac80211              199564  2 iwlagn,iwlcore
cfg80211              139317  3 iwlagn,iwlcore,mac80211
snd_hda_intel          21837  0 
snd_hda_codec          74609  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               6222  2 snd_usb_audio,snd_hda_codec
joydev                 10183  0 
snd_pcm                72481  4 snd_usb_audio,snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              19537  2 snd_seq,snd_pcm
snd                    58938  15 snd_usb_audio,snd_usbmidi_lib,snd_rawmidi,snd_hda_codec_hdmi,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               6161  1 snd
cpufreq_ondemand        8716  2 
uhci_hcd               22230  0 
snd_page_alloc          7361  2 snd_hda_intel,snd_pcm
sky2                   46437  0 
firewire_ohci          26921  0 
firewire_core          49974  1 firewire_ohci
ehci_hcd               37571  0 
sony_laptop            25823  0 
rfkill                 16122  3 bluetooth,cfg80211,sony_laptop
sdhci_pci               7454  0 
sdhci                  17174  1 sdhci_pci
crc_itu_t               1313  1 firewire_core
usbcore               139048  8 btusb,snd_usb_audio,snd_usbmidi_lib,uvcvideo,usbhid,uhci_hcd,ehci_hcd
acpi_cpufreq            5977  1 
video                  11923  0 
i2c_i801                8230  0 
output                  1988  1 video
mmc_core               62378  1 sdhci
serio_raw               4566  0 
freq_table              2339  2 cpufreq_ondemand,acpi_cpufreq
shpchp                 26725  0 
pci_hotplug            24655  1 shpchp
i2c_core               19078  6 videodev,radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
thermal                 7890  0 
sg                     25972  0 
ac                      3217  0 
button                  4882  0 
battery                10279  0 
intel_agp              10504  0 
intel_gtt              15215  1 intel_agp
iTCO_wdt               10925  0 
iTCO_vendor_support     1817  1 iTCO_wdt
psmouse                53237  0 
processor              25265  3 acpi_cpufreq
evdev                   9361  10 
mperf                   1259  1 acpi_cpufreq
lp                      8992  0 
parport                30087  1 lp
ext3                  125159  5 
jbd                    46953  1 ext3
mbcache                 5802  1 ext3
sd_mod                 27120  8 
sr_mod                 15402  0 
cdrom                  36363  1 sr_mod
ahci                   20369  7 
libahci                17952  1 ahci
libata                169364  2 ahci,libahci
scsi_mod              125814  4 sg,sd_mod,sr_mod,libata
Alsamixer shows a spot for speakers, but there is no bar above it, i.e. I can't change volume as they are not recognized?

Thank you in advance!

Last edited by Ipozya; 02-08-2011 at 11:42 PM.
 
Old 02-09-2011, 01:52 AM   #2
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Isn't the USB plug on the speakers only to provide power?
I don't have this exact model, but I do have other speakers that have an audio plug and a usb plug.

Ok, I spent 2 seconds Googling, and found this hope it helps
http://wiki.eeeuser.com/howto:usbspeakers

Rerun alsaconf to detect the speakers, and right a new sound.conf.

Last edited by disturbed1; 02-09-2011 at 01:58 AM.
 
Old 02-09-2011, 10:29 AM   #3
Ipozya
Member
 
Registered: Dec 2010
Distribution: Arch
Posts: 54

Original Poster
Rep: Reputation: 2
Thanks for the response, disturbed1. I re-ran alsaconf with no difference. I believe, like you said, that the cord is simply for the power (blue light on speakers lights up). The computer speakers continue to be the ones playing. When I look in alsamixer, I see the line for the speakers but there is no bar above it for me to adjust. Also, I didn't see any mention of the sound.conf in the article, which only discussed the xbindkeys and kde settings (running fluxbox and have those keys adjusted already)

I do not believe that this is causing the error, but I have goth snd-pcsp pcspkr blacklisted in modules (! in /etc/rc.conf) as was suggested in arch wiki to remove beeping sound on computer.

Last edited by Ipozya; 02-09-2011 at 10:33 AM.
 
Old 02-09-2011, 01:15 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
USB speakers are really another "audio device" and need to be configured as such.

Here's an old post of mine that may help you get them working. You can probably do clicky-clicky GUI stuff now, but that post may help you get started.

Either way, please let us know how you get on.
 
Old 02-09-2011, 04:54 PM   #5
Ipozya
Member
 
Registered: Dec 2010
Distribution: Arch
Posts: 54

Original Poster
Rep: Reputation: 2
Thanks for the link. Switching the 0-->1 in my alsa configuration file worked to get usb speakers to function. i will introduce a script in rc.local to make it so that it automatically uses them whenver they are plugged in. After having plugged in, however, my volume buttons on laptop keyboard no longer work to adjust speaker volume (neither do the ones located on speakers); I have to resort to using alsamixer. When I unplugged the speakers, it reverted back to the internal sound, but now the volume buttons don't work for these either (I am assuming it would reset if I rebooted computer). How could I fix this? Here is my xbindkeys configuration

.xbindkeysrc
Code:
# Increase volume
"amixer set Master playback 1+"
    m:0x0 + c:123
    XF86AudioRaiseVolume

# Decrease volume
"amixer set Master playback 1-"
    m:0x0 + c:122
    XF86AudioLowerVolume

# Toggle mute
"amixer set Master toggle"
    m:0x0 + c:156
    XF86Launch1
It may be that the volume commands need to include PCM, but I would like them to work universally (and it's strange that they stop working when I unplug usb still).

Last edited by Ipozya; 02-10-2011 at 12:21 AM.
 
Old 02-09-2011, 09:22 PM   #6
Ipozya
Member
 
Registered: Dec 2010
Distribution: Arch
Posts: 54

Original Poster
Rep: Reputation: 2
bump. any ideas from someone who uses usb speakers?
 
  


Reply



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
Logitech speakers and laptop Pekausis Linux - Laptop and Netbook 1 08-14-2009 09:44 PM
LXer: CFS scheduler v20 for v2.6.22.5, v2.6.21.7 and v2.6.20.16 LXer Syndicated Linux News 0 08-24-2007 01:20 AM
Logitech x-230 speakers on Ubuntu xabierurra Linux - Hardware 1 04-01-2007 05:16 AM
problem configuring logitech v20 USB speakers bucket9 Linux - Hardware 1 01-05-2006 02:46 PM
Logitech Z-640 speakers & 5.1 surround sound krissly1 Linux - Newbie 1 11-27-2003 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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