免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1842 | 回复: 0
打印 上一主题 下一主题

SCO UnixWare 7.1.4下配置声卡 [复制链接]

论坛徽章:
1
15-16赛季CBA联赛之北控
日期:2022-03-04 22:35:50
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-25 10:43 |只看该作者 |倒序浏览

作者:sco  出处:uw714doc.sco.com   
Configuring a sound card
If you want to install a sound card after installing UnixWare 7 and the LKP, you need to do the following to enable Linux application to use it. Sound card configuration is performed entirely on the Unix side; only the configuration of Linux applications to use the card is done from the LKP side.
  • Install the sound card in your system using scoadmin audio from a UNIX shell or desktop.
  • Download the Open Sound System

    (OSS) from
    http://www.opensound.com.
    (They provide a free evaluation copy, but charge for a permanent license.)
    Select the UnixWare 7 version of the OSS and follow their installation instructions. Note the device node under /dev used by the audio card.
  • Verify that the sound card is working on UnixWare 7 in UNIX mode using OSS.
  • Determine the major node of the UnixWare 7 audio device node:    ls -l /dev/audio-device
    Do this from a Unix shell: you need the major number of the UnixWare 7 device node, not the Linux device node.
    In the output of ls, the major and minor numbers are listed in the column before the date, separated by a comma; as in the following example, where 29 is the major number:    crw-rw-rw-    1 bin      bin       29,  0 Apr  7  1998 audio
  • Change directory to /linux/lxinst/dev.    cd /linux/lxinst/dev
  • Copy the following script into a file name mkaudio.sh in the current directory:    #!/bin/sh
       
       umask 111
       rm audio
       rm audio0
       rm audio1
       rm audio2
       rm audio3
       rm audio4
       rm dmfm0
       rm dsp
       rm dsp0
       rm dsp1
       rm dsp2
       rm dsp4
       rm dspW0
       rm dspW1
       rm midi00
       rm midi01
       rm midi02
       rm midi03
       rm midi04
       rm mixer0
       rm mixer1
       rm mixer2
       rm mixer3
       rm mixer4
       rm music
       rm sequencer
       rm sndstat
       mknod audio c $1 4
       mknod audio0 c $1 4
       mknod audio1 c $1 20
       mknod audio2 c $1 36
       mknod audio3 c $1 52
       mknod audio4 c $1 68
       mknod dmfm0        c $1 7
       mknod dsp c $1 3
       mknod dsp0 c $1 3
       mknod dsp1 c $1 19
       mknod dsp2 c $1 35
       mknod dsp4 c $1 67
       mknod dspW0 c $1 5
       mknod dspW1 c $1 21
       mknod midi00 c $1 2
       mknod midi01 c $1 18
       mknod midi02 c $1 34
       mknod midi03 c $1 50
       mknod midi04 c $1 66
       mknod mixer0 c $1 0
       mknod mixer1 c $1 16
       mknod mixer2 c $1 32
       mknod mixer3 c $1 48
       mknod mixer4 c $1 64
       mknod music c $1 8
       mknod sequencer c $1 1
       mknod sndstat c $1 6       
  • Run the script as follows, using the major number of the UnixWare 7 audio device obtained previously:    sh ./mkaudio.sh major#
  • You should now be able to configure a Linux application under LKP to use the audio card you just installed.


    本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31/showart_507373.html
  • 您需要登录后才可以回帖 登录 | 注册

    本版积分规则 发表回复

      

    北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
    未成年举报专区
    中国互联网协会会员  联系我们:huangweiwei@itpub.net
    感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP