qscan(1)

πŸŽ€ NAME πŸŽ€

qscan β€” the console tool bestie for measuring the quality of your optical media ✨


πŸ’… SYNOPSIS πŸ’…

qscan [-l] [-h]
qscan -d DEVICE [-S] [-i] [-m]
qscan -d DEVICE [-p] [-r] [-w] [-v]
qscan -d DEVICE [-f] [-s] [-t] [-v]
qscan -d DEVICE -t wt [-s #] [-W]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so qscan is the linux console tool for error correction measuring with optical devices, no cap. The related plugin is what lets you use vendor specific commands on your optical device, which is lowkey the whole magic trick ✨

The vendors getting that treatment right now are Asus, Benq, Liteon, NEC, Pioneer and Plextor. If you want the detailed info, go look at http://qpxtool.sourceforge.net/supported.html πŸ’–


🌈 DEVICE 🌈

It can be an IDE, SCSI, SATA, USB or FireWire connected optical drive. And heads up bestie: not all SATA controller support all Plextor features β€” it's giving "depends on your hardware", fr fr 😭

Linux:

  • /dev/hdX β€” IDE device
  • /dev/scdX β€” Linux 2.4: SATA, SCSI, USB device, or IDE device via ide-scsi emulation
  • /dev/srX β€” Linux 2.6: IDE device via new ATA layer, SCSI or USB device

OpenBSD/NetBSD:

  • /dev/rcdX

FreeBSD:

  • /dev/cd β€” SCSI device
  • /dev/acd β€” ATA device

MacOS X:

  • /dev/disk:

win32:

  • C:,D:,E:, ... X:,Y:,Z:

πŸ‘‘ OPTIONS πŸ‘‘

  • -l, --scanbus β€” scan busses for all available optical devices πŸ”
  • -h, --help β€” show help
  • -S, --speeds β€” detect available read and write speeds for the selected -d DEVICE and the relating media πŸ’«
  • -i, --info β€” show device info of the selected -d DEVICE
  • -m, --media β€” show media info of the selected -d DEVICE
  • -p, --plugins β€” list all available plugins
  • -f, --force-plugin PLUGIN [ ASUS | BENQ | BENQ_DVDROM |GENERIC |LITEON |NEC |PIONEER |PLEXTOR ] β€” force usage of the selected plugin, so the vendor specific commands get used for the device you picked. Default behaviour is auto detection modus 🧚
    • [ASUS] β€” use Asus vendor specific commands
    • [BENQ] β€” use Benq optical writer vendor specific commands
    • [BENQ_DVDROM] β€” use Benq optical reader vendor specific commands
    • [GENERIC] β€” use generic mmc commands
    • [LITEON] β€” use Liteon vendor specific commands
    • [NEC] β€” use NEC vendor specific commands
    • [PIONEER] β€” use Pioneer vendor specific commands
    • [PLEXTOR] β€” use Plextor vendor specific commands
  • -r #, --rspeed # β€” set read performance speed to the selected value. Use the -S option before if you're unsure which speeds are supported πŸ’€
  • -s #, --speed # β€” set measurement speed to the selected value. Use -S before if you don't know what speeds your device supports. And don't use this with the -r or -w option 🚫
  • -t, --test [rt|wt|errc|ft|jb|ta] β€” select the q-check you want to be proceeded. Not all tests are supported by all devices, sadly πŸ˜” For detailed information about the terms, read the project page: http://qpxtool.sourceforge.net/glossar.html
    • [rt] β€” read transfer rate measurement
    • [wt] β€” write transfer rate on blank media
    • [errc] β€” error correction - Cx-scan / PIE, PIF, POE, POF
    • [ft] β€” focus and tracking error measurement
    • [jb] β€” jitter and beta measurement
    • [ta] β€” time analyzer measurement
  • -w #, --wspeed # β€” set write speed to the selected value. Use -S before if you don't know what write speeds your device supports ✍️
  • -v, --verbose β€” gives verbose output and debug information πŸ›
  • -W, --write β€” perform real write instead of simulation for write transfer rate πŸ”₯

πŸ“ EXAMPLES πŸ“

  • qscan -l β€” scan all buses for available optical devices
  • qscan -d /dev/sr2 -S β€” Show available speed steps of device /dev/sr2.
  • qscan -d /dev/sr2 -t errc -s 5 β€” Proceed an error correction scan on device /dev/sr2 with 5x speed.
  • qscan -d /dev/sr0 -t wt -s 12 β€” Proceed a write performance test in simulation mode on device /dev/sr0 (dummy mode) with 12x speed
please report man page improvements to T.Maguin@web.de 🫢 (yes, that's literally in the original, they want your feedback bestie)

And that's a wrap on the qscan(1) glow-up πŸ’– this little beauty lives in the General Commands Manual, dated 26 Feb 2014, and it's been serving console-quality-measurement realness ever since. go measure something iconic βœ¨πŸ‘‘