Re: [Alsa-user] USB soundcard advice

2009-11-03 Thread James Shatto
On Mon, 2 Nov 2009 20:42:48 +0100
Y.A. Bolawy bol...@gmail.com wrote:

 Hi all,
 
 I'd like some advice on a USB soundcard. The reason for getting one is
 that I'd like to have good quality sound on all the computers I use or
 will use. The quality should be good enough to allow speech
 recognition. Of course, that is possible to some extend with any
 soundcard, but if the quality is low it has a big impact.
 
 Unfortunately, the better the quality of the cards, the less standard
 compliance they seem to be. At least that seems to be the underlying
 message of everything I've read so far.

USB Audio is a standard.  As long as the box says class compliant, it should 
work out of the box in linux.  Only one caveat though as it wont default to 
card 0 and be your default card.  Since you probably have a motherboard with 
onboard sound.  Configure accordingly.  I have a USB M-Audio Mobile Pre and it 
works fine.  Although web browsers don't seem to use it properly even though I 
have it configured to card 0.  I've never had a problem recording from it 
though.  Not really the best audio option, but loads better than most stock 
soundcards.

HTH,
James

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] [Intel-gfx] Problems with HDMI audio on Intel DG45FC motherboard

2009-11-03 Thread David Härdeman
I've done some more testing...

I managed to borrow a DG45FC based computer with Windows 7 (32-bit, using
HDMI driver 14.6 from Intel's website) from a colleague over the weekend.

Under Windows 7, HDMI audio with my receiver just works when using the
Windows drivers (no complete-track-silence, no initial 0.5s silence). If I
use the control panel application to configure a 5.1 speaker setup, the
corresponding 5.1 speaker indication lights up on the receiver LCD and
stays on whether I'm playing stereo sounds (like Windows event sounds) or
multi-channel sources (tested with a DVD played using VLC with software
decoding of the AC3 track to 6 channel PCM stream). This suggests that my
issues *can* be resolved by hacking the driver :)

The windows driver also has some interesting registry entries referring to
SilentStream and VCFG, the latter probably referring to the VCFG bit
in the digital converter control reg in section 7.3.3.9 of the HDA spec).

Also, it's interesting to note that when I am playing a working audio
sample under Linux, then pause and resume playing (using the UI controls),
there are no hiccups and no initial silence when the player resumes (from
a quick reading of the code, the audio infoframe should still be
transmitted, only DMA of audio data is stopped when pcm is paused).

Perhaps I've been going down the wrong path by focusing too much on the
audio infoframe side of things.

I wonder if the approach taken by the Windows drivers when there is
nothing to play is more similar to the pause/play commands in the Linux
driver and if it would be a big undertaking to make the Linux driver do
something similar...?

(Another option I'm planning to look into is whether power-saving might
interfere with normal HDMI audio operation.)

On Mon, November 2, 2009 09:57, Wu Fengguang wrote:
 FYI, I worked up a patchset which incorporates your patch
 and plan to submit it some time later.  Tests OK on my side :)

Which kernel version is the patchset based on? I couldn't apply it to
2.6.32-rc5 or git head (which is what I've been using for your previous
patchsets).

-- 
David Härdeman


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] [Intel-gfx] Problems with HDMI audio on Intel DG45FC motherboard

2009-11-03 Thread David Härdeman
On Mon, November 2, 2009 10:11, Wu Fengguang wrote:
 Could you try dumping the audio infoframe data at the beginning of
 hdmi_switch_infoframe() or hdmi_stop_infoframe_trans(), to check if
 the previous content have been reset to 0?

Sure, will do...

-- 
David Härdeman


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] [Intel-gfx] Problems with HDMI audio on Intel DG45FC motherboard

2009-11-03 Thread Wu Fengguang
On Tue, Nov 03, 2009 at 08:54:32PM +0800, David Härdeman wrote:
 On Mon, November 2, 2009 10:11, Wu Fengguang wrote:
  Could you try dumping the audio infoframe data at the beginning of
  hdmi_switch_infoframe() or hdmi_stop_infoframe_trans(), to check if
  the previous content have been reset to 0?
 
 Sure, will do...

