PSS-updates
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:5k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. This file contains notes for users of PSS sound cards who wish to use the 
  2. newly added features of the newest version of this driver.
  3. The major enhancements present in this new revision of this driver is the 
  4. addition of two new module parameters that allow you to take full advantage of 
  5. all the features present on your PSS sound card.  These features include the 
  6. ability to enable both the builtin CDROM and joystick ports.
  7. pss_enable_joystick
  8. This parameter is basically a flag.  A 0 will leave the joystick port 
  9. disabled, while a non-zero value would enable the joystick port.  The default 
  10. setting is pss_enable_joystick=0 as this keeps this driver fully compatable 
  11. with systems that were using previous versions of this driver.  If you wish to 
  12. enable the joystick port you will have to add pss_enable_joystick=1 as an 
  13. argument to the driver.  To actually use the joystick port you will then have 
  14. to load the joystick driver itself.  Just remember to load the joystick driver 
  15. AFTER the pss sound driver.
  16. pss_cdrom_port
  17. This parameter takes a port address as its parameter.  Any available port 
  18. address can be specified to enable the CDROM port, except for 0x0 and -1 as 
  19. these values would leave the port disabled.  Like the joystick port, the cdrom 
  20. port will require that an appropiate CDROM driver be loaded before you can make 
  21. use of the newly enabled CDROM port.  Like the joystick port option above, 
  22. remember to load the CDROM driver AFTER the pss sound driver.  While it may 
  23. differ on some PSS sound cards, all the PSS sound cards that I have seen have a 
  24. builtin Wearnes CDROM port.  If this is the case with your PSS sound card you 
  25. should load aztcd with the appropiate port option that matches the port you 
  26. assigned to the CDROM port when you loaded your pss sound driver.  (ex. 
  27. modprobe pss pss_cdrom_port=0x340 && modprobe aztcd aztcd=0x340)  The default 
  28. setting of this parameter leaves the CDROM port disabled to maintain full 
  29. compatability with systems using previous versions of this driver.
  30. Other options have also been added for the added convenience and utility 
  31. of the user.  These options are only available if this driver is loaded as a 
  32. module.
  33. pss_no_sound
  34. This module parameter is a flag that can be used to tell the driver to 
  35. just configure non-sound components.  0 configures all components, a non-0 
  36. value will only attept to configure the CDROM and joystick ports.  This 
  37. parameter can be used by a user who only wished to use the builtin joystick 
  38. and/or CDROM port(s) of his PSS sound card.  If this driver is loaded with this 
  39. parameter and with the paramter below set to true then a user can safely unload 
  40. this driver with the following command "rmmod pss && rmmod ad1848 && rmmod 
  41. mpu401 && rmmod sound && rmmod soundcore" and retain the full functionality of 
  42. his CDROM and/or joystick port(s) while gaining back the memory previously used 
  43. by the sound drivers.  This default setting of this parameter is 0 to retain 
  44. full behavioral compatability with previous versions of this driver.
  45. pss_keep_settings
  46. This parameter can be used to specify whether you want the driver to reset 
  47. all emulations whenever its unloaded.  This can be useful for those who are 
  48. sharing resources (io ports, IRQ's, DMA's) between different ISA cards.  This 
  49. flag can also be useful in that future versions of this driver may reset all 
  50. emulations by default on the driver's unloading (as it probably should), so 
  51. specifying it now will ensure that all future versions of this driver will 
  52. continue to work as expected.  The default value of this parameter is 1 to 
  53. retain full behavioral compatability with previous versions of this driver.
  54. pss_firmware
  55. This parameter can be used to specify the file containing the firmware 
  56. code so that a user could tell the driver where that file is located instead 
  57. of having to put it in a predefined location with a predefined name.  The 
  58. default setting of this parameter is "/etc/sound/pss_synth" as this was the 
  59. path and filename the hardcoded value in the previous versions of this driver.
  60. Examples:
  61. # Normal PSS sound card system, loading of drivers.
  62. # Should be specified in an rc file (ex. Slackware uses /etc/rc.d/rc.modules).
  63. /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
  64. /sbin/modprobe aztcd aztcd=0x340
  65. /sbin/modprobe joystick
  66. # System using the PSS sound card just for its CDROM and joystick ports.
  67. # Should be specified in an rc file (ex. Slackware uses /etc/rc.d/rc.modules).
  68. /sbin/modprobe pss pss_io=0x220 pss_cdrom_port=0x340 pss_enable_joystick=1 pss_no_sound=1
  69. /sbin/rmmod pss && /sbin/rmmod ad1848 && /sbin/rmmod mpu401 && /sbin/rmmod sound && /sbin/rmmod soundcore  # This line not needed, but saves memory.
  70. /sbin/modprobe aztcd aztcd=0x340
  71. /sbin/modprobe joystick