asc
—
GI1904
?١????Υϥ??ɥ????????ѥǥХ????ɥ饤??
device asc0 at isa? port "IO_ASC1" tty drq 3 irq
10
?????饯?????ǥХ????ɥ饤??
asc
?ϡ????ߤΤȤ????? GI1904
?١????Υϥ??ɥ??????? (?㤨?? Trust Amiscan Grey
?ʤ?) ???ޤ???
???ΥǥХ????ɥ饤?Фϡ?DMA
?ȳ??????ߤ????Ѥ??ޤ???50
?饤???ޤǤ?
???????????ϥǡ??????ɥ饤?????ǥХåե??????ޤ???
???ΥǥХ????ϡ?4
?Ĥΰۤʤ??????? (100, 200, 300, 400
?ɥå?/??????)
??ư????뤳?Ȥ??Ǥ??ޤ????Ǿ??̥ӥåȤ???¦??????ñ???ʥӥåȥޥå?
?????????ޤ??????Υɥ饤?Фϡ????ӡ?ñ????
?ݡ????֥??ӥåȥޥåץե?????????
pbm(5)
???????????뤳?Ȥ??Ǥ??ޤ???
?????ˤ??ꡢ?ۤȤ??ɤΥ????ե??å??ѥå??????ǡ????Υ??????????̤?
?ưפ˽??????뤳?Ȥ??????ޤ???
???ϥӥåȥޥåפ????ϡ??????٤??ͤˤ??????ޤ????????ͤǤ???????????
pbm(5)
?⡼?ɤξ??硢?ӥåȥޥåפι⤵?????ꤹ??ɬ?פ??????ޤ????????ϡ?
?ɥ饤?Ф????ġ֥ե??????ν?ü?פ?ã???뤫???ΤäƤ???ɬ?פ?????
?????Ǥ????ǥե????ȤǤϡ????????Υ?????????????ޤ????Ĥޤꡢ????
?⤵?????????Ȥ????ޤ??????ε?ǽ?ˤ??ꡢ
cat(1)
???Ѥ??ƥ??????ʤν??Ϥ?ľ??
pbm(5)
?ե??????˥??ԡ????뤳?Ȥ??Ǥ??ޤ???
???Υɥ饤?Ф? raw
?⡼?ɤǻ??Ѥ??????硢
dd(1)
???ޥ??ɤ????Ѥ??뤳?Ȥˤ??ꡢ???θ??̤Ȼ??????̤????뤳?Ȥ??Ǥ??ޤ???
asc
??Ŭ?Ѳ?ǽ??
ioctl(2)
???ޥ??ɤϼ??ΤȤ????Ǥ???
sasc(1)
?ˤ??ꡢ?桼?????٥??Ǥ??????Υ??ޥ??ɤ????Ѥ??뤳?Ȥ??Ǥ??ޤ???
ASC_GRES
- (
int
)
???ߤβ????٤ɥå?/?????? (dpi)
ñ?̤??֤??ޤ???
ASC_GWIDTH
- (
int
)
???ߤΥӥåȥޥå??????ԥ?????ñ?̤??֤??ޤ???
ASC_SHEIGHT
- (
int
)
pbm(5)
?⡼?ɤΥӥåȥޥåפι⤵?????ꤷ?ޤ???
?ºݤΤȤ??????????ϡ??ǽ????ɤ߹??߽????ʸ她????????ǽ?ʥ饤???????ѿ?
???Ф??????¤Ǥ??????????¤???ã?????ȡ??ɤ߹??ߤ?
0 ???֤??ޤ???
?????????ǥХ?????ư???????ߤ????Τϡ??????ץ줿?ե????뵭?һҤ????٤?
???????????줿?Ȥ??˸¤??ޤ???
ASC_GHEIGHT
- (
int
)
???ߤΥӥåȥޥåפι⤵???֤??ޤ???
ASC_SBLEN
- (
int
) DMA
ž?????Ԥʤ??ݤ?????Ū?˻??Ѥ????Хåե???Ĺ???????ꤷ?ޤ???
?Хåե???Ĺ???ϥӥåȥޥåפΥ饤?????ǻ??ꤷ?ޤ????Хåե?????????
???¤? (???ߤΤȤ???) 0x3000
?Х??ȤǤ??뤿?ᡢ??????ǽ?ʥ饤??????????
?饤?????????ˤ????Ѥ????ޤ???
???ꤷ??Ĺ???????????¤??ۤ??????硢
ENOMEM
???顼???֤????ޤ???
ASC_GBLEN
- (
int
)
???ߤΥХåե???Ĺ?????饤????ñ?̤??֤??ޤ???
ASC_SBTIME
- (
int
) ?Хåե? 1
?Ĥؤ??ɤ߹??ߴ?λ?ޤǤΥ????ॢ???Ȥ????ꤷ?ޤ???
?ϥ??ǥ????????ʤϿʹ֤ȥ????ԥ塼???֤Υ??ե??????Ǥ??뤿?ᡢ
???̤ϡ??????ॢ?????ͤϥե??åȥ??????ʤ??????礭?????Ƥ???ɬ?פ?
?????ޤ????ǥե????Ȥ? 15
?äǤ????????ॢ???Ȥ???ã?????ȡ??ɤ߹??߽?????
EBUSY
???顼?Ǽ??Ԥ??ޤ???
?ƥХåե??????ɤ߽Ф????뤴?Ȥ˥????ॢ???ȥ????ޤ??????˳??Ϥ????ޤ???
???äơ????????ͤ餹???Ȥˤ??ꡢ????Ĺ?????????????®??????????
?Ǥ????褦?ˤʤ??櫓?ǤϤ????ޤ?????
ASC_GBTIME
- (
int
)
???ߤΥХåե??????ॢ?????ͤ??֤??ޤ???
ASC_SBTIME
?????????ѥ???????ѹ?????
ioctl
()
?ꥯ?????ȤΤ??٤Ƥϡ????߿ʹ????Υ????????????˱ƶ????ޤ??桼????
?ǥХ??????????????Ƥӥ????ץơ??????????꤬???Ϥ??魯?褦
?ˤ???ɬ?פ??????ޤ??????ɤΤȤ??????ǥХ????Υ????ץ??????ˤ??ꡢ
?ѥ?????????꤬?ꥻ?åȤ????뤳?Ȥ?
?????ޤ?????
Ʊ?ͤˡ??ͤ??ɤ߹????ꥯ?????Ȥϡ????߿ʹ????Υ??????????????Ѥ???????
?????ͤ??֤??ޤ?????????????????ɬ?פ??ͤϡ????????ϻ?????¸???졢
ioctl
()
?ꥯ?????ȤǤϥ????????Ǥ??ʤ??褦?ˤʤäƤ??ޤ???
???????? ASC_SBTIME
???ͤϡ????߿ʹ????Υ?????????????¨?¤˱ƶ????ڤܤ??ޤ????????ˤ??ꡢ
?㤨?С??桼?????????????Ϥ????ޤǤϥ????ॢ???Ȥ??礭???ͤ????ꤷ??
???ϸ??Ͼ??????ͤ????ꤹ?뤳?Ȥǡ??桼???Υ??????????ߤ?¨?¤?ȿ??????
?褦?ˤǤ??ޤ???
pbm(5)
?? raw
?⡼?ɤ??????ϡ??ޥ????ֹ??ˤ????Ԥʤ????ޤ???
ioctl
()
?ꥯ?????ȤǤϹԤʤ??ޤ?????raw
?⡼?ɤǤϡ????ꤵ?줿?ӥåȥޥåפ?
?⤵?ϸ??̤??路?ޤ?????
- /dev/asc0
- raw ?????ѤΥǥХ????Ρ??ɡ?
- /dev/asc0d
- raw ?????ѤΥǥХ????Ρ??ɡ?
ASCDEBUG
???ץ????????ͥ??????ե??????ǻ??ꤷ?????硢?ǥХå????å???????
???Ϥ????ޤ???
- /dev/asc0p
- pbm(5)
?ե??????????????ѤΥǥХ????Ρ??ɡ?
- /dev/asc0pd
- pbm(5)
?ե??????????????Ѥ??ĥǥХå??⡼?ɤΥǥХ????Ρ??ɡ?
ioctl
?Υ??ݡ??Ȥ??ޤ?ư??Ƥ??ޤ?????
asc
?ɥ饤?Фϡ? Luigi Rizzo
???ޤ?????
asc
?ɥ饤?Ф??ǽ??˸??줿?Τ?
FreeBSD 2.1 ?Ǥ???