Thanks! The rational is to confirm if your patch caused the possible
hardware resets to happen for every track, which in turn fixed your
problem :)

Thanks,
Fengguang

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB soundcard advice

2009-11-03 Thread Fabrício Nihues
I got 2 usb sound cards, one is a 5.1 and work with the new .31 kernel out
of the box (even 5.1 spdif trought the optical out), it's a generic chineese
sound card with CMI chipset, I bougth for my Home Theater.
Search for USB external 5.1 sound card on ebay, it's a blue or orange little
case.
like this
http://cgi.ebay.com/USB-6-Channel-5-1-External-Sound-Audio-Card-PC-Laptop_W0QQitemZ300361484591QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item45eef0892f#ht_3251wt_968


And I purchased an UCA-202 (the best snd card for this price) for my 2
speaker stereo, it's flawless and sound is much better than any pci snd card
or onboard i've listened.

The only problem with linux is 96khz / 24bit support, but if you stay with
16bit/44khz I don't think you will be in trouble.


___
Fabrício Nihues


2009/11/3 Felix Pfeifer pfeifer.fe...@googlemail.com

 Hi,

  USB Audio is a standard.
 Sadly this is only true for usb 1.x. Most usb 2.0 audiocards don't
 work under linux.
 I am not sure if there is even 1 ^^ (Edirol ua101's playback is glitchy)

 Felix


 2009/11/3 James Shatto shado...@earthlink.net:
  On Mon, 2 Nov 2009 20:42:48 +0100
  Y.A. Bolawy bol...@gmail.com wrote:
 
  Hi all,
 
  I'd like some advice on a USB soundcard. The reason for getting one is
  that I'd like to have good quality sound on all the computers I use or
  will use. The quality should be good enough to allow speech
  recognition. Of course, that is possible to some extend with any
  soundcard, but if the quality is low it has a big impact.
 
  Unfortunately, the better the quality of the cards, the less standard
  compliance they seem to be. At least that seems to be the underlying
  message of everything I've read so far.
 
  USB Audio is a standard.  As long as the box says class compliant, it
 should work out of the box in linux.  Only one caveat though as it wont
 default to card 0 and be your default card.  Since you probably have a
 motherboard with onboard sound.  Configure accordingly.  I have a USB
 M-Audio Mobile Pre and it works fine.  Although web browsers don't seem to
 use it properly even though I have it configured to card 0.  I've never had
 a problem recording from it though.  Not really the best audio option, but
 loads better than most stock soundcards.
 
  HTH,
  James
 
 
 --
  Come build with us! The BlackBerry(R) Developer Conference in SF, CA
  is the only developer event you need to attend this year. Jumpstart your
  developing skills, take BlackBerry mobile applications to market and stay
  ahead of the curve. Join us from November 9 - 12, 2009. Register now!
  http://p.sf.net/sfu/devconference
  ___
  Alsa-user mailing list
  Alsa-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/alsa-user
 


 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] [Intel-gfx] Problems with HDMI audio on Intel DG45FC motherboard

2009-11-03 Thread Wu Fengguang
David,

On Tue, Nov 03, 2009 at 09:16:37PM +0800, David Härdeman wrote:
 I've done some more testing...

That's awesome efforts, thank you very much!

 I managed to borrow a DG45FC based computer with Windows 7 (32-bit, using
 HDMI driver 14.6 from Intel's website) from a colleague over the weekend.
 
 Under Windows 7, HDMI audio with my receiver just works when using the
 Windows drivers (no complete-track-silence, no initial 0.5s silence). If I
 use the control panel application to configure a 5.1 speaker setup, the
 corresponding 5.1 speaker indication lights up on the receiver LCD and
 stays on whether I'm playing stereo sounds (like Windows event sounds) or
 multi-channel sources (tested with a DVD played using VLC with software
 decoding of the AC3 track to 6 channel PCM stream). This suggests that my
 issues *can* be resolved by hacking the driver :)

This is interesting. In my ALSA tests on YAMAHA RX1800:
(1) 6 channels light up on speaker-test -c6
(2) 2 channels light up on playing normal music
(3) when not playing anything, 2 channels remain light up
(4) need to double check the pause case

So you mean Windows 7 always light up 6 channels for cases (2) and (3),
besides case (1)?  (under your 5.1 speaker config)

 The windows driver also has some interesting registry entries referring to
 SilentStream and VCFG, the latter probably referring to the VCFG bit
 in the digital converter control reg in section 7.3.3.9 of the HDA spec).

Yeah, it's interesting to have some SilentStream:

V (Validity): This bit affects the Validity flag, bit[28]
transmitted in each subframe, and enables the S/PDIF
transmitter to maintain connection during error or mute
conditions.

 Also, it's interesting to note that when I am playing a working audio
 sample under Linux, then pause and resume playing (using the UI controls),
 there are no hiccups and no initial silence when the player resumes (from
 a quick reading of the code, the audio infoframe should still be
 transmitted, only DMA of audio data is stopped when pcm is paused).

Good catch!

The stop/start of a playback involves many operations - including the
AC_VERB_SET_CHANNEL_STREAMID which seem to directly related to the 0.5s
lost samples problem.

 Perhaps I've been going down the wrong path by focusing too much on the
 audio infoframe side of things.
 
 I wonder if the approach taken by the Windows drivers when there is
 nothing to play is more similar to the pause/play commands in the Linux
 driver and if it would be a big undertaking to make the Linux driver do
 something similar...?

Maybe. I wonder if there is some _windows_ tool to query the audio
codec status..

 (Another option I'm planning to look into is whether power-saving might
 interfere with normal HDMI audio operation.)

One known problem is, the Xorg DPMS ops can mute HDMI audio..

 On Mon, November 2, 2009 09:57, Wu Fengguang wrote:
  FYI, I worked up a patchset which incorporates your patch
  and plan to submit it some time later.  Tests OK on my side :)
 
 Which kernel version is the patchset based on? I couldn't apply it to
 2.6.32-rc5 or git head (which is what I've been using for your previous
 patchsets).

It's based on sound-2.6:

git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git

Thanks,
Fengguang

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB soundcard advice

2009-11-03 Thread lists
I have one of those. You can find a US vendor on ebay if you look at all the 
ads. It uses a C-Media chip. Not the greatest specs, but many usb cards like 
the Griffin Imic have no specs at all.

-Original Message-
From: Fabrício Nihues fabricio.nih...@gmail.com
Date: Tue, 3 Nov 2009 11:48:47 
To: Felix Pfeiferpfeifer.fe...@googlemail.com
Cc: alsa-user@lists.sourceforge.net
Subject: Re: [Alsa-user] USB soundcard advice

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB soundcard advice

2009-11-03 Thread Samuel Gilbert
Hi there,

  I own a HiFi USB sound card based on a TI Burr-Brown chip.  It worked out of
the box with Linux on two of my machines.  However, I have bought a new machine
and now I still haven't found a way to make it play correctly.  After a random
amount of time, the sound gets garbled.  This is probably an issue with the USB
host controller or it's driver.

  Do you want to use the sound card with a laptop?  If so, I would suggest going
to the store with your laptop and asking to try out the card before buying.  I
don't want to scare you away from buying such a device.  I have been satisfied
with my card until I changed my computer.  I *NEVER* heard a on-board or PCI
sound card that come close to the sound quality you can get with a good USB
one.  However, as I explained above there may be some problems, so I think you
do your buying decision knowing that things can go wrong.

Samuel

