VIBRA16 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Sound Blaster 16X Vibra addendum
  2. --------------------------------
  3. by Marius Ilioaea <mariusi@protv.ro>
  4. Stefan Laudat <stefan@asit.ro>
  5. Sat Mar 6 23:55:27 EET 1999
  6. Hello again,
  7. Playing with a SB Vibra 16x soundcard we found it very difficult
  8. to setup because the kernel reported a lot of DMA errors and wouldn't
  9. simply play any sound.
  10. A good starting point is that the vibra16x chip full-duplex facility
  11. is neither still exploited by the sb driver found in the linux kernel
  12. (tried it with a 2.2.2-ac7), nor in the commercial OSS package (it reports
  13. it as half-duplex soundcard). Oh, I almost forgot, the RedHat sndconfig
  14. failed detecting it ;)
  15. So, the big problem still remains, because the sb module wants a
  16. 8-bit and a 16-bit dma, which we could not allocate for vibra... it supports
  17. only two 8-bit dma channels, the second one will be passed to the module
  18. as a 16 bit channel, the kernel will yield about that but everything will
  19. be okay, trust us.
  20. The only inconvenient you may find is that you will have
  21. some sound playing jitters if you have HDD dma support enabled - but this
  22. will happen with almost all soundcards...
  23. A fully working isapnp.conf is just here:
  24. <snip here>
  25. (READPORT 0x0203)
  26. (ISOLATE PRESERVE)
  27. (IDENTIFY *)
  28. (VERBOSITY 2)
  29. (CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING
  30. # SB 16 and OPL3 devices
  31. (CONFIGURE CTL00f0/-1 (LD 0
  32. (INT 0 (IRQ 5 (MODE +E)))
  33. (DMA 0 (CHANNEL 1))
  34. (DMA 1 (CHANNEL 3))
  35. (IO 0 (SIZE 16) (BASE 0x0220))
  36. (IO 2 (SIZE 4) (BASE 0x0388))
  37. (NAME "CTL00f0/-1[0]{Audio }")
  38. (ACT Y)
  39. ))
  40. # Joystick device - only if you need it :-/
  41. (CONFIGURE CTL00f0/-1 (LD 1
  42. (IO 0 (SIZE 1) (BASE 0x0200))
  43. (NAME "CTL00f0/-1[1]{Game }")
  44. (ACT Y)
  45. ))
  46. (WAITFORKEY)
  47. <end of snipping>
  48. So, after a good kernel modules compilation and a 'depmod -a kernel_ver'
  49. you may want to:
  50. modprobe sb io=0x220 irq=5 dma=1 dma16=3
  51. Or, take the hard way:
  52. modprobe soundcore
  53. modprobe sound
  54. modprobe uart401
  55. modprobe sb io=0x220 irq=5 dma=1 dma16=3
  56. # do you need MIDI?
  57. modprobe opl3=0x388
  58. Just in case, the kernel sound support should be:
  59. CONFIG_SOUND=m
  60. CONFIG_SOUND_OSS=m
  61. CONFIG_SOUND_SB=m
  62. Enjoy your new noisy Linux box! ;)