**** BEGIN LOGGING AT Thu Aug 01 03:00:25 2019 Aug 01 05:08:56 bRitch022: this seems to work for me at least... https://pastebin.com/kYAVp86w Aug 01 05:09:26 I don't like py-spidev's interface. I'd prefer a pure-python module like py-spi, but py-spi is just broken as fuck Aug 01 05:10:29 maybe the adafruit one works too, but I generally try to avoid touching adafruit python modules with a ten foot pole ;) Aug 01 07:03:29 anyone have a pointer to how to add a /dev/xyz symlink in a device-tree entry? Aug 01 07:03:33 * jkridner looks at the installed /etc/udev/rules.d Aug 01 07:04:34 ah, easy enough. found 10-of-symlink.rules Aug 01 10:01:39 jkridner[m]: yep, that one comes from me, so you can just add "symlink = ..." in the DT in most cases Aug 01 14:14:44 zmatt: it worked in &i2c2, but not &eqep0. Aug 01 14:15:05 ravikp7: has parthi contacted you? I really want to wrap up BeagleBoot integration into Etcher. Aug 01 14:15:22 * jkridner[m] wonders where the code for omapboot or whatever it is called is at. Aug 01 14:16:49 * jkridner[m] goes back to google. Aug 01 14:17:56 I found it once, but cannot find it again. Aug 01 14:18:10 I see several clones.... wonder if there's no maintainer. Aug 01 14:25:31 jkridner[m]: I think eqep doesn't have a device, only sysfs attributes? Aug 01 14:25:32 ravikp7: these omap-booting apps should boot BeagleBone AI: https://github.com/kousu/omapboot Aug 01 14:27:36 zmatt: that's a good possibility. probably changes if the iio counter class is added. is there a simple way to point to those? Aug 01 14:35:09 er, I mean is there a good way to create a symlink in /sys to eqep to give it a predictable name? Aug 01 14:57:00 jkridner[m]: I use something like this for gpios: https://pastebin.com/REyzQrYX Aug 01 15:21:09 zmatt: does it make sense to have /dev symlinks if they are really just point to sysfs directories? Aug 01 15:21:18 where else would you put them? Aug 01 15:21:22 I mean, I love it, but wonder if it is "acceptable". Aug 01 15:21:27 sysfs belongs to the kernel Aug 01 15:21:35 can't make symlink in there Aug 01 15:21:39 oh Aug 01 15:21:57 whereas /dev is just a tmpfs so you can decorate it all you like Aug 01 15:22:02 guess I forgot that all the symlinks that are in there just came from the kernel. Aug 01 15:22:38 yup, sysfs is basically just a filesystem-like representation of kernel data structures, any filesystem operation you do in there is just a method call to a kernel object Aug 01 15:22:46 k. love it. mind if we steal it? ;-) Aug 01 15:23:04 the sooner the better :) Aug 01 15:23:33 my brainstorming has been up on https://elinux.org/Beagleboard:BeagleBone_cape_interface_spec .... Aug 01 15:23:49 all about making a compatible s/w layer between Black and AI. Aug 01 15:24:11 the udev rule snippets should probably saved right in there for reference. Aug 01 15:25:29 udev rules can help a lot with hiding hw differences Aug 01 15:26:33 e.g. we have two revisions of a board where we moved some gpio signals to other pins... all I need to do is update the DT, and thanks to the named /dev/gpio symlinks our applications don't even need to know or care (since I name the gpios after their purpose, not after the expansion header pin like cape-universal does) Aug 01 15:54:23 Hat jemand die Erfahrung bei CAN Kommunikation bei Python? Aug 01 15:54:32 this is an english-language channel Aug 01 15:54:40 sorry man Aug 01 15:55:02 np, I just need to mention it to improve your chances of getting a reply ;) Aug 01 15:55:42 also don't ask whether anyone has experience with something specific... the answer to that (whether it is "no" or "yes") is not useful to you. if you have a specific problem, ask a specific question Aug 01 15:56:47 I want to know, how to use python to set the CAN BUS communication by useing BeagleBone Black? Aug 01 15:57:22 after basic setup of the CAN hardware and interface it should be the same as using python for CAN communication on any other linux device Aug 01 15:58:13 I can't really offer much concrete advice I'm afraid, I have negligible experience with CAN, but maybe if you're patience someone else might have advice for you Aug 01 15:58:45 are you using some specific cape for CAN ? Aug 01 15:59:19 i'm using comms cape a2 Aug 01 16:00:26 i want to write a programm to test the speed of the can communication Aug 01 16:01:02 when i programmed 'import can' ,it says no module was found Aug 01 16:01:14 did you install it? Aug 01 16:01:26 yes Aug 01 16:01:29 (e.g. with "pip3 install can") Aug 01 16:02:43 also, you may need to update the 'bb-cape-overlays' package (sudo apt-get update && sudo apt-get install bb-cape-overlays). an overlay for the COMMS cape was only added recently Aug 01 16:02:55 IVK: I suggest verifying the CAN function using the command-line CAN utils first. Have you enabled the overlay for the cape? It may not be in there by default. Aug 01 16:03:46 https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BBORG_COMMS-00A2.dts is just 15 days old. Aug 01 16:03:47 thanks guys, i will try Aug 01 16:04:14 jkridner[m]: I'd say just update the debian package? Aug 01 16:04:18 i have used socketcan to test it, it goes on good Aug 01 16:04:23 ah ok Aug 01 16:04:28 so you have can working, just not in python Aug 01 16:04:33 yeah, package is built pretty often. Aug 01 16:04:35 yes Aug 01 16:04:38 see, that would have been useful information to say right from the start Aug 01 16:04:40 that's a fine way to install it. Aug 01 16:04:45 try to be specific about the problem you're having Aug 01 16:05:15 * jkridner[m] runs away from python-specific problems :-) Aug 01 16:05:19 ok this *is* weird, I'm also getting "No module named can" after installing it Aug 01 16:05:45 * jkridner[m] is on an airplane and landing, so shutting off computer. Aug 01 16:05:51 can i upload picture on this chat window? Aug 01 16:05:56 no Aug 01 16:06:13 if you want to share terminal output, use a paste service like pastebin.com Aug 01 16:07:31 ah wait, the pip package is called "python-can", not "can" Aug 01 16:08:10 yeah now it works I think Aug 01 16:08:46 IVK: https://pastebin.com/raw/4bep6mHw Aug 01 16:18:12 debian@beaglebone:~$ pip3 install python-can Aug 01 16:18:14 l/urllib3/util/connection.py", line 75, in create_connection Aug 01 16:18:30 don't paste multi-line output into chat Aug 01 16:18:37 does your beaglebone have an internet connection? Aug 01 16:18:47 otherwiswe you can't install modules obviously Aug 01 18:33:34 Hey, is it possible to provide an external trigger to the beaglebone black? Aug 01 18:34:10 I'm using it to control a TI DMD projector but I need it synced with something going on on a different windows PC Aug 01 18:49:19 and the vagueness award goes to... Aug 01 20:22:15 bad IRC question awards could be very entertaining Aug 01 21:53:59 9 Aug 01 22:17:37 vagrantc: 9? are you sure? Aug 01 22:18:05 zmatt: i was sure at the time, but now you sow doubt Aug 01 22:18:11 lol **** ENDING LOGGING AT Fri Aug 02 03:01:07 2019