URL
https://opencores.org/ocsvn/test_project/test_project/trunk
Subversion Repositories test_project
[/] [test_project/] [trunk/] [linux_sd_driver/] [Documentation/] [sound/] [oss/] [PSS-updates] - Rev 62
Compare with Previous | Blame | View Log
This file contains notes for users of PSS sound cards who wish to use thenewly added features of the newest version of this driver.The major enhancements present in this new revision of this driver is theaddition of two new module parameters that allow you to take full advantage ofall the features present on your PSS sound card. These features include theability to enable both the builtin CDROM and joystick ports.pss_enable_joystickThis parameter is basically a flag. A 0 will leave the joystick portdisabled, while a non-zero value would enable the joystick port. The defaultsetting is pss_enable_joystick=0 as this keeps this driver fully compatiblewith systems that were using previous versions of this driver. If you wish toenable the joystick port you will have to add pss_enable_joystick=1 as anargument to the driver. To actually use the joystick port you will then haveto load the joystick driver itself. Just remember to load the joystick driverAFTER the pss sound driver.pss_cdrom_portThis parameter takes a port address as its parameter. Any available portaddress can be specified to enable the CDROM port, except for 0x0 and -1 asthese values would leave the port disabled. Like the joystick port, the cdromport will require that an appropriate CDROM driver be loaded before you can makeuse of the newly enabled CDROM port. Like the joystick port option above,remember to load the CDROM driver AFTER the pss sound driver. While it maydiffer on some PSS sound cards, all the PSS sound cards that I have seen have abuiltin Wearnes CDROM port. If this is the case with your PSS sound card youshould load aztcd with the appropriate port option that matches the port youassigned to the CDROM port when you loaded your pss sound driver. (ex.modprobe pss pss_cdrom_port=0x340 && modprobe aztcd aztcd=0x340) The defaultsetting of this parameter leaves the CDROM port disabled to maintain fullcompatibility with systems using previous versions of this driver.Other options have also been added for the added convenience and utilityof the user. These options are only available if this driver is loaded as amodule.pss_no_soundThis module parameter is a flag that can be used to tell the driver tojust configure non-sound components. 0 configures all components, a non-0value will only attept to configure the CDROM and joystick ports. Thisparameter can be used by a user who only wished to use the builtin joystickand/or CDROM port(s) of his PSS sound card. If this driver is loaded with thisparameter and with the parameter below set to true then a user can safely unloadthis driver with the following command "rmmod pss && rmmod ad1848 && rmmodmpu401 && rmmod sound && rmmod soundcore" and retain the full functionality ofhis CDROM and/or joystick port(s) while gaining back the memory previously usedby the sound drivers. This default setting of this parameter is 0 to retainfull behavioral compatibility with previous versions of this driver.pss_keep_settingsThis parameter can be used to specify whether you want the driver to resetall emulations whenever its unloaded. This can be useful for those who aresharing resources (io ports, IRQ's, DMA's) between different ISA cards. Thisflag can also be useful in that future versions of this driver may reset allemulations by default on the driver's unloading (as it probably should), sospecifying it now will ensure that all future versions of this driver willcontinue to work as expected. The default value of this parameter is 1 toretain full behavioral compatibility with previous versions of this driver.pss_firmwareThis parameter can be used to specify the file containing the firmwarecode so that a user could tell the driver where that file is located insteadof having to put it in a predefined location with a predefined name. Thedefault setting of this parameter is "/etc/sound/pss_synth" as this was thepath and filename the hardcoded value in the previous versions of this driver.Examples:# Normal PSS sound card system, loading of drivers.# Should be specified in an rc file (ex. Slackware uses /etc/rc.d/rc.modules)./sbin/modprobe pss pss_io=0x220 mpu_io=0x338 mpu_irq=9 mss_io=0x530 mss_irq=10 mss_dma=1 pss_cdrom_port=0x340 pss_enable_joystick=1/sbin/modprobe aztcd aztcd=0x340/sbin/modprobe joystick# System using the PSS sound card just for its CDROM and joystick ports.# Should be specified in an rc file (ex. Slackware uses /etc/rc.d/rc.modules)./sbin/modprobe pss pss_io=0x220 pss_cdrom_port=0x340 pss_enable_joystick=1 pss_no_sound=1/sbin/rmmod pss && /sbin/rmmod ad1848 && /sbin/rmmod mpu401 && /sbin/rmmod sound && /sbin/rmmod soundcore # This line not needed, but saves memory./sbin/modprobe aztcd aztcd=0x340/sbin/modprobe joystick