Selon James Shatto shado...@earthlink.net:

 On Mon, 2 Nov 2009 20:42:48 +0100
 Y.A. Bolawy bol...@gmail.com wrote:

  Hi all,
 
  I'd like some advice on a USB soundcard. The reason for getting one is
  that I'd like to have good quality sound on all the computers I use or
  will use. The quality should be good enough to allow speech
  recognition. Of course, that is possible to some extend with any
  soundcard, but if the quality is low it has a big impact.
 
  Unfortunately, the better the quality of the cards, the less standard
  compliance they seem to be. At least that seems to be the underlying
  message of everything I've read so far.

 USB Audio is a standard.  As long as the box says class compliant, it should
 work out of the box in linux.  Only one caveat though as it wont default to
 card 0 and be your default card.  Since you probably have a motherboard with
 onboard sound.  Configure accordingly.  I have a USB M-Audio Mobile Pre and
 it works fine.  Although web browsers don't seem to use it properly even
 though I have it configured to card 0.  I've never had a problem recording
 from it though.  Not really the best audio option, but loads better than most
 stock soundcards.

 HTH,
 James

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB soundcard advice

2009-11-03 Thread Clemens Ladisch
Felix Pfeifer wrote:
  USB Audio is a standard.
 Sadly this is only true for usb 1.x. Most usb 2.0 audiocards don't
 work under linux.

