I too faced this with ubuntu 14.04, done the following steps to overcome such errors
got the missing dts files from https://github.com/venkaty89/devicetree-source/tree/master/arch/arm/boot/dts <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fbeagleboard%2Fdevicetree-source&sa=D&sntz=1&usg=AFQjCNHfhQXHwsjHhX_Z1IblMt9KS-fcwg> compiled required files using build file (you should install dtc compiler using *apt-get install device-tree-compiler* and if you face errors with -@ option use wget -c https://raw.github.com/RobertCNelson/tools/master/pkgs/dtc.sh chmod +x dtc.sh ./dtc.sh ) create dts-compile.sh with following code #!/bin/bash echo "Compiling the overlay from .dts to .dtbo" dtc -O dtb -o am33xx_pwm-00A0.dtbo -b 0 -@ am33xx_pwm-00A0.dts dtc -O dtb -o bone_eqep0-00A0.dtbo -b 0 -@ bone_eqep0-00A0.dts dtc -O dtb -o bone_eqep1-00A0.dtbo -b 0 -@ bone_eqep1-00A0.dts dtc -O dtb -o bone_eqep2-00A0.dtbo -b 0 -@ bone_eqep2-00A0.dts dtc -O dtb -o bone_pwm_P8_13-00A0.dtbo -b 0 -@ bone_pwm_P8_13-00A0.dts dtc -O dtb -o bone_pwm_P8_19-00A0.dtbo -b 0 -@ bone_pwm_P8_19-00A0.dts dtc -O dtb -o bone_pwm_P8_34-00A0.dtbo -b 0 -@ bone_pwm_P8_34-00A0.dts dtc -O dtb -o bone_pwm_P8_36-00A0.dtbo -b 0 -@ bone_pwm_P8_36-00A0.dts dtc -O dtb -o bone_pwm_P8_45-00A0.dtbo -b 0 -@ bone_pwm_P8_45-00A0.dts dtc -O dtb -o bone_pwm_P8_46-00A0.dtbo -b 0 -@ bone_pwm_P8_46-00A0.dts dtc -O dtb -o bone_pwm_P9_14-00A0.dtbo -b 0 -@ bone_pwm_P9_14-00A0.dts dtc -O dtb -o bone_pwm_P9_16-00A0.dtbo -b 0 -@ bone_pwm_P9_16-00A0.dts dtc -O dtb -o bone_pwm_P9_21-00A0.dtbo -b 0 -@ bone_pwm_P9_21-00A0.dts dtc -O dtb -o bone_pwm_P9_22-00A0.dtbo -b 0 -@ bone_pwm_P9_22-00A0.dts dtc -O dtb -o bone_pwm_P9_28-00A0.dtbo -b 0 -@ bone_pwm_P9_28-00A0.dts dtc -O dtb -o bone_pwm_P9_29-00A0.dtbo -b 0 -@ bone_pwm_P9_29-00A0.dts dtc -O dtb -o bone_pwm_P9_31-00A0.dtbo -b 0 -@ bone_pwm_P9_31-00A0.dts dtc -O dtb -o bone_pwm_P9_42-00A0.dtbo -b 0 -@ bone_pwm_P9_42-00A0.dts echo "copying files to /lib/firmware" cp -f *.dtbo /lib/firmware change the permissions using chmod +x dts-compile.sh Now run the shell script file using ./dts-compile.sh use the following terminal commands to export pwm pins *export SLOTS=/sys/devices/bone_capemgr.*/slots* *export PINS=/sys/kernel/de**bu**g/pinctrl/44e10800.pinmux/pins* *modprobe pwm_test* *echo am33xx_pwm > **$**SLOTS* *echo bone_pwm_P8_19 > $SLOTS* *echo bone_pwm_P9_21 **>** $SLOTS* * in 'bone_capemgr.*/' is either 8 or 9 depends on your version, most probably 9 for ubuntu 14.04 On Sunday, 7 December 2014 08:14:02 UTC+5:30, Sid Raj wrote: > > > Hi, > > On my BBB running Ubuntu 14 I am using adafruit py libs to for servo > control. But I get the following error. Same with P9_14. Any idea why I am > getting this and what I should do to make it go away? Thanks a lot! > > >>> import Adafruit_BBIO.PWM as PWM > > >>> PWM.start("P8_13", 95.0, 60) > > >>> > > IOError: [Errno 2] No such file or directory: '/slots' > > > Sid > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.