Skip to content
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

Anyway to make this work on a Mac? #10

Open
gearboxscott opened this issue Sep 27, 2017 · 3 comments
Open

Anyway to make this work on a Mac? #10

gearboxscott opened this issue Sep 27, 2017 · 3 comments

Comments

@gearboxscott
Copy link

Anyway to make this work on a Mac?

I put the fan in the mac it doesn't see it as a usb device

@TheMikeSanto
Copy link

TheMikeSanto commented May 29, 2018

I'm also interested in this. Note: my fan is not technically a "pearl fan", but looking at both and comparing I'm willing to bet they're the same fan. At the very least they use the same microprocessor.

So far I've tried replacing the PFAN_VID and PFAN_PID with the values I read from system_profiler SPUSBDataType but still can't successfully get a a handle to the fan. This is using libusb 1.0.22 and netpbm 10.73.19, both installed via Homebrew.

Would love to figure this out.

Edit: Did a bit more digging. My original tries were definitely using the wrong PID/VID (posted below), but there are further problems. When I run dmesg after plugging in the fan, I see this error about 30-40 times: IOUSBHostDevice: family specific matching fails. Could be an issue with the driver that ships with macOS?

Here's my fan info:
Product ID: 0x7160 Vendor ID: 0x0c45 (Sonix Technology Co., Ltd.) Version: 1.03 Speed: Up to 1.5 Mb/sec Manufacturer: XY-SUN Location ID: 0xfd120000 / 3 Current Available (mA): 500 Current Required (mA): 100 Extra Operating Current (mA): 0

@Ventto
Copy link
Owner

Ventto commented Jan 16, 2019

Hello @gearboxscott and @TheMikeSanto,

I've planned to make the pearlfan project, a generic library for USB LED fan.
I am going to make it portable on both Linux/Mac and then on Windows.
Until then, feel free to contribute and report any issue.

@gearboxscott
Copy link
Author

Hi @TheMikeSanto

Did you ever start that generic library for USB LED fan? Or did you find something that allows the LED to work on mac and Linux?

Scott

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants