Skip to content

Commit

Permalink
feat: unblock TSSTcorp from liteon plugin
Browse files Browse the repository at this point in the history
Fixes #17
  • Loading branch information
speed47 committed Oct 13, 2020
1 parent 389f7e1 commit 594d2d4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ Please see the [official website](https://qpxtool.sourceforge.io/)

This unofficial version adds the following changes from upstream **v0.8.0**:

- Fix compilation under mingw-w64 (courtesy of [Eli Bildirici](https://sourceforge.net/u/bilditup1/), [view patch](https://sourceforge.net/p/qpxtool/patches/6/))
- Remove HL-DT-ST drives from LiteOn plugin blacklist, to enable error correction scan with HL-DT-ST WH16NS58 drive under firmware 1.V5, and probably others
- Remove HL-DT-ST drives from LiteOn plugin blocklist, to enable error correction scan with HL-DT-ST WH16NS58 drive under firmware 1.V5, and probably others
- Remove TSSTcorp drives from LiteOn plugin blocklist, to enable error correction scan with TSSTcorp SE-506CB drive under firmware TS02, and probably others
- Fix LiteOn plugin for CD and DVD error scanning, was broken since upstream v0.7.2
- Fix layer counting and layer size on BD, closes [#3](https://github.com/speed47/qpxtool/issues/3), bits taken from [this patch](https://github.com/artkar0/qpxtool/commit/1213b3a4167246ff81bf008df4e4977a81fb54cb)
- Fix erroneous detection of finalized BD-R as BD-ROM
- Fix read speed computation under high-speed BD drives (`gettimeofday` resolution was not enough, replaced with `clock_gettime`), closes [#1](https://github.com/speed47/qpxtool/issues/1)
- Fix some drives having only the maximum read speed available, closes [#2](https://github.com/speed47/qpxtool/issues/2)
- Fix erroneous detection of finalized BD-R as BD-ROM
- Add a way to force the old LiteOn scanning way (by setting the `LITEON_FORCE_OLD=1` env var)
- Fix compilation under mingw-w64 (courtesy of [Eli Bildirici](https://sourceforge.net/u/bilditup1/), [view patch](https://sourceforge.net/p/qpxtool/patches/6/))
- Fix a few coding errors (thanks to compiler warnings)

# Screenshots
Expand Down
11 changes: 8 additions & 3 deletions plugins/liteon/qscan_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,17 @@ static const drivedesclist drivelist =
static const drivedesclist blacklist =
{
{ "TEAC ", DEV_TEAC, "CD-W552E", 0 },
/* HL-DT-ST has some compatible drives, such, for example,
HL-DT-ST WH16NS58 with firmware 1.V5, so let's probe these
drives too.
/*
HL-DT-ST has some compatible drives, such as, for example,
HL-DT-ST WH16NS58 with fw 1.V5, so let's probe these drives too.
{ "HL-DT-ST", DEV_LG, "", 0 },
*/

/*
TSSTcorp also has some compatible drives, such as
TSSTcorp SE-506CB, so let's probe these drives too.
{ "TSSTcorp", DEV_TSST, "", 0 },
*/

{ "", 0, "", 0}
};
Expand Down

0 comments on commit 594d2d4

Please sign in to comment.