Skip to contentSkip to conversation

Opl3 Yamaha7xx questions

DISCUSSION Philip Thiem 2 participants 4 messages Oct 7, 2002 – Oct 9, 2002

lore
Share & tools
lore
#0 lore raw

I've been running up again the FM synethesis wall with my aopen card and conflicting information, and finally decided to post to the dev group.

Quoted 1 line

From some skimming of technical documentation for ymf754. It looks like

the ymf7xx family has an opl3 capability on the chip, once the nessacary information is given to the card through a mapped pci configuration register. Is this correct, so that the card is opl3 compatible once the ISA legacy device is told where to "listen" for fm commands?

This all stems from my odessy trying to get fm synth to work on the
YMF744B. I keep getting the feeling I'm overlooking something simple. So
if anyone could offer advice or a plan of attack it would be appreciated. I've
included a link to copy of my last email with all the gathered information. The primary things that have changed is adding this line to my modules.conf
options snd-ymfpci snd_mpu_port=0x330 snd_fm_port=0x388
I don't think much of the other stuff has changed, but could fetch any required information. Also I don't seem to have any mixer control for a synth or fm device. I have been running a compile of cvs which I checked out originally around late-august, tried updating the tree about week around but I ran into compiles problems. Here's that link:
http://www.icequake.net/~witwerg/ymfpci.txt
Once I get the modules compiled, I wanted to try cleaning out what I have, and
reconfiguring with debugging options turned on.

Thankyou
Philip Thiem

GPG Pub Key Archived at wwwkeys.us.pgp.net
Isn't it obvious lumberjacks love traffic lights?

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#1 lore raw

At Sun, 06 Oct 2002 23:25:13 -0500,

Quoted 19 lines · Philip Thiem

I've been running up again the FM synethesis wall with my aopen card and conflicting information, and finally decided to post to the dev group.

Quoted 1 line

From some skimming of technical documentation for ymf754. It looks like

the ymf7xx family has an opl3 capability on the chip, once the nessacary information is given to the card through a mapped pci configuration register. Is this correct, so that the card is opl3 compatible once the ISA legacy device is told where to "listen" for fm commands?

This all stems from my odessy trying to get fm synth to work on the YMF744B. I keep getting the feeling I'm overlooking something simple. So if anyone could offer advice or a plan of attack it would be appreciated. I've
included a link to copy of my last email with all the gathered information. The primary things that have changed is adding this line to my modules.conf
options snd-ymfpci snd_mpu_port=0x330 snd_fm_port=0x388
I don't think much of the other stuff has changed, but could fetch any required information. Also I don't seem to have any mixer control for a

Quoted 8 lines

synth or fm device. I have been running a compile of cvs which I checked out originally around late-august, tried updating the tree about week around but I ran into compiles problems.
Here's that link:
http://www.icequake.net/~witwerg/ymfpci.txt
Once I get the modules compiled, I wanted to try cleaning out what I have, and
reconfiguring with debugging options turned on.

the options look already good. perhaps only the mixer issue.

on the YMFPCI chip, the FM might be connected to Aux. try to turn on Aux Playback and raise its volume.

Takashi

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#2 lore raw

Re: Opl3 Yamaha7xx Answered

Takashi,

I was going to send this message:

Quoted 14 lines

Thank you very much for your response, I appreciate the help. I turned AUX up, but that doesn't seem to have helped.

I've also taken the opportunity to update my system info textfile. Overview of changes:
* latest CVS stuff
* verbose-printk and debug=full are compiled in
* cleaned up my startup to use a stock init.d script
* extra modprobes and opl3 patches now loaded in /etc/alsa.d/ymfpci
* aux turned up all the way
* included a test program I wrote to use the /dev/dmfm interface.

Quoted 3 lines

http://www.icequake.net/~witwerg/ymfpci.txt

Thanks to all,

However, I got an urge to kernel hack and added a mixer for the FM synth. I also tried to make sure that the ioport for volume wasn't being written to or read from, if the card didn't have fm enabled. However, it works! I have fm synth now. The following is what cvs diff outputs in regards to the alsa-kernel directory. If the patch isn't in a usable format, one might have to tell me the exact CVS arguments to use:

http://www.icequake.net/~witwerg/ymfpci-patch.txt

Thanks all,

Philip Thiem

Quoted 8 lines

the options look already good. perhaps only the mixer issue.

on the YMFPCI chip, the FM might be connected to Aux. try to turn on Aux Playback and raise its volume.

Takashi

GPG Pub Key Archived at wwwkeys.us.pgp.net
Isn't it obvious lumberjacks love traffic lights?

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#3 lore raw

Re: Opl3 Yamaha7xx Answered

At Tue, 08 Oct 2002 17:18:27 -0500,

Quoted 11 lines · Philip Thiem

Takashi,

However, I got an urge to kernel hack and added a mixer for the FM synth. I also tried to make sure that the ioport for volume wasn't being written to or read from, if the card didn't have fm enabled. However, it works! I have fm synth now. The following is what cvs diff outputs in regards to the alsa-kernel directory. If the patch isn't in a usable format, one might have to tell me the exact CVS arguments to use:

Quoted 1 line

http://www.icequake.net/~witwerg/ymfpci-patch.txt

thanks for bug spotting!
i changed to activate LEGACYOUTVOL and added the volume control on cvs.

ciao,

Takashi

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf