Comments (5)
I see, it appears you are right. The pin mode needs to be set and there is no infrastructure for that yet. For now there is hack floating around that you might try. It sets the pin modes when the pwm driver is probed, maybe it works for you?
from meta-intel-edison.
What do you mean zeus does not use Arduino board?
Scope (\_SB.PCI0.PWM0)
{
Name (RBUF, ResourceTemplate ()
{
PinFunction(Exclusive, PullUp, 0x0001,
"\\_SB.FLIS", 0, ResourceConsumer, , ) { 144 }
PinFunction(Exclusive, PullUp, 0x0001,
"\\_SB.FLIS", 0, ResourceConsumer, , ) { 145 }
PinFunction(Exclusive, PullUp, 0x0001,
"\\_SB.FLIS", 0, ResourceConsumer, , ) { 132 }
PinFunction(Exclusive, PullUp, 0x0001,
"\\_SB.FLIS", 0, ResourceConsumer, , ) { 133 }
})
Method (_CRS, 0, NotSerialized)
{
Return (RBUF)
}
}
from meta-intel-edison.
What do you mean zeus does not use Arduino board?
My mean is only use GPIO of Edison , and I did not develop on Arduino board.
Scope (\_SB.PCI0.PWM0) { Name (RBUF, ResourceTemplate () { PinFunction(Exclusive, PullUp, 0x0001, "\\_SB.FLIS", 0, ResourceConsumer, , ) { 144 } PinFunction(Exclusive, PullUp, 0x0001, "\\_SB.FLIS", 0, ResourceConsumer, , ) { 145 } PinFunction(Exclusive, PullUp, 0x0001, "\\_SB.FLIS", 0, ResourceConsumer, , ) { 132 } PinFunction(Exclusive, PullUp, 0x0001, "\\_SB.FLIS", 0, ResourceConsumer, , ) { 133 } }) Method (_CRS, 0, NotSerialized) { Return (RBUF) } }
Yes , I did follow this example , but I use control pwm based on pwm class (e.g. /sys/class/pwm/pwmchip0/pwm0) that is no PWM signal created on pwm0(GP12).
from meta-intel-edison.
Thank your help ! I appreciate that.
This works for me. The pwm driver has been correctly probed.
from meta-intel-edison.
Also possible to do this via @xlla patches as pointed out here #100.
from meta-intel-edison.
Related Issues (20)
- BTRFS rebooted crash HOT 2
- boot failure HOT 12
- Preempt-RT support HOT 4
- ACPI table is not loaded HOT 8
- Integration with Azure HOT 1
- altering the partition table prevents subsequent dfu updates HOT 3
- requirement for sudo to use flashall.sh HOT 4
- `make debian` broken on master and dunfell HOT 4
- SD card does not work on dunfell branch HOT 69
- SD card not detected properly in U-Boot HOT 9
- Can't use "configure_edison --setup" HOT 9
- Intel Edison can't boot new flashed image HOT 3
- There is no issue with the network, but numactl cannot be downloaded. HOT 2
- Initramfs unpacking failed: invalid magic at start of compressed archive HOT 4
- Issue Building Sumo Branch HOT 1
- Expired gpg keys HOT 3
- [Kirstone] List of required packages does not match YP
- npm i mraa fails HOT 3
- [Kirkstone] missing elfutils-native while building linux-yocto 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 meta-intel-edison.