Jo2003 / cd2netmd_gui

A tool like Sonys NetMD Simple Burner
GNU General Public License v3.0
42 stars 7 forks source link

NetMD Wizard sees all discs as write protect #8

Closed hermanvsg closed 1 year ago

hermanvsg commented 1 year ago

I'm using an Sony CMT-M3333NT (Type-S) and I get the following error:

image
Jo2003 commented 1 year ago

Hi! Are you using Windows? Is the correct driver installed (zadig tool)? Does WebMiniDisc work? Is WebMiniDisc running while you use NetMD Wizard?

I have never tested such device. Maybe the log says a little more. Please go into settings and set the trace level to "debug". After that press the "re-load MD" button. Please attach the log to this issue!

Thanks!

hermanvsg commented 1 year ago

Hi! Using Windows 11 and WebMiniDisc Pro works fine using the same MiniDisc.

Debug log attached. cd2netmd_gui.log

Jo2003 commented 1 year ago

Thanks for the log. The MD isn't the issue. Communication with the device doesn't work at all. There is always a pipe error: 2023-07-11 16:30:46|CRITICAL|sendCmd():358: libusb_control_transfer failed! Pipe error

Is webminidisc pro still open (or another software accessing your NetMD device?

hermanvsg commented 1 year ago

Nothing open. I checked both Webminidisc pro and it connects to the unit right away, same as for Platinum no issue connecting.

I will check and re-install Zadig to see if it makes any difference.

LOG (looks like same error): 2023-07-11 16:52:14.673|INFO|cnetmd.cpp:39|CNetMD::CNetMD(QObject*)|Log File / Stream "C:/Users/herma/AppData/Local/Temp/cd2netmd_transfer_log.tmp" created. 2023-07-11 16:52:17.308|INFO|cnetmd.cpp:132|int CNetMD::getDiscInfo()|getting MD disc / device info ... 2023-07-11 16:52:17.884|INFO|cnetmd.cpp:256|int CNetMD::getDiscInfo()|{ "device": "Sony CMT-C7NT", "groups": [ ], "otf_enc": 0, "sp_upload": 0, "title": "", "toc_manip": 0, "tracks": [ ] } 2023-07-11 16:52:17.895|INFO|cnetmd.cpp:522|void CNetMD::procEnded(bool, int)| 2023-07-11 16:52:17|DEBUG|initDevice():169: Found supported device: Sony CMT-C7NT 2023-07-11 16:52:17|DEBUG|waitForSync():584: libusb_control_transfer failed! Pipe error 2023-07-11 16:52:17|DEBUG|waitForSync():584: libusb_control_transfer failed! Pipe error 2023-07-11 16:52:17|DEBUG|waitForSync():584: libusb_control_transfer failed! Pipe error 2023-07-11 16:52:17|DEBUG|waitForSync():584: libusb_control_transfer failed! Pipe error 2023-07-11 16:52:17|DEBUG|waitForSync():584: libusb_control_transfer failed! Pipe error 2023-07-11 16:52:17|WARN|waitForSync():603: no sync response from device! 2023-07-11 16:52:17|DEBUG|getStrings():274: Can't read serial number: Invalid parameter 2023-07-11 16:52:17|INFO|initDevice():227: Product name: SONY USB COMM, serial number: 2023-07-11 16:52:17|DEBUG|initDiscHeader():352: 2023-07-11 16:52:17|DEBUG|rawDiscHeader():280: 2023-07-11 16:52:17|DEBUG|sendCmd():349: command: 00 18 08 10 10 01 01 00 ........ 2023-07-11 16:52:17|CRITICAL|sendCmd():358: libusb_control_transfer failed! Pipe error 2023-07-11 16:52:17|DEBUG|sendCmd():349: command: 00 18 06 02 20 18 01 00 00 30 00 0a 00 ff 00 00 .... ....0...?.. 00 00 00 ... 2023-07-11 16:52:17|CRITICAL|sendCmd():358: libusb_control_transfer failed! Pipe error 2023-07-11 16:52:17|CRITICAL|rawDiscHeader():329: Error in exchange()! 2023-07-11 16:52:17|DEBUG|tocManipSupported():1816: 2023-07-11 16:52:17|DEBUG|spUploadSupported():755: 2023-07-11 16:52:17|DEBUG|supportsSpUpload():1787: 2023-07-11 16:52:17|DEBUG|trackCount():167: 2023-07-11 16:52:17|DEBUG|sendCmd():349: command: 00 18 06 02 10 10 01 30 00 10 00 ff 00 00 00 00 .......0...?.... 00 . 2023-07-11 16:52:17|CRITICAL|sendCmd():358: libusb_control_transfer failed! Pipe error 2023-07-11 16:52:17|DEBUG|discFlags():196: 2023-07-11 16:52:17|DEBUG|sendCmd():349: command: 00 18 06 01 10 10 00 ff 00 00 01 00 0b .......?..... 2023-07-11 16:52:17|CRITICAL|sendCmd():358: libusb_control_transfer failed! Pipe error 2023-07-11 16:52:17|DEBUG|discCapacity():851: 2023-07-11 16:52:17|DEBUG|sendCmd():349: command: 00 18 08 10 10 00 01 00 ........ 2023-07-11 16:52:17|CRITICAL|sendCmd():358: libusb_control_transfer failed! Pipe error 2023-07-11 16:52:17|DEBUG|sendCmd():349: command: 00 18 06 02 10 10 00 30 80 03 00 ff 00 00 00 00 .......0?..?.... 00 . 2023-07-11 16:52:17|CRITICAL|sendCmd():358: libusb_control_transfer failed! Pipe error 2023-07-11 16:52:17.895|INFO|mainwindow.cpp:533|void MainWindow::transferFinished(bool, int)|checkBusy: false ret: 0

Jo2003 commented 1 year ago

I'll have a look at the netmd++ library. Maybe the first call of waitForSync() makes the issue. I'll attach a modified version of the dll when ready. Please test it. First I have to have a look.

hermanvsg commented 1 year ago

Found the issue: I have a Sony USB COMM driver for some reason.

image

After I disabled it NetMD Wizard works fine.

Great work

Jo2003 commented 1 year ago

Nice! Thanks for posting the solution!