**** BEGIN LOGGING AT Tue Apr 05 02:59:58 2016 Apr 05 04:38:07 Hey, what is a reliable piece of hardware to connect to the beagle in order to read/write to the CanBus? Apr 05 04:40:15 another beagle? Apr 05 04:56:49 Oh, sorry for being unspecific but The hardware I'm referring to is a CanBus Transceiver. Looking for something reliable and affordable. Apr 05 05:00:08 Need PRUSS-chief!!! Apr 05 06:03:39 hello Apr 05 06:30:38 hi their can any one suggest me about the driver for tlk110 which is connected vis pruss Apr 05 06:32:42 hi their can any one suggest me about the driver for tlk110 which is connected vis pruss in boneblack?? Apr 05 09:46:03 hi, trying to get u-boot to use the cpu watchdog .. seems some stuff is implemented but is it true that the actual wdg is not use on BBB ? Apr 05 11:54:12 rob_w: iirc the watchdog will be maintained by u-boot. out of reset am335x watchdog should be enabled with 60 second timeout Apr 05 11:54:16 no? Apr 05 11:55:12 it should but it doesnt work for me atm Apr 05 15:19:58 How is anyone supposed to get a openid so they can actually create an account at beagleboard.org?? Apr 05 15:54:16 Strontium: based on 5s with Google (search term, "openid provider"), enlightenment was found: http://openid.net/get-an-openid/ Apr 05 15:55:05 agmlego: you actually tried any of those, most are dead or not allowing new subscriptions. Apr 05 15:55:29 ...google? Apr 05 15:55:52 I DID go out of my way to make a stupid wordpress account which i will never use, and thats supposed to give me an openid, but nope giving that to "regiser" on the beagleboard.org does precisely nothing Apr 05 15:56:05 google dont support openid anymore Apr 05 15:56:08 they dropped it Apr 05 15:56:41 since when? mine still works. Apr 05 15:56:54 really, well i cant make one or get one from google. Apr 05 15:57:26 https://developers.google.com/identity/protocols/OpenID2Migration Apr 05 15:58:49 I would LOVE to register a new project but i cant for the life of me work out how to register on beagleboard.org ... sigh .... Apr 05 16:02:12 i mean, You could just host your own provider. Apr 05 16:02:32 Not like it is closed-source. Apr 05 16:03:43 set extra steps up to contribute, and some contributions will be missed... Apr 05 16:06:35 Strontium: not that i'm a huge fan, but it looks like launchpad.net still supports openid Apr 05 16:13:20 vagrantc: thanks for the pointer, ill check that tomorrow. Apr 05 17:22:47 hi there channel :-) Apr 05 17:23:35 I'm surfing with BBB Apr 05 18:24:59 Hi everyone, I have searched the forums for a few days already, and was hoping somebody could help me out. We are building a board that is similar to a beaglebone (AM335X based), and wanted to know if the software/tools for testing/burn in is available online, and also if details of the hardware for the test rigs to perform these tests/burn in are available. Sorry if this isn't a 'good question' the link for 'how to ask good questions' Apr 05 18:26:46 that is a pretty good question but maybe better suited for a mailing list Apr 05 18:26:59 you want some specific people to see it and there's no guarantee they're on IRC right now Apr 05 18:28:57 mailing list as in the google forum post? do you mind pointing me in the right direction for that? thanks Apr 05 18:48:57 i dont actually know the particulars, but google lists is probably close enough Apr 05 18:49:14 the problem is when your message scrolls off IRC and the people you want to reach never read it Apr 05 18:49:19 that doesn't happen so much with forums or lists Apr 05 18:51:43 hi there channel Apr 05 18:53:18 Hello. How do I set all beaglebone black ports to GPIO? I tried to write on P8_7, 8,9,10 and I got "bus error". I guess it might been set to timers. Apr 05 18:55:35 try /usr/local/bin/config-pin Apr 05 18:55:39 or maybe it's config_pin Apr 05 18:57:27 I am trying to use registers to operate gpio, is the config_pin still in effect? Apr 05 19:00:19 or is there a way to config pins through c program? Apr 05 19:02:11 you can mess around in the /sys filesystem Apr 05 19:02:25 read the source for config-pin, it's a bash script Apr 05 19:02:49 it's also different depending on which kernel you're running Apr 05 19:02:52 are you on 3.8 or 4.x? Apr 05 19:03:48 how can i check my kernel? Apr 05 19:04:37 Alex_ uname -a command Apr 05 19:05:19 thank you, i got it: 3.8.13 Apr 05 19:06:23 Alex_ was that command right Apr 05 19:07:40 Alec_ was that command right Apr 05 19:08:41 yes, uname -a, and i got 3.8.13 Apr 05 19:09:04 actually i am using root Apr 05 19:11:09 Alec_ be careful using root though Apr 05 19:12:01 hello Apr 05 19:12:07 I set up a user account but I could not connect to it Apr 05 19:12:41 so i just use root, hopefully i can make it work fast Apr 05 19:13:11 my problem is I wish to use all ports as gpio Apr 05 19:13:19 Alec_ anyway, be careful Apr 05 19:13:27 but when i write to ports, i got bus error Apr 05 19:13:49 i have problems setting up wlan0 with debian. /etc/network/interfaces isn't bringing up wlan0... i need to do 'ifconfig wlan0 up' and then run 'dhclient wlan0'. i don't know what is misconfigured. can any of you help me? Apr 05 19:14:10 and i tried each one i found i can't use P8-7,8,9,10 i think they are set to timers now Apr 05 19:14:38 do you know how can i set them to gpio using c program? Apr 05 19:15:12 also, eth0 is configuring itself with dhcp, even though i have eth0 commented out in the interfaces file Apr 05 19:15:13 Alec_ can't help u in that, really sorry :-( Apr 05 19:15:46 It is fine. Thank you a lot! Apr 05 19:16:09 Alec_ no idea believe me Apr 05 19:17:00 it's amazing this little BBB Apr 05 19:17:49 well, wish to configure my keyboard to spanish Apr 05 19:18:48 I only have bash I mean terminal, console Apr 05 19:19:23 console window I'm in openbox Apr 05 19:58:58 So. I certainly had an interesting endeavour with my BBB, managing to totally fuck up my galaxy s5 during the process. I could not find my flash-reader/writer, but I did however have a phone with a sd-slot. Started up ssh service on the phone, set up netcat to bind and listen to my interface and further dd to /dev/block/mmcblk0. Read the iso from my server Apr 05 19:58:58 and pumped it on network and sent to my phone, and to be written Apr 05 19:59:03 ... Phone dies Apr 05 19:59:19 Looks at terminal... "Wait... blk0? 0!?" Apr 05 21:31:10 Hi dsockwell, can you explain again how to set pinmode on beaglebone black? I use script from bone101 and set successfully on P8_7,8,9,10; but no luck on P8_3,4,5,6 Apr 05 21:31:30 my kernel is 3.8.13 Apr 05 21:31:56 Alec_: there is a script at /usr/local/bin/config-pin that does it, all i know is what i read out of there Apr 05 21:37:44 I am using root, does it mean the script is /root/local/bin/config-pin? but my local has only share Apr 05 21:38:27 that's an absolute path. If you're using an older image try "find / -name 'config?pin'" Apr 05 21:44:39 I tried but couldn't find the file: find / -name 'config-pin' Apr 05 21:44:56 tried 'config?pin', found nothing as well Apr 05 21:46:50 is this an Angstrom image? Apr 05 21:46:54 you said that yesterday didn't you Apr 05 21:47:05 it's probably time for you to flash Debian, Angstrom is unmaintained afaik Apr 05 21:48:37 yes, angstrom Apr 05 21:51:31 I read from the internet, the pinmode is in the file /sys/kernel/debug/pinctrl/44e10800.pinmux Apr 05 21:52:44 and i found this file, is this file I need to set pinmode? Apr 05 21:52:58 not to be harsh, but i have no more help for you if you insist on using that obsolete OS. The Debian images from beaglebone.org are what I've been using and they work for me. Apr 05 21:53:18 you are better off in the long run using Angstrom Apr 05 21:53:26 Why's that? Apr 05 21:53:29 unless you want to dive into the desktop cesspool on an embedded board Apr 05 21:53:43 it is a little lumpy, that's true Apr 05 21:53:46 i read from script the pinmode of p8_3,4,5,6 keep 1 Apr 05 21:53:59 is Angstrom maintained though? Apr 05 21:54:04 cuz sorting out stuff that should be there, is there, etc is a whole cesspool that one should not be subjected to when developing stuff Apr 05 21:54:16 does it build? what do you need to "maintain" with it? Apr 05 21:54:33 nice thing about Angstrom is you have a handle on what should be there and where it came from Apr 05 21:54:35 linux 4.1 has a cape manager driver Apr 05 21:54:46 capes *gag* Apr 05 21:54:46 that isn't a third party patch set Apr 05 21:54:57 that changes the way pins are configured Apr 05 21:55:18 first thing - chuck cape crap; it just adds to the work load Apr 05 21:55:42 ds2: how do you configure pin multiplexing on angstrom then Apr 05 21:55:53 alec_ needs his GPIOs Apr 05 21:56:11 yes, please help Apr 05 21:56:56 I need all gpio working in mode 7 Apr 05 21:57:15 dsockwell: depending on kernel, I either update the kernel or update the master DT Apr 05 21:57:38 my kernel is 3.8.18 Apr 05 21:58:30 i just don't know how to set pinmode of p8_3,4,5,6 to 7 Apr 05 21:58:34 all that dt fragments and cape manager stuff has been responsible for wasting a whole lot of time Apr 05 21:58:39 the reset pins are ok Apr 05 21:59:14 do as you wish... if you want to play with capes, brooms, staves, etc have fun :D I like my boards to do what I want when I want Apr 05 22:00:11 i don't get what you mean. yours gpio are all working? how did you do it? Apr 05 22:00:23 Is there some documentation for modifying the DT? Apr 05 22:00:48 http://elinux.org/BeagleBone_and_the_3.8_Kernel Apr 05 22:03:24 i mean the rest pins are ok, not reset Apr 05 22:04:30 the quick and dirty way is to piggy back onto some existing DT that is always loaded Apr 05 22:04:45 problem is getting that into a place where things will find it Apr 05 22:04:49 that is the miserable part Apr 05 22:08:26 Alec_ do you have a wiring harness that requires you to use those pins Apr 05 22:08:36 what about P8_8, 10, 12, 14, 16, 18 Apr 05 22:09:08 http://beagleboard.org/support/bone101 the diagram here shows a nice contiguous block of GPIO pins there Apr 05 22:10:30 I need about 40 gpio so i want to use as many as possible. I already tried P8_7 to P8_14, they are all working now Apr 05 22:26:20 are there 40 free GPIOs? Apr 05 22:26:25 do you need a display at all? Apr 05 22:26:34 there's gpio_68 right there Apr 05 22:26:40 i'd expect to find 40 Apr 05 22:26:57 but Apr 05 22:27:14 the LCD Controller burns about 20 pins Apr 05 22:27:23 the eMMC burns another 10 or so Apr 05 22:27:27 what is the command to save a read only file with vi? Apr 05 22:27:33 :q! Apr 05 22:27:34 :w! Apr 05 22:27:36 no Apr 05 22:27:42 it's :w! Apr 05 22:27:46 I logged in as root Apr 05 22:28:03 not :q!, that was wrong Apr 05 22:28:44 Alec_: http://elinux.org/BeagleBone_and_the_3.8_Kernel Apr 05 22:28:48 wow! i got an error Apr 05 22:28:56 this appears to explain how to control pin multiplexing Apr 05 22:29:11 pins e667: fsync failed Apr 05 22:29:36 http://devicetree.org/Main_Page Apr 05 22:29:38 or maybe this Apr 05 22:29:53 warning: original file may be lost or damaged Apr 05 22:30:35 Alec_: what are you using 40 GPIOs for, btw Apr 05 22:31:19 http://beagleboard.org/static/images/cape-headers-digital.pnghttp://beagleboard.org/static/images/cape-headers-digital.png Apr 05 22:31:25 http://beagleboard.org/static/images/cape-headers-digital.png Apr 05 22:31:42 according to this you can have up to 65 at once if you multiplex Apr 05 22:31:53 that gives you your 40 and enough for eMMC if you need the sd card Apr 05 22:31:54 I am using it to control machine, solenoids and indicators, and buttons, and a led display Apr 05 22:32:20 http://gobot.io/ Apr 05 22:32:44 I know you're already using C but this project has gotten my environmental controller working in a hurry Apr 05 22:32:45 yes, i think i have enough but i just don't know how to set them to gpio mode Apr 05 22:34:17 https://github.com/hybridgroup/gobot/blob/dev/platforms/beaglebone/beaglebone_adaptor.go Apr 05 22:34:48 oh, this depends on capemgr Apr 05 22:34:52 which i don't think you have Apr 05 22:35:24 anyway Alec_ if you read the two wikis i linked you to you will probably eventually work out the device tree, which is probably how you're going to multiplex the pins into GPIO pins on Angstrom. Apr 05 22:35:29 Good luck, I have somewhere else to be Apr 05 22:36:37 ok, thank you verymuch Apr 05 22:37:42 Have you considered porting your work to an Arduino Mega 2650? Apr 05 22:37:54 something is running on my port 80 debian. "--- layout: bare ---". how do i disable this? Apr 05 22:38:24 i uninstalled apache* Apr 05 22:41:07 dsockwell, are you asking me? i have no idea of arduino Apr 05 22:41:33 Alec_: can you rebuild your kernel easily? Apr 05 22:44:08 no i don't know how. I just want this project finished asap. I followed a video to setup the development of this bbb, and my project is easy and i know c very well - thought i could do it easily Apr 05 22:44:42 using gpios from userspace is generally not a good idea Apr 05 22:48:27 i don't know. maybe i should use a microcontroller not the bbb Apr 05 22:52:10 who knows... you never stated the application Apr 05 22:52:22 LED blinks work well in microcontrollers ;) Apr 05 23:52:55 Can I update my BBB from microsd with a 5v usb powered plug? Apr 05 23:53:05 or must it be a barrel wall adapter? Apr 05 23:55:15 safer to use a barrel plug Apr 05 23:58:10 vagrantc, sadly I don't have one, and i've managed to get my BBB in an unusable state. Damn, I was hoping I could use my 5v usb wall charger Apr 05 23:58:50 I tried using BBBlfs to flash from terminal, but that doesn't seem to net a usable system either. Apr 06 00:02:25 you might luck out and get it to work via the usb ... but sounds like you're not havign such luck Apr 06 00:02:52 vagrantc, I think the one I was using wasn't 5v 1a Apr 06 00:02:55 I'll try another. Apr 06 00:25:33 I've never had trouble flashing a BBB while powered via USB though Apr 06 00:27:22 note that the scripts included with BBBlfs are quite broken. you can still use it however to make a BBB's eMMC available as usb mass storage device (http://pastebin.com/x5QzB18E) and then manually flash it using dd or bmaptool Apr 06 00:39:42 zmatt, hmm that I didn't know. Okay cool Apr 06 01:36:50 I finally got it with a 5V 1.5A phone charger. Works now. Whew. Apr 06 02:01:08 Is there a sample to set pinmode of P8_3,4,5,6 to GPIO on Debian kernel? Apr 06 02:08:45 config-pin? Apr 06 02:08:52 write that down, you seem to forget it easy Apr 06 02:14:49 thank you dsockwell, i could not make it, so i may install debian. **** ENDING LOGGING AT Wed Apr 06 02:59:58 2016