NeXTSTEPDRIVERKIT:Chapter4 3: Difference between revisions

From 흡혈양파의 번역工房
Jump to navigation Jump to search
(형식수정)
(NeXTSTEP DRIVER KIT driverLoader 를 사용한 드라이버 로드 내용 추가)
 
Line 4: Line 4:


You can load your driver into an already running system. The '''driverLoader''' command loads or configures a driver after startup time. You initiate the command as follows (as superuser):<BR>
You can load your driver into an already running system. The '''driverLoader''' command loads or configures a driver after startup time. You initiate the command as follows (as superuser):<BR>
이미 실행중인 시스템에 드라이버를 로드할 수 있습니다. '''driverLoader''' 명령은 시작 시점 후에 드라이버를 로드하거나 설정합니다. 다음처럼 명령을 시작합니다(superuser 로):


:'''/usr/etc/driverLoader''' ''option'' ['''v'''] [''instance'']
:'''/usr/etc/driverLoader''' ''option'' ['''v'''] [''instance'']
Line 9: Line 10:


Specifying '''v''' results in more verbose output from '''driverLoader'''. The ''instance'' argument can be used only with the '''d''' option, as described below.<BR>
Specifying '''v''' results in more verbose output from '''driverLoader'''. The ''instance'' argument can be used only with the '''d''' option, as described below.<BR>
'''v''' 를 지정하면 '''driverLoader''' 에서 좀 더 자세한 결과를 얻을 수 있습니다. ''instance'' 인수는 아래 설명 된대로 '''d''' 옵션과 함께만 사용할 수 있습니다.




The ''option'' is one of the following:<BR>
The ''option'' is one of the following:<BR>
''option'' 은 다음중 하나입니다.
* '''a'''
* '''a'''
** Configure all devices. This option is used when '''driverLoader''' is run during system boot (by '''/etc/rc''').<BR>
** Configure all devices. This option is used when '''driverLoader''' is run during system boot (by '''/etc/rc''').<BR>모든 장치를 구성하십시오. 이 옵션은 시스템 부팅 중에 '''driverLoader''' 가 실행될때 사용됩니다. ('''/etc/rc''' 별로)
* '''i'''
* '''i'''
** Interactive mode. With this option, you can look at all active and boot drivers in the system configuration. Note that if you add a driver to the system, the driver isn't recognized as "active" until you reboot.<BR>
** Interactive mode. With this option, you can look at all active and boot drivers in the system configuration. Note that if you add a driver to the system, the driver isn't recognized as "active" until you reboot.<BR>대화식 모드( Interactive mode). 이 옵션을 사용하면 시스템 설정에서 모든 활성 및 부트 드라이버를 볼 수 있습니다. 시스템에 드라이버를 추가하면 재부팅할 때까지 드라이버가 "active" 으로 인식되지 않습니다.
* '''d'''=''deviceName''
* '''d'''=''deviceName''
** Configure one device interactively. This is how you load drivers that aren't specified in the system configuration. This is usually used for testing purposes. You can specify ''instance'' to use a specific '''Instance'''''n'''''.table''' file. For example, if you specify ''instance'' as 1, the driver is probed using the information in its '''Instance1.table''' file.<BR>
** Configure one device interactively. This is how you load drivers that aren't specified in the system configuration. This is usually used for testing purposes. You can specify ''instance'' to use a specific '''Instance'''''n'''''.table''' file. For example, if you specify ''instance'' as 1, the driver is probed using the information in its '''Instance1.table''' file.<BR>
하나의 장치를 대화형으로 설정하십시오. 이것은 시스템 구성에 지정되지 않은 드라이버를 로드하는 방법입니다. 이런 방법은 대부분 테스트 목적으로 사용됩니다. ''instance'' 를 지정해서 특정 '''Instance'''''n'''''.table''' 파일을 사용할 수 있습니다. 예를 들어, ''instance'' 를 1 로 지정하면 드라이버는 '''Instance1.table''' 파일의 정보를 사용해서 조사(probed)됩니다.




Here's an example of using the '''d''' option:<BR>
Here's an example of using the '''d''' option:<BR>
다음은 '''d''' 옵션을 사용하는 예입니다:


<syntaxhighlight lang="objc">
<syntaxhighlight lang="objc">
Line 28: Line 34:


Here's an example of using the '''d''' option and specifying ''instance'':<BR>
Here's an example of using the '''d''' option and specifying ''instance'':<BR>
'''d''' 옵션을 사용해서 ''instance''를 지정하는 예제가 있습니다:


<syntaxhighlight lang="objc">
<syntaxhighlight lang="objc">
Line 35: Line 42:


For another example of using '''driverLoader''', see '''/NextLibrary/Documentation/NextDev/Examples/DriverKit'''.<BR>
For another example of using '''driverLoader''', see '''/NextLibrary/Documentation/NextDev/Examples/DriverKit'''.<BR>
''driverLoader''' 를 사용하는 또 다른 예제는 '''/NextLibrary/Documentation/NextDev/Examples/DriverKit''' 에서 확인할 수 있습니다.

Latest revision as of 15:22, 11 October 2017

Loading a Driver with driverLoader

driverLoader 를 사용한 드라이버 로드

You can load your driver into an already running system. The driverLoader command loads or configures a driver after startup time. You initiate the command as follows (as superuser):
이미 실행중인 시스템에 드라이버를 로드할 수 있습니다. driverLoader 명령은 시작 시점 후에 드라이버를 로드하거나 설정합니다. 다음처럼 명령을 시작합니다(superuser 로):

/usr/etc/driverLoader option [v] [instance]


Specifying v results in more verbose output from driverLoader. The instance argument can be used only with the d option, as described below.
v 를 지정하면 driverLoader 에서 좀 더 자세한 결과를 얻을 수 있습니다. instance 인수는 아래 설명 된대로 d 옵션과 함께만 사용할 수 있습니다.


The option is one of the following:
option 은 다음중 하나입니다.

  • a
    • Configure all devices. This option is used when driverLoader is run during system boot (by /etc/rc).
      모든 장치를 구성하십시오. 이 옵션은 시스템 부팅 중에 driverLoader 가 실행될때 사용됩니다. (/etc/rc 별로)
  • i
    • Interactive mode. With this option, you can look at all active and boot drivers in the system configuration. Note that if you add a driver to the system, the driver isn't recognized as "active" until you reboot.
      대화식 모드( Interactive mode). 이 옵션을 사용하면 시스템 설정에서 모든 활성 및 부트 드라이버를 볼 수 있습니다. 시스템에 드라이버를 추가하면 재부팅할 때까지 드라이버가 "active" 으로 인식되지 않습니다.
  • d=deviceName
    • Configure one device interactively. This is how you load drivers that aren't specified in the system configuration. This is usually used for testing purposes. You can specify instance to use a specific Instancen.table file. For example, if you specify instance as 1, the driver is probed using the information in its Instance1.table file.

하나의 장치를 대화형으로 설정하십시오. 이것은 시스템 구성에 지정되지 않은 드라이버를 로드하는 방법입니다. 이런 방법은 대부분 테스트 목적으로 사용됩니다. instance 를 지정해서 특정 Instancen.table 파일을 사용할 수 있습니다. 예를 들어, instance 를 1 로 지정하면 드라이버는 Instance1.table 파일의 정보를 사용해서 조사(probed)됩니다.


Here's an example of using the d option:
다음은 d 옵션을 사용하는 예입니다:

# /usr/etc/driverLoader d=myDriver


Here's an example of using the d option and specifying instance:
d 옵션을 사용해서 instance를 지정하는 예제가 있습니다:

# /usr/etc/driverLoader d=fooDriver 1


For another example of using driverLoader, see /NextLibrary/Documentation/NextDev/Examples/DriverKit.
driverLoader' 를 사용하는 또 다른 예제는 /NextLibrary/Documentation/NextDev/Examples/DriverKit 에서 확인할 수 있습니다.