Re: [Alsa-user] Can't open Asus Xonar D1 PCM output 6-cha nnel in non-interleaved mode

2009-04-01 Thread olly
Clemens Ladisch cladi...@googlemail.com wrote :
 
 This chip, like pratically every other sound chip, supports only
 interleaved samples.

Hi Clemens,

   Many thanks for the reply. I gave myself false hope by having 
non-interleaved access work in 2-channel mode on a couple of on-board sound 
chips, and expected that multi-channel non-interleaved support might be as 
prevalent.

   If it's hardware I think I'll re-write the app for interleaved mode so the 
driver doesn't have to do any transmogrification - should save a few processor 
cycles  :o)

All the best,
--
Olly


___
Sent using funkster.org webmail service





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


Re: [Alsa-user] Can't get amixer to access controls for a specific device on a card

2009-03-18 Thread olly
Eliot Blennerhassett li...@audioscience.com wrote:
 Why do you think that it is not device #0
 
 i.e. the default device?
 
 Best run
 http://www.alsa-project.org/alsa-info.sh
 to give us the full info.
 
 I suspect device #1 is the MIDI uart...

   Sorry about the delay... had to install lspci and fiddle with some other 
stuff to get the script to run and it still complained a bit, but it came up 
with the output below.

   Asking aplay to use device 1 results in no complaints, so surely it can't be 
a MIDI device? I've read somewhere that device 0 has four DXS devices, while 
device 1 has one six-channel playback device.

   All of this is academic anyway unless I can enable Line in as surround 
etc. I've run speaker-test in 6-channel mode and tweaked everything I could 
think of in amixer, but I'm getting nothing out of the other two jacks.

Any help greatly appreciated!

Thanks,
--
Olly

---alsa-info.sh output---
!!
!!ALSA Information Script v 0.4.56
!!

!!Script ran on: Thu Mar  3 23:28:41 UTC 2005


!!Linux Distribution
!!--




!!Kernel Information
!!--

Kernel release:2.6.27.9
Operating System:  Linux
Architecture:  i686
Processor: unknown
SMP Enabled:   No


!!ALSA Version
!!

Driver version: 1.0.17
Library version:
Utilities version:  1.0.19


!!Loaded ALSA modules
!!---



!!Sound Servers on this system
!!

Pulseaudio:
  Installed - Yes ()
  Running - No

ESound Daemon:
  Installed - Yes ()
  Running - No

aRts:
  Installed - Yes ()
  Running - No

Jack:
  Installed - Yes ()
  Running - No

No sound servers found.


!!Soundcards recognised by ALSA
!!-

 0 [V8235  ]: VIA8233 - VIA 8235
  VIA 8235 with VT1616i at 0xe400, irq 10


!!PCI Soundcards installed in the system
!!--



!!Advanced information - PCI Vendor/Device/Susbsystem ID's
!!

00:11.5 0401: 1106:3059 (rev 50)
Subsystem: 1106:aa01


!!Loaded sound module options
!!--


!!AC97 Codec information
!!---
--startcollapse--

0-0/0: ICEnsemble VT1616i

PCI Subsys Vendor: 0x1106
PCI Subsys Device: 0xaa01

Capabilities : -headphone out-
DAC resolution   : 18-bit
ADC resolution   : 18-bit
3D enhancement   : IC Ensemble/KS Waves

Current setup
Mic gain : +0dB [+0dB]
POP path : pre 3D
Sim. stereo  : off
3D enhancement   : off
Loudness : off
Mono output  : MIX
Mic select   : Mic1
ADC/DAC loopback : off
Extended ID  : codec=0 rev=0 LDAC SDAC CDAC DSA=0 SPDIF VRA
Extended status  : SPCV LDAC SDAC CDAC SPDIF=10/11 VRA
PCM front DAC: 48000Hz
PCM Surr DAC : 48000Hz
PCM LFE DAC  : 48000Hz
PCM ADC  : 48000Hz
SPDIF Control: Consumer PCM Copyright Category=0x22 Generation=1 Rate=48kHz