The USB Audio 1.0 standard was written for 1.x devices.  There are no
devices for the new 2.0 revision because Windows doesn't implement it
(see 
http://www.freelists.org/post/wdmaudiodev/Why-would-you-want-USB-Audio-20-in-Windows).

 I am not sure if there is even 1 ^^

SB Audigy 2 NX
Emu 0202/0404/Tracker Pre (probably)

 (Edirol ua101's playback is glitchy)

Somebody was working on this, but I haven't heard from him.


Best regards,
Clemens

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB soundcard advice

2009-11-03 Thread Clemens Ladisch
Samuel Gilbert wrote:
   I own a HiFi USB sound card based on a TI Burr-Brown chip.  It worked out of
 the box with Linux on two of my machines.  However, I have bought a new 
 machine
 and now I still haven't found a way to make it play correctly.  After a random
 amount of time, the sound gets garbled.  This is probably an issue with the 
 USB
 host controller or it's driver.

There are known firmware bugs in several TI chips that have this
symptom, but that is unlikely to be your problem if it does not occur
with your other computers.

Do you have CONFIG_USB_EHCI_TT_NEWSCHED enabled?

 I *NEVER* heard a on-board or PCI sound card that come close to the
 sound quality you can get with a good USB one.

The high-end Xonar cards are definitely better (if overpriced).


Best regards,
Clemens

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB soundcard advice

2009-11-03 Thread Y.A. Bolawy
Thanks for all replies so far! I'm reading information  re all
suggestions. Many seem very nice. I will use it with a laptop and  I
guess there's no need therefore to get a card  with fancy features
such as xlr or direct monitoring of the inputs.

I basically want to be able to use a combination of a good headset and
good soundcard capable of achieving the quality needed for speech
recognition. I never tried a microphone that requires phantom
power/xlr and am unsure if there's any worthwhile improvement.
I guess for my purpose USB 1 suffices.

A small size would be a nice bonus and the same goes for good quality
outputs to connect the card to a stereo.

By the way I'm in Europe (mostly nl), so models that are sold and
relatively easy to get over here have a strong preference.

Thanks again, Bolawy

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB soundcard advice

2009-11-03 Thread Bill Unruh
On Tue, 3 Nov 2009, Y.A. Bolawy wrote:

 Thanks for all replies so far! I'm reading information  re all
 suggestions. Many seem very nice. I will use it with a laptop and  I
 guess there's no need therefore to get a card  with fancy features
 such as xlr or direct monitoring of the inputs.

 I basically want to be able to use a combination of a good headset and
 good soundcard capable of achieving the quality needed for speech
 recognition. I never tried a microphone that requires phantom
 power/xlr and am unsure if there's any worthwhile improvement.
 I guess for my purpose USB 1 suffices.

 A small size would be a nice bonus and the same goes for good quality
 outputs to connect the card to a stereo.

The USB Transit by Maudio works well and have quite impressive performance. It
is pretty basic ( line in and line out, no Mic preamp, 2V phantom power, on
the standard inline 3/8 jack input)
cheap ($100 Cdn) and small (smaller than a deck of cards and much lighter)

See www.theory.physics.ubc.ca/soundcard/soundcard.html for a test.

Because of the lack of a mic preamp in the card, putting in a microphone preamp 
is
probably a good idea, as otherwise the mic input tends to be pretty quiet.



 By the way I'm in Europe (mostly nl), so models that are sold and
 relatively easy to get over here have a strong preference.

No idea what is for sale in the Netherlands.


 Thanks again, Bolawy

 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user


-- 
William G. Unruh   |  Canadian Institute for| Tel: +1(604)822-3273
PhysicsAstronomy  | Advanced Research  | Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology | un...@physics.ubc.ca
Canada V6T 1Z1 |  and Gravity   |  www.theory.physics.ubc.ca/

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Multiple cards, alphanumeric names?

2009-11-03 Thread James Shatto
On Tue, 03 Nov 2009 18:25:24 -0600
Jonathan E. Brickman j...@joshuacorps.org wrote:

 OK.  I now find myself happily educated in card names (HD2 in my 
 case), devices as being items on cards (HD2,0 et cetera), and 
 subdevices whose names appear to be used in rather different 
 locations.  My next question:  What if I had two cards of this type?  Do 
 I have to use numeric names, or is there an alphanumeric rule built in 
 somewhere which gives me HD2(0) or some such?
 
 J.E.B.

I think that you're getting grub device names confused with alsa names.  
Normally you can address them by hw:0 or hw:1 or hw:2.  Basically hw:0,1 for 
capture device and hw:0,0 for playback.  You can give more meaningful names in 
your .asoundrc configuration.  But generally NOT HD#, that's a grub thing for 
Hard Drive.  Although most alsa apps reference them by -c # where the # matches 
their designation in /proc/asound/cards.  Many apps that use alsa use something 
like -D hw:2 or -ao alsa:device=hw:2 and that is assuming that you don't want 
to just use the defaults.

HTH,
- James

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Intel HDA - AD1883 Codec - Jack Sense / Detect

2009-11-03 Thread Alan Bennett
Hello;
  We have a custom motherboard Intel HDA / AD1883.  For output, we connect
the headphone jack and the mono / front speaker.

  We are unable to get audio in Linux (Windows is fine) that activates the
front/mono speaker.   The headphones work without a problem.  However, none
of the 4 model= strings improve the situation.  The headphones always
work, but no configuration will activate the onboard front/mono speaker.

  Is there a way to query the live status of the AD1883 / jack-detect/sense?


-Alan
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB soundcard advice

2009-11-03 Thread Y.A. Bolawy
 Because of the lack of a mic preamp in the card, putting in a microphone
 preamp is
 probably a good idea, as otherwise the mic input tends to be pretty quiet.

I assume that that is not necessary if I'd use a pc headset, but only
if I would want to use a more advanced mic right. For now I'll use
arelatively good quality pc headset.

Also I wondered if the additional preamp wouldn't defeat the purpose
of choosing a relatively small soundcard? Or are preamps equally small
or some of them anyway.

Thanks again. B

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB soundcard advice

2009-11-03 Thread Bill Unruh
On Tue, 3 Nov 2009, Y.A. Bolawy wrote:

 Because of the lack of a mic preamp in the card, putting in a microphone
 preamp is
 probably a good idea, as otherwise the mic input tends to be pretty quiet.

 I assume that that is not necessary if I'd use a pc headset, but only
 if I would want to use a more advanced mic right. For now I'll use
 arelatively good quality pc headset.

 Also I wondered if the additional preamp wouldn't defeat the purpose
 of choosing a relatively small soundcard? Or are preamps equally small
 or some of them anyway.

Yes, some of them are. I have just built myself one that fit in  one of those
legendary altoids boxes (those are a brand of UK candies with the box about
the size of a deck of cards)-- battery powered. 
In doing a recording this past summer, I discovered that if I plugged the
laptop in, I got a 60Hz humm on all the recordings. It was stupid as the
battery had a 4 hr lifetime which was more than enough for the project.


 Thanks again. B

 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user


-- 
William G. Unruh   |  Canadian Institute for| Tel: +1(604)822-3273
PhysicsAstronomy  | Advanced Research  | Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology | un...@physics.ubc.ca
Canada V6T 1Z1 |  and Gravity   |  www.theory.physics.ubc.ca/

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB soundcard advice

2009-11-03 Thread Samuel Gilbert
Hi Clemens and everybody else,

  I just rebuilt my kernel activating CONFIG_USB_EHCI_TT_NEWSCHED as you 
suggested and I still get the same problem with the usual messages when the 
sound is messed-up and I try to play the next song ;

[  758.452549] usb 3-2: amarokapp timed out on ep0out len=0/0
[  758.452561] ALSA sound/usb/usbaudio.c:1346: 2:1:1: usb_set_interface failed

Is there anything else I can try or must I activate the new USN scheduling at 
runtime?

Thank you,
  Samuel

On November 3, 2009 10:24:27 Clemens Ladisch wrote:
 Samuel Gilbert wrote:
I own a HiFi USB sound card based on a TI Burr-Brown chip.  It worked
  out of the box with Linux on two of my machines.  However, I have bought
  a new machine and now I still haven't found a way to make it play
  correctly.  After a random amount of time, the sound gets garbled.  This
  is probably an issue with the USB host controller or it's driver.

 There are known firmware bugs in several TI chips that have this
 symptom, but that is unlikely to be your problem if it does not occur
 with your other computers.

 Do you have CONFIG_USB_EHCI_TT_NEWSCHED enabled?

  I *NEVER* heard a on-board or PCI sound card that come close to the
  sound quality you can get with a good USB one.

 The high-end Xonar cards are definitely better (if overpriced).


 Best regards,
 Clemens

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB soundcard advice

2009-11-03 Thread Y.A. Bolawy
Thanks everyone who shared his thoughts.

I think I'll get myself the M Audio transit. It seems to be an
expensive deck of cards, but it sounds like the quality is good and I
guess it's not easy to achieve that on that scale.

For now I'll stick with my pc-headset (sennheiser), which can operate
without a preamp as far as I can tell , so I do not have to figure out
how to make one of those with my very limited electric s knowledge.

Thanks again!
B

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] USB soundcard advice

2009-11-03 Thread Clemens Ladisch
Samuel Gilbert wrote:
   I just rebuilt my kernel activating CONFIG_USB_EHCI_TT_NEWSCHED as you 
 suggested and I still get the same problem with the usual messages when the 
 sound is messed-up and I try to play the next song ;
 
 [  758.452549] usb 3-2: amarokapp timed out on ep0out len=0/0
 [  758.452561] ALSA sound/usb/usbaudio.c:1346: 2:1:1: usb_set_interface failed

This is a bug in the device's firmware.  I don't know why only one of
your computers triggers it.


Best regards,
Clemens

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Multiple cards, alphanumeric names?

2009-11-03 Thread Clemens Ladisch
 Jonathan E. Brickman j...@joshuacorps.org wrote:
  My next question:  What if I had two cards of this type?  Do
  I have to use numeric names, or is there an alphanumeric rule built in
  somewhere which gives me HD2(0) or some such?

The alphanumeric name to be used in device names is the card ID.
It is shown in [brackets] in /proc/asound/cards.

By default, the card ID is the last word of the card's name; if it is
not unique, ALSA changes it so that it is.

James Shatto wrote:
 Basically hw:0,1 for capture device and hw:0,0 for playback.

No, playback and capture device names are independent.

hw:0,0 is the first (playback or capture) device on card 0; hw:0,1 is
the second (playback or capture) device on card 0.

 You can give more meaningful names in your .asoundrc configuration.
 But generally NOT HD#, that's a grub thing for Hard Drive.

The default ID for a card named Audiotrak Prodigy HD2 _is_ HD2.
This is perfectly valid, and has nothing to do with Grub.

 -ao alsa:device=hw:2

mplayer's silly quoting/escaping rules require -ao alsa:device=hw=2
for this.


Best regards,
Clemens

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user