On Mon, Nov 09, 2015 at 11:44:34AM +0530, vamsi krishna gattupalli wrote: > Hi, > I am not able to set the direction to LOW after exporting 60 pin as per > emutex labs pin muxing for gen2. > I get this from message on console. > root@quark:/# echo 60 > /sys/class/gpio/export > root@quark:/# echo low > /sys/class/gpio/gpio60/direction > [ 554.040170] intel_qrk_gip 0000:00:15.2: controller timed out > [ 554.079512] intel_qrk_gip 0000:00:15.2: timeout in disabling adapter > [ 554.086042] pca953x 0-0027: failed writing register > sh: write error: Connection timed out > Thanks & Regards, > Vamsi
I'm going to guess you're talking about the Intel galileo gen2 board? This is probably not the right place for discussing this - but your muxing is wrong (the muxing docs are pretty confusing to be fair), what you want to do is the following: https://github.com/intel-iot-devkit/mraa/blob/master/src/x86/intel_galileo_rev_g.c#L94 Although depending on the kernel/branch you're using that might work better/worst. I'm not sure what '1.2' is referring to. If it's an official Intel image from maker/intel.com I'd suggest asking on the forum they have. <advert> Have you considered using mraa for your userspace I/O needs? https://github.com/intel-iot-devkit/mraa/ </advert> Cheers, Brendan -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
