Skip to contentSkip to conversation

aci.c and related files reworked for 2.4.0

PATCH New Robert Siemer 1 participant 1 message Jan 28, 2001 1 message not in the archive

Subsystems (4)
lore
Share & tools
lore

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

#1 lore raw

PATCH 1/1 aci.c and related files reworked for 2.4.0

Hi Thomas an linux-sound (: !

I made up a new patch for the aci.c and related files. It's for miroSOUND sound cards.

It applies cleanly against 2.4.0, but problems can occur when not compiled as modules. - I will work on this issue, but my box has problems booting completely into 2.4.0 (PCI IRQ routing...). So it will take some time.

The patch is technically the same as in my initially post on linux-kernel for test8:
http://www.uwsg.indiana.edu/hypermail/linux/kernel/0009.2/0260.html

Thomas, please try it and tell me if it fits your needs.

Further I would be pleased to hear from more people using this sound hardware... (:

Bye,
Robert

CREDITS +8 -0
diff -urN -X dontdiff linux-vanilla/CREDITS linux/CREDITS
@@ -2427,6 +2427,14 @@
 S: San Jose, California
 S: USA
 
+N: Robert Siemer
+E: [email protected]
+P: 2048/C99A4289 2F DC 17 2E 56 62 01 C8  3D F2 AC 09 F2 E5 DD EE
+D: miroSOUND PCM20 radio RDS driver, ACI rewrite
+S: Klosterweg 28 / i309
+S: 76131 Karlsruhe
+S: Germany
+
 N: Jaspreet Singh
 E: [email protected]
 W: www.sangoma.com
Documentation/Configure.help +7 -7
diff -urN -X dontdiff linux-vanilla/Documentation/Configure.help linux/Documentation/Configure.help
@@ -14336,7 +14336,7 @@
 
   If unsure, say Y.
 
-ACI mixer (miroPCM12/PCM20)
+ACI mixer (miroSOUND PCM1-pro/PCM12/PCM20)
 CONFIG_SOUND_ACI_MIXER
   ACI (Audio Command Interface) is a protocol used to communicate with
   the microcontroller on some sound cards produced by miro, e.g. the
@@ -14345,8 +14345,8 @@
 
   This Voxware ACI driver currently only supports the ACI functions on
   the miroSOUND PCM12 and PCM20 cards. On the PCM20, ACI also controls
-  the radio tuner. This is supported in the video4linux
-  radio-miropcm20 driver.
+  the radio tuner. This is supported in the video4linux miropcm20
+  driver.
 
 SB32/AWE support
 CONFIG_SOUND_AWE32_SYNTH
@@ -16087,11 +16087,11 @@
   say M here and read Documentation/modules.txt. The module will be
   called i2c-parport.o.
 
-Miro PCM20 Radio
+miroSOUND PCM20 radio
 CONFIG_RADIO_MIROPCM20
   Choose Y here if you have this FM radio card. You also need to say Y
-  to "ACI mixer (miroPCM12/PCM20)" (in "additional low level sound
-  drivers") for this to work.
+  to "ACI mixer (miroSOUND PCM1-pro/PCM12/PCM20)" (in "Sound") for
+  this to work.
 
   In order to control your radio card, you will need to use programs
   that are compatible with the Video for Linux API. Information on 
@@ -16101,7 +16101,7 @@
   If you want to compile this driver as a module ( = code which can be
   inserted in and removed from the running kernel whenever you want),
   say M here and read Documentation/modules.txt. The module will be
-  called radio-miropcm20.o
+  called miropcm20.o
 
 GemTek Radio Card
 CONFIG_RADIO_GEMTEK
Documentation/sound/PCM1-pro +0 -17
diff -urN -X dontdiff linux-vanilla/Documentation/sound/PCM1-pro linux/Documentation/sound/PCM1-pro
@@ -1,17 +0,0 @@
-In Documentation/sound/README.OSS was a remark saying noone was sure the
-mixer on the PCM1-pro worked with the ACI driver. Well, it does.
-I've been using the drivers for the MAD16 and the driver for the mixer
-since kernel 2.0.32 with a MiroSound PCM1-pro and it works great.
-
-I've got it working with the following configuration:
-
-MAD16 audio I/O base = 530
-MAD16  audio IRQ = 7
-MAD16 Audio DMA = 1
-MAD16 MIDI I/O = 330
-MAD16 MIDI IRQ = 9
-
-And I've enabled the ACI mixer (miro PCM12) .
-
-
-Bas van der Linden.
Documentation/sound/README.OSS +34 -26

79 lines not on this page · raw message

MAINTAINERS +7 -0
diff -urN -X dontdiff linux-vanilla/MAINTAINERS linux/MAINTAINERS
@@ -106,6 +106,13 @@
 L:	[email protected]
 S:	Maintained
 
+ACI MIXER DRIVER
+P:	Robert Siemer
+M:	[email protected]
+L:	[email protected]
+W:	http://www.uni-karlsruhe.de/~Robert.Siemer/Private/
+S:	Maintained
+
 ACPI
 P:	Andy Grover
 M:	[email protected]
drivers/media/radio/Config.in +1 -1
diff -urN -X dontdiff linux-vanilla/drivers/media/radio/Config.in linux/drivers/media/radio/Config.in
@@ -22,7 +22,7 @@
    hex '    GemTek i/o port (0x20c, 0x30c, 0x24c or 0x34c)' CONFIG_RADIO_GEMTEK_PORT 34c
 fi
 dep_tristate '  Maestro on board radio' CONFIG_RADIO_MAESTRO $CONFIG_VIDEO_DEV
-dep_tristate '  Miro PCM20 Radio' CONFIG_RADIO_MIROPCM20 $CONFIG_VIDEO_DEV
+dep_tristate '  miroSOUND PCM20 radio' CONFIG_RADIO_MIROPCM20 $CONFIG_VIDEO_DEV
 dep_tristate '  SF16FMI Radio' CONFIG_RADIO_SF16FMI $CONFIG_VIDEO_DEV
 if [ "$CONFIG_RADIO_SF16FMI" = "y" ]; then
    hex '    SF16FMI I/O port (0x284 or 0x384)' CONFIG_RADIO_SF16FMI_PORT 284
drivers/media/radio/Makefile +7 -2
diff -urN -X dontdiff linux-vanilla/drivers/media/radio/Makefile linux/drivers/media/radio/Makefile
@@ -23,7 +23,9 @@
 
 export-objs     :=	
 
-list-multi	:=	
+list-multi	:= miropcm20.o
+
+miropcm20-objs	:= radio-miropcm20.o rds-miropcm20.o
 
 obj-$(CONFIG_RADIO_AZTECH) += radio-aztech.o
 obj-$(CONFIG_RADIO_RTRACK2) += radio-rtrack2.o
@@ -33,9 +35,12 @@
 obj-$(CONFIG_RADIO_TERRATEC) += radio-terratec.o
 obj-$(CONFIG_RADIO_RTRACK) += radio-aimslab.o
 obj-$(CONFIG_RADIO_ZOLTRIX) += radio-zoltrix.o
-obj-$(CONFIG_RADIO_MIROPCM20) += radio-miropcm20.o
+obj-$(CONFIG_RADIO_MIROPCM20) += miropcm20.o
 obj-$(CONFIG_RADIO_GEMTEK) += radio-gemtek.o
 obj-$(CONFIG_RADIO_TRUST) += radio-trust.o
 obj-$(CONFIG_RADIO_MAESTRO) += radio-maestro.o
 
 include $(TOPDIR)/Rules.make
+
+miropcm20.o: $(miropcm20-objs)
+	$(LD) -r -o $@ $(miropcm20-objs)
drivers/media/radio/radio-miropcm20.c +130 -75

305 lines not on this page · raw message

drivers/media/radio/rds-miropcm20.c +249 -0

249 lines not on this page · raw message

drivers/sound/Config.in +1 -1
diff -urN -X dontdiff linux-vanilla/drivers/sound/Config.in linux/drivers/sound/Config.in
@@ -91,7 +91,7 @@
    fi
    dep_tristate '    Aztech Sound Galaxy (non-PnP) cards' CONFIG_SOUND_SGALAXY $CONFIG_SOUND_OSS
    dep_tristate '    Adlib Cards' CONFIG_SOUND_ADLIB $CONFIG_SOUND_OSS
-   dep_tristate '    ACI mixer (miroPCM12)' CONFIG_SOUND_ACI_MIXER $CONFIG_SOUND_OSS
+   dep_tristate '    ACI mixer (miroSOUND PCM1-pro/PCM12/PCM20)' CONFIG_SOUND_ACI_MIXER $CONFIG_SOUND_OSS
    dep_tristate '    Crystal CS4232 based (PnP) cards' CONFIG_SOUND_CS4232 $CONFIG_SOUND_OSS
    dep_tristate '    Ensoniq SoundScape support' CONFIG_SOUND_SSCAPE $CONFIG_SOUND_OSS
    dep_tristate '    Gravis Ultrasound support' CONFIG_SOUND_GUS $CONFIG_SOUND_OSS
drivers/sound/aci.c +520 -558

1,214 lines not on this page · raw message

drivers/sound/aci.h +55 -0

55 lines not on this page · raw message

drivers/sound/miroaci.h +0 -5
diff -urN -X dontdiff linux-vanilla/drivers/sound/miroaci.h linux/drivers/sound/miroaci.h
@@ -1,5 +0,0 @@
-extern int aci_implied_cmd(unsigned char opcode);
-extern int aci_write_cmd(unsigned char opcode, unsigned char parameter);
-extern int aci_write_cmd_d(unsigned char opcode, unsigned char parameter, unsigned char parameter2);
-extern int aci_read_cmd(unsigned char opcode, int length, unsigned char *parameter);
-extern int aci_indexed_cmd(unsigned char opcode, unsigned char index, unsigned char *parameter);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/