Skip to contentSkip to conversation

rme32 fullduplex fix

PATCH Applied Martin Langer 2 participants 2 messages Jul 17, 2004 – Jul 27, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rme32 fullduplex fix

Kudos to Takashi and Pilo!

Fullduplex (using module option 'fullduplex=1') works now on rme32 :) Please commit the attached patch, which fixes a strange bug.

Thanks!
martin

Signature · 2 lines
                                     Living on earth may be expensive,
                   but it includes an annual free trip around the sun. 
pci/rme32.c renamed from pci/rme32.c.ORIGINAL +4 -3
@@ -1,7 +1,8 @@
 /*
  *   ALSA driver for RME Digi32, Digi32/8 and Digi32 PRO audio interfaces
  *
- *	Copyright (c) 2002, 2003 Martin Langer <[email protected]>
+ *      Copyright (c) 2002-2004 Martin Langer <[email protected]>,
+ *                              Pilo Chambert <[email protected]>
  *
  *      Thanks to :        Anders Torger <[email protected]>,
  *                         Henk Hesselink <[email protected]>
@@ -101,7 +102,7 @@
 MODULE_PARM_DESC(enable, "Enable RME Digi32 soundcard.");
 module_param_array(fullduplex, bool, boot_devs, 0444);
 MODULE_PARM_DESC(fullduplex, "Support full-duplex mode.");
-MODULE_AUTHOR("Martin Langer <[email protected]>");
+MODULE_AUTHOR("Martin Langer <[email protected]>, Pilo Chambert <[email protected]>");
 MODULE_DESCRIPTION("RME Digi32, Digi32/8, Digi32 PRO");
 MODULE_LICENSE("GPL");
 MODULE_SUPPORTED_DEVICE("{{RME,Digi32}," "{RME,Digi32/8}," "{RME,Digi32 PRO}}");
@@ -153,7 +154,7 @@
 #define RME32_WCR_BITPOS_INP_1 7
 
 /* Read control register bits */
-#define RME32_RCR_AUDIO_ADDR_MASK 0x10001
+#define RME32_RCR_AUDIO_ADDR_MASK 0x1ffff
 #define RME32_RCR_LOCK      (1 << 23)   /* 1=locked, 0=not locked */
 #define RME32_RCR_ERF       (1 << 26)   /* 1=Error, 0=no Error */
 #define RME32_RCR_FREQ_0    (1 << 27)   /* CS841x frequency (record) */
Applied
#1 lore raw

At Sat, 17 Jul 2004 21:05:54 +0200,

Quoted 5 lines · Martin Langer

Kudos to Takashi and Pilo!

Fullduplex (using module option 'fullduplex=1') works now on rme32 :) Please commit the attached patch, which fixes a strange bug.

Thanks, applied now.

Meanwhile, I fixed another possible bug (capture overflow) on cvs. Please wait for a while until sf's tree is synced.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click