slimelec / ollie-hw

Other
65 stars 12 forks source link

MacOS drivers are hopelessly outdated #6

Open g5pw opened 2 years ago

g5pw commented 2 years ago

Hello! I'm trying to use Ollie with macOS Monterey as a usb-serial adapter, but it looks like default drivers are not working, and the ones available from the MaxLinear website are from 2013 and not loading due to the kernel signing requirement.

Is there anything that can be done?

slimelec commented 2 years ago

@g5pw can you try to install the drivers using "Kext Wizard"? I don't have any experience with macOS, I'm trying to test on a virtual machine now. I'll also try to reach out to MaxLinear support.

g5pw commented 2 years ago

I'm not really familiar with "Kext Wizard", and I can't seem to find the official site. Do you have a link?

slimelec commented 2 years ago

You can download from anywhere, I used the link below. if it complains about signature just right click and open.

https://mac.filehorse.com/download-kext-wizard/download/

g5pw commented 2 years ago

It looks like that app does not support modern macOS systems, where the /System/Library/Extensions is actually read-only. The "modern" way of doing that stuff is putting the kext in an application bundle. Note: I tried the other setting in kext wizard, but that fails, too (wrong invocation of kextcache, I see its help output in the logs)

slimelec commented 2 years ago

I got an update from MaxLinear, they might share the drivers source code. Not sure how much work it's going to take to update the driver to support the latest macOS. I'll keep this ticket open and I'll update you here.

Btw I read that disabling the SIP might be a work around, but I don't think this is a good solution.

g5pw commented 2 years ago

Thanks, looking forward to it, I could probably help in porting the drivers. I concur that disabling SIP is a no-go and probably wouldn't solve the core issue (drivers are probably too old and wouldn't work)

mrspirytus commented 2 years ago

Would it be possible to make it work with M1 Mac as well? Some of us moved already to new machines. Thank you…

slimelec commented 2 years ago

Hey @g5pw @mrspirytus apologies for the late update. I have some bad news.. Maxlinear informed me that they decided to officially remove support for MAC OS, their reasoning is that there are more PC than MAC users, which is silly in my opinion. I don't have much leverage with them since my production quantity is very small. And I didn't really get a follow up about releasing the driver source code.

I'll try to push one more time for the source code release, otherwise I'll take my small quantity orders elsewhere :) (FTDI)

g5pw commented 2 years ago

Thanks anyway for trying ☺️ it looks like some white room reverse engineering is in order! The funny thing is, I can see the virtual port just fine on macOS, but it doesn't transmit data. Do they have an open source Linux driver?

slimelec commented 2 years ago

@g5pw Legend! Here's the linux driver source code if you haven't found it yet. Please let me know if you get anywhere with the driver. Cheers!

https://github.com/brendanhoran/xr_usb_serial_common

mrspirytus commented 2 years ago

I will throw this as well. I am running Parallels Version 17.1.1 (51537) with 20.04 arm VM. I was hoping that parallels will find it and I can connect it to VM and use it there. That would be good. Is this still issue of MacOSX drivers missing and VM can not ook up? This is my only machine. So I am dead in the water... I am not a device developer guy. But I would not mind trying if someone needs any help with it... what ever form :)