Print this page
11639 some man pages show incorrect driver locations


 297                             struct ecpp_regs {
 298                                 uchar     dsr;  /* status reg */
 299                                 u_char    dcr;  /* control reg */
 300                             };
 301 
 302                           The status register is read-only. The
 303                           ECPPIOC_SETREGS ioctl has no affect on this
 304                           register. Valid bit values for dsr are: ECPP_nERR,
 305                           ECPP_SLCT, ECPP_PE, ECPP_nACK, ECPP_nBUSY. All other
 306                           bits are reserved and always return 1.
 307 
 308                           The control register is read/write. Valid bit values
 309                           for dcr are: ECPP_STB, ECPP_AFX, ECPP_nINIT,
 310                           ECPP_SLCTIN. All other bits are reserved. Reading
 311                           reserved bits always return 1. An attempt to write
 312                           0s into these bits results in EINVAL.
 313 
 314 
 315 DEVICE SPECIAL FILES
 316        /dev/lpN
 317                           Solaris x86 only. (Backwards compatibility with
 318                           former lp(7D) devices.)
 319 
 320 
 321        /dev/printers/N
 322                           1284 compliant parallel port device special files
 323                           appears in both namespaces.
 324 
 325 
 326 FILES
 327        kernel/drv/ecpp
 328 
 329            32-bit ELF kernel module
 330 
 331 
 332        kernel/drv/sparcv9/ecpp
 333 
 334            64-bit SPARC ELF kernel module
 335 
 336 
 337        kernel/drv/amd64/ecpp
 338 
 339            64-bit x86 ELF kernel module
 340 
 341 
 342        kernel/drv/ecpp.conf
 343 
 344            driver configuration file
 345 
 346 
 347        kernel/drv/sparcv9/ecpp.conf
 348 
 349            driver configuration file for 64-bit SPARC
 350 
 351 
 352        kernel/drv/amd64/ecpp.conf
 353 
 354            driver configuration file for 64-bit x86
 355 
 356 
 357 ERRORS
 358        EBADF
 359                  The device is opened for write-only access and a read is
 360                  attempted, or the device is opened for read-only access and a
 361                  write is attempted.
 362 
 363 
 364        EBUSY
 365                  The device has been opened and another open is attempted. An
 366                  attempt has been made to unload the driver while one of the
 367                  units is open.
 368 
 369 
 370        EINVAL
 371                  A ECPPIOC_SETPARMS ioctl() is attempted with an out-of-range
 372                  value in the ecpp_transfer_parms structure. A ECPPIOC_SETREGS
 373                  ioctl() is attempted with an invalid value in the ecpp_regs
 374                  structure. An ioctl() is attempted with an invalid value in
 375                  the command argument.An invalid command argument is received
 376                  during modload(1M) or modunload(1M).


 403        +--------------------+-------------------------+
 404        |Interface stability | Evolving                |
 405        +--------------------+-------------------------+
 406 
 407 SEE ALSO
 408        modload(1M), modunload(1M), update_drv(1M), ioctl(2), open(2), read(2),
 409        write(2), attributes(5), bpp(7D), usbprn(7D), prnio(7I), streamio(7I)
 410 
 411 
 412        IEEE Std 1284-1994
 413 
 414 DIAGNOSTICS
 415        Parallel port controller not supported
 416 
 417            Driver does not support parallel port controller on the given host.
 418            Attach failed.
 419 
 420 
 421 
 422 
 423                                  May 13, 2017                         ECPP(7D)


 297                             struct ecpp_regs {
 298                                 uchar     dsr;  /* status reg */
 299                                 u_char    dcr;  /* control reg */
 300                             };
 301 
 302                           The status register is read-only. The
 303                           ECPPIOC_SETREGS ioctl has no affect on this
 304                           register. Valid bit values for dsr are: ECPP_nERR,
 305                           ECPP_SLCT, ECPP_PE, ECPP_nACK, ECPP_nBUSY. All other
 306                           bits are reserved and always return 1.
 307 
 308                           The control register is read/write. Valid bit values
 309                           for dcr are: ECPP_STB, ECPP_AFX, ECPP_nINIT,
 310                           ECPP_SLCTIN. All other bits are reserved. Reading
 311                           reserved bits always return 1. An attempt to write
 312                           0s into these bits results in EINVAL.
 313 
 314 
 315 DEVICE SPECIAL FILES
 316        /dev/lpN
 317                           x86 only. (Backwards compatibility with former
 318                           lp(7D) devices.)
 319 
 320 
 321        /dev/printers/N
 322                           1284 compliant parallel port device special files
 323                           appears in both namespaces.
 324 
 325 
 326 FILES
 327        /kernel/drv/sparcv9/ecpp
 328 
 329            Device driver (SPARC)
 330 
 331 
 332        /kernel/drv/amd64/ecpp
 333 
 334            Device driver (x86)
 335 
 336 
 337        /kernel/drv/ecpp.conf
 338 
 339            Driver configuration file
 340 
 341 















 342 ERRORS
 343        EBADF
 344                  The device is opened for write-only access and a read is
 345                  attempted, or the device is opened for read-only access and a
 346                  write is attempted.
 347 
 348 
 349        EBUSY
 350                  The device has been opened and another open is attempted. An
 351                  attempt has been made to unload the driver while one of the
 352                  units is open.
 353 
 354 
 355        EINVAL
 356                  A ECPPIOC_SETPARMS ioctl() is attempted with an out-of-range
 357                  value in the ecpp_transfer_parms structure. A ECPPIOC_SETREGS
 358                  ioctl() is attempted with an invalid value in the ecpp_regs
 359                  structure. An ioctl() is attempted with an invalid value in
 360                  the command argument.An invalid command argument is received
 361                  during modload(1M) or modunload(1M).


 388        +--------------------+-------------------------+
 389        |Interface stability | Evolving                |
 390        +--------------------+-------------------------+
 391 
 392 SEE ALSO
 393        modload(1M), modunload(1M), update_drv(1M), ioctl(2), open(2), read(2),
 394        write(2), attributes(5), bpp(7D), usbprn(7D), prnio(7I), streamio(7I)
 395 
 396 
 397        IEEE Std 1284-1994
 398 
 399 DIAGNOSTICS
 400        Parallel port controller not supported
 401 
 402            Driver does not support parallel port controller on the given host.
 403            Attach failed.
 404 
 405 
 406 
 407 
 408                                January 10, 2020                       ECPP(7D)