**** BEGIN LOGGING AT Tue Jun 09 02:59:58 2015 Jun 09 06:42:34 * endrift finally begins the process of transferring stuff from an ancient BBB A5A to C Jun 09 06:49:24 this USB FTDI adapter still was the best purchase I've made for this thing Jun 09 09:23:50 Hi I'm trying to start a python script on boot that uses Tkinter, but it doesn't start. I tried to find out whether it ran or not; and using journalctl I found out that tkinter gave the no display name and no $Display variable Jun 09 09:24:36 exception. Does that mean that I have to start the script differently, or that the script tries to run before the display is instantiated? Jun 09 09:24:49 Auke: as usual, write a proper systemd unit that depends on the X display being ready. Jun 09 09:24:57 (the code runs from terminal) Jun 09 09:25:32 LetoThe2nd: so you think that it runs too soon? Jun 09 09:26:21 Auke: doesn't it sound like that? Jun 09 09:27:17 LetoThe2nd: I hope so Jun 09 10:16:17 daaamn I just can't find anywhere how to set the order of bootscripts Jun 09 10:41:10 hello. Could i know how to flash Android on internal eMMC? i use BBB. Jun 09 10:52:27 hs__: you would need to mirror the partition layout of the sd onto the emmc Jun 09 10:52:45 you can look at the debian flasher images how they do the format/partition/copy Jun 09 10:53:38 where can i see emmc flashing user guide? Jun 09 10:54:05 there is no user guide Jun 09 10:54:18 you will need to look inside the flasher image itself Jun 09 10:54:26 there is a script that does the "flashing" Jun 09 10:54:41 its not really "flashing", its more like copy stuff around Jun 09 10:54:48 you can also do that by hand Jun 09 10:54:53 but there is no guide Jun 09 10:55:29 so, if i wanna see guide, have to find google? Jun 09 10:58:28 yes Jun 09 10:58:34 its a learning experience Jun 09 10:58:49 https://www.youtube.com/watch?v=mtzdQSCKBis Jun 09 10:59:10 https://youtu.be/mtzdQSCKBis?t=38 Jun 09 11:00:33 Thank you! Jun 09 11:26:31 hey there Jun 09 11:27:17 I need some support for my beagle board black :) Jun 09 11:28:23 First, what could possibly be wrong if all LED are on without a micro sd attached? Jun 09 11:29:34 sounds like it gets stuck on boot Jun 09 11:30:11 do you have a usb-to-serial cable for 3.3V logic? Jun 09 11:30:47 I have connect it with the micro usb and a microsd attached. Linux shows me the usb network device Jun 09 11:31:07 but its not reachable via 192.168.7.2 as mentioned in "getting started" Jun 09 11:31:34 i don't have a usb-to-serial cable Jun 09 11:32:20 get one Jun 09 11:32:30 saves your life on all embedded boards Jun 09 11:32:31 indeed, highly recommended and cheap Jun 09 11:32:46 what image did you put on your microSD card? Jun 09 11:32:58 latest angstrom Jun 09 11:33:15 any specific reason for angstrom? Jun 09 11:33:29 nope, thought it should be okay Jun 09 11:33:35 use debian instead? Jun 09 11:33:59 that's nowadays the default software Jun 09 11:34:13 ok, i will get it Jun 09 11:36:23 hi to all Jun 09 11:36:26 hi Jun 09 11:37:01 anyone used gpio to count pulses Jun 09 11:51:17 ok debian seems to work better, thx :) Jun 09 11:53:24 yes, works like a charm Jun 09 11:54:09 ok, thx guy. have a nice day! Jun 09 11:54:14 *guys Jun 09 11:54:19 and girls ;) Jun 09 11:54:20 bye Jun 09 12:21:31 hej hi! Does anybody want to help me on my i2c issue Jun 09 12:23:20 apparently not Jun 09 12:24:08 woglinde, don't go recommending ftdi cables! everyone should be using real 9 pin d-sub +/-12V signaling for /proper/ serial interfacing :) Jun 09 12:38:40 bradfa haha Jun 09 12:46:53 Does someone know how to wait with starting a script until the display is loaded? Right now I get a Tkinter exception since there is no display value at the moment it starts during boot Jun 09 12:47:50 you just answered that yourself ? Jun 09 12:48:09 (just make it wait for the DISPLAY variable to be set) Jun 09 12:50:01 ogra_: use proper ordering Jun 09 12:50:14 yeah, or that :) Jun 09 12:50:36 ogra_: how to do that depends on the init system you use Jun 09 12:50:52 er... Jun 09 12:51:05 i mean Auke, of course Jun 09 12:51:11 init=/bin/sh is enough OS for everyone ! Jun 09 12:51:25 * KotH needs more chocolate Jun 09 12:53:02 ogra_: I don't know how to check on it. I'm using the way Derek Molloy decribed in his book (for Debian). I put the bootservice in lib/systemd/system and the script in etc/systemd/system Jun 09 12:53:13 do I need to put the wait in the script or in the service? Jun 09 12:53:40 oh, if you use systemd, just make your service wait for the graphical service i guess Jun 09 12:54:15 I tried that with after=.... but I think I'm doing something wrong since it still starts the service at the same time every time :P Jun 09 12:56:25 Auke uhm hm you need a user which uses the DISPLAY Jun 09 12:56:39 please join the club of people who think systemd is too complicated for the debugging possibilities it offers :-) Jun 09 12:56:43 Auke aka logged in user Jun 09 12:56:55 Koth no the problem is all the same on others too Jun 09 12:57:13 getting xcookies and stuff Jun 09 12:58:22 * KotH wouldnt mind some cookies Jun 09 12:58:31 woglinde: Ok please don't hate me for this, but I only have root (no users), do I need to create an extra user that just starts the display, to make sure it "exists" before running the script? Jun 09 12:58:57 Auke: what after= do you have? Jun 09 12:59:02 woglinde: you mean $DISPLAY and xauth? Jun 09 13:00:20 av500: I've tried several, the current one is "After=org.freedesktop.udisks2.service Jun 09 13:00:22 " Jun 09 13:00:34 why this one? Jun 09 13:02:12 that was the last service I see in journalctl, so I wanted to try if this makes the service start later on during the boot Jun 09 13:02:42 but that service doesnt depend on any graphical bits being available Jun 09 13:03:09 you want to use something that provides or uses graphics for your after= statement Jun 09 13:03:24 ogra_: I just wanted to test whether or not the moment my service started would be different using this one Jun 09 13:07:01 and? Jun 09 13:07:07 is it Jun 09 13:07:16 pastebin the whole inut file Jun 09 13:07:19 unit Jun 09 13:10:31 sorry computer crashed Jun 09 13:17:04 How can I find out what the graphic services are? Jun 09 13:18:32 why not ask in #systemd? Jun 09 13:18:43 that seems like a standard problem to me Jun 09 13:19:24 Auke: your issues seems less BBB related Jun 09 13:19:30 but more systemd generic Jun 09 13:20:00 av500: ok, I'll try over there! Jun 09 14:41:10 Newbie. Beaglebone black connected to bmp180 i1c returns no data when example bmp085 temp/pressure demo is run. Jun 09 14:41:24 Can anyone help? Jun 09 14:41:33 i1c? Jun 09 14:41:45 i2c. Jun 09 14:44:41 Newie. Beaglebone black I2c seems not to work. How can I test? Jun 09 14:45:17 BBB is running Debian Linux Jun 09 14:45:47 ok Jun 09 14:45:52 have you tied your bus lines high Jun 09 14:45:52 and you enabled I2C how? Jun 09 14:46:00 and use i2c-detect in linux Jun 09 14:46:05 can you check the lines with a scope? Jun 09 14:48:12 Can check line with scope, but with voltmeter on scl and sdl, steady 3.29 volts.. i2cdetect shows no device connected. Jun 09 14:48:26 And what method are you using ie. tutorial etc Jun 09 14:48:59 putty Jun 09 14:49:28 I meant are you following instructions/online /etc Jun 09 14:49:59 av500 is probably right .. how are you activating the i2c bus .. have you created/used a device-tree file? what kernel version is your beagle? Jun 09 14:50:02 Have not enabled i2c, assumed it was enabled at boot. Jun 09 14:50:07 err no. Jun 09 14:50:46 How do I enable? Jun 09 14:50:53 only the internal i2c bus ont he beagle is activated by default Jun 09 14:51:10 the other pins could potentially be used for other purposes Jun 09 14:51:25 Also, assumed example code enabled i2c. Jun 09 14:52:16 used pins 19 and 20. Jun 09 14:52:34 very dangerous to assume .. especially in the embedded world ;) Jun 09 14:52:48 Code no longer enables stuff; magic files tewiddle the kernel to enable things now. Jun 09 14:52:59 Look up DeviceTree. Jun 09 14:53:15 hence why I asked which kernel version .. uname -a is your friend Jun 09 14:53:33 however, debian gives a big clue Jun 09 14:53:34 lol Jun 09 14:53:43 not an angstrom board :) Jun 09 14:54:11 Ran example program from the BBB webpage. Jun 09 14:54:54 which example on which page Jun 09 14:55:04 there are thousands of 'beagle' web pages Jun 09 14:55:27 On the BBB itself. Jun 09 14:55:43 ah Jun 09 14:55:57 http://192.168.7.2/bone101/Support/BoneScript/demo_bmp085/ Jun 09 14:57:28 have a look at https://learn.adafruit.com/downloads/pdf/introduction-to-the-beaglebone-black-device-tree.pdf Jun 09 14:58:06 Thanks, will do. Have a good day. Jun 09 14:58:45 though that is a bit old .. the concepts are good .. and it uses RN's scripts .. +1 Jun 09 15:00:14 root@beaglebone:~# uname -a Linux beaglebone 3.8.13-bone70 #1 SMP Fri Jan 23 02:15:42 UTC 2015 armv7l GNU/Linux root@beaglebone:~# Jun 09 15:02:03 looks familiar :) Jun 09 15:03:04 aight .. I gotta git to work.. bbl :) Jun 09 16:02:13 Hi I want to receive data from port serial or tcp/IP and later comparate the information with databases using python. Anybody can help me? Jun 09 16:08:30 OmarNevermind for both tasks using serial stuff and db stuff with python there are tons of instructions out in the internet Jun 09 16:08:33 you'll need to explain a little bit more of the research you've done, similar projects you've identified, and why you think simply copying what they did isn't suitable Jun 09 16:38:42 hi jkridner Jun 09 18:15:45 hello Jun 09 18:15:57 how is the world of beagle today? Jun 09 18:17:55 does anyone know if there is a cape for disk i/o interface other than usb? Jun 09 18:20:51 quiet Jun 09 18:21:08 shh! you'll wake them up! Jun 09 18:21:32 <_av500_> mtnman: no Jun 09 18:21:48 <_av500_> no sata or pata cape Jun 09 18:21:55 <_av500_> but pata would be a nice hack Jun 09 18:22:00 <_av500_> using the mem interface Jun 09 18:22:15 <_av500_> then you can chain a sata2pata bridge Jun 09 18:22:40 * bradfa is pretty sure the pru can bitbang ide Jun 09 18:23:04 what is bitbang? Jun 09 18:23:30 mtnman, it's where you slap the bits around to make them play nice Jun 09 18:23:43 kind of like gangbanging but with electronics Jun 09 18:24:11 what is pru? Jun 09 18:25:17 and what is mem interface? Jun 09 18:32:33 <_av500_> what is google? Jun 09 18:32:40 <_av500_> mem = memory Jun 09 18:32:59 <_av500_> but if you ask all these questions, the answer is simply: no, there is no such cape Jun 09 18:35:27 thanks that is the correct answer. good bye. Jun 09 18:58:08 howdy woglinde.... doh! sorry to miss you. Jun 09 19:25:20 Good afternoon! I am fairly new to BBB & am trying to get the CANbus working with a Chipsee BBB-EXP-C 7" display running on Debian release 3/1/2015 w/ Linux 3.14.43-ti-r66 kernel. Has anyone got CANbus working using can-utils? Jun 09 19:30:10 ISTR that you still need a transceiver or such. does that cape have one? Jun 09 19:38:50 the chipsee BBB-EXP-C 7" display has CANbus output pins built in w/ SN65HD1050 transistor (output @5V) Jun 09 19:39:14 *transceiver Jun 09 19:53:46 superD_: well, then it will probably work. you'll make sure the mux is right (proper dt/dt-overlay) Jun 09 19:54:31 I'm not sure how to setup the MUX b/c I am new to linux as well as BBB Jun 09 20:07:31 <_av500_> you need to load a DT overlay that enables CAN Jun 09 20:26:29 Where and how do I set a DT overlay in Debian? Is there a website specific to Debian Linux that describes this? Jun 09 20:28:35 <_av500_> https://www.google.com/search?q=beagleboard+load+dt+overlay Jun 09 20:28:40 <_av500_> its not debian specific Jun 09 23:49:44 I just came up with the cure to the common cold. Anyone need help setting up email on their server? Jun 09 23:52:41 No seriously . . . I just powered up a Beaglebone Black for the first time today. This thing is so much more interesting than the Raspberry Pi. Jun 09 23:53:56 My real question is, how can I configure this thing to reliably hibernate and wake up? Jun 10 01:22:25 how can i expand rootfs pastition? Jun 10 01:46:44 bbbbb: there's a script in /opt/scripts/tools called grow_partition.sh Jun 10 01:47:13 bbbbb: https://groups.google.com/d/msg/beagleboard/NKjfjN8uKE4/JIr6-Yb7RYEJ Jun 10 02:57:07 Wanted to let veremit that the bmp180 module was bad. Got it working with another module. **** ENDING LOGGING AT Wed Jun 10 02:59:59 2015