Skip to contentSkip to conversation

hdsp multiface pci.

DISCUSSION Roger Williams 3 participants 5 messages Jan 20, 2003 – Jan 22, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines

Thinking about it this morning though, it seems to me that possibly the default routing of audio doesn't go through the mixer at all?

I'm quite sure that all output connections (from either the inputs or the playback channels) are made through the HDSP mixer. However, it's quite possible that the HDSP FPGA sets up default unity-gain connections between the playback channels and their corresponding outputs (and mutes all of the connections between hardware inputs and outputs) when it's initialised.

This would explain why snd_hdsp works (i.e. you can playback and record through the default I/O), although amixer doesn't do anything:
the driver doesn't have to set up any default connections, because those are part of the FPGA reset state. I would be surprised if snd_hdsp could set up connections, but amixer couldn't.

I provided that sample script which tells amixer to disconnect everything so that you could see if _any_ amixer matrix mixer controls have an effect on your card (because if they did, it's possible that the 9652 simply has a different matrix mapping).

Signature · 10 lines
Roger Williams <[email protected]>
Qux Tool & Die, Middleborough, Massachusetts
// Omne tulit punctum qui misquit utile dulci //


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
#2 lore raw
Quoted 4 lines

This would explain why snd_hdsp works (i.e. you can playback and record through the default I/O), although amixer doesn't do anything:
the driver doesn't have to set up any default connections, because those are part of the FPGA reset state. I would be surprised if

actually, the driver does have to set up default connections, which are zero gain for every possible routing unless the line_outs_monitor option is set to a non-zero value. in that case, all h/w input streams and all s/w playback streams are routed at unity gain to the two line out channels, with stereo assignment following an odd->left, even->right mapping.

as i've told mark independently, the hdsp-9652 has different register assignments for the mixer, and until recently i did not have that information from rme. the hdsp-9652 effectively has no mixer at this time on linux.

--p

-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp

#3 lore raw
Quoted 9 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

Paul Davis <[email protected]> writes:

This would explain why snd_hdsp works (i.e. you can playback and record through the default I/O), although amixer doesn't do
anything: the driver doesn't have to set up any default connections, because those are part of the FPGA reset state...

actually, the driver does have to set up default connections, which are zero gain for every possible routing...

Yes, I understand that that's what the driver is _supposed_ to do. That's how it works on my HDSP PCI and Cardbus systems. But isn't it true that the current driver doesn't actually set up any of those zero-gain connections for the HDSP 9652?

This is the only point that I was trying to make to Mark -- the default unity-gain connections (i.e. playback -> H/W output) that he has been using are FPGA configuration defaults, not explicitly set up by the driver.

Signature · 10 lines
Roger Williams <[email protected]>
Qux Tool & Die, Middleborough, Massachusetts
// Omne tulit punctum qui misquit utile dulci //


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
#4 lore raw
Quoted 4 lines

Yes, I understand that that's what the driver is _supposed_ to do. That's how it works on my HDSP PCI and Cardbus systems. But isn't it true that the current driver doesn't actually set up any of those zero-gain connections for the HDSP 9652?

well, it attempts to, but its writing to the wrong registers.

Quoted 4 lines

This is the only point that I was trying to make to Mark -- the default unity-gain connections (i.e. playback -> H/W output) that he has been using are FPGA configuration defaults, not explicitly set up by the driver.

correct. i actually don't have any idea what those defaults are.

-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp

#5 lore raw
In reply to Roger Williams
Quoted 27 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Roger Williams
Sent: Wednesday, January 22, 2003 10:31 AM
To: Paul Davis
Cc: [email protected]; [email protected]
Subject: Re: [Alsa-devel] hdsp multiface pci.

Quoted 9 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

Paul Davis <[email protected]> writes:

This would explain why snd_hdsp works (i.e. you can playback and record through the default I/O), although amixer doesn't do
anything: the driver doesn't have to set up any default connections, because those are part of the FPGA reset state...

actually, the driver does have to set up default connections, which are zero gain for every possible routing...

Yes, I understand that that's what the driver is _supposed_ to do. That's how it works on my HDSP PCI and Cardbus systems. But isn't it true that the current driver doesn't actually set up any of those zero-gain connections for the HDSP 9652?

Quoted 5 lines

This is the only point that I was trying to make to Mark -- the default unity-gain connections (i.e. playback -> H/W output) that he has been using are FPGA configuration defaults, not explicitly set up by the driver.

Yes, and I think I understood that this was probably what was happening as our conversation progressed. When I made that statement it was a bit earlier on, if I remember correctly, and I was explaining my 'vision' of what I thought was going on. That should not be confused with the trusth! ;-)

It makes perfect sense that the RME card itself has some default connections.

Thanks,
Mark

-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp