[Alsa-user] 96 kHz, 24 bit usb external soundcard

2009-06-28 Thread HamRadio
Hi,
I'm looking for a 96 kHz - 24 bit external usb 2.0 soundcard well
supported by linux/alsa drivers.
Does exist such a piece of hardware or am I just dreaming?
Thank you in advance for answering.



-- 
toglimi.hamra...@toglimi.quipo.it
ANTI-SPAM: please cut toglimi. for my real e-mail address.
Pentium4 3.00GHz, Linux 2.6.30-2-x86_64 on Debian GNU/Linux squeeze/sid
Registered Linux user #291116 http://counter.li.org



--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Sound Blaster Digital Music SX playback works, but low volume in either R or L channel

2009-06-28 Thread Keisuke Kibakura
Hello,

I have been trying to make Sound Blaster Digital Music SX work in my linux
box.

It is recognized, related modules (snd-usb-audio and others) are
autoloaded,  and
the playback works.  But the Right-Left volume balance is wrong.  The left
channel
volume (sometimes right instead) is too small, though it is not zero.
Something is
wrong with the device configuration by ALSA as it works without problems
under the
Windows XP environment using system default USB audio driver.

Can I ask your advice on this problem?
Thanks in advance.

The current environment as follows:
# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.20.
Compiled on Jun 27 2009 for kernel 2.6.30.

# aplay -l
 List of PLAYBACK Hardware Devices 
card 0: SX [Sound Blaster Digital Music SX], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SX [Sound Blaster Digital Music SX], device 1: USB Audio [USB Audio
#1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

# cat /proc/asound/cards
 0 [SX ]: USB-Audio - Sound Blaster Digital Music SX
  Creative Technology Ltd. Sound Blaster Digital Music
SX at usb-:00:07.2-2,

# cat /proc/asound/devices
  0: [ 0]   : control
 16: [ 0- 0]: digital audio playback
 17: [ 0- 1]: digital audio playback
 24: [ 0- 0]: digital audio capture
 33:: timer

# cat /proc/asound/modules
 0 snd_usb_audio

# cat /proc/asound/pcm
00-00: USB Audio : USB Audio : playback 1 : capture 1
00-01: USB Audio : USB Audio #1 : playback 1

# cat /proc/asound/SX/pcm0p/info
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0

# cat /proc/asound/SX/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 16384

# cat /proc/asound/SX/pcm0p/sub0/info
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 0

# cat /etc/asound.conf
pcm.!default {
  type rate
  slave {
pcm hw:0,0
rate 48000
  }
}

ctl.!default {
type hw
card 0
}

Here is the kernel logs when the device is plugged and recognized.  The alsa
drirver
is configured with '--with-debug=verbose' options;


Jun 28 17:27:35 oboro kernel: usb 1-2: new full speed USB device using
uhci_hcd and address 4
Jun 28 17:27:36 oboro kernel: usb 1-2: configuration #1 chosen from 1 choice
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:1:1: add audio endpoint
0x1
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:1:2: add audio endpoint
0x1
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:1:3: add audio endpoint
0x1
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:1:4: add audio endpoint
0x1
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:1:5: add audio endpoint
0x1
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:1:6: add audio endpoint
0x1
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:1:7: add audio endpoint
0x1
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:1:8: add audio endpoint
0x1
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2433: 4:1:9 : format type 0 is
detected, processed as PCM
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:1:9: add audio endpoint
0x1
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2433: 4:1:10 : format type 0 is
detected, processed as PCM
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:1:10: add audio endpoint
0x1
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:2:1: add audio endpoint
0x82
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:2:2: add audio endpoint
0x82
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:2:3: add audio endpoint
0x82
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:2:4: add audio endpoint
0x82
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:2:5: add audio endpoint
0x82
Jun 28 17:27:36 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:2:6: add audio endpoint
0x82
Jun 28 17:27:37 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:2:7: add audio endpoint
0x82
Jun 28 17:27:37 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbaudio.c:2835: 4:2:8: add audio endpoint
0x82
Jun 28 17:27:37 oboro kernel: ALSA
/usr/src/alsa-driver-1.0.20/usb/usbmixer.c:1033: 

[Alsa-user] HDMI Sound Output on Laptop with NVIDIA Quadro FX 770M

2009-06-28 Thread Janick Martinez Esturo
Hi!

I'm trying to get HDMI sound output working on my HP Elitebook 8530w, but to me 
it seems like
no alsa device gets created for HDMI on my laptop:

# lspci
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:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network 
Connection (rev 03)
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.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 
(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-E LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 
03)
01:00.0 VGA compatible controller: nVidia Corporation Quadro FX 770M (rev a1)
03:00.0 Network controller: Intel Corporation PRO/Wireless 5300 AGN [Shiloh] 
Network Connection
86:09.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 06)
86:09.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host 
Adapter (rev 25)
86:09.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 14)
86:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter 
(rev 14)
86:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev bb)
86:09.5 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ff)


