**** BEGIN LOGGING AT Sat Feb 04 03:00:03 2017 Feb 04 06:07:49 So I'm working with GPIO on the BeagleBone Black and I have noticed something bizzare. The GPIO1_28 pin's value is always "1". Is this supposed to be so? Feb 04 08:13:25 (new achievement: "discovered internal pull-ups") Feb 04 09:03:00 zmatt: :) Feb 04 13:05:24 That's ummm a nice achievement ... I think? Feb 04 13:05:44 (he says 5 hours late) Feb 04 13:20:24 Hi All Feb 04 13:20:52 anybody knows how to boot beaglebone black from sd card? Feb 04 14:12:02 madhu____: uhm ... load SD card with the bootable image, insert it into the slot, keep the SD-card-boot-button pressed, and power your board. Feb 04 14:12:50 SD-card-boot-button the 3rd button other than the 2 present near LEDs Feb 04 15:20:00 normally you don't need the button Feb 04 15:24:32 pdp7: I saw your patch to fix the eQEP fault... it seems to be missing any pm_runtime_put() to balance the _get()s ? Feb 04 15:34:31 pretty ugly driver anyhow... heh Feb 04 15:53:44 the pm code in that driver looks pretty broken overall to me Feb 04 19:00:08 zmatt: have a link to the eqep driver (or kernel repo)? I hacked one once which I hope didn't make it out into the wild. Someone else wrote one too so I hope its that one you're looking at. :) Feb 04 19:07:31 damn, there's even a thing on wiki.ti.com with a pgm i wrote _way_ back Feb 04 19:21:27 Hi guys!, I'm trying to get de mac of my beaglebone (debian jessy) using this command without luck Feb 04 19:21:27 cat /sys/class/net/eth0/address | sed s/://g Feb 04 19:21:35 any suggestions? Feb 04 19:21:48 cat: /sys/class/net/eth0/address: No such file or directory Feb 04 19:22:00 seba_: ifconfig? Feb 04 19:23:13 maybe but I need to capture this to use in a script Feb 04 19:23:38 so I think with ifconfig I need to parse de info Feb 04 19:23:42 the info* Feb 04 19:25:49 yes, you would have to parse. try 'cat ./devices/platform/ocp/4a100000.ethernet/net/eth7/address' or something similar Feb 04 19:25:52 seba_: ^ Feb 04 19:26:33 seba_: oops, add a /sys in front of the path Feb 04 19:27:20 cat ./sys/devices/platform/ocp/4a100000.ethernet/net/eth7/address cat: ./sys/devices/platform/ocp/4a100000.ethernet/net/eth7/address: No such file or directory Feb 04 19:27:27 :| Feb 04 19:27:46 seba_: look in /sys/class/net Feb 04 19:27:54 there should be an 'eth' there Feb 04 19:28:07 then try /sys/class//address Feb 04 19:29:42 er, /sys/class/eth/address Feb 04 19:29:59 gotta go. good luck Feb 04 19:30:17 thanks mag :) Feb 04 19:30:23 wecome Feb 04 19:30:25 welcome Feb 04 19:31:39 this work for me Feb 04 19:31:40 cat /sys/class/net/wlan0/address | sed s/://g Feb 04 19:31:42 :) Feb 04 20:29:42 mag: there's one included with rcn-ee's kernels Feb 04 20:31:42 mag: but I personally think uio works quite fine for eqep Feb 04 20:34:42 especially since commit cc37655e6bbf83 removed the weird prcm hacks and allows the simple-pm-bus driver to be used for pwmss (I have no idea why the pwm-tipwmss driver even still exists) Feb 04 21:46:15 zmatt: k, thx. Feb 04 21:47:35 you can find the latest patches here: https://github.com/RobertCNelson/linux-dev/tree/master/patches/drivers/ti/eqep Feb 04 21:49:36 actually it seems there's another patch on top already Feb 04 21:49:42 hmm, what tree is that one in then.... Feb 04 21:50:29 the patched linux tree for each release can be found in his 'linux-stable-rcn-ee' repo, e.g. https://github.com/RobertCNelson/linux-stable-rcn-ee/blob/4.9.8-bone4/drivers/misc/tieqep.c Feb 04 21:51:16 ah nm what I said about another patch, I wasn't looking right Feb 04 22:13:00 zmatt: that's a different driver so that's good Feb 04 22:13:16 well I'm not that convinced it's a *good* driver ;) Feb 04 22:13:54 I just wanted to make sure that my driver wasn't out in the wild Feb 04 22:14:07 is it that horrible? Feb 04 22:14:09 if it was, I'd feel obligated to fix/support it :) Feb 04 22:14:19 its very basic Feb 04 22:14:33 and ~9 years old Feb 04 22:14:50 it was just a hack and I had no hw to test it with Feb 04 22:14:56 ah :) Feb 04 22:15:15 I made this at some point -> https://github.com/mvduin/py-uio/blob/master/qep-test.py Feb 04 22:15:16 so I'm happy that that isn't the one being used Feb 04 22:15:22 but along the way I discovered I really don't like python Feb 04 22:15:28 heh Feb 04 22:18:48 * mag returns to his weekend **** ENDING LOGGING AT Sun Feb 05 03:00:01 2017