gavinbenda / platinum-md

Minidisc NetMD Conversion and Upload
MIT License
230 stars 38 forks source link

Panasonic SJ-MR250 not detected #133

Open FlabberQuestion opened 2 years ago

FlabberQuestion commented 2 years ago

I see the device listed in: https://github.com/gavinbenda/linux-minidisc/blob/master/libnetmd/netmd_dev.c

Line 84: {0x04, 0x23b3, "Panasonic SJ-MR250"},

It shows up correctly in my Device Manager in Windows 10 with he correct driver, but Platinum-MD doesn't detect it.

It shows when i click n help and look at my Connected Devices from within Platinum-MD

image

Any idea what could be wrong? I was assuming since the device is listed in libnetmd it would work.

FlabberQuestion commented 2 years ago

I found out what was wrong here.

The device is incorrectly listed in the netmd_dev.c file

{0x04, 0x23b3, "Panasonic SJ-MR250"},

It should be:

{0x04da, 0x23b3, "Panasonic SJ-MR250"},

Can this be updated please?

gavinbenda commented 2 years ago

Great detective work - I actually have the same model, and will give it a test as well.

FlabberQuestion commented 2 years ago

Hi @gavinbenda I have some more information. I ran a test using @deenine test code. For what it's worth here are the results, 1 FAIL. I don't know if this automatically means that it would also fail in Platinum, I would assume so?

python netmd_test.py
Found NetMD: Bus 001 Device 030: ID 04da:23b3 Panasonic Net MD
Found 1 netmd_devs
Acquire Device ....OK
Get Status ....OK
Get Disc Flags ....OK
Get Disc Title ....OK
BIB
Get Disc Capacity ....FAIL
Error: Format and input mismatch at 18: expected 80, got 08
Get Track Count ....OK
2 tracks
Get Length track 2 ....OK
Get Encoding Track 2 ....OK
Get Flags Track 2 ....OK
Move Track 1 to Track 2 ....OK
Play ....OK
Skip forward ....OK
Pause ....OK
Play ....OK
Get position ....OK
Stop ....OK
Enter Secure Session ....OK
Get Leaf ID ....OK
Leave Secure Session ....OK
Release Device ....OK
FlabberQuestion commented 2 years ago

Hi @gavinbenda,

Just out of curiosity. On a windows machine with Platinum-MD installed, what file does the program use to identify the known Net-MD devices? An equivalent to this file https://github.com/gavinbenda/linux-minidisc/blob/master/libnetmd/netmd_dev.c

Is that compiled in the EXE or a DLL file? Is there a way for an end user to add the device in some way? And if not, would such a thing be an option to implement?

Ewgemu7 commented 2 years ago

Приветствую не могу подключить Panasonic sj-mr250 есть какие то решения?

FlabberQuestion commented 2 years ago

Приветствую не могу подключить Panasonic sj-mr250 есть какие то решения?

No clue what you are saying, try to translate, we started this in English.

deenine commented 2 years ago

Hi @gavinbenda,

Just out of curiosity. On a windows machine with Platinum-MD installed, what file does the program use to identify the known Net-MD devices? An equivalent to this file https://github.com/gavinbenda/linux-minidisc/blob/master/libnetmd/netmd_dev.c

Is that compiled in the EXE or a DLL file? Is there a way for an end user to add the device in some way? And if not, would such a thing be an option to implement?

This is done in two places, here by the Platinum-MD UI, this is used to detect that a device is present, display the device ID at the top of the right hand pane, show status messages, etc.

It is also done here for the linux-minidisc interface that does the communications with the minidisc device, this is compiled into the netmdcli.exe here.

FlabberQuestion commented 2 years ago

@gavinbenda Awesome, thanks for the explanation!

FlabberQuestion commented 2 years ago

Ooops sorry @deenine I didn't see you replied, my bad!

FlabberQuestion commented 2 years ago

@gavinbenda @deenine Just a heads up that @asivery Fixed this in https://github.com/cybercase/netmd-js/issues/27 for Web Minidisc

chang48 commented 2 years ago

Hello, sorry to revive the thread, but I acquired a Panasonic SJ-MR250 recently. I switched the unit to NetMD mode and connected it to my Apple M1 Mac Mini. Platinum-MD was able to detect the unit, but it took forever to "Negotiate with device". I've followed the instruction to install Platinum-MD and all required libraries. Did I miss anything? Thanks

Screen Shot 2022-09-09 at 8 52 58 PM
FlabberQuestion commented 2 years ago

It's been a while I used this device but if I remember correctly it has never been fixed in Platinum. The device works in https://web.minidisc.wiki/

chang48 commented 2 years ago

It's been a while I used this device but if I remember correctly it has never been fixed in Platinum. The device works in https://web.minidisc.wiki/

Understood. Thanks