-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for internal SD card reader, a.k.a. "Baseqi Ninja disk" #13
Comments
@OldManLink Thank you for your information, in short, the answer is yes. But would you mind provide more information about your SD slot? In terminal type in diskutil info disk2
diskutil info disk2s1
diskutil info disk2s2 Thank you in advance, |
It will be my pleasure to help fix this in any way I can!
part 2:
and part 3:
If there's anything else you need to know, please do not hesitate to ask! |
Thank you, I will add the SD support now. |
@OldManLink Could you please provide the log by running the script directly by typing sudo /etc/sysclusbfix.sleep Note: please insert your SD card as well. syscl |
This is what happens:
Now the disk icon has gone from the desktop, so it looks like it was ejected OK. However I am not sure what to do to get it back again. |
Remount it by the following sudo /etc/sysclusbfix.wake |
Unfortunately that does not work:
|
@OldManLink It seems there's some error, please give me a cat of the sleep script by cat /etc/sysclusbfix.sleep syscl |
How about diskutil list |
Here you go:
|
And this:
|
@OldManLink Hmm, the whole disk2 has disappeared, weird. How about sleep the laptop for a while then check if the disk2 reappear again? |
OK, I will sleep the laptop for one minute and then wake it up again to see what happens. |
Done: still no disk on the desktop, and the result of
|
So after executing |
I only did what you suggested, i.e. sleep the laptop and wake it up a minute later. I have not executed any scripts yet after that. |
If you like I could reboot the laptop and see if the disk comes back. Or if there's a better way, I'd love to know it! |
@OldManLink Sounds good, thank you. I want to improve my program so that you can enjoy it as well! |
Please let me know if reboot resolve the disk disappear issue. |
Alright. I will reboot the laptop and I expect to answer here again in about five minutes. |
No worry. |
OK, I am back, and so is the SD disk. I await your next instructions! |
OK, I update my Fix-usb-script a bit, would you mind give it a try, the latest version should get rid of the RTWlan issue if you don't have the related kext. And the code should be a bit different after you execute the fixUSB.sh, please let me know if the new sysclusbfix.sh change by the following cat /etc/sysclusbfix.sleep thank you. |
We will then try to resolve the SD card eject issue. |
I'll just put everything here in one block:
|
Good, the code is better than before (I will reconstruct the RTLWan kext code block later on). Would you please provide the log after executing the following commands diskutil list
diskutil eject disk2
diskutil list I just want to double check if the Thank you. |
Here you go:
|
That's it, the diskutil eject cause the whole disk2 disappear. Hmm, why that would happen? Maybe we should use unmount command upon SD-card slot to resolve this issue. Would you give it a try after re-insert your sd-card then type in the following? diskutil list
diskutil unmountDisk disk2
diskutil list |
Here you go:
|
Cool, give me a few minutes to improve it. syscl |
Nice! I will be available for about another 25 minutes, then I'll drive home. So if you want me to try stuff out when I get home I will be available for that (30 minutes after I leave the office). |
Please give the latest fixUSB.sh a try. Thank you. |
Looks like an "oops"
|
Thank you for your report, please try the latest one. |
Here you go:
|
Now I must drive home, but I will check my mail again in about 30 minutes. |
See you and please try the lastest script (seems previous version has a bug that cause the |
Ok, I am home now, so will grab some food then try out the new version. |
Here we go:
Next I will sleep the laptop for one minute and report what happens. |
|
So now the disk is gone again after the sleep. |
OK. Would you please re-insert the sd card then try to execute the script manually sudo /etc/sysclusbfix.sleep Thank you. |
OK:
|
Also:
And the disk icon is gone from the desktop. |
Now it's getting late, so I'll call it a day and check in again tomorrow. Thanks for trying to fix this! |
Have a good night. It seems that the sleep script has correctly unmount the sd card. How about executing the wake script(by |
TL;DR. It seems the SD card hasn't been ejected correctly which is operated by the *HCI kext. It seems the comment unmount then remount method does not work in this case. I wish I can come up to a better solution and will let you know. once I push a new update. |
Please try the latest version of script. |
Sorry for the delay, I was travelling without my MacBook for the last few days. So here is the latest console log:
|
Note: the disk is still mounted:
|
Thank you for working on this. Any update? 🙏 |
I found this project after getting the
Disk Not Ejected Properly
error for my Baseqi Ninja disk. This is an internal "disk" that uses the SD card reader on my MacBook Pro. Here are the details of the disk when it is mounted:Would it be possible to extend
Fix-usb-sleep
to work for this disk also? I have of course tried it, but it did not help with the problem.The text was updated successfully, but these errors were encountered: