Comments (3)
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.
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.
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)
- config: Fix can't acces img's dir specified in the config file if the app isn't launched from the parent
- Unable to get working on Ubuntu 14.04 HOT 23
- Does this work on Chinese USB Fans? HOT 1
- libusb: init & close cause 2 not-freed blocks HOT 2
- feature: make the existing config file feature an option (getopt)
- feature: option, displays at most eight images from dir
- feature: option, displays a sentense (ASCII)
- feature: option, displays text on multiple displays
- packaging: AUR
- packaging: Ubuntu HOT 2
- compatible devices list HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pearlfan.