Skip to contentSkip to conversation

snd-rme9652 fails

DISCUSSION Martin Wilhelm 9 participants 15 messages Dec 17, 2003 – Dec 22, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

according to martin dausel's posting some weeks ago, I can confirm, that since alsa-0.9.8 was released, the "old" rme-9652 cards are no longer working.
This is very strange, because the driver was not changed... :(
And: The OSS-kernelmod (rme96xx) works fine!

Here's some output (long lines not wrapped):

lspci:
----------------------------------------------------------------
[root@il028 /]# lspci -v
00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge (rev 01)

        Subsystem: Unknown device 1734:1003
        Flags: bus master, fast devsel, latency 0
        Memory at e0000000 (32-bit, prefetchable) [size=256M]
        Capabilities: [e4] #09 [4105]

00:02.0 VGA compatible controller: Intel Corp. 82845G/GL [Brookdale-G] Chipset Integrated Graphics Device (rev 01) (prog-if 00 [VGA])

        Subsystem: Unknown device 1734:1003
        Flags: bus master, fast devsel, latency 0, IRQ 9
        Memory at d8000000 (32-bit, prefetchable) [size=128M]
        Memory at d0000000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: [d0] Power Management version 1

00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 01) (prog-if 00 [UHCI])

        Subsystem: Unknown device 1734:1004
        Flags: bus master, medium devsel, latency 0, IRQ 9
        I/O ports at 1000 [size=32]

00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 01) (prog-if 00 [UHCI])

        Subsystem: Unknown device 1734:1004
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at 1400 [size=32]

00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 01) (prog-if 00 [UHCI])

        Subsystem: Unknown device 1734:1004
        Flags: bus master, medium devsel, latency 0, IRQ 10
        I/O ports at 1800 [size=32]

00:1d.7 USB Controller: Intel Corp. 82801DB USB2 (rev 01) (prog-if 20 [EHCI])

        Subsystem: Unknown device 1734:1004
        Flags: bus master, medium devsel, latency 0, IRQ 9
        Memory at d0080000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] #0a [2080]

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 81) (prog-if 00 [Normal decode])

        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: d0100000-d1ffffff

00:1f.0 ISA bridge: Intel Corp. 82801DB LPC Interface Controller (rev 01)
Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801DB Ultra ATA Storage Controller (rev 01) (prog-if 8a [Master SecP PriP])
Subsystem: Unknown device 1734:1004
Flags: bus master, medium devsel, latency 0
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at 2000 [size=16]
Memory at 20000000 (32-bit, non-prefetchable) [size=1K]

00:1f.3 SMBus: Intel Corp. 82801DB/DBM SMBus Controller (rev 01)

        Subsystem: Unknown device 1734:1004
        Flags: medium devsel, IRQ 5
        I/O ports at 1c00 [size=32]

02:05.0 Multimedia audio controller: Xilinx Corporation RME Digi9652 (Hammerfall) (rev 03)
Flags: bus master, stepping, slow devsel, latency 64, IRQ 5 Memory at d1000000 (32-bit, non-prefetchable) [size=16M]

02:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (LOM) Ethernet Controller (rev 81)

        Subsystem: Unknown device 1734:1001
        Flags: bus master, medium devsel, latency 66, IRQ 11
        Memory at d0100000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 3000 [size=64]
        Capabilities: [dc] Power Management version 2

[root@il028 /]#
----------------------------------------------------------------

Alsa-Try:
----------------------------------------------------------------
[root@il028 /]# modprobe snd-rme9652 /lib/modules/2.4.23-uv1-AEMT/kernel/sound/pci/rme9652/snd-rme9652.o:
init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
modprobe: insmod /lib/modules/2.4.23-uv1-AEMT/kernel/sound/pci/rme9652/snd-rme9652.o failed
modprobe: insmod snd-rme9652 failed
[root@il028 /]#

[root@il028 /]# dmesg
RME Digi9652/Digi9636: no cards found
[root@il028 /]#
----------------------------------------------------------------

OSS-Try:
----------------------------------------------------------------
[root@il028 /]# modprobe rme96xx
Warning: loading /lib/modules/2.4.23-uv1-AEMT/kernel/drivers/sound/rme96xx.o will taint the kernel: no license
See http://www.tux.org/lkml/#export-tainted for information about
tainted modules
Module rme96xx loaded, with warnings
[root@il028 /]#

[root@il028 /]# dmesg
rme96xx: version 0.8 time 08:58:37 Dec 17 2003
rme96xx: reserving 1 dsp device(s)
rme96xx: detected RME Digi9652 (Rev 1.5) (hw_rev 15)
rme96xx: card 1 initialized
[root@il028 /]#
----------------------------------------------------------------

Some other Infos:
* "Affected" Kernels: 2.4.22, 2.4.23, 2.4.23-uv1.
* "Affected" Alsa-Versions: 0.9.8, 1.0.0betaX, 1.0.0rcX.

More on request ...

So long and thanks for any help,
Wico

Signature · 19 lines
+                                  -                                +
| Martin Wilhelm                                                    |
| Fraunhofer IIS - Arbeitsgruppe EMT Ilmenau                        |
| mailto:[email protected]                                    |
| Tel. (privat): +49 (0)3677 208655                                 |
| Tel. (dienst): +49 (0)3677 789143                                 |
+                                  -                                +







-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
#1 lore raw

Hi

I confirm this fact:
with kernel 2.4.23 and alsa 1.0rc2, the module snd-rme9652 can't be loaded althought the "old" rme digi 9652 is perfectly working with alsa 0.9.6

Regards,

Benoit

Le 17/12/2003 11:10, Martin Wilhelm a &eacute;crit :

Quoted 25 lines

Hi,

according to martin dausel's posting some weeks ago, I can confirm, that since alsa-0.9.8 was released, the "old" rme-9652 cards are no longer working.
This is very strange, because the driver was not changed... :(
And: The OSS-kernelmod (rme96xx) works fine!

Here's some output (long lines not wrapped):

Alsa-Try:
----------------------------------------------------------------
[root@il028 /]# modprobe snd-rme9652 /lib/modules/2.4.23-uv1-AEMT/kernel/sound/pci/rme9652/snd-rme9652.o:
init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
modprobe: insmod /lib/modules/2.4.23-uv1-AEMT/kernel/sound/pci/rme9652/snd-rme9652.o failed
modprobe: insmod snd-rme9652 failed
[root@il028 /]#

Quoted 6 lines

[root@il028 /]# dmesg
RME Digi9652/Digi9636: no cards found
[root@il028 /]#
----------------------------------------------------------------

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#2 lore raw
Quoted 6 lines · Benouille

Hi

I confirm this fact:
with kernel 2.4.23 and alsa 1.0rc2, the module snd-rme9652 can't be loaded althought the "old" rme digi 9652 is perfectly working with alsa 0.9.6

Hi,

I have found after a lot of printk that if I comment lines 1645 to 1648 of rme9652.c, the driver could be load and I can play music with jMax ;)

Here are the part to comment:
if (rme9652->ss_channels == RME9652_NCHANNELS)
if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_rme9652_adat3_check, rme9652))) < 0)

     return err;

Please note that I have only test the first ADAT with playback.

# lspci output
$ /sbin/lspci -s 00:0e.0
00:0e.0 Multimedia audio controller: Xilinx Corporation RME Digi9652 (Hammerfall) (rev 03)
$ /sbin/lspci -n -s 00:0e.0
00:0e.0 Class 0401: 10ee:3fc4 (rev 03)

Bye,
Patrice.

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#3 lore raw
Quoted 11 lines
Quoted 3 lines

I confirm this fact:
with kernel 2.4.23 and alsa 1.0rc2, the module snd-rme9652 can't be loaded althought the "old" rme digi 9652 is perfectly working with alsa 0.9.6

I have found after a lot of printk that if I comment lines 1645 to 1648 of rme9652.c, the driver could be load and I can play music with jMax ;)

Here are the part to comment:
if (rme9652->ss_channels == RME9652_NCHANNELS)
if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_rme9652_adat3_check, rme9652))) < 0)

     return err;

Did you by any chance printk what is the value of ss_channels? So that the error can be corrected?

