* snd-rme9652 fails
@ 2003-12-17 10:10 Martin Wilhelm
2003-12-18 8:38 ` Benouille
0 siblings, 1 reply; 15+ messages in thread
From: Martin Wilhelm @ 2003-12-17 10:10 UTC (permalink / raw)
To: alsa-devel; +Cc: Martin Dausel
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
--
+ - +
| Martin Wilhelm |
| Fraunhofer IIS - Arbeitsgruppe EMT Ilmenau |
| mailto:wilhelmm@emt.iis.fhg.de |
| 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-17 10:10 snd-rme9652 fails Martin Wilhelm
@ 2003-12-18 8:38 ` Benouille
2003-12-18 9:09 ` Patrice Tisserand
0 siblings, 1 reply; 15+ messages in thread
From: Benouille @ 2003-12-18 8:38 UTC (permalink / raw)
To: alsa-devel
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 écrit :
> 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 /]#
>
> [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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-18 8:38 ` Benouille
@ 2003-12-18 9:09 ` Patrice Tisserand
2003-12-18 20:01 ` Fernando Pablo Lopez-Lezcano
0 siblings, 1 reply; 15+ messages in thread
From: Patrice Tisserand @ 2003-12-18 9:09 UTC (permalink / raw)
To: Benouille; +Cc: alsa-devel
On Thu, 2003-12-18 at 09:38, Benouille wrote:
> 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-18 9:09 ` Patrice Tisserand
@ 2003-12-18 20:01 ` Fernando Pablo Lopez-Lezcano
2003-12-18 22:52 ` Martin Langer
0 siblings, 1 reply; 15+ messages in thread
From: Fernando Pablo Lopez-Lezcano @ 2003-12-18 20:01 UTC (permalink / raw)
To: Patrice Tisserand; +Cc: Benouille, alsa-devel
> > 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-18 20:01 ` Fernando Pablo Lopez-Lezcano
@ 2003-12-18 22:52 ` Martin Langer
2003-12-19 3:02 ` Mark Knecht
2003-12-19 9:22 ` Jaroslav Kysela
0 siblings, 2 replies; 15+ messages in thread
From: Martin Langer @ 2003-12-18 22:52 UTC (permalink / raw)
To: Fernando Pablo Lopez-Lezcano; +Cc: Patrice Tisserand, Benouille, alsa-devel
On Thu, Dec 18, 2003 at 12:01:24PM -0800, Fernando Pablo Lopez-Lezcano wrote:
> > > 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?
>
I don't have that hardware and I'm not absolutely sure here
- but it looks like a bug for me.
martin
--- rme9652.c.ORIGINAL Thu Dec 18 23:43:36 2003
+++ rme9652.c Thu Dec 18 23:45:12 2003
@@ -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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-18 22:52 ` Martin Langer
@ 2003-12-19 3:02 ` Mark Knecht
2003-12-19 13:27 ` Mark Knecht
2003-12-19 9:22 ` Jaroslav Kysela
1 sibling, 1 reply; 15+ messages in thread
From: Mark Knecht @ 2003-12-19 3:02 UTC (permalink / raw)
To: Martin Langer
Cc: Fernando Pablo Lopez-Lezcano, Patrice Tisserand, Benouille,
Alsa-Devel
On Thu, 2003-12-18 at 14:52, Martin Langer wrote:
> On Thu, Dec 18, 2003 at 12:01:24PM -0800, Fernando Pablo Lopez-Lezcano wrote:
> > > > 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?
> >
>
> I don't have that hardware and I'm not absolutely sure here
> - but it looks like a bug for me.
>
> martin
>
>
> --- rme9652.c.ORIGINAL Thu Dec 18 23:43:36 2003
> +++ rme9652.c Thu Dec 18 23:45:12 2003
> @@ -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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-18 22:52 ` Martin Langer
2003-12-19 3:02 ` Mark Knecht
@ 2003-12-19 9:22 ` Jaroslav Kysela
2003-12-19 9:37 ` Patrice Tisserand
2003-12-19 10:32 ` Sergey Vlasov
1 sibling, 2 replies; 15+ messages in thread
From: Jaroslav Kysela @ 2003-12-19 9:22 UTC (permalink / raw)
To: Martin Langer
Cc: Fernando Pablo Lopez-Lezcano, Patrice Tisserand, Benouille,
alsa-devel
On Thu, 18 Dec 2003, Martin Langer wrote:
> On Thu, Dec 18, 2003 at 12:01:24PM -0800, Fernando Pablo Lopez-Lezcano wrote:
> > > > 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?
> >
>
> I don't have that hardware and I'm not absolutely sure here
> - but it looks like a bug for me.
>
> martin
>
>
> --- rme9652.c.ORIGINAL Thu Dec 18 23:43:36 2003
> +++ rme9652.c Thu Dec 18 23:45:12 2003
> @@ -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 <perex@suse.cz>
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-19 9:22 ` Jaroslav Kysela
@ 2003-12-19 9:37 ` Patrice Tisserand
2003-12-19 12:12 ` Martin Wilhelm
2003-12-19 10:32 ` Sergey Vlasov
1 sibling, 1 reply; 15+ messages in thread
From: Patrice Tisserand @ 2003-12-19 9:37 UTC (permalink / raw)
To: Jaroslav Kysela
Cc: Martin Langer, Fernando Pablo Lopez-Lezcano, Benouille,
alsa-devel
On Fri, 2003-12-19 at 10:22, Jaroslav Kysela wrote:
> On Thu, 18 Dec 2003, Martin Langer wrote:
>
> > On Thu, Dec 18, 2003 at 12:01:24PM -0800, Fernando Pablo Lopez-Lezcano wrote:
> > > > > 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]
> > I don't have that hardware and I'm not absolutely sure here
> > - but it looks like a bug for me.
> >
> > martin
> >
> >
> > --- rme9652.c.ORIGINAL Thu Dec 18 23:43:36 2003
> > +++ rme9652.c Thu Dec 18 23:45:12 2003
> > @@ -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.
--
Patrice Tisserand <Patrice.Tisserand@ircam.fr>
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-19 9:22 ` Jaroslav Kysela
2003-12-19 9:37 ` Patrice Tisserand
@ 2003-12-19 10:32 ` Sergey Vlasov
2003-12-22 12:38 ` Paul Davis
1 sibling, 1 reply; 15+ messages in thread
From: Sergey Vlasov @ 2003-12-19 10:32 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 836 bytes --]
On Fri, Dec 19, 2003 at 10:22:47AM +0100, Jaroslav Kysela wrote:
> > --- rme9652.c.ORIGINAL Thu Dec 18 23:43:36 2003
> > +++ rme9652.c Thu Dec 18 23:45:12 2003
> > @@ -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.
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...
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-19 12:12 ` Martin Wilhelm
@ 2003-12-19 12:11 ` Jaroslav Kysela
0 siblings, 0 replies; 15+ messages in thread
From: Jaroslav Kysela @ 2003-12-19 12:11 UTC (permalink / raw)
To: Martin Wilhelm; +Cc: alsa-devel
On Fri, 19 Dec 2003, Martin Wilhelm wrote:
> Patrice Tisserand wrote:
>
> > 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 <perex@suse.cz>
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-19 9:37 ` Patrice Tisserand
@ 2003-12-19 12:12 ` Martin Wilhelm
2003-12-19 12:11 ` Jaroslav Kysela
0 siblings, 1 reply; 15+ messages in thread
From: Martin Wilhelm @ 2003-12-19 12:12 UTC (permalink / raw)
To: alsa-devel
Patrice Tisserand wrote:
> 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
--
+ - +
| Martin Wilhelm |
| Fraunhofer IIS - Arbeitsgruppe EMT Ilmenau |
| mailto:wilhelmm@emt.iis.fhg.de |
| 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-19 3:02 ` Mark Knecht
@ 2003-12-19 13:27 ` Mark Knecht
0 siblings, 0 replies; 15+ messages in thread
From: Mark Knecht @ 2003-12-19 13:27 UTC (permalink / raw)
To: Alsa-Devel
On Thu, 2003-12-18 at 19:02, Mark Knecht wrote:
> 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-19 10:32 ` Sergey Vlasov
@ 2003-12-22 12:38 ` Paul Davis
2003-12-22 12:43 ` Jaroslav Kysela
0 siblings, 1 reply; 15+ messages in thread
From: Paul Davis @ 2003-12-22 12:38 UTC (permalink / raw)
To: Sergey Vlasov; +Cc: alsa-devel
i'm a bit late to the party, but ...
>> > --- rme9652.c.ORIGINAL Thu Dec 18 23:43:36 2003
>> > +++ rme9652.c Thu Dec 18 23:45:12 2003
>> > @@ -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.
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-22 12:38 ` Paul Davis
@ 2003-12-22 12:43 ` Jaroslav Kysela
2003-12-22 12:58 ` Mark Knecht
0 siblings, 1 reply; 15+ messages in thread
From: Jaroslav Kysela @ 2003-12-22 12:43 UTC (permalink / raw)
To: Paul Davis; +Cc: Sergey Vlasov, alsa-devel
On Mon, 22 Dec 2003, Paul Davis wrote:
> i'm a bit late to the party, but ...
>
> >> > --- rme9652.c.ORIGINAL Thu Dec 18 23:43:36 2003
> >> > +++ rme9652.c Thu Dec 18 23:45:12 2003
> >> > @@ -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.
>
> 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 <perex@suse.cz>
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: snd-rme9652 fails
2003-12-22 12:43 ` Jaroslav Kysela
@ 2003-12-22 12:58 ` Mark Knecht
0 siblings, 0 replies; 15+ messages in thread
From: Mark Knecht @ 2003-12-22 12:58 UTC (permalink / raw)
To: Jaroslav Kysela; +Cc: Alsa-Devel
On Mon, 2003-12-22 at 04:43, Jaroslav Kysela wrote:
> > 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
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2003-12-22 12:58 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-17 10:10 snd-rme9652 fails Martin Wilhelm
2003-12-18 8:38 ` Benouille
2003-12-18 9:09 ` Patrice Tisserand
2003-12-18 20:01 ` Fernando Pablo Lopez-Lezcano
2003-12-18 22:52 ` Martin Langer
2003-12-19 3:02 ` Mark Knecht
2003-12-19 13:27 ` Mark Knecht
2003-12-19 9:22 ` Jaroslav Kysela
2003-12-19 9:37 ` Patrice Tisserand
2003-12-19 12:12 ` Martin Wilhelm
2003-12-19 12:11 ` Jaroslav Kysela
2003-12-19 10:32 ` Sergey Vlasov
2003-12-22 12:38 ` Paul Davis
2003-12-22 12:43 ` Jaroslav Kysela
2003-12-22 12:58 ` Mark Knecht
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.