**** BEGIN LOGGING AT Sat Mar 31 03:00:02 2018 **** BEGIN LOGGING AT Sat Mar 31 06:46:37 2018 Mar 31 20:09:14 Hi folks! I am struggling with DHT11 on bb green + grove cape, sensor is seeed grove. Need help in debugging. I suspect cape may not be enabled or something gpio wise... Mar 31 20:09:41 Can't get any readings... very frustrating Mar 31 20:11:16 I tried several different libs, attached sensor to different ports, installed latest Linux but nothing really works Mar 31 20:32:12 vantomcat: hmm, DHT11 is the annoying one-wire protocol right? Mar 31 20:34:57 it'll be very tricky to get reliable readings using userspace code, since it would require gpios to be controlled with precise timing Mar 31 20:35:48 iirc there's also a kernel driver, but that would need to be enabled using an overlay (and you'd lose cape-universal as a consequence) Mar 31 20:36:54 the code I can find seems to use /dev/mem to directly manipulate the gpio (which is kinda icky and unsafe) Mar 31 20:37:15 presumably since the sysfs interface has too much overhead Mar 31 20:38:55 the most elegant solution would probably be to use PRU for it, but I'm not sure if you can find a simple "plug & play" example for that Mar 31 20:39:52 really, the big question is: why the fuck doesn't that stupid sensor use i2c ? :P Mar 31 20:40:52 oh, he left at some point Mar 31 20:40:53 damnit Mar 31 20:41:18 well, for the irc logs I guess :P Mar 31 23:59:28 hello... Mar 31 23:59:45 Helo Mar 31 23:59:57 Hey...what are you doing w/ your BBB/etc? Apr 01 00:00:29 I've got ALARM On it. I wish to get X11 working. Apr 01 00:00:51 Alarm! Cool... Apr 01 00:01:07 Your x11 does not work (Debian)? Apr 01 00:01:14 Oh, excuse me, Arch Linux ARM Apr 01 00:01:21 Oh. Apr 01 00:01:22 That's what I meant by "ALARM". Apr 01 00:01:29 Aw! Apr 01 00:01:42 I use Debian mostly. Apr 01 00:01:45 Sorry mate. Apr 01 00:01:53 Oh, no problem. Apr 01 00:02:03 Wait around. I am sure someone will see the post. Apr 01 00:02:08 Oh, no problem. Apr 01 00:02:20 I get the feeling I installed the wrong libgl. Apr 01 00:02:37 Oh. Are you cross-compiling? Apr 01 00:03:00 Nah, don't have to do that. Arch Linux ARM is mainly a binary distro. Apr 01 00:03:06 Oh! Apr 01 00:03:11 However I noticed that the BBB is quite fast even if you do have to compile stuff. Apr 01 00:03:43 If you use it as a target board, yes. But not w/ the compiling of source. Apr 01 00:04:05 Well I guess it was only some small packages I compiled. Apr 01 00:04:17 Oh. That should be fine. Apr 01 00:04:26 Hey...give me a link. Maybe I can help. Apr 01 00:04:41 A link? Apr 01 00:04:51 https://archlinuxarm.org/platforms/armv7/ti/beaglebone-black Apr 01 00:04:57 Yea. For what Distro you are putting on your board. Apr 01 00:05:00 Oh...okay. Apr 01 00:05:12 I have got the distro up and running, mind you. Apr 01 00:05:37 Aw...what is the issue. No OS? Apr 01 00:05:57 Oh, no, that's not the problem. I have the thing booted. I just ran into an X11 error when I tried to run startx. Apr 01 00:06:05 eMMC or SD Card? Apr 01 00:06:09 SD Car Apr 01 00:06:12 d Apr 01 00:06:23 I decided to just use the SD card for booting because much more space Apr 01 00:06:35 This is cool. I have not seen this site before. Apr 01 00:06:44 They have some nice info. Apr 01 00:06:50 Oh, yes, they have builds for a lot of ARM boards. Apr 01 00:07:17 I was cross-compiling w/ Ubuntu to the BBB. I use crosstools-ng for now. Apr 01 00:07:34 FL4SHK: Let me read some and I will get right back to you. Apr 01 00:07:50 Alright Apr 01 00:10:49 I am learning about startx right now. I was unaware of this program (for many reasons). Apr 01 00:10:56 Oh, right Apr 01 00:11:00 startx isn't the problem, mind you Apr 01 00:11:05 Oh. Apr 01 00:11:11 It's X itself having issues :P Apr 01 00:11:39 Hmm. So, the Distro is giving feedback issues, i.e. negative feedback. Apr 01 00:11:46 Well Apr 01 00:11:49 Pastebin! Apr 01 00:12:07 Well what/ Apr 01 00:12:27 I know. It is complicated. Apr 01 00:13:16 I think I just need to find out what specific packages I need Apr 01 00:13:38 So...you can sign in, complete cmds, and the system gives your garbage in return once you use the cmd startx? Apr 01 00:13:50 Yes because the X server is failing Apr 01 00:14:03 WiFi or Ethernet? Apr 01 00:14:12 Ethernet Apr 01 00:14:26 Can you update and upgrade your system? Apr 01 00:14:29 Yes Apr 01 00:14:36 I mean I'm installing various packages Apr 01 00:14:44 Okay. I got you. Apr 01 00:15:08 getting "EGL_MESA_drm_image required" Apr 01 00:15:17 Oh. Apr 01 00:15:22 and "modeset(0): glamor initialization failed" Apr 01 00:15:40 Did you look up those errors yet? Apr 01 00:16:04 I can look them up if you have not. Apr 01 00:16:20 Yeah, I've looked them up. Apr 01 00:16:36 I didn't get any useful results. Apr 01 00:17:01 Okay! So, if you want (still), I will look up what i can find on those specific errors and we can share. Apr 01 00:17:20 Who knows? We may be able to figure it out. Apr 01 00:17:35 Oh, yeah, that's fine. Apr 01 00:17:49 Okay. Up, up, and away! Apr 01 00:17:52 Brb Apr 01 00:18:02 At the very least I could just use X forwarding over SSH if need be, but that's not ideal at all. Apr 01 00:18:42 You are using a Virtual Box or something? Apr 01 00:22:06 Do you have the server? Apr 01 00:22:20 Server? Apr 01 00:22:23 oh Apr 01 00:22:30 also brb Apr 01 00:22:34 Okay. Apr 01 00:23:31 https://bbs.archlinux.org/viewtopic.php?id=206470 <<<< something interesting I have been reading on this subject. Apr 01 00:25:10 https://wiki.archlinux.org/index.php/Main_page <<<<< damn! You have all sorts of issues solved for Arch Linux. Apr 01 00:28:38 FL4SHK: I found something about running things for Archers ----> https://wiki.archlinux.org/index.php/Frequently_asked_questions Apr 01 00:28:44 ... Apr 01 00:28:59 Look for starting package X. Apr 01 00:30:06 Yeah, that's not X11, heh. Apr 01 00:30:12 I think I've got the wrong driver of some sort installed. Apr 01 00:30:26 Sir, do you want a desktop environment or a window manager? Apr 01 00:30:35 I'd be happy getting either of those working. Apr 01 00:30:43 Okay. Please hold. Apr 01 00:31:41 What did you install w/ pacman, e.g. gnome, xfce, etc? Apr 01 00:31:57 I installed simply twm. Apr 01 00:32:07 twm. Okay. Hold again. Apr 01 00:33:36 Sir, I could not find twm. But I found a ton of stuff on Desk. Env. Apr 01 00:33:58 Oh, well, I think this is an Arch specific problem. Apr 01 00:34:49 I found LXDE, you can install this w/ https://wiki.archlinux.org/index.php/LXDE. Apr 01 00:35:43 It's not the DE installation that I'm struggling with, mind you. It's the fact that I can't boot X at all :P Apr 01 00:36:09 I understand. Maybe it is not installed correctly w/in the arm distro from Arch. Apr 01 00:36:20 That's possible Apr 01 00:36:36 Let me double check the hardware again Apr 01 00:36:40 Okay. Apr 01 00:37:28 powervr Apr 01 00:37:41 lxde-common, lxsession, and openbox is needed for LXDE. Apr 01 00:37:51 powervr is your desktop environment? Apr 01 00:37:58 PowerVR is the hardware Apr 01 00:38:05 sounds like that's the name of the GPU Apr 01 00:38:29 https://archlinuxarm.org/platforms/armv7/ti/beaglebone-black from this page :P Apr 01 00:39:31 Hacking is not easy. Try the LXDE. Apr 01 00:40:43 Eh, alright. Apr 01 00:41:07 If not, we can also try others like gnome or xfce. Apr 01 00:41:15 LXDE is lightweight. Apr 01 00:41:20 I don't think the DE is the issue though. Apr 01 00:41:25 Oh. Apr 01 00:41:39 Still probably going to use LXDE once all the issues are gone though :P Apr 01 00:41:47 Okay. So, there is a set up/configuration issue from the past that may be an issue? Apr 01 00:42:02 ... Apr 01 00:42:15 No, nope, this is a fresh install. Apr 01 00:42:43 I just do not know everything you are going through on your system. You could have config. issues that have nothing to do w/ what we are discussing. Apr 01 00:43:07 Well, alright, at least we tried :P Apr 01 00:43:13 HHeh? Apr 01 00:43:17 Wait. Apr 01 00:44:05 once in LXDM, your display manager in LXDE, define LXDE in xinitrc. Apr 01 00:44:10 Okay. Apr 01 00:44:26 so, ~/.xinitrc Apr 01 00:44:30 then... Apr 01 00:44:37 exec startlxde Apr 01 00:45:42 "failed to load driver: tilcdc" Apr 01 00:46:40 Wait...did you install lxde-common, lxsession, and openbox? Apr 01 00:46:47 Yes Apr 01 00:49:44 Who knows, maybe that LXDE is not available on the Arm Distro. Let me check. Apr 01 00:49:59 hi i just flashed Debian 9.3 2018-01-28 4GB SD LXQT to my BBBW and i am getting Error wifi: Method "SetProperty" with signature "sv" on interface "net.connman.Technology" doesn't exist Apr 01 00:51:10 FL4SHK: There are dependencies. Apr 01 00:52:03 LXDE is available. Apr 01 00:52:15 It is definitely the drivers causing me problems. Apr 01 00:52:18 I might as well switch distros. Apr 01 00:52:42 Look for https://archlinuxarm.org/packages/any/lxde-common. They are optional but may be useful. Oh and sir, use groups. Apr 01 00:52:58 I already have LXDE installed. Apr 01 00:53:02 I am a newbie w/ groups but it seems like you must have groups enabled (or something like that). Apr 01 00:53:54 Let me look up your error. Apr 01 00:55:24 https://e2e.ti.com/support/arm/sitara_arm/f/791/p/610110/2246324. It states you need both LXDE and gtk3. Apr 01 00:55:34 Install gtk3. That should work. Apr 01 00:57:55 already got it Apr 01 00:58:00 Hmmm. Apr 01 00:58:11 The damn instructions state what the instructions state. Apr 01 00:58:18 I am beat. Please hold. Apr 01 00:58:22 No, that's alright Apr 01 00:58:27 I think it's a drivers issue. Apr 01 00:58:29 Hahahah. Apr 01 00:58:30 Okay. Apr 01 00:59:08 https://archlinuxarm.org/forum/viewtopic.php?f=28&t=5780 <----- BBB stuff! Apr 01 01:00:28 oh apparently there's just an Xorg config thing. Apr 01 01:00:32 time to get ahold of that. Apr 01 01:00:38 Hey...do you have a cape? Apr 01 01:00:50 Not yet. Apr 01 01:00:59 So, just a usb to monitor/computer? Apr 01 01:01:00 I have ideas for things to do with this thing. Apr 01 01:01:04 Okay. Apr 01 01:01:06 use the pru Apr 01 01:01:06 actually microHDMI Apr 01 01:01:11 Oh. Okay. Apr 01 01:01:16 the PRU interests me as well Apr 01 01:01:20 Me too. Apr 01 01:01:26 Fast! Apr 01 01:01:32 I'll have to look at the instruction set for that thing. Apr 01 01:02:04 I was reading. I found a ton of resources. I will understand if you want to discuss this issue w/ other people. Apr 01 01:02:31 Yeah, I think that thing you posted will work. Apr 01 01:02:36 I bet that 10-screen.conf will work. Apr 01 01:02:47 It seems like they "solved" it. Apr 01 01:02:56 Maybe that last link will help. Apr 01 01:04:30 ... Apr 01 01:04:48 If all else fails, I can set up the system on my BBB and try. I would have to get back to you, though. Apr 01 01:06:48 yes so that last link got it Apr 01 01:06:50 I am now in. Apr 01 01:06:52 Woo Apr 01 01:06:56 excellent. Apr 01 01:07:31 https://archlinuxarm.org/forum/viewtopic.php?f=28&t=5780 last post on this page Apr 01 01:10:04 Yep. Apr 01 01:10:06 Cool. Apr 01 01:10:12 What next? Apr 01 01:11:54 Hey man...I am sorry to send you for a loop but I only know so much about that issue from what I read. I guess, since it worked, we are even. Apr 01 01:12:11 loop = answer Apr 01 01:17:19 Yeah it was a simple fix. Apr 01 01:17:26 I probably don't have OpenGL acceleration here. Apr 01 01:17:32 I'm gonna want to set up a VNC session Apr 01 01:17:36 And then use a mouse via that. Apr 01 01:17:44 Since my USB hub appears to be dead, heh. Apr 01 01:18:01 oh wait Apr 01 01:18:06 no, it's just not powered well enough. Apr 01 01:18:08 That explains it Apr 01 01:18:24 Oh. Apr 01 01:18:42 Hmmm. Apr 01 01:18:58 Damn hubs suck. I used to use them. Apr 01 01:19:36 I didn't give it a high enough voltage. Apr 01 01:19:43 it wanted 7.5V, but I gave it 5.0V Apr 01 01:19:52 Oops. Apr 01 01:21:23 Hey. Apr 01 01:21:43 You can type tightvnc and get online that way w/ a GUI. Apr 01 01:22:07 Yes Apr 01 01:22:21 just remember to use the :1 or whatever number you are using to use vnc viewer. Apr 01 01:22:26 ye Apr 01 01:23:06 I had some trouble a while back and found my vnc viewer did not work but it was b/c of the number, e.g. 192.168.7.2:1 and I needed :2 instead. Apr 01 01:23:26 I've got ethernet set up. Apr 01 01:23:32 Cool beans! Apr 01 01:26:39 small details. Shessh. Apr 01 01:32:50 My desktop env. is acting up. I have as gray screen w/ odd values posted when I type in the terminal. Apr 01 01:33:04 My distro works but not LXDE. Apr 01 01:33:35 oh Apr 01 01:33:43 I know. Odd days. Apr 01 01:33:53 It is no issue though. I do not use it all that much. Apr 01 01:34:08 Actually never. I just like to test it out every now and then. Apr 01 01:35:03 Hey FL4SHK: Does your DE work well? Apr 01 01:35:15 I just wanted to get X working as a whole Apr 01 01:35:38 Oh...okay. Apr 01 01:35:49 So, does it? Apr 01 01:37:38 I haven't tested it yet. Saving that for tomorrow possibly. Apr 01 01:37:54 Oh. Apr 01 01:38:14 Reason for that is that I'm getting off the computer for the night. Apr 01 01:38:23 Okay. I guess if nothing is working then (tomorrow), you can always come back and ask away. Apr 01 01:38:30 I'm sure it'll work. Apr 01 01:38:48 There are more intelligent people here w/ more info. than I. Apr 01 01:38:56 Good luck! Apr 01 01:39:28 Thank **** ENDING LOGGING AT Sun Apr 01 03:00:01 2018