# aplay -L
default:CARD=Intel
 HDA Intel, AD198x Analog
 Default Audio Device
front:CARD=Intel,DEV=0
 HDA Intel, AD198x Analog
 Front speakers
surround40:CARD=Intel,DEV=0
 HDA Intel, AD198x Analog
 4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
 HDA Intel, AD198x Analog
 4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
 HDA Intel, AD198x Analog
 5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
 HDA Intel, AD198x Analog
 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
 HDA Intel, AD198x Analog
 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
 Discard all samples (playback) or generate zero samples (capture)


# lsmod
Module  Size  Used by
snd_hda_codec_nvhdmi 3496  0
vmnet  36188  13
vmblock12224  1
vmci   44504  0
vmmon  63280  0
snd_seq50720  0
snd_seq_device  6716  1 snd_seq
snd_pcm_oss38032  0
snd_mixer_oss  15064  1 snd_pcm_oss
fuse   55168  4
nvidia  10225784  28
snd_hda_codec_analog74072  1
snd_hda_intel  25864  1
snd_hda_codec  56328  3 
snd_hda_codec_nvhdmi,snd_hda_codec_analog,snd_hda_intel
iwlagn 84876  0
btusb  12924  0
iwlcore90904  1 iwlagn
snd_pcm72848  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
uvcvideo   57028  0
videodev   34800  1 uvcvideo
snd_timer  20456  2 snd_seq,snd_pcm
bluetooth  52180  1 btusb
v4l1_compat12972  2 uvcvideo,videodev
v4l2_compat_ioctl3210184  1 videodev
snd58376  11 
snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
snd_page_alloc  9016  2 snd_hda_intel,snd_pcm
sdhci_pci   8056  0
sdhci  16812  1 sdhci_pci
ricoh_mmc   4120  0
rfkill 10740  2 iwlcore
e1000e113672  0
mmc_core   49648  1 sdhci
firewire_ohci  22684  0
firewire_core  42836  1 firewire_ohci
crc_itu_t   2008  1 firewire_core


# uname -a
Linux turi 2.6.30-gentoo-r1 #3 SMP Wed Jun 24 22:30:59 

Re: [Alsa-user] HDMI Sound Output on Laptop with NVIDIA Quadro FX 770M

2009-06-28 Thread Geoffrey Leach
On 06/28/2009 11:47:15 AM, Janick Martinez Esturo wrote:
 Hi!
 
 I'm trying to get HDMI sound output working on my HP Elitebook 8530w,
 but to me it seems like
 no alsa device gets created for HDMI on my laptop:
 
snip
 
 # aplay -L
 default:CARD=Intel
  HDA Intel, AD198x Analog
  Default Audio Device
 front:CARD=Intel,DEV=0
  HDA Intel, AD198x Analog
  Front speakers
 surround40:CARD=Intel,DEV=0
  HDA Intel, AD198x Analog
  4.0 Surround output to Front and Rear speakers
 surround41:CARD=Intel,DEV=0
  HDA Intel, AD198x Analog
  4.1 Surround output to Front, Rear and Subwoofer speakers
 surround50:CARD=Intel,DEV=0
  HDA Intel, AD198x Analog
  5.0 Surround output to Front, Center and Rear speakers
 surround51:CARD=Intel,DEV=0
  HDA Intel, AD198x Analog
  5.1 Surround output to Front, Center, Rear and Subwoofer 
 speakers
 surround71:CARD=Intel,DEV=0
  HDA Intel, AD198x Analog
  7.1 Surround output to Front, Center, Side, Rear and Woofer
 speakers
 null
  Discard all samples (playback) or generate zero samples 
 (capture)

You're missing this:

hdmi:CARD=NVidia,DEV=0
HDA NVidia, NVIDIA HDMI
HDMI Audio Output

snip
 I'm using the snd_hda_codec_nvhdmi module of the latest
 2.6.30-gentoo-r1 kernel sources and NVIDIA drivers 185.18.08, but had
 no luck with alsa-driver-1.0.20 either...

So, you compiled and installed the 1.0.20 driver and then rebooted and 
verified the install with 'cat /proc/asound/version' -- yes?

If so, then I'd look at your .asoundrc. I've attached mine (Nvidia-
based ASUS MB), developed by trian and error, I'm no expert.

good luck

# ~/.asoundrc or /etc/asound.conf
# ALSA configuration file

# IMPORTANT #
# To make this ALSA configuration file work with your sound card, you will need
# to define the appropriate card and device information for the analog-hw and
# digital-hw devices below.  You can find the card and device information
# using aplay -l.

# Configuration File #

pcm.!default {
type plug
slave.pcm dmix-digital
}

# Alias for analog output on the card
pcm.analog-hw {
type hw
card 0
device 0
}

# Alias for digital (S/PDIF) output on the card
pcm.digital-hw {
type hw
card 0
device 3
}

pcm.!default {
type plug
slave {
pcm multi
rate 48000
}
ttable.0.0 1.0
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
}

pcm.stereo {
type plug
slave {
pcm multi
rate 48000
}
ttable.0.0 1.0
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
}

pcm.multi {
type multi
slaves.a.pcm analog-hw
slaves.a.channels 2
slaves.b.pcm digital-hw
slaves.b.channels 2
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
}



--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] HDMI Sound Output on Laptop with NVIDIA Quadro FX 770M

2009-06-28 Thread Janick Martinez Esturo
On Sun, 28 Jun 2009 22:08:54 +0200, Geoffrey Leach ge...@hughes.net wrote:

 You're missing this:

 hdmi:CARD=NVidia,DEV=0
 HDA NVidia, NVIDIA HDMI
 HDMI Audio Output

 snip

Yes, that's my problem indeed. I didn't mention that the module 
snd_hda_codec_nvhdmi
isn't even loaded at boottime. But on manual module load the device isn't 
avaible either.
So could it be that my device pci ids aren't hardcoded in the module source yet?
The .asoundrc isn't helping me, since the alsa device isn't created:


# aplay -l
 List of PLAYBACK Hardware Devices 
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.20.

My graphics-adapter (NVIDIA Quadro FX 770M, a mobile graphic-unit) isn't listed
in alsa-kernel/pci/hda/patch_nvhdmi.c:

/*
  * patch entries
  */
static struct hda_codec_preset snd_hda_preset_nvhdmi[] = {
 { .id = 0x10de0002, .name = MCP78 HDMI, .patch = patch_nvhdmi },
 { .id = 0x10de0006, .name = MCP78 HDMI, .patch = patch_nvhdmi },
 { .id = 0x10de0007, .name = MCP7A HDMI, .patch = patch_nvhdmi },
 { .id = 0x10de0067, .name = MCP67 HDMI, .patch = patch_nvhdmi },
 { .id = 0x10de8001, .name = MCP73 HDMI, .patch = patch_nvhdmi },
 {} /* terminator */
};

Could this simply be patched with my id?

Regards Janick

--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] HDMI Sound Output on Laptop with NVIDIA Quadro FX 770M

2009-06-28 Thread Geoffrey Leach
On 06/28/2009 01:59:09 PM, Janick Martinez Esturo wrote:
 On Sun, 28 Jun 2009 22:08:54 +0200, Geoffrey Leach ge...@hughes.net
 wrote:
 
  You're missing this:
 
  hdmi:CARD=NVidia,DEV=0
  HDA NVidia, NVIDIA HDMI
  HDMI Audio Output
 
  snip
 
 Yes, that's my problem indeed. I didn't mention that the module
 snd_hda_codec_nvhdmi
 isn't even loaded at boottime. But on manual module load the device
 isn't avaible either.
 So could it be that my device pci ids aren't hardcoded in the module
 source yet?
 The .asoundrc isn't helping me, since the alsa device isn't created:
 
 
 # aplay -l
  List of PLAYBACK Hardware Devices 
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
 
 # cat /proc/asound/version
 Advanced Linux Sound Architecture Driver Version 1.0.20.
 
 My graphics-adapter (NVIDIA Quadro FX 770M, a mobile graphic-unit)
 isn't listed
 in alsa-kernel/pci/hda/patch_nvhdmi.c:
 
 /*
   * patch entries
   */
 static struct hda_codec_preset snd_hda_preset_nvhdmi[] = {
  { .id = 0x10de0002, .name = MCP78 HDMI, .patch =
 patch_nvhdmi },
  { .id = 0x10de0006, .name = MCP78 HDMI, .patch =
 patch_nvhdmi },
  { .id = 0x10de0007, .name = MCP7A HDMI, .patch =
 patch_nvhdmi },
  { .id = 0x10de0067, .name = MCP67 HDMI, .patch =
 patch_nvhdmi },
  { .id = 0x10de8001, .name = MCP73 HDMI, .patch =
 patch_nvhdmi },
  {} /* terminator */
 };
 
 Could this simply be patched with my id?

I have snd_hda_codec_nvhdmi on my system. Have you installed the nvidia 
drivers (from nvidia?)



--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] HDMI Sound Output on Laptop with NVIDIA Quadro FX 770M

2009-06-28 Thread Janick Martinez Esturo
On Sun, 28 Jun 2009 23:15:49 +0200, Geoffrey Leach ge...@hughes.net wrote:

 I have snd_hda_codec_nvhdmi on my system. Have you installed the nvidia
 drivers (from nvidia?)

Sure, it belongs to the alsa-driver / kernel package. As mentioned before, I
also got the current nvidia-driver beta installed...

--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] HDMI Sound Output on Laptop with NVIDIA Quadro FX 770M

2009-06-28 Thread Geoffrey Leach
On 06/28/2009 02:18:14 PM, Janick Martinez Esturo wrote:
 On Sun, 28 Jun 2009 23:15:49 +0200, Geoffrey Leach ge...@hughes.net
 wrote:
 
  I have snd_hda_codec_nvhdmi on my system. Have you installed the
 nvidia
  drivers (from nvidia?)
 
 Sure, it belongs to the alsa-driver / kernel package. As mentioned
 before, I
 also got the current nvidia-driver beta installed...
 

H ... perhaps I'm being anal here, but from this:

r...@pvr[13]-modprobe -l snd_hda_codec_nvhdmi
/lib/modules/2.6.27.12-170.2.5.fc10.i686/kernel/sound/pci/hda/snd-hda-
codec-nvhdmi.ko
r...@pvr[14]-rpm -qf /lib/modules/2.6.27.12-170.2.5.fc10.i686/kernel/
sound/pci/hda/snd-hda-codec-nvhdmi.ko
file /lib/modules/2.6.27.12-170.2.5.fc10.i686/kernel/sound/pci/hda/snd-
hda-codec-nvhdmi.ko is not owned by any package

I conclude that it was installed by NVIDIA-Linux-x86-180.51-pkg1.run
If you installed from a similar package and its not there, then I would 
conclude that your problem is with Nvidia, not the Linux kernel. 
There's a list of supported cards in that package somewhere - is your 
card listed?



--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user