**** BEGIN LOGGING AT Sun May 30 02:59:57 2021 May 30 09:09:17 set_: yes, I am just a bit unhappy about it. i enjoy working the BB stuff but I hate wasting yet more time sorting through something that was working. Switching over to a system that gives you less is just stupid. A simple mailman/majordomo/etc server would have worked just fine. May 30 12:07:43 ds2: hmm, I'm getting mails with proper subject lines May 30 12:07:57 like [BeagleBoard] [General Discussion] Black Wireless powers up on its own after shutdown May 30 12:09:45 I'm assuming the emails you're referring to are for the "When I don’t visit here, send me an email summary of popular topics and replies" option in email preferences, which I have turned off May 30 17:00:30 hello guys, i tried to use bb Ai pins with an python code. But it is not working. CODE : Import Adafruit_BBIO_GPIO as GPIO    GPIO.setup("P8_3", OUT)   GPIO.output(P8_3", GPIO.HIGH)  time.sleep(1000)   GPIO.cleanup() May 30 17:01:04 i tried to use a multimeter on P8_3, but it is only 0V May 30 17:03:01 Adafruit_BBIO doesn't support BBAI: https://github.com/adafruit/adafruit-beaglebone-io-python/issues/317 May 30 17:05:26 I do have a tiny pure-python gpio library that should be cross-platform: https://pastebin.com/cVHktYPn but to be able to find gpios by name it requires that this udev rule is installed (save as /etc/udev/rules.d/gpio-symlinks.rules): https://pastebin.com/raw/qZZmQQQg May 30 17:05:40 cross-architecture I mean May 30 17:05:48 (not cross-platform, it's linux-specific) May 30 17:08:31 ugh, that's not the right term either... point is, it should work on the BBAI May 30 17:09:17 the only functionality not implemented currently is getting events on input changes May 30 17:16:07 (after saving that udev rules file, do "sudo update-initramfs -u" and reboot) May 30 21:52:29 hello, everyone. how can i use outputs on BBAI? like... blinke a led May 30 21:52:46 there is a library for python ? May 30 22:10:06 i want to move a servo-motor with beaglebone ai, but i can not controll the PWM, can someone help me ? :( May 30 23:19:58 I cannot wait to try that GPIO lib. for the AI! May 30 23:20:03 Nice. May 30 23:21:23 I actually tried another lib. online on github and got PWM to work (only once). May 30 23:21:39 Then, something changed and I had to resort back to nothingness. Argh. May 30 23:23:00 Guest59770: Hello. Um, I am not familiar w/ a PWM lib. for the AI just yet. May 30 23:23:01 But... May 30 23:23:12 If you have time to work on one w/ me, I am sure we can figure something out. May 30 23:25:29 https://www.kernel.org/doc/html/latest/driver-api/miscellaneous.html#pulse-width-modulation-pwm May 30 23:25:35 This is a start! May 30 23:26:22 But...then! Those .dts files and a .dtb (maybe) need to be in place to work properly w/ the hardware. May 30 23:27:12 I am just saying it takes one person an eternity, a couple of people a bit less, and a group still a long time. May 30 23:27:23 It does not happen overnight is what I am saying. May 30 23:29:01 So, what do you say? May 30 23:32:29 Hello? May 30 23:32:32 Argh. May 30 23:36:07 I can only help others and myself. I cannot just help me! Aw! May 31 00:08:25 GenTooMan! May 31 00:08:39 Wake up! May 31 00:11:51 Should there be any interrupts in the PWM driver I am writing? May 31 00:11:54 Argh... May 31 00:12:09 No per se? May 31 00:21:28 Do I need to echo in a .c file or export in a .c file for handling a pwmchip0? May 31 00:23:55 I can try both but I think echo is for terminal and export is either/or. May 31 00:25:01 Oh! May 31 00:25:08 echo && export! May 31 00:34:47 So... May 31 00:35:49 Would I need pwm.h for a .c file on the BBB for making a lib or just the regular stdio and stdlib? May 31 00:36:28 There are so many guesses and no real, accurate ideas that i Have found. Not from userspace...but a real lib. May 31 00:45:08 Dang it. Okay, so I need to export it, enable it, then have the file descriptors. May 31 00:57:05 Argh. It seems that i do not have permission to export the PWM Channel? May 31 00:57:11 Ha. May 31 01:24:54 normally if the .c file is calling things declared or defined in its associated header file (.h) then its usually needs to be loaded somehow May 31 01:26:00 unless the declarations or definitions are part of some other pre-loaded header file May 31 01:28:13 set_: pwm channels should be exported by default May 31 01:29:49 or I guess that depends on the version of the bb-customizations package... dunno what the status of this is: https://github.com/beagleboard/Latest-Images/issues/82 May 31 01:31:05 if they're exported you'll find the symlinks in /dev/pwm/ May 31 01:31:12 Oh. May 31 01:31:38 Mine are not exported by default and I am getting a permission error when exporting them in a .c file. May 31 01:31:54 though if they're not exported, the default user definitely has the right to export them, so you're probably just doing something weird May 31 01:32:10 The file compiles but it is...Oh! I think I need to chmod the file afterwards. May 31 01:32:12 Oh. May 31 01:32:21 doubtful May 31 01:32:24 Okay. May 31 01:32:32 why are you doing this in C anyway? May 31 01:32:38 I can export them from the command line. May 31 01:32:47 I cannot use C to export them for some reason. May 31 01:33:01 that reason would be your C code is broken May 31 01:33:05 Oh...b/c. I am learning about making a lib. May 31 01:33:06 Oh. May 31 01:33:30 which, you know, fits the pattern of basically all code I've ever seen from you :P May 31 01:33:52 Ha! Yes and I am just learning as much as I can w/ producing too. May 31 01:34:04 then start by learning python, not C May 31 01:34:08 So, things are regurgitating in my face. May 31 01:34:10 OH. May 31 01:34:37 I do not know what import I would need to import for file descriptors. May 31 01:34:44 In Python... May 31 01:37:15 there are lots of ways to read/write files, using pathlib is probably easiest May 31 01:38:03 but anyway, /me -> bed May 31 01:41:04 No! May 31 01:41:06 Fine. May 31 01:41:14 pathlib heh? May 31 01:41:16 Okay. May 31 01:46:35 os.path? **** ENDING LOGGING AT Mon May 31 02:59:56 2021