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
Internal SD-CardReader working - Please help to improve it #465
Comments
@ManuGithubSteam , Good job! Hope it's possible to make it better ;) |
Duplication of #36 |
Sorry for misread. It’s different from #36. BTW, I agree with what menchen says
Great work though. |
@ManuGithubSteam One tips for your vm setup, folder sharing is built-in VMware so you won't need One of the reasons I didn't do it is because mounting/unmounting is not "easy" for the normal user(finding a USB reader is faster for me or boot to Linux)... But I guess you can just shut down VM so Linux automounts for you... Also, how is the performance compared to windows? |
I did not want use folder shareing as in Linux it is just a folder (not sure about mac) and so it would not reflect as device in Finder.
I know but afaik a shared folder it not "mounted" so it would not feel like a SD-Card, Just like a folder. Also i would need a comand to unmount if im done writing to it. This is avoided with the sshfs solution.
For the easyness: If you can execute a script and unmount in finder you are done. Also the installation of a Hackintosh is also not "trivial" so the install i think is doable. Well i doubt it is faster to shutdown mac with all your windows. wait for the reboot in Windows or Linux, enter your password and then do the sd card stuff. For me at least this is way faster... Also till i find my usb-reader its easier to use the script. I also like integrated solutions if possible... I plan to make a menulet for easy mounting later but would like some help in booting the vm faster and some specific mac problems with the mac umount command. etc.
I did not do much testing and did not test the performance yet. Please try it out and test it. For the Power hungry-ness. im not sure what you are refering to. Its a small vm with no load. The only thing that is running additionally is vmware fusion. I get that this is additional power useage but it is only used when you need it. It is like heliport in my mind. Just a second tool. How could we prove the power craziness of vmware fusion ? Also for me this is like maybe 10 min running when i use it for photos transfer..... It there a power meter of some sort to quantify the lost battery due to fusion running ? Also i would like to know if my install guide works because i kinda wrote that from memory and did not acutally try it myself. |
Tbh the only thing I use sd card for is flashing iso for my raspberry pi.... so I need raw access to the device...
You can boot faster by not booting it ;D, you could just do a snapshot of the VM and it should load under 7s(my test iso was a 700mb iso so your can be faster depending on your ram usage).....
My guess for power usage would be 15~30m.... because last time I disabled an unused USB port in SSDT it saved me 20m... and headless vm should be efficient because of the lack of CPU usage... It's just not worth for me because I rarely use sd card nowadays... Also, I would like to point out that you can get VM IP using |
Thanks for replying these are valid points..
For tiny Core linux 3 mb is huge the iso is just 9 mb.... Yes umount was my main goal here.
Ok i see that problem here we would need a menu for flashing direct or passtrough with the finder.
I tried that and sometimes i was not able to use the card reader because i would have to use the gui to pass it trough.
Ok i see you point. @stevezhengshiqi Is it possible to activate it just when needed ? Like a command to cut power to the sd-reader and only power it when there is a need ? Also if possible could we detect the putting in of a sd-card ? Like the bit flip even if there is no driver to read it ? Then it could be much more automated....
I know, first version an all. Hoping for colaborators.... |
No, it didn’t. I explained in the below comment there #465 (comment) @ManuGithubSteam
Not that possible. The power for the USB port is distributed when startup. |
I prefer a cleaner solution like IntelBluetoothFirmware that uploads the firmware and register power control for the bluetooth. Same approach can be done for SD Card reader, but needs tremendous work. |
Unfortunately im not a programmer... Thanks for letting me know. I will keep working in this so far till there is a better solution. Please test and give feedback :-) |
I was going to use tiny linux for BTFirmUploader too... But I was too lazy to build it myself and finishing the main program was the main focus..
You would want to use
In your
https://kb.vmware.com/s/article/1648 Also your vmx have many unnecessary value Also tbh I really think that a shared folder is the best because it fixes all your finder bugs...
You just shutdown VM... |
Feel free to use my tiny as a base :-)
Yep thats exactly my thinking. I would need more RAM for that tho...
Not sure if this will work with resume as there is always talk from powerd on etc. Will have to test.
I see your point. Will look into it.
Will have to test if it works as i want it.
Yes but you would need to issue a command in Mac to shutdown the vm or use the fusion gui for it. wich all means a action who is different than unmounting a SD-Card Volume. I want to keep it as close as possible on the original workflow. |
I just made an new release: https://drive.google.com/u/0/uc?id=1H5wSauAWYqpnPqv4FChuZIoh7l3hS9Cd&export=download Changes:
Challenges:
Please test :-) |
New Version is out: Changes: Challenges: Please test :-) screenshots: |
Even newer version is out: Changes:
Strange issue:
Comming soon to a SD-Card reader in your hackintosh:
|
Hi guys,
I managed to get the SD-Card-Reader working with a Vm Solution just like @Menchen did with the bluetooth.
The SD-Card is ready for use under 10 seconds. Its only like a 40 mb download so its easy on your nvme.
There are some areas to improve on but it is working and please try it out and give feedback and comments here.
I wrote a short guide here: https://github.com/ManuGithubSteam/XiaoMi-Pro-2018-HackintoshOC/wiki/2.0-Setup-SD-Card-Reader
Please test and report back any bugs.
Many thanks to @stevezhengshiqi and @MarFre22 for helping me getting my feet wet.
The text was updated successfully, but these errors were encountered: