**** BEGIN LOGGING AT Thu May 28 02:59:58 2015 May 28 03:01:19 ds2: accelerometer is ok, but magnetometer driver is more broken: https://gist.github.com/jadonk/ebeef7fb784226fdc80b May 28 03:05:21 CONFIG_INPUT_MISC=y May 28 03:06:50 https://github.com/beagleboard/linux/blob/a5f41fe5ebb4704f616bc36cf84c515305ff6f8d/include/linux/input-polldev.h May 28 03:12:50 ah, # CONFIG_INPUT_POLLDEV is not set May 28 03:13:18 where is the source code for g_multi available? i'm looking to create my own gadget May 28 03:38:14 anyone around that can still "ping rcn-ee.com" and get a response? ;) May 28 03:40:59 rcn-ee: no ping, no http. .net works. May 28 03:41:50 lathiat, .net is a mirror ;) iptables hasn't taken over the .com... had an active ssh connection and working on the fix, but it kicked me out.. ;) May 28 03:42:24 jkridner: got it fixed? May 28 03:42:36 anybody here actually built a gadget? May 28 03:42:43 I have that driver patched into 3.2 so the core should be fine May 28 03:42:44 (usb) May 28 03:43:05 tpw_rules: sure... it is pretty easy... its all about shuffling URBs May 28 03:43:19 rcn-ee: yeah wasn't sure how related, only noticed because i typed rcn-ee into chrome and it autocompleted the wrong domain :P May 28 03:43:32 ds2: i haven't looked at the source yet, is that where all the docs are hiding? May 28 03:43:47 tpw_rules: sort of... look at g_zero May 28 03:43:50 i have experience with avr's v-usb May 28 03:44:07 in other news im glad to see that it appears like we almost hopefully kindof finally have nearly (tm) everything for dynamic device overlays May 28 03:44:07 in the kernel source that's all stuffed into a legacy folder May 28 03:44:19 from watching https://www.youtube.com/watch?v=3Ag7ZBC_Nts ELC 2015 - Transactional Device Tree & Overlays - Pantelis Antoniou, Konsulko Group May 28 03:44:56 i haven't ever done usb with linux though May 28 03:45:11 lathiat, that's in our 4.1 branch right now. ;) May 28 03:45:27 rcn-ee: ah it is? nice :D May 28 03:45:35 i only just started looking into this last week.. seems like I picked a *really* good time to look into it May 28 03:45:43 where looking into it = "how do i not run 3.8" May 28 03:45:48 it is pretty straight forward. you register stuff like descriptors and your user facing side in your init/probe functions May 28 03:45:51 i feel sorry for everyone working on it for 2-3+ years, sheesh May 28 03:46:00 when a host attaches, you respond May 28 03:46:30 lathiat, https://github.com/beagleboard/linux/tree/4.1 + https://github.com/beagleboard/bb.org-overlays May 28 03:46:39 maybe i need to look at it when i'm not tired. i'll surely be bacjk May 28 03:47:01 thanks rcn-ee May 28 03:47:38 oh, oh, theres some preliminary capemgr replacement support too? wow! May 28 03:48:05 lathiat, exactly :0 May 28 03:48:17 hats off to you guys May 28 03:48:25 i shall give that a whirl May 28 03:49:59 has anybdoy heard of a project emulating an ipod accessory? that's my goal May 28 03:50:16 tpw_rules: those are murky waters :/ May 28 03:50:31 in general May 28 03:50:35 i have all the illegit chinese docs. but why? May 28 03:50:45 i love apple for lots of things but the way they close up some of this stuff seems unncessary :/ May 28 03:51:07 though i was surprised to learn you can fake a homekit device without iOS exploding (though it does warn)... be interesting to see if that stays or not May 28 03:51:11 well it's a personal project May 28 03:51:18 i'm faking being an ipod rather May 28 03:51:43 i can't seem to find a car stereo with NSF support so i'm toying with emulating an ipod and music library May 28 03:51:59 tpw_rules: that is the problem.. a lot of the stuff you need to make accessories for idevices etc is pretty much impossible to ascertain as a hobbyist, you must you the mFi program which is difficult and has many legal requirements May 28 03:52:10 tpw_rules: ah, so like, your car has an ipod input? May 28 03:52:13 yeah May 28 03:52:16 tpw_rules: that might be easier than you think May 28 03:52:35 tpw_rules: it would depend on how the stereo implements it, but if its using the analogue audio output it may not be too hard to trick it to switch input, eve if you dont send any metadata in May 28 03:52:54 it's easier with the lightning stuff afaik though. it presents itself as an HID device and then sends a custom protocol over vendor specific messages May 28 03:52:59 nah that's not what i want May 28 03:53:14 i want to be able to make my own library so i can search it and use voice control and stuff May 28 03:54:59 so i dunno.... we shal see May 28 03:55:10 i also happen to have the ability to sniff usb so May 28 03:58:14 well who knows. i'll definitely be back and more annoying than ever. good night everybody May 28 05:16:14 Hello May 28 05:17:20 I checked out kernel v4.1 , the latest one, and I followed the steps to enable spi here : http://elinux.org/BeagleBone_Black_Enable_SPIDEV May 28 05:17:54 however after reboot the spidev is never there May 28 05:18:18 cape_mgr/slots does not show the entry i added May 28 05:18:30 rcn-ee any suggestions ? May 28 05:21:25 ankitdaf, cat /proc/cmdline May 28 05:24:30 http://pastebin.com/vHDG4Chh May 28 05:24:37 rcn-ee ^ May 28 05:25:02 ankitdaf, capemgr.enable_partno=BB-SPI0-01 -> bone_capemgr.enable_partno=BB-SPI0-01 May 28 05:28:15 rcn-ee done, rebooted, dmesg output here : http://pastebin.com/HDtXhJsf May 28 05:29:35 ankitdaf_, did you tweak BB-SPI0-01 for v4.1.x or just copy the 3.8 version? May 28 05:36:26 rcn-ee ok got it, i had not recompiled using bb.org-overlays and now spidev is here May 28 05:45:33 rcn-ee rebooted but getting the same issue agai May 28 05:45:35 *n May 28 05:46:29 spidev showed up after a reboot, then disappeared when i rebooted again May 28 05:47:41 rcn-ee I did not tweak anything for v4.1.x though May 28 05:52:56 I am not very sure what needs to be tweaked May 28 10:10:54 Hello ! May 28 10:11:27 Can someone please point me to the source for the 4.1.0-rc5-bone ? May 28 10:11:58 I can't seem to find it anywhere, and specifying it with apt-get only redirects me to the linux-upstream, which then fails May 28 10:21:06 I am trying to get source package for 4.1.0-rc5-bone3 and I am unable to get it. Any help in how to get source for 4.1.0-rc5-bone3 liux-image? May 28 10:21:54 np_raven: I don't think there is a ssource package as such, but there is a git repository to build from May 28 10:22:16 @tbr can you please point me to the git repo ? May 28 10:24:33 https://eewiki.net/display/linuxonarm/BeagleBone+Black May 28 10:25:53 @tbr: Thanks! May 28 11:32:52 Can anyone help me in getting spi working on 4.1.0-rc5-bone3 ? May 28 11:32:52 May 28 11:34:18 I am getting omap2_mcspi 48030000.spi: chipselect 0 already in use when I try enabling BB-SPI0-01-00A0 May 28 11:34:18 May 28 11:34:19 May 28 12:10:08 hello. How can i know why a script "myscript" put in etc/init.d (or the S18myscript link in /etc/rcS.d) works if launched at the terminal but it is not executed at boot? (using Debian LXDE on a BBB) May 28 12:11:14 (the script just start a windowed app) May 28 12:11:46 please help on enabling gpio pin 159 for lighting an LED.......please help somebody May 28 12:12:49 Parduz: i'd guess because that early in the boot process, you're far away from any X system or window manager May 28 12:13:27 Parduz: sound more like you want something like nodm plus script May 28 12:14:05 it should be the last script to be executed.... if i've right understood the meaning of "# Required-Start: $all"รน May 28 12:14:39 as a noob, i don't understand your second statement about nodm May 28 12:15:00 Parduz: IRC rul #1: "if you don't know the meaning of a word, google it" May 28 12:15:32 if your script depends on an x user session, start it as a part of that. there are ways May 28 12:15:53 Parduz: add probable keywords to refine your search. so i guess "linux X11 nodm" or variations thereof should give you an idea. May 28 12:16:45 why not write a proper systemd unit? May 28 12:16:52 one that declare that it needs X May 28 12:16:56 i googled for it. I don't understand what exactly do. Let me pose this question: does it mean that this quide is for "non-X" app only? May 28 12:16:57 http://xmodulo.com/how-to-automatically-start-program-on-boot-in-debian.html May 28 12:17:18 av500: or that. May 28 12:17:22 how to set bbXm gpio through .dts device tree overlay file May 28 12:17:36 Parduz: this guide is very basic May 28 12:17:41 Parduz: that guide is very X11-ish. May 28 12:17:49 ah, very un-X11-ish i meant. May 28 12:17:52 m/ May 28 12:17:56 ok May 28 12:17:56 http://superuser.com/questions/759759/writing-a-service-that-depends-on-xorg May 28 12:18:00 Parduz: ^^^ May 28 12:18:16 please do not ask "what is systemd" May 28 12:18:25 at least not here :) May 28 12:18:40 kk, going reading that question. Thanks May 28 13:11:25 any known cons about using a ~/.config/autostart/myapp.desktop file? 'cause it works :) May 28 14:46:48 ds2: I rebuilt the kernel with INPUT_POLLDEV=y (http://builds.beagleboard.org/builders/build-kernel/builds/38) May 28 14:47:06 ds2: now I'm getting 'scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: "(" unexpected' when I try to build the modules. May 28 14:50:14 summary at https://gist.github.com/jadonk/ebeef7fb784226fdc80b May 28 14:52:50 Hi all, I am trying to integrate ads7846 over spi May 28 14:53:20 stuck at an error --> omap2_mcspi 48030000.spi: chipselect 0 already in use May 28 14:53:22 any ideas ? May 28 15:39:39 I had assumed that the /dev/spidev1.x and /dev/spidev2.x entries corresponded to SPI0 and SPI1 respectively. It's looking instead like spidev1.x is the first bus enabled May 28 15:40:00 i.e. if the BB-SPIDEV1 overlay is loaded before BB-SPIDEV0 then spidev1.x will be SPI1 and spidev2.x will be SPI0 May 28 15:40:14 anyone know more about that? May 28 15:43:25 jkridner perhaps? May 28 15:44:20 the kernel currently assigns names incrementally, rather than associated to a hardware identifier. May 28 15:44:30 bummer May 28 15:45:54 any plans to change that, or is that the proper Linux way to do it? May 28 15:46:21 seems to me like the bus number should actually mean something May 28 15:50:36 Hey all, I'm having a network connectivity issue and wanted to know if anyone had a similar issue. I'm running Ubuntu 14.04.2 on a beaglebone black. This issue happens when using an ethernet cable or USB as ethernet and happens every time the board is connected to my machine. May 28 15:50:45 I can establish a route to the board's IP and SSH into it, but after a short time (< 1 minute) the connection to the beaglebone is lost, SSH hangs, and the route to the board (shown via 'ip route ls') disappears. If you disconnect and then reconnect the ethernet cable you can re-establish the connection before it is lost again. This has continued to happen despite re-flashing Ubuntu. May 28 15:51:58 jkridner: that's not the case for I2C, is it? May 28 15:52:05 it is May 28 15:52:08 :( May 28 15:52:28 you'll see /dev/i2c-1 is typically I2C2. May 28 15:52:43 so, if you enable I2C1, it'll be /dev/i2c-2 May 28 15:52:44 I assumed it was /always/ I2C2 May 28 15:52:53 I mean I2C1 May 28 15:52:58 Is that what PyBBIO does? May 28 15:53:01 yeah May 28 15:53:21 I guess it needs to look what's there right before enabling a bus May 28 15:53:24 I2C2 is the capebus i2c (ie., /dev/i2c-1) May 28 15:53:39 oh right, which is enabled by default, so taht should be ok May 28 15:54:11 yeah, I2C1 is the one that isn't always enabled. May 28 15:54:32 but it assumed spidev1.x is SPI0 and spidev2.x is SPI1, which is only true if you enable SPI0 first May 28 15:54:50 how does bonescript do it? May 28 16:00:45 jkridner i am stuck at an error --> "omap2_mcspi 48030000.spi: chipselect 0 already in use" May 28 16:00:52 any suggestions ? May 28 16:01:11 got an SPI device driver already loaded? May 28 16:01:14 i am trying to enable support for ads7846 touch screen over spi0 May 28 16:01:28 not in lsmod May 28 16:01:43 anywhere else i should check ? May 28 16:04:20 everytime i reboot, i have to "echo BB-ADS7846 > /sys/devices/platform/bone_capemgr/slots" May 28 16:04:29 that's when i get that dmesg output May 28 16:04:35 jkridner ^^ May 28 16:04:41 nothing else is loaded May 28 16:05:02 * jkridner is on a call May 28 16:35:09 if i have a device that uses 4-20mA input to set a value, how would i use the bbb to interface with it? May 28 16:35:21 external dac? May 28 16:36:39 sounds like analog device? May 28 16:36:46 yes May 28 16:37:13 tried the analog i/o pins? May 28 16:37:22 theres only analog input pins May 28 16:37:26 not output May 28 16:52:48 jkridner are you around ? May 28 16:52:55 yeah. May 28 16:53:10 there are other entries for SPI in /sys May 28 16:53:31 ls /sys/bus/spi/devices/ May 28 16:54:43 spi1.0 May 28 16:55:27 just that May 28 16:56:59 do you have the HDMI disabled? any chance it is conflicting with the pins you need? May 28 16:58:02 * jkridner takes a look at http://beagleboard.org/support/bone101/#headers May 28 16:58:03 I am using SPI , no HDMi there May 28 16:58:22 I guess SPI0 is OK. May 28 16:58:23 *I am using SPI0 May 28 16:58:26 yes May 28 16:58:31 17,18,21,22 May 28 16:58:34 SPI1 shares pins with HDMI, using it or not you'd need to disable it. May 28 16:59:15 yep, safe on that front May 28 16:59:25 config-pin -i p9.17 May 28 16:59:49 * jkridner wonders if cape-universal has spi-dev loaded. May 28 17:00:19 if you are seeing other entries in /sys, then would you believe the kernel when it says cs0 is busy? May 28 17:01:36 config-pin is command not found May 28 17:02:02 jkridner other than spi1.0 you mean ? May 28 17:02:18 i see nothing except spi1.0 , completely empty May 28 17:03:40 ankitdaf: uname -r && cat /etc/dogtag May 28 17:04:54 4.1.0-rc5-bone3 May 28 17:04:54 rcn-ee.net console Ubuntu Image 2015-04-09 May 28 17:05:03 nice! May 28 17:05:11 agreesive. May 28 17:05:21 (please ignore that spelling) May 28 17:05:26 haha, spent 3 days and counting May 28 17:05:33 losing it here ;) May 28 17:06:06 I haven't spent any time playing with 4.1 yet. :( May 28 17:06:14 want to take a look at the dts file ? just in case ? May 28 17:06:21 it is in my near-term priorities. May 28 17:07:01 ankitdaf: can't hurt to pastebin it May 28 17:07:31 http://pastebin.com/W6xSBzQL May 28 18:18:07 do the bbb's haveca poly fuse on them? one of my boards started to refuse to take power and i wanted to check that before i have to throw it out. thanks May 28 18:19:23 polyfuses reset automatically after they cool. May 28 18:19:58 thats what i thought May 28 18:20:17 jusr trying to isolate what may have broke May 28 18:20:21 er just May 28 18:21:12 and, i do not think the bone has one anyway. May 28 18:21:36 but the schematic will show one way or another. May 28 18:22:05 back to the schematics and meter i go :) May 28 18:23:08 or just get a new one. ;-P May 28 18:23:42 agmlego|skynet: meh..got plenty.. just wanted to troubleshoot it May 28 18:24:51 anyone have opinions regarding what on http://beaglebonecapes.com should be stocked by distributors? May 28 18:24:53 heh. May 28 18:25:06 hi agmlego|skynet... you going to be around i3 tonight? May 28 18:25:20 * jkridner is at a typical level of unpreparedness. May 28 18:25:35 * jkridner is looking for a few more webcams. May 28 18:31:50 bleh webcams May 28 18:32:06 better to make a trip to vegas May 28 18:43:48 jkridner: nope, sailing tonight. May 28 18:58:58 * jkridner is thinking of going to Vegas in August around DEFCON. May 28 18:59:33 by webcams, I meant USB cameras. May 28 19:00:23 yes and by that comment I mean - you cannot be sure they will work or behave the same as a previous batch May 28 19:01:16 way too often have mfgs made "improvements" that totally screw things but never updated the box/model number/etc May 28 19:01:50 haha that bbb i thought was broke appears to be fine now May 28 19:01:51 heh May 28 19:02:09 guess sitting for a while... who knows May 28 19:02:11 ha May 28 19:02:20 cheers all May 28 19:26:09 hi, Ip May 28 21:59:36 hi all, i would like to build server web on bbb, but when i try install lighttpd-module-fastcgi i recive E: Unable to locate package lighttpd-module-cgi, which reposityory should i add to source list? May 28 22:00:02 i use debian wheezy May 28 22:00:08 from oficial side May 28 22:00:12 site* May 28 22:08:41 wolf91, "lighttpd"... May 28 22:09:01 only? May 28 22:09:20 yeah, doesn't seem to be broken out into a cgi specific one in either ubuntu/debian.. May 28 22:09:38 https://packages.debian.org/jessie/lighttpd list's cgi... May 28 22:09:39 and after php5-cgi? May 28 22:10:26 ok thx:> May 29 00:11:47 i have server now, but have a problem too... i configure php-fpm on local host and port 9001 and tested was successful. i write simple php page with exec. when use terminal to run php script (php script.php) exec run successful, but when i try use a web browser nothing is doing... May 29 00:12:26 i installed and configured according to this page https://www.howtoforge.com/installing-lighttpd-with-php5-php-fpm-and-mysql-support-on-debian-wheezy May 29 02:33:06 Can't seem to find the kernel source headers for 4.1.0-rc5-bone3, any leds May 29 02:33:12 *leads ? May 29 02:33:50 rcn-ee I tried what you said, currently stuck at dmesg saying chipselect 0 is already in use May 29 02:35:29 searched pretty much everywhere, can't figure out why .. no other spi devices show up **** ENDING LOGGING AT Fri May 29 02:59:59 2015