pearlfan icon indicating copy to clipboard operation
pearlfan copied to clipboard

Anyway to make this work on a Mac?

Open gearboxscott opened this issue 7 years ago • 3 comments

Anyway to make this work on a Mac?

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

gearboxscott avatar Sep 27 '17 23:09 gearboxscott

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

TheMikeSanto avatar May 29 '18 21:05 TheMikeSanto

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.

Ventto avatar Jan 16 '19 13:01 Ventto

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

gearboxscott avatar Jan 19 '21 14:01 gearboxscott