**** BEGIN LOGGING AT Tue Mar 15 02:59:58 2016 Mar 15 03:59:42 Has anybody experienced USB crashes when with Debian 8.3 on BBW? Mar 15 04:00:12 I can't pinpoint precisely what causes them, but seems to be related to havind the device open for a long time Mar 15 04:00:41 Here are messages from syslog: http://pastebin.com/6rzmW5JX Mar 15 04:01:06 Kernel is Linux beaglebone 4.1.15-ti-rt-r41 #1 SMP PREEMPT RT Thu Jan 14 20:33:29 UTC 2016 armv7l GNU/Linux Mar 15 04:01:30 After the crash any process accessing the audio device just hangs Mar 15 04:02:41 USB seems to be dead, does not notice that a device has been disconnected, or connected Mar 15 04:03:12 regardless of what is connected, lsusb always shows the devices from before the crash Mar 15 06:50:26 Well I got something simple working on my BeageBone Black. :) Mar 15 06:50:28 https://www.dropbox.com/s/rizt3p52pu75wui/photo612168037116782549.jpg?dl=0 Mar 15 06:50:46 UPS and Network information retrieved over SNMP. Mar 15 09:38:06 Hi. I'm trying to flash my BBB rev A5C with Debian 8.3 but after a while all four leds blink twice every second or two. I never reach the all leds lit steadily phase. Any ideas? Mar 15 09:38:25 As I understand it I cannot monitor the progress through the HDMI port. Mar 15 10:28:52 michaelis: you probably tried to use a 4gb flasher instead of a 2gb flasher? Mar 15 10:29:02 (only BBB rev C has 4gb of eMMC) Mar 15 10:30:39 zmatt: You are right. What options do I have then? I don't see any 2GB images on beagleboard's homepage. Mar 15 10:30:58 zmatt: My mistake. I actually do. Mar 15 10:31:45 the latest ones can also be found here -> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Jessie_Snapshot_lxqt Mar 15 10:52:23 zmatt: Great. Thank you for your help. Mar 15 12:33:33 Hey, it worked. Thank you very much for your help. Mar 15 12:35:00 piranha32: if you've got usb client (host A port) working .. its not stable or reliable. Mar 15 12:35:12 not client* scratch that Mar 15 12:58:24 veremit: BBW or host port? Mar 15 12:59:09 am335x processor on B* boards host port Mar 15 13:08:17 there was time that usb was crapping constantly, but then Koen/Robert got it to work. I had the board running as a server for remote sdr and it worked fine for weeks Mar 15 13:09:39 Is it possible to use an external USB drive to expand the storage? Mar 15 13:09:46 I have a BBB- Mar 15 13:09:48 . Mar 15 13:10:15 if usb doesn't crap - yes Mar 15 13:10:57 just mount the disk Mar 15 13:11:49 veremit: do BBBs behave better? Mar 15 13:12:30 piranha32: its a silicon issue with the driver. Mar 15 13:12:56 michaelis: yes you can .. but not easily to increase the system storage Mar 15 13:13:38 piranha32: if you have a driver/kernel combination that works for you (I'm lucky I have a usb hdd attached to mine permanently!) .. its ok, but there are noted flaws Mar 15 13:29:04 veremit: Ok, I see. Do you have any examples of the BBB being used as a file server? Mar 15 13:30:01 michaelis: not really, as a linux device, it does all the things any other linux box does .. nfs, samba/cifs, sshfs, etc ... Mar 15 13:30:37 can't remember the macos/osx one Mar 15 13:34:55 veremit: Ok. Thank you. Mar 15 13:39:16 ok, so bit 13 of the pru core control register indicates an exception occurred... why the hell didn't they document that bit Mar 15 13:54:42 Hello Mar 15 13:54:46 veremit: sigh, I'll have to dig out an ancient angstrom image Mar 15 13:55:08 zmatt: because that would be Obvious!!! Mar 15 13:55:33 piranha32: I'm not sure which permutations are better/worse .. but I know mine works with a 3.12 or 3.13 kernel lol Mar 15 13:55:47 Anyone has an idea how to interface turnigy 9x radio transmitter with the beaglebone black Mar 15 13:55:58 I coudn't find any drivers online. Mar 15 13:58:40 veremit: I don;t remembed which kernel it was, but it was something form 3.x line Mar 15 13:59:03 o,O Mar 15 13:59:51 3.8 kernels were definitely popular .. and for a long time 2.6 was 'standard' for arm :/ sometimes still is, patched Mar 15 14:05:16 https://www.indiegogo.com/projects/sancloud-beaglebone-enhanced#/ Mar 15 14:09:07 av500: thanks, I was wondering where the extra USB ports are.. looks like they used the location where the uart was and moved that in the corner... Mar 15 14:12:45 Testing @beagleslackbot for https://beagleboard.slack.com/messages/general/ Mar 15 14:13:11 looks good Mar 15 14:16:07 av500: that looks cool Mar 15 14:16:36 jkridner et al : no, not MORE spam! :P lolol Mar 15 14:20:35 zmatt: you need to ping the sancloud folks with your pmic concerns :p Mar 15 14:40:08 ./PRU_PRUtoPRU_Interrupt INFO: Starting PRU_PRUtoPRU_Interrupt example. prussdrv_open open failed Mar 15 14:40:32 ive tried every possible solution on net and nothing happens Mar 15 14:40:42 echo command also fails Mar 15 14:45:34 kartik_: can't help you myself .. not touched the PRUs yet Mar 15 14:50:35 hello everybody, I have a very small question Mar 15 14:52:01 I want to use a beagle board black as some kind of GSM mini-router and use the USB device side as an ethernet connection Mar 15 14:52:46 do you thing it's feasable ? Mar 15 14:52:52 karthik_: requires patience around here. :( Mar 15 14:53:14 mobytron: don't see why not. OpenBTS-type thing? Mar 15 14:53:51 for USB to Internet, would you bridge it somehow with another computer? Mar 15 14:53:59 Why not just connect it to Ethernet? Mar 15 14:54:06 why not use ethernet as ethernet, right :) Mar 15 14:54:18 except its usb -sigh- Mar 15 14:55:35 mobytron: what's your GSM interface? Mar 15 14:56:23 which reminds me .. must couple up this Telit board to something with a rs232 port .. hmm. Mar 15 14:56:45 or if its still TTL .. bbb would work :D Mar 15 14:57:34 afk a few Mar 15 15:01:36 An LTE USB key Mar 15 15:02:27 this I want to connect to the usb host side and to the usb device side plug it in a pc or phone and being discovered as an Ethernet interface Mar 15 15:05:55 I don't want to connect the USB LTE modem directly becaue I want to export something standard and not be concerned of different protocols that the LTE modems support Mar 15 15:06:10 not to mention stupid initialization sequences Mar 15 15:06:53 for example the telit module speaks QMI but needs the monstrous modem manager to actually work Mar 15 15:13:22 calculus: are you joining #beagle-gsoc and accepting mentor role? Mar 15 15:13:34 nerdboy implied that you are. Mar 15 15:13:38 or would, if asked. Mar 15 16:20:33 Hello everyone! I wish to participate in GSoC with BeagleBoard as there are a lot of interesting work to do. I will be very grateful if someone helps me with sorting things out. Is it still possible to apply for any of the projects? If so, where can I find mentors e-mails to contact them? Mar 15 16:20:53 alartum: yes.... you should check out #beagle-gsoc as well Mar 15 16:21:12 I'm not sure of the deadline, so you should check that carefully. Mar 15 16:23:49 Ok, thanks. I have already posted a thread there. Mar 15 16:47:33 Hi Mar 15 17:34:32 hello everyone, i have a question about interfacing a beagleboard xm with a character lcd. I'm about to write a kernel module to write on the lcd, so i tried this to test out the lcd https://github.com/hsm5xw/Linux-Device-Driver-for-Character-LCD-Kernel-Level/blob/personal/code/klcd_final/ioctl_testDir/driver.h Mar 15 17:34:39 but that didnt seem to work Mar 15 17:35:23 so i thought maybe the pin mux is not set to gpio by default, saw that to change that i have to write some devicetree overlays Mar 15 17:35:46 how do i find out the currently set pin mux mode? i have debian 8 on the beagle with 4.4 kernel Mar 15 17:40:05 dsky: I don't know, But - here's web page that generates device trees and it's very handy http://kilobaser.com/blog/2014-07-28-beaglebone-black-devicetreeoverlay-generator Mar 15 17:42:41 nice, thanks, you think this will work for beagleboard xm? Mar 15 17:48:01 I have no idea - you are the intrepid adventurer who will discover that for us all! Mar 15 18:14:34 I'm trying to load uio_pruss.ko and modprobe uio_pruss fails with Module not found. Any idea where I can find this elusive module? Mar 15 18:17:34 try updatedb && locate uio_pruss.ko Mar 15 18:22:35 twoten: make sure you have a -bone kernel and not a -ti kernel Mar 15 18:23:07 if I understand correctly TI is deprecating uio_pruss in favor of remoteproc Mar 15 18:23:11 Hmm Mar 15 18:23:43 I've got an amazing beagle that fails on the sd cards I put into it.. the others are fine on the same card... Mar 15 18:24:22 oh no I do have a ti kernel - I'm going to have to switch! Mar 15 18:25:24 twoten: simple matter of apt-get installing the desired kernel Mar 15 18:26:33 if you want to stay relatively close to the kernel you have (I'm assuming a 4.1-ti series) the latest would be 4.1.19-bone20 Mar 15 18:27:38 gotcha! Mar 15 18:27:46 or you can get more adventurous with 4.4.5-bone5 or (released yesterday!) 4.5-bone3 Mar 15 18:28:29 in all cases sudo apt-get update && sudo apt-get install linux-image-VERSION where VERSION is one of the aforementioned Mar 15 18:29:16 those crazy fresh kernels would be like putting my beagle on drugs! Mar 15 19:22:25 how do I bash the bbb to give me a bit more colour depth at higher resolutions? Mar 15 20:11:29 hello Mar 15 20:13:03 i have debian installed on a BBB, and i can't seem to get hdmi audio. the related kernel modules are loaded, but no sound cards are detected. is there hdmi audio support with bbb ? Mar 15 21:14:18 ashes-mobile: you have to make sure to choose a "VESA" mode that has audio support. Mar 15 21:14:24 some modes don't support audio. Mar 15 21:15:26 http://elinux.org/Beagleboard:BeagleBoneBlack_HDMI shows modes with audio Mar 15 21:18:16 jkridner: the beagleboard-x15 is humming along as part of tests.reproducible-builds.org Mar 15 21:18:24 vagrantc: hurray! Mar 15 21:18:34 jkridner: it's actually sometimes even outperforming some quad-core 4GB ram boards Mar 15 21:18:38 random measurement of the day: having a pru do nothing but copy gpi to gpo in direct mode results in a propagation delay of 20-26 ns Mar 15 21:18:53 vagrantc: sounds blog post worthy. ;-) Mar 15 21:19:21 vagrantc: where can I see references to beagleboard-x15 Mar 15 21:20:28 ? Mar 15 21:20:56 jkridner: beagleboard.org got very a brief mention as part of a fairly comprehensive talk: https://fosdem.org/2016/schedule/event/reproducible_ecosystem/ Mar 15 21:21:27 vagrantc: is there a way we can migrate some http://github.com/beagleboard/repos packages over there? Mar 15 21:21:37 https://jenkins.debian.net/munin/debian.net/bbx15-armhf-rb.debian.net/index.html Mar 15 21:21:40 vagrantc: k, nothing in writing on the site? Mar 15 21:22:23 vagrantc: sweet. that's a nice set of data. Mar 15 21:23:08 there's a plain-text reference somewhere ... Mar 15 21:23:11 * vagrantc keeps looing Mar 15 21:23:14 looking Mar 15 21:25:14 vagrantc: this reference of it in the build setup is really what I was looking for. Mar 15 21:25:34 something on the performance would be nice too. Mar 15 21:26:19 https://jenkins.debian.net/view/reproducible/job/reproducible_nodes_info/lastBuild/console Mar 15 21:26:30 near the bottom lists daily and average builds over time Mar 15 21:27:12 it hasn't been running nearly as long as other boards, so a few more weeks of data will be needed to really see it Mar 15 21:29:20 * vagrantc needs to test debian-installer again after some updates Mar 15 21:30:56 the fan still behaves erratically, need to follow up on that too Mar 15 21:31:44 and eSATA support still requires being compiled in, haven't gotten it to work as a module, so that won't work out of the box in debian yet Mar 16 02:00:23 Hello All Mar 16 02:00:44 * jsmith waves Mar 16 02:00:45 What is the way to solve the USB hotplug issues with the BBB? Mar 16 02:02:20 My exact problem is this: BBB is plugged into a powered USB hub. BBB and hub are independantly powered. I want to use a USB soundcard. The soundcard is only detected on boot up if I ALSO have a USB memory drive, or a bluetooth radio dongle plugged in. Mar 16 02:02:54 Kernel is v3.8.13-bone50, or v3.8.13-bone56 right now. Mar 16 02:05:43 yup that sounds normal lol Mar 16 02:06:51 Evad: you -could- try a newer kernel but it very much is a case of YMMV I'm sad to say .. that driver is really buggy Mar 16 02:07:01 its been patched, but it just doesn't seem to function properly Mar 16 02:07:09 I get that it's related to power management for USB. That's not a feature that I really need. Mar 16 02:07:33 think it goes deeper than that Mar 16 02:08:29 Ok. Is there anychance that there was a changelog for the different bone## revisions of the v3.8.x kernel for BBB? Mar 16 02:09:04 For example, what changed between 3.8.13-bone50 to 3.8.13-bone56 to 3.8.13-bone71, etc? Mar 16 02:09:20 shuold be in the git repo if you're using official image(s)/kernels etc Mar 16 02:09:51 I'm not used to using git, how do I find this? Mar 16 02:10:14 https://github.com/beagleboard/linux Mar 16 02:11:26 try .. https://github.com/beagleboard/linux/commits/3.8 Mar 16 02:11:40 looks like 3.8 has eeked up to bone69+ Mar 16 02:12:32 but I hopped to 3.1x on a user application, had exactly this problem, but customer's board had a usb hub chip and a usb-uart permanently attached, so we got around it Mar 16 02:13:18 personally .. I have a usb hdd attached to one BBb here, on a 3.13 kernel that seems to hotplug correctly .. although it, too, is permanenetly connected Mar 16 02:14:40 In my application I have a USB2513 permanently attached to the BBB's free USB port. The soundcard is a regular cmedia card plugged into the USB port. Mar 16 02:15:27 yup we were using a 2514 (as have done in the past) Mar 16 02:15:37 My actual problem is that the sound card will not get detected when the BBB boots without another USB device plugged into the hub, specifically a flash drive or a BT dongle. I am just assuming the device is getting detected, put into power save, and not waking up. Mar 16 02:15:47 but the stupid driver wont enumerate te hub even without something downstream Mar 16 02:15:52 NOTHING works then. Mar 16 02:16:50 Do the 4.1 LTS, TI kernels work any better? Mar 16 02:17:04 or the 4.4 one? Mar 16 02:17:07 I -think- the hub works .. I suspect if you hotplug somethign INTO the hub, and plug it into a PC, say .. everything will show up .. its just the stupid MUSB driver Mar 16 02:17:19 I haven't tried any of the 4.x series with USB yet Mar 16 02:17:48 Ok. Is the capemanager working with those newer kernels? It's actually the thing keeping me from 3.13, etc Mar 16 02:18:07 yeah I think capemgr has got integrated into 4.1 Mar 16 02:18:17 pretty sure that's the 'official' current kernel series Mar 16 02:19:17 but there is some confusion why its ended up as an RT kernel Mar 16 02:19:52 jkridner: you know anything about the RT beagle kernels/ Mar 16 02:20:39 I'm wondering if a USB 2.0 soundcard on an RT kernel would have trouble Mar 16 02:20:54 probably not adviseable lol Mar 16 02:21:05 Lots of back-n-forth for a voip call... Mar 16 02:21:07 Are BBB's "dual-boot" capable? Mar 16 02:22:04 NevynPA1: there isn't a mechanism for doing it in software .. but you can boot a uSD card (or usb or usart) instead of the eMMC for example Mar 16 02:23:15 NevynPA1: basically.. the boot 'source' is chosen with hardware pins .. I'm not (yet) aware of a mechanism that it can 'choose' which OS to load Mar 16 02:23:39 I think the only bootloaders are chiefly designed for linux-based kernels Mar 16 02:23:55 NevynPA, You mean like NOOBS for Rpi? Mar 16 02:23:56 although .. I hear talk of windows embedded Mar 16 02:24:19 veremit: I just won 2 Blacks on eBay for $41. Mar 16 02:24:19 Evad: I was thinking more Grub/Lilo, but yeah. Mar 16 02:24:37 NevynPA: congrats, hope they work for you :) Mar 16 02:24:46 Evad: Well, from what veremit is saying, I could put one OS on the eMMC, and one on an SD, and switch by taking the SD out? Mar 16 02:25:32 NevynPA: I think you may sitll need to override the eMMC boot with the 'Boot' button (or a wire jumper in the appropriate header pins, which performs the same function) Mar 16 02:26:21 the main problem would come from not having enough storage in eMMC for more than one OS .. so you're immediately looking at USB or uSD storage firstly Mar 16 02:26:39 Is there a way to insert a delay in the eMMC boot? Make it read a signal from a pin and "if 0, boot eMMC, else boot SD"? Mar 16 02:26:40 N00bs is quite clever Mar 16 02:27:03 veremit: No, not 2 OS'es on eMMC. Mar 16 02:27:13 NevynPA: implemented in hardware already .. check the BOOTx pins on the P8/9 headers Mar 16 02:27:20 Oh cool! Mar 16 02:27:30 That's awesome. Mar 16 02:27:35 (they also govern usb and uart boots amongst others) Mar 16 02:27:43 hence capes can use them :) Mar 16 02:27:45 So I could put Linux on SD, and Android on eMMC, and swap by reading the pin state? Mar 16 02:27:53 yup Mar 16 02:28:04 That suits my fancy PERFECTLY! Mar 16 02:28:51 just be aware of voltage levels on the pins, and don't apply *any* power to them if the BBB is offline. They have no protection :/ Mar 16 02:29:13 but, that aside, perfectly possible Mar 16 02:29:43 by design no less lol :] Mar 16 02:29:56 No, no power. It'd just be a hardware switch or whatever. I'll have to read up on how to use P8/9. Mar 16 02:33:09 cool Mar 16 02:47:29 Is there a way to expand on the 12kB of RAM the PRU's share? **** ENDING LOGGING AT Wed Mar 16 02:59:58 2016