Since it did not work out of the box, I thought I'd first enhance my
non-existent skills in this area by first practicising on my machine
with debian ‘lenny’ and no DE environment.
I discovered rather quickly that what goes on behind the scenes is that
said sound bar is (emulates?) an additional sound card.
As a result, I have to direct each program that produces some form or
other of sound output to use the second audio device rather than the
default builtin sound card.
I am able to get ‘mplayer’ to do this but I have no idea how I could
convince the flash plugin behind my web browser to do this, for
instance.
Is there any way I can make the sound bar the system's default and be
done with it?
While testing, I tried redirection when launching programs from the bash
prompt -- i.e. adding ‘/dev/dsp > /dev/dsp1’ -- with unsatisfactory
results: below par sound quality, loud cracks, the speakers go silent
for brief periods of time, etc.
I do not have access to the other laptop right now, but I would assume
gnome has some sort of GUI that lets you specify your default device
‘system-wide’?
Another thing I noticed is that the volume button on the sound bar does
not work: I have to start alsamixer to control the volume, which is not
optimal.
Does this mean that I am using a default generic audio USB driver for
this device and that I should look for something a bit more specific
that might support additional hardware features?
While I am at it I thought I might as well learn how these things work
and stop guessing :-)
Is there a reliable up-to-date document that you would recommend
reading?
Thanks,
cj
P.S. I refrained from posting the 3 pages output by ‘lsusb -vs’. Not
sure if that would help at this point.
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/2010120616...@turki.gavron.org
> I am trying to set up a USB sound bar on someone else's laptop running
> ubuntu 10.10 with a gnome desktop.
what is this sound bar? something to eat :-)?
>
> Since it did not work out of the box, I thought I'd first enhance my
> non-existent skills in this area by first practicising on my machine
> with debian ‘lenny’ and no DE environment.
>
> I discovered rather quickly that what goes on behind the scenes is that
> said sound bar is (emulates?) an additional sound card.
usb sound devices _are_ additional sound cards (actually anything with a
supported soundchip in linux would be a card)
>
> As a result, I have to direct each program that produces some form or
> other of sound output to use the second audio device rather than the
> default builtin sound card.
not necessary if you configure the second one to be default ;-)
>
> I am able to get ‘mplayer’ to do this but I have no idea how I could
> convince the flash plugin behind my web browser to do this, for
> instance.
>
> Is there any way I can make the sound bar the system's default and be
> done with it?
you can read ALSA docs - they are weired but very good. I usually do few
steps to setup a card. You have two options - to setup system wide or user
specific
>
> While testing, I tried redirection when launching programs from the bash
> prompt -- i.e. adding ‘/dev/dsp > /dev/dsp1’ -- with unsatisfactory
> results: below par sound quality, loud cracks, the speakers go silent
> for brief periods of time, etc.
dsp is OSS (not ALSA) and it works only with additional modules (loaded and
configured)
>
> I do not have access to the other laptop right now, but I would assume
> gnome has some sort of GUI that lets you specify your default device
> ‘system-wide’?
check if there is pulse audio installed and running - this might be what you
are looking for (there is something pactrl or alike or gui for this - I'm
not using it but it's the future, so possibly you can use it)
>
> Another thing I noticed is that the volume button on the sound bar does
> not work: I have to start alsamixer to control the volume, which is not
> optimal.
>
> Does this mean that I am using a default generic audio USB driver for
> this device and that I should look for something a bit more specific
> that might support additional hardware features?
I would say this was the configuration for the default card (built in)
>
> While I am at it I thought I might as well learn how these things work
> and stop guessing :-)
then start reading at
http://www.alsa-project.org/main/index.php/Documentation
>
> Is there a reliable up-to-date document that you would recommend
> reading?
>
> Thanks,
>
> cj
>
> P.S. I refrained from posting the 3 pages output by ‘lsusb -vs’. Not
> sure if that would help at this point.
>
thanks, but it would help though to mention what kind of chip your usb card
has (or vendor + model)
I usually setup my notebook following way
*) Add the user to the audio(+video) group
*) create a file /etc/modprobe.d/sound with following
## ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-usb-audio
## module options should go here
#options snd-hda-intel index=0 model=dell-m6,ref,auto
#options snd-hda-intel index=0 model=ref enable_msi=1
options snd-hda-intel index=0 model=ref
#options snd-hda-intel index=0 model=hp-dv5 enable_msi=1 position_fix=1
options snd-usb-audio index=1
This way I have always the built in card configured as "0" which means first
and the usb as second
The options you'll find in the kernel version /Documentation
*) For user specific configuration and experimenting with alsa you can use
$HOME/.asoundrc
example
# from http://alsa.opensrc.org/index.php/Dmix
pcm.headset { # playback only on frontpanel headset
type route
slave.pcm dmixer
slave.channels 8
ttable.0.0 1 # headphones front L
ttable.1.1 1 # headphones front R
}
pcm.speakers { # playback only on desktop speakers
type route
slave.pcm dmixer
slave.channels 8
ttable.0.4 1 # speakers L
ttable.1.5 1 # speakers R
}
regards
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/idj5nl$27f$1...@dough.gmane.org
I used to do that by putting a file 'sound' into /etc/modprobe.d like this:
alias snd-card-0 snd-via82xx
options snd-via82xx index=0
alias snd-card-1 snd_pcsp
options snd_pcsp index=1
alias snd-card-2 snd_ca0106
options snd_ca0106 index=2
the default sound is index=0
Hugo
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/idj5qg$41l$1...@dough.gmane.org
> I am trying to set up a USB sound bar on someone else's laptop running
> ubuntu 10.10 with a gnome desktop.
(...)
There was a recent thread for this purpose:
http://lists.debian.org/debian-user/2010/12/msg00011.html
Basically, you can instruct your alsa config file and set the deafult
sound device to be used.
Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
No, a place where they charge the patrons for listening :-)
[..]
> > Is there any way I can make the sound bar the system's default and be
> > done with it?
>
> you can read ALSA docs - they are weired but very good. I usually do few
> steps to setup a card. You have two options - to setup system wide or user
> specific
That's what I was looking for.
> > While testing, I tried redirection when launching programs from the bash
> > prompt -- i.e. adding ‘/dev/dsp > /dev/dsp1’ -- with unsatisfactory
> > results: below par sound quality, loud cracks, the speakers go silent
> > for brief periods of time, etc.
>
> dsp is OSS (not ALSA) and it works only with additional modules (loaded and
> configured)
OK.
> > I do not have access to the other laptop right now, but I would assume
> > gnome has some sort of GUI that lets you specify your default device
> > ‘system-wide’?
>
> check if there is pulse audio installed and running - this might be what you
> are looking for (there is something pactrl or alike or gui for this - I'm
> not using it but it's the future, so possibly you can use it)
Will do.
> > Another thing I noticed is that the volume button on the sound bar does
> > not work: I have to start alsamixer to control the volume, which is not
> > optimal.
> >
> > Does this mean that I am using a default generic audio USB driver for
> > this device and that I should look for something a bit more specific
> > that might support additional hardware features?
>
> I would say this was the configuration for the default card (built in)
.. and volume and other controls on a builtin sound card would be rather
inconvenient? :-)
> > While I am at it I thought I might as well learn how these things work
> > and stop guessing :-)
>
> then start reading at
> http://www.alsa-project.org/main/index.php/Documentation
Looks more than promising, thanks!
[..]
> > P.S. I refrained from posting the 3 pages output by ‘lsusb -vs’. Not
> > sure if that would help at this point.
> >
>
> thanks, but it would help though to mention what kind of chip your usb card
> has (or vendor + model)
Not sure about the model - the vendor is actually Logitech.
$ tail /var/log/messages
usb 1-1.4: USB disconnect, address 13
usb 1-1.4.4: USB disconnect, address 14
usb 1-1.4: new full speed USB device using uhci_hcd and address 15
usb 1-1.4: configuration #1 chosen from 1 choice
hub 1-1.4:1.0: USB hub found
hub 1-1.4:1.0: 4 ports detected
usb 1-1.4: New USB device found, idVendor=05e3, idProduct=0607
usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1.4: Product: USB2.0 Hub
usb 1-1.4.4: new full speed USB device using uhci_hcd and address 16
usb 1-1.4.4: configuration #1 chosen from 1 choice
input: HOLTEK AudioHub Speaker as /class/input/input11
input,hidraw0: USB HID v1.10 Device [HOLTEK AudioHub Speaker] on usb-0000:00:07.2-1.4.4
usb 1-1.4.4: New USB device found, idVendor=046d, idProduct=0a0e
usb 1-1.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1.4.4: Product: AudioHub Speaker
usb 1-1.4.4: Manufacturer: HOLTEK
Not much that looks like a reference to a chip, at least to my
uneducated eyes. As you notice the device doubles as a USB hub.
What would a chip identifier look like?
> I usually setup my notebook following way
>
> *) Add the user to the audio(+video) group
Did that.
> *) create a file /etc/modprobe.d/sound with following
>
> ## ALSA portion
> alias char-major-116 snd
> alias snd-card-0 snd-hda-intel
> alias snd-card-1 snd-usb-audio
>
> ## module options should go here
> #options snd-hda-intel index=0 model=dell-m6,ref,auto
> #options snd-hda-intel index=0 model=ref enable_msi=1
> options snd-hda-intel index=0 model=ref
> #options snd-hda-intel index=0 model=hp-dv5 enable_msi=1 position_fix=1
> options snd-usb-audio index=1
I currently have this:
$ cat /etc/modprobe.d/sound
alias snd-card-0 snd-es1968
options snd-es1968 index=0
Let me check what this does before I make any changes.
> This way I have always the built in card configured as "0" which means first
> and the usb as second
Ah.. nice.
> The options you'll find in the kernel version /Documentation
>
> *) For user specific configuration and experimenting with alsa you can use
>
> $HOME/.asoundrc
excellent!
[..]
On Mon, Dec 06, 2010 at 12:17:02PM EST, Hugo Vanwoerkom wrote:
[..]
> the default sound is index=0
Thanks to both!
cj
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/2010120618...@turki.gavron.org
> On Mon, Dec 06, 2010 at 12:15:33PM EST, deloptes wrote:
>> Chris Jones wrote:
>>
>> > I am trying to set up a USB sound bar on someone else's laptop running
>> > ubuntu 10.10 with a gnome desktop.
>>
>> what is this sound bar? something to eat :-)?
>
> No, a place where they charge the patrons for listening :-)
>
> [..]
I wanted to know if it is a webcam or something else
I couldn't find information about the chip or even if the card is supported
http://www.linux-usb.org/usb.ids
>
> What would a chip identifier look like?
it doesn't matter when it is usb - the point was the information above about
the ids
>
>> I usually setup my notebook following way
>>
>> *) Add the user to the audio(+video) group
>
> Did that.
>
>> *) create a file /etc/modprobe.d/sound with following
>>
>> ## ALSA portion
>> alias char-major-116 snd
>> alias snd-card-0 snd-hda-intel
>> alias snd-card-1 snd-usb-audio
>>
>> ## module options should go here
>> #options snd-hda-intel index=0 model=dell-m6,ref,auto
>> #options snd-hda-intel index=0 model=ref enable_msi=1
>> options snd-hda-intel index=0 model=ref
>> #options snd-hda-intel index=0 model=hp-dv5 enable_msi=1
>> #position_fix=1
>> options snd-usb-audio index=1
>
> I currently have this:
>
> $ cat /etc/modprobe.d/sound
> alias snd-card-0 snd-es1968
> options snd-es1968 index=0
>
> Let me check what this does before I make any changes.
>
>> This way I have always the built in card configured as "0" which means
>> first and the usb as second
>
> Ah.. nice.
>
>> The options you'll find in the kernel version /Documentation
>>
>> *) For user specific configuration and experimenting with alsa you can
>> use
>>
>> $HOME/.asoundrc
>
> excellent!
>
> [..]
>
> On Mon, Dec 06, 2010 at 12:17:02PM EST, Hugo Vanwoerkom wrote:
>
> [..]
>
>> the default sound is index=0
>
> Thanks to both!
>
> cj
>
>
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/idsocv$omb$1...@dough.gmane.org
> On Mon, Dec 06, 2010 at 12:15:33PM EST, deloptes wrote:
>> Chris Jones wrote:
>>
>> > I am trying to set up a USB sound bar on someone else's laptop running
>> > ubuntu 10.10 with a gnome desktop.
>>
>> what is this sound bar? something to eat :-)?
>
> No, a place where they charge the patrons for listening :-)
>
> [..]
deloptes wrote
I wanted to know if it is a webcam or something else
-------
Not sure if I am understanding your question, but a sound bar is a small bar shaped speaker usually designed to mount below the monitor.
It's a cheap pair of speakers, SoundBar is marketing catch phrases at work for you...
Essentially cheap speakers that mount on the computers monitor
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1306018035-1291971972-cardhu_decombo...@bda029.bisx.prod.on.blackberry
[..]
> I wanted to know if it is a webcam or something else
Well, no.. they're sort of a longish thing with 2 or more speakers that
you connect to audio sources with weak output, such as subnotebooks or
netbooks, etc.
[..]
> > $ tail /var/log/messages
> >
> > usb 1-1.4: USB disconnect, address 13
> > usb 1-1.4.4: USB disconnect, address 14
> > usb 1-1.4: new full speed USB device using uhci_hcd and address 15
> > usb 1-1.4: configuration #1 chosen from 1 choice
> > hub 1-1.4:1.0: USB hub found
> > hub 1-1.4:1.0: 4 ports detected
> > usb 1-1.4: New USB device found, idVendor=05e3, idProduct=0607
> > usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
> > usb 1-1.4: Product: USB2.0 Hub
> > usb 1-1.4.4: new full speed USB device using uhci_hcd and address 16
> > usb 1-1.4.4: configuration #1 chosen from 1 choice
> > input: HOLTEK AudioHub Speaker as /class/input/input11
> > input,hidraw0: USB HID v1.10 Device [HOLTEK AudioHub Speaker] on
> > usb-0000:00:07.2-1.4.4 usb 1-1.4.4: New USB device found, idVendor=046d,
> > idProduct=0a0e usb 1-1.4.4: New USB device strings: Mfr=1, Product=2,
> > SerialNumber=0 usb 1-1.4.4: Product: AudioHub Speaker
> > usb 1-1.4.4: Manufacturer: HOLTEK
> >
> > Not much that looks like a reference to a chip, at least to my
> > uneducated eyes. As you notice the device doubles as a USB hub.
> I couldn't find information about the chip or even if the card is
> supported
>
> http://www.linux-usb.org/usb.ids
According to the above, HOLTEK aren't even supposed to make USB audio
stuff.. :-) Maybe I should send it back & use the compatiblity lists to
try and get something that's supported out of the box.
> > What would a chip identifier look like?
> it doesn't matter when it is usb - the point was the information above
> about the ids
Or maybe I could try plugging it into a Windows system and see what kind
of drivers get installed? That might tell me more about what it really
is and make it easier to search for solutions?
Thanks,
cj
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20101210132...@turki.gavron.org
>> > input,hidraw0: USB HID v1.10 Device [HOLTEK AudioHub Speaker] on
>> > usb-0000:00:07.2-1.4.4 usb 1-1.4.4: New USB device found,
>> > idVendor=046d, idProduct=0a0e usb 1-1.4.4: New USB device strings:
>> > Mfr=1, Product=2, SerialNumber=0 usb 1-1.4.4: Product: AudioHub Speaker
>> > usb 1-1.4.4: Manufacturer: HOLTEK
>> >
>> > Not much that looks like a reference to a chip, at least to my
>> > uneducated eyes. As you notice the device doubles as a USB hub.
>
> > I couldn't find information about the chip or even if the card is
>> supported
>>
>> http://www.linux-usb.org/usb.ids
>
> According to the above, HOLTEK aren't even supposed to make USB audio
> stuff.. :-) Maybe I should send it back & use the compatiblity lists to
> try and get something that's supported out of the box.
I would suggest to ask or to look into the development branches of the linux
kernel or ask the kernel usb audio developers. It might be that they need
to add just the id to the code to get support for it.If you have some C
programming skills you even can try hacking it yourself.
Another option and I think here the problem is that alsa is not working for
this device - thus the system recognizes it but can not associate it with a
driver (snd-usb-audio).
especially this link sound like your problem
http://www.mail-archive.com/ubunt...@lists.ubuntu.com/msg1472852.html
regards
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/ie5vh5$pui$1...@dough.gmane.org
Typically the only configuration needed is a simple .asoundrc file such as the
following:
pcm.!default {
type hw
card Omega
}
ctl.!default {
type hw
card Omega
}
RLH
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> > Chris Jones wrote:
> > > Maybe I should send it back & use the compatiblity lists to try
> > > and get something that's supported out of the box.
>
> Consider a Lexicon Alpha (US$60) or Lexicon Omega (US$180). See
> broadcast suppliers such as www.bswusa.com or www.fullcompass.com.
>
> Typically the only configuration needed is a simple .asoundrc file
> such as the following:
>
> pcm.!default {
> type hw
> card Omega
> }
> ctl.!default {
> type hw
> card Omega
> }
Sounds like I should have asked questions before the fact :-)
cj
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/AANLkTimtjijTn+38e1Ogo...@mail.gmail.com
> >> > input,hidraw0: USB HID v1.10 Device [HOLTEK �AudioHub Speaker] on
> >> > usb-0000:00:07.2-1.4.4 usb 1-1.4.4: New USB device found,
> >> > idVendor=046d, idProduct=0a0e usb 1-1.4.4: New USB device
> >> > strings: Mfr=1, Product=2, SerialNumber=0 usb 1-1.4.4: Product:
> >> > AudioHub Speaker usb 1-1.4.4: Manufacturer: HOLTEK
> >> >
> >> > Not much that looks like a reference to a chip, at least to my
> >> > uneducated eyes. As you notice the device doubles as a USB hub.
> >
> > > I couldn't find information about the chip or even if the card is
> >> supported
> >>
> >> http://www.linux-usb.org/usb.ids
> >
> > According to the above, HOLTEK aren't even supposed to make USB
> > audio stuff.. :-) Maybe I should send it back & use the compatiblity
> > lists to try and get something that's supported out of the box.
>
> I would suggest to ask or to look into the development branches of the
> linux kernel or ask the kernel usb audio developers. It might be that
> they need to add just the id to the code to get support for it.If you
> have some C programming skills you even can try hacking it yourself.
>
> Another option and I think here the problem is that alsa is not
> working for this device - thus the system recognizes it but can not
> associate it with a driver (snd-usb-audio).
>
> especially this link sound like your problem
>
> http://www.mail-archive.com/ubunt...@lists.ubuntu.com/msg1472852.html
As it happens it works in ubuntu 10.10 out of the box. I only need to go
to the sounds preferences and switch cards and sound is routed to the
soundbar. Both the media controls (volume, mute) on the laptop's
keyboard and the volume knob work.
I'll see if I can get it to work in squeeze by comparing the
configurations.
cj
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> Ubuntu is now heavily invested in Pulse Audio so what you learn in
> Debian won't necessarily apply there. You might want to convince your
> friend to use Debian instead.
Hm. I may end up doing that..
What's the deal with Pulse Audio..
It's available in debian stable.. any reason I should not use myself as
well it if it ‘just works’..?
cj
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Pulse Audio is very mature and usable in Ubuntu 10.10, I recommend
using it if it works for you. But it tool some hard years to get to
that state, therefore PA has a very bad reputation.
I recommend that you just continue using Ubuntu 10.10 if that works
for the express purpose that that machine was intended for. If you
outgrow Ubuntu, you'll know!
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/AANLkTinrYMofcULxcNpW...@mail.gmail.com
Thanks. Will wait till squeeze becomes stable and give it another shot.
cj
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org