Git Product home page Git Product logo

Comments (3)

TheMikeSanto avatar TheMikeSanto commented on August 18, 2024

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

from pearlfan.

Ventto avatar Ventto commented on August 18, 2024

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.

from pearlfan.

gearboxscott avatar gearboxscott commented on August 18, 2024

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

from pearlfan.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.