0:00 = 6d50
0:02 = 9f1f
0:04 = 9f1f
0:06 = 801f
0:08 = 
0:0a = 801e
0:0c = 801f
0:0e = 801f
0:10 = 9f1f
0:12 = 9f1f
0:14 = 9f1f
0:16 = 9f1f
0:18 = 0808
0:1a = 
0:1c = 
0:1e = 
0:20 = 
0:22 = 
0:24 = 
0:26 = 000f
0:28 = 01c5
0:2a = 05f1
0:2c = bb80
0:2e = bb80
0:30 = bb80
0:32 = bb80
0:34 = 
0:36 = 9f93
0:38 = 9f9f
0:3a = 2a20
0:3c = 
0:3e = 
0:40 = 
0:42 = 
0:44 = 
0:46 = 
0:48 = 
0:4a = 
0:4c = 
0:4e = 
0:50 = 
0:52 = 
0:54 = 
0:56 = 
0:58 = 
0:5a = 8230
0:5c = 
0:5e = 
0:60 = 
0:62 = 
0:64 = 
0:66 = 
0:68 = 
0:6a = 
0:6c = 
0:6e = 
0:70 = 
0:72 = 
0:74 = 
0:76 = 
0:78 = 
0:7a = 
0:7c = 4943
0:7e = 4552
--endcollapse--


!!ALSA Device nodes
!!-

crw-rw1 root audio116,   7 Mar  3 23:27 /dev/snd/controlC0
crw-rw1 root audio116,   6 Mar  3 23:27 /dev/snd/pcmC0D0c
crw-rw1 root audio116,   5 Mar  3 23:28 /dev/snd/pcmC0D0p
crw-rw1 root audio116,   4 Mar  3 23:27 /dev/snd/pcmC0D1c
crw-rw1 root audio116,   3 Mar  3 23:27 /dev/snd/pcmC0D1p
crw-rw1 root audio116,   2 Mar  3 23:27 /dev/snd/timer


!!Aplay/Arecord output
!!

APLAY

 List of PLAYBACK Hardware Devices 
card 0: V8235 [VIA 8235], device 0: VIA 8235 [VIA 8235]
  Subdevices: 2/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
card 0: V8235 [VIA 8235], device 1: VIA 8235 [VIA 8235]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ARECORD

/bin/alsa-info.sh: line 632: arecord: not found

!!Amixer output
!!-

!!---Mixer controls for card 0 [V8235]

Card hw:0 'V8235'/'VIA 8235 with VT1616i at 0xe400, irq 10'
  Mixer name: 'ICEnsemble VT1616i'
  Components

[Alsa-user] Can't get amixer to access controls for a specific device on a card

2009-03-06 Thread olly
Hi all,

Hope this is in the right place. I've got a VIA EPIA M1 with an LFS system 
based around kernel 2.6.22.5 and alsa-lib 1.0.19. Sound works for 2-channel 
playback but I want to start using all 6 channels that the hardware gives (VIA 
VT1616 AC97 connected to VT8235 south bridge).

However, the 6-channel playback is done via card 0, device 1 and I can only get 
amixer to access the controls of device 0 - which doesn't include the controls 
to enable the other four analogue outputs! (these being Line In as Surround 
and Mic Input as Centre/LFE

I've tried a whole load of command line arguments, but all just give me errors:

# amixer -c 0 -D 1
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL 1
amixer: Mixer attach 1 error: No such file or directory

# amixer -Dhw:0,1
ALSA lib conf.c:3843:(parse_args) Unknown parameter 1
ALSA lib conf.c:3969:(snd_config_expand) Parse arguments error: No such file or 
directory
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL hw:0,1
amixer: Mixer attach hw:0,1 error: No such file or directory

Generally it seems that amixer can only open the default device. So, can I use 
my .asoundrc to force device 1 to be the default CTL? Or is there some format 
of arguments that'll make it open device 1?

Any help would be greatly appreciated, I've lost far too many hours to ALSA and 
am starting to get a bit annoyed with it :o)

Thanks in advance,
--
Olly


___
Sent using funkster.org webmail service





--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user