BBB: 4.1.15 "IOError: [Errno 2] No such file or directory: '/slots'"

Hi All,

Relatively new to BBB and Linux in general, loaded up the Debian 8.3 Image from the beagleboard page, and cannot for the life of me get PWM to work:

Getting: “IOError: [Errno 2] No such file or directory: ‘/slots’”

import Adafruit_BBIO.PWM as PWM
PWM.start(“P8_13”, 95.0, 60)
PWM.set_duty_cycle(“P8_13”, 97.0)
IOError: [Errno 2] No such file or directory: ‘/slots’

IOError: [Errno 2] No such file or directory: ‘/slots’

Not sure how to proceed – It’s a little frustrating to say at the least. Bonescript doesn’t work at all and cloud 9’s examples seem to mostly not work. While I was able to bring Pin10 to high and light up an LED, I’d like to do something a bit more exciting :smiley:

Any and all suggestions how to resolve this are appreciated

The Adafruit BBIO Python library still requires the Linux 3.8 kernel
so it is best to use the Debian 7.9 "Wheezy" image for now:

Download this image:
Debian 7.9 (BeagleBone, BeagleBone Black, Seeed BeagleBone Green - 4GB
SD) 2015-11-12

"The most important part here is that you are using a Linux
distribution with the 3.8 kernel. This kernel version made some fairly
significant changes with how GPIO, PWM and ADC are accessed."