-- Fernando

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#4 lore raw
Quoted 7 lines · Fernando Pablo Lopez-Lezcano
Quoted 7 lines
Quoted 3 lines

I confirm this fact:
with kernel 2.4.23 and alsa 1.0rc2, the module snd-rme9652 can't be loaded althought the "old" rme digi 9652 is perfectly working with alsa 0.9.6

I have found after a lot of printk that if I comment lines 1645 to 1648 of rme9652.c, the driver could be load and I can play music with jMax ;)

Quoted 8 lines
Quoted 4 lines

Here are the part to comment:
if (rme9652->ss_channels == RME9652_NCHANNELS)
if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_rme9652_adat3_check, rme9652))) < 0)

     return err;

Did you by any chance printk what is the value of ss_channels? So that the error can be corrected?

I don't have that hardware and I'm not absolutely sure here
- but it looks like a bug for me.

martin

rme9652.c renamed from rme9652.c.ORIGINAL +0 -1
@@ -1618,7 +1618,6 @@
 RME9652_SPDIF_RATE("IEC958 Sample Rate", 0),
 RME9652_ADAT_SYNC("ADAT1 Sync Check", 0, 0),
 RME9652_ADAT_SYNC("ADAT2 Sync Check", 0, 1),
-RME9652_ADAT_SYNC("ADAT3 Sync Check", 0, 2),
 RME9652_TC_VALID("Timecode Valid", 0),
 RME9652_PASSTHRU("Passthru", 0)
 };

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#5 lore raw
Quoted 27 lines · Martin Langer
Quoted 7 lines · Fernando Pablo Lopez-Lezcano
Quoted 7 lines
Quoted 3 lines

I confirm this fact:
with kernel 2.4.23 and alsa 1.0rc2, the module snd-rme9652 can't be loaded althought the "old" rme digi 9652 is perfectly working with alsa 0.9.6

I have found after a lot of printk that if I comment lines 1645 to 1648 of rme9652.c, the driver could be load and I can play music with jMax ;)

Quoted 8 lines
Quoted 4 lines

Here are the part to comment:
if (rme9652->ss_channels == RME9652_NCHANNELS)
if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_rme9652_adat3_check, rme9652))) < 0)

     return err;

Did you by any chance printk what is the value of ss_channels? So that the error can be corrected?

I don't have that hardware and I'm not absolutely sure here
- but it looks like a bug for me.

martin

rme9652.c line 1623

Quoted 7 lines
rme9652.c renamed from rme9652.c.ORIGINAL +0 -1
@@ -1618,7 +1618,6 @@
 RME9652_SPDIF_RATE("IEC958 Sample Rate", 0),
 RME9652_ADAT_SYNC("ADAT1 Sync Check", 0, 0),
 RME9652_ADAT_SYNC("ADAT2 Sync Check", 0, 1),
-RME9652_ADAT_SYNC("ADAT3 Sync Check", 0, 2),
 RME9652_TC_VALID("Timecode Valid", 0),
 RME9652_PASSTHRU("Passthru", 0)
 };

Hi,
I have a Hammerfall Light (the 9636, not the 9652) and the rme9652
driver is loading fine for me. I am getting sound, but only after a small struggle.

For some reason it appears that the numbering of the audio ports has
changed. I am very sure that the order used to be ADAT1 on inputs 1-8 in Jack, ADAT2 on inputs 9-16, and I suppose spdif was on 17-18 although I've never used it.

I haven't used Linux audio on this box since I upgraded to
Alsa-1.0.0rc2 last weekend. It's dual boot and the machine has been in GigaStudio and Reaktor since then. Anyway, tonight I find the ADAT2 is coming in on Jack ports 11-18 instead of 9-16.

Has someone intentionally renumbered where audio should be?

Mark

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#6 lore raw
Quoted 4 lines · Mark Knecht

Has someone intentionally renumbered where audio should be?

Mark

Is anyone addressing this?

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#7 lore raw
In reply to Martin Langer
Quoted 26 lines · Martin Langer
Quoted 7 lines · Fernando Pablo Lopez-Lezcano
Quoted 7 lines
Quoted 3 lines

I confirm this fact:
with kernel 2.4.23 and alsa 1.0rc2, the module snd-rme9652 can't be loaded althought the "old" rme digi 9652 is perfectly working with alsa 0.9.6

I have found after a lot of printk that if I comment lines 1645 to 1648 of rme9652.c, the driver could be load and I can play music with jMax ;)

Quoted 8 lines
Quoted 4 lines

Here are the part to comment:
if (rme9652->ss_channels == RME9652_NCHANNELS)
if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_rme9652_adat3_check, rme9652))) < 0)

     return err;

Did you by any chance printk what is the value of ss_channels? So that the error can be corrected?

I don't have that hardware and I'm not absolutely sure here
- but it looks like a bug for me.

martin

rme9652.c line 1623

Quoted 7 lines
rme9652.c renamed from rme9652.c.ORIGINAL +0 -1
@@ -1618,7 +1618,6 @@
 RME9652_SPDIF_RATE("IEC958 Sample Rate", 0),
 RME9652_ADAT_SYNC("ADAT1 Sync Check", 0, 0),
 RME9652_ADAT_SYNC("ADAT2 Sync Check", 0, 1),
-RME9652_ADAT_SYNC("ADAT3 Sync Check", 0, 2),
 RME9652_TC_VALID("Timecode Valid", 0),
 RME9652_PASSTHRU("Passthru", 0)
 };

Yes, duplicated controls ARE NOT ALLOWED NOW. Applied. Thanks.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#8 lore raw
Quoted 7 lines · Jaroslav Kysela
Quoted 5 lines · Martin Langer
Quoted 4 lines · Fernando Pablo Lopez-Lezcano
Quoted 4 lines
Quoted 3 lines

I confirm this fact:
with kernel 2.4.23 and alsa 1.0rc2, the module snd-rme9652 can't be loaded althought the "old" rme digi 9652 is perfectly working with alsa 0.9.6

[cut]

Quoted 6 lines
Quoted 6 lines

I don't have that hardware and I'm not absolutely sure here
- but it looks like a bug for me.

martin

Quoted 13 lines

rme9652.c line 1623

Quoted 10 lines
rme9652.c renamed from rme9652.c.ORIGINAL +0 -1
@@ -1618,7 +1618,6 @@
 RME9652_SPDIF_RATE("IEC958 Sample Rate", 0),
 RME9652_ADAT_SYNC("ADAT1 Sync Check", 0, 0),
 RME9652_ADAT_SYNC("ADAT2 Sync Check", 0, 1),
-RME9652_ADAT_SYNC("ADAT3 Sync Check", 0, 2),
 RME9652_TC_VALID("Timecode Valid", 0),
 RME9652_PASSTHRU("Passthru", 0)
 };

Yes, duplicated controls ARE NOT ALLOWED NOW. Applied. Thanks.

I have the card and everything is fine with this fix. Thanks a lot for your bug fix.

Bye.

Signature · 9 lines
Patrice Tisserand <[email protected]>



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
#9 lore raw
Quoted 2 lines · Patrice Tisserand

I have the card and everything is fine with this fix. Thanks a lot for your bug fix.

Works for me too! :)
What about merging this fix in the alsa maintree/next release (this would be a great christmas present for us ;))?

Greetings,
Martin

Signature · 15 lines
+                                  -                                +
| Martin Wilhelm                                                    |
| Fraunhofer IIS - Arbeitsgruppe EMT Ilmenau                        |
| mailto:[email protected]                                    |
| Tel. (privat): +49 (0)3677 208655                                 |
| Tel. (dienst): +49 (0)3677 789143                                 |
+                                  -                                +



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
#10 lore raw
Quoted 8 lines · Martin Wilhelm
Quoted 2 lines · Patrice Tisserand

I have the card and everything is fine with this fix. Thanks a lot for your bug fix.

Works for me too! :)
What about merging this fix in the alsa maintree/next release (this would be a great christmas present for us ;))?

It's already in CVS and will be in 1.0 final.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#11 lore raw
In reply to Jaroslav Kysela
Quoted 4 lines · Jaroslav Kysela
Quoted 4 lines
rme9652.c renamed from rme9652.c.ORIGINAL +0 -0
@@ -1618,7 +1618,6 @@
 RME9652_SPDIF_RATE("IEC958 Sample Rate", 0),
