speed47 / qpxtool Goto Github PK
View Code? Open in Web Editor NEWEnhanced (unofficial) qpxtool version
License: GNU General Public License v2.0
Enhanced (unofficial) qpxtool version
License: GNU General Public License v2.0
Hello.
I have a LITEON iHAS124 F drive. I just noticed that this drive has a very long serial number (not sure if this is a thing with LITEON devices).
The QPxTool (v0.8.1-pl2) truncates the serial number in the UI.
SMART-BURN Media Check v3.5.5 shows the full serial number.
ImgBurn v2.5.8.0 also shows the full serial number.
P.S. I know this is an unofficial version, but I figured that I will report the issue here and (maybe) just send a link (pointing to this issue) to the QPxTool team.
src/abstractpreview.cpp: In member function 'virtual void AbstractPreview::printPages(QPrinter*)':
src/abstractpreview.cpp:1424:85: error: 'struct timespec' has no member named 'tv_usec'; did you mean 'tv_sec'?
1424 | qDebug() << "Pages time: " << QString(" %1 s").arg(tpe.tv_sec - tpb.tv_sec + (tpe.tv_usec - tpb.tv_usec)/1000000.0,0,'f',4);
| ^~~~~~~
| tv_sec
src/abstractpreview.cpp:1424:99: error: 'struct timespec' has no member named 'tv_usec'; did you mean 'tv_sec'?
1424 | qDebug() << "Pages time: " << QString(" %1 s").arg(tpe.tv_sec - tpb.tv_sec + (tpe.tv_usec - tpb.tv_usec)/1000000.0,0,'f',4);
| ^~~~~~~
| tv_sec
Problem introduced in d1d0afc
The previous 0.7 release of qpxtool runs on Win98. It looks like the 32-bit binary is compiled for XP+ and fails to start on 98 due to missing AddVectorExceptionHandler support on this platform. I'm not sure if this is intentional, but if so it might be worth a note in the readme.
There is a race condition when gui is enabled alongside everything else and you use make -j10
or similar.
make -C plugins
/usr/bin/install: cannot create regular file '/var/tmp/portage/app-cdr/qpxtool-0.8.1.3/image/usr/bin/qpxtool': No such
file or directory
make -C plugins
install-xattr: failed to stat /var/tmp/portage/app-cdr/qpxtool-0.8.1.3/image/usr/bin/qpxtool: No such file or director
y
make -C gui
This is definitely fixable but I do not know the solution yet.
Upstream version 0.7.0 worked, but vanilla upstream 0.8.0 doesn't.
The scan fails immediately.
We seem to miss a
drive->cmd[1] = 1;
as the media type is BD
otherwise the data returned is always:
Media DI 0x00: 00 20 0E 01 00 01 01 20 00 00 00 00 00 00 00 00 | ................
Media DI 0x10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
But it doesn't seem to be enough to get correct data.
For reference, data of a blank SONY BD-R QL, so 4 layers:
data len: 1D8 ( 472), Header:
0x00 0x00 0x01 0xD8 0x00 0x00 0x00 0x41
MID raw data 00: 44 49 04 80 00 00 63 00 42 44 52 12 42 04 00 00 | DI.Ç..c.BDR.B...
MID raw data 10: 01 00 00 00 02 00 00 00 1F CD 7E 00 03 01 78 78 | .........═~...xx
MID raw data 20: 00 01 2A 58 73 01 01 2A 1C 64 80 48 48 38 38 38 | ..*Xs..*.dÇHH888
MID raw data 30: 78 78 78 78 78 00 00 00 80 80 80 D8 D8 D8 D8 D8 | xxxxx...ÇÇÇÏÏÏÏÏ
MID raw data 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
MID raw data 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
MID raw data 60: 00 00 00 00 53 4F 4E 59 00 00 4E 51 31 00 00 01 | ....SONY..NQ1...
Data of a written/closed Verbatim BD-R SL, so 1 layer:
data len: 1D8 ( 472), Header:
0x00 0x00 0x01 0xD8 0x00 0x00 0x00 0x40
MID raw data 00: 44 49 01 28 00 00 62 00 42 44 52 01 12 01 00 00 | DI.(..b.BDR.....
MID raw data 10: 01 00 00 00 00 00 00 00 00 02 00 00 00 19 4E 7E | ..............N~
MID raw data 20: 01 EC 64 64 28 28 28 28 1E 1E 1E 1E 00 00 00 00 | .ýdd((((........
MID raw data 30: 5F 73 64 04 04 45 1D 86 B0 F0 F0 F0 F0 00 00 00 | _sd..E.å░...
MID raw data 40: 00 00 00 00 00 50 00 50 00 50 00 50 00 58 00 58 | .....P.P.P.P.X.X
MID raw data 50: 00 58 00 58 00 60 00 60 00 60 00 60 00 90 A0 C0 | .X.X.`.`.`.`.Éá└
MID raw data 60: C8 C8 00 00 43 4D 43 4D 41 47 42 41 35 00 00 00 | ╚╚..CMCMAGBA5...
Data of a commercial BD-ROM with 2 layers:
data len: 1D8 ( 472), Header:
0x00 0x00 0x01 0xD8 0x00 0x00 0x00 0x40
MID raw data 00: 44 49 01 10 00 00 20 00 42 44 4F 01 21 01 03 00 | DI......BDO.!...
MID raw data 10: 00 00 00 00 01 EA 5C DF 00 10 00 00 00 95 33 3E | .....Û\▀.....ò3>
MID raw data 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
MID raw data 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
MID raw data 40: 44 49 01 11 00 01 20 00 42 44 4F 01 21 01 03 00 | DI......BDO.!...
MID raw data 50: 00 00 00 00 01 EA 5C DF 01 6A CC C0 01 EF FF FE | .....Û\▀.j╠└.´ ■
MID raw data 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................
Only allows me to choose the benQ and NEC plugins.
$ ./qscan -d F: -t errc
qScan 0.8.0 (C) 2007-2009 Gennady "ShultZ" Kozlov
qscan: using device 'F:': 'HL-DT-ST' 'BD-RE WH16NS58 ' '1.V5'
ID: Supported write modes: Packet TAO SAO SAO/RAW SAO/16 SAO/96R SAO/96P RAW/16 RAW/96R RAW/96P LayerJump
qscan: Device not found in any plugin support list, trying to probe...
qscan: using plugin: LITEON
IM: ERRC data : LDC BIS UNCR
Running BD Error Correction test at speed 12...
Testing 12219345 sectors: 0 - 12219344
lba | speed | LDC BIS | UNCR
cur : 12288 | -477218.59 X -2147483648 kB/s | 0 0 | 0
This is the case because scan is done so fast than gettimeofday
doesn't have an high-enough resolution to properly compute speed.
We should use clock_gettime
instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.