Quoted 8 lines

rme9652.c line 1623

Quoted 6 lines
rme9652.c renamed from rme9652.c.ORIGINAL +0 -1
 RME9652_ADAT_SYNC("ADAT1 Sync Check", 0, 0),
 RME9652_ADAT_SYNC("ADAT2 Sync Check", 0, 1),
-RME9652_ADAT_SYNC("ADAT3 Sync Check", 0, 2),
 RME9652_TC_VALID("Timecode Valid", 0),
 RME9652_PASSTHRU("Passthru", 0)
 };

Yes, duplicated controls ARE NOT ALLOWED NOW. Applied. Thanks.

Maybe snd_ctl_add() should print some debugging info (at least the control name) when it encounters a duplicate control? There were at least three such bugs recently, and all of them required adding printk calls to the driver to locate where it fails - this does not look like a good way...

#12 lore raw

i'm a bit late to the party, but ...

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
rme9652.c renamed from rme9652.c.ORIGINAL +0 -0
@@ -1618,7 +1618,6 @@
 RME9652_SPDIF_RATE("IEC958 Sample Rate", 0),
Quoted 8 lines
Quoted 8 lines

rme9652.c line 1623

Quoted 6 lines
rme9652.c renamed from rme9652.c.ORIGINAL +0 -1
 RME9652_ADAT_SYNC("ADAT1 Sync Check", 0, 0),
 RME9652_ADAT_SYNC("ADAT2 Sync Check", 0, 1),
-RME9652_ADAT_SYNC("ADAT3 Sync Check", 0, 2),
 RME9652_TC_VALID("Timecode Valid", 0),
 RME9652_PASSTHRU("Passthru", 0)
 };

Yes, duplicated controls ARE NOT ALLOWED NOW. Applied. Thanks.

how did this code imply a duplicate control? removing it is *wrong*, utterly wrong. it is an important control for some purposes.

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#13 lore raw
Quoted 15 lines · Paul Davis

i'm a bit late to the party, but ...

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
rme9652.c renamed from rme9652.c.ORIGINAL +0 -0
@@ -1618,7 +1618,6 @@
 RME9652_SPDIF_RATE("IEC958 Sample Rate", 0),
Quoted 8 lines
Quoted 8 lines

rme9652.c line 1623

Quoted 6 lines
rme9652.c renamed from rme9652.c.ORIGINAL +0 -1
 RME9652_ADAT_SYNC("ADAT1 Sync Check", 0, 0),
 RME9652_ADAT_SYNC("ADAT2 Sync Check", 0, 1),
-RME9652_ADAT_SYNC("ADAT3 Sync Check", 0, 2),
 RME9652_TC_VALID("Timecode Valid", 0),
 RME9652_PASSTHRU("Passthru", 0)
 };

Yes, duplicated controls ARE NOT ALLOWED NOW. Applied. Thanks.

Quoted 2 lines

how did this code imply a duplicate control? removing it is *wrong*, utterly wrong. it is an important control for some purposes.

It seems that this control is available only for 9652 not for 9632 version. The same control was used and defined twice for 9652 while with 9632 was probably useless:

....

static snd_kcontrol_new_t snd_rme9652_adat3_check = RME9652_ADAT_SYNC("ADAT3 Sync Check", 0, 2);

....

       if (rme9652->ss_channels == RME9652_NCHANNELS)
               if ((err = snd_ctl_add(card, kctl = snd_ctl_new1(&snd_rme9652_adat3_check, rme9652))) < 0)
                       return err;


						Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#14 lore raw
Quoted 7 lines · Jaroslav Kysela
Quoted 2 lines

how did this code imply a duplicate control? removing it is *wrong*, utterly wrong. it is an important control for some purposes.

It seems that this control is available only for 9652 not for 9632 version. The same control was used and defined twice for 9652 while with 9632 was probably useless:

9632 or 9636? Doesn't the 9632 use a different driver? (snd-hdsp?)

I reported a bug long ago about the /proc file system for the Hammerfall Light (9636) showing ADAT3 for sync instead of spdif. Maybe this is related?

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click