**** BEGIN LOGGING AT Fri Jan 02 02:59:59 2015 Jan 02 04:37:24 apt-get install ntp appears to kill my bbb - imaged fresh with debian flasher 7.5-2014-05-14-2gb.img, after apt-get ntp the system will not boot - looks like systemd fails early. Anyone else seen this? Or have a workaround? apt-get upgrade seems to work fine on the same image. Jan 02 05:03:17 is there any driver available for beaglebone to change the board act as a smart card reader. Jan 02 06:02:58 I found something that works: run apt-get upgrade, then apt-get install ntp, and remove ntp start script, seems to work fine. go figure :/ Jan 02 06:54:02 hi Jan 02 06:56:56 hey Jan 02 06:59:55 i have enabled UART1 on my beaglebone black Jan 02 07:00:36 ive set stty -F /dev/ttyO1 9600 and connected it to my computer's serial port Jan 02 07:01:09 i then run putty on serial, cat /dev/ttyO1, and echo hi > /dev/ttyO1 Jan 02 07:01:17 on the putty screen, i get garbage Jan 02 07:01:32 if i push down any keys, i get nothing in the window that im cat'ing Jan 02 07:01:48 strangely, if i push down at 3 or more keys, i get garbage and ascii characters Jan 02 07:02:10 im not sure what im doing wrong; i expected to be able to send characters back and forth Jan 02 07:03:37 its weird though that im actually getting communication (even if its garbage). Jan 02 07:03:46 i feel like there is just some setting i have wrong Jan 02 07:10:41 keyvan: are you using a proper level converter for the 3.3V reference voltage? Jan 02 07:19:33 tbr.. hmm. no, i'm pretty sure im running 5 volts through it. when i checked the tx line with a volt meter it was 5 volts Jan 02 07:19:37 (from the PC) Jan 02 07:20:04 am i supposed to make the signals go from 0 to 3.3v? Jan 02 07:20:14 keyvan: um, you did NOT just wire up a RS232-C port directly into a BBB UART? Jan 02 07:20:15 before putting it into the BBB's UART ports ? Jan 02 07:20:17 i did Jan 02 07:20:26 rs 232-c ? not sure what that is Jan 02 07:20:28 the c part i mean Jan 02 07:20:34 disconnect immediately, hope that it didn't fry Jan 02 07:20:48 you MUST use a proper level converter Jan 02 07:21:13 ah alright, good thing it didn't fry :) Jan 02 07:22:25 look for something like a Max323 Jan 02 07:22:34 tbr do you think if i use a zenir diode and make it so the serial port voltage range is 0 to 3.3v i can read it with the UART ? Jan 02 07:22:41 no Jan 02 07:22:49 why not ? Jan 02 07:22:51 use a _proper_ converter Jan 02 07:23:05 something like the max chip Jan 02 07:23:18 i wanted to access it from linux is all Jan 02 07:23:34 research the difference between a RS-232-C and 3.3V UART yourself Jan 02 07:23:41 i dont know how i'd use the max chip (although i keep running into that, in all my googling, seems like the right tool, i just dont know how it fits with my linux knowledge) Jan 02 07:23:46 you'll see why just using a zener is not enough Jan 02 07:24:31 i've been trying; i appreciate you taking the time to tell me im doing it wrong though, helps. sometimes the blind hacking gets a little carried away Jan 02 07:25:10 i read up on the UART wiki page, i will go through it once more in more detail. Jan 02 07:27:05 the other option is to get a FTDI usb cable (one that can be set to 3.3V) Jan 02 07:30:38 my application is that i just want to sniff the traffic between my printer and my pc. right now im just tapping off the lines, but i guess i cannot read them since they are 5v. im not sure if the FTDI cable will work for this Jan 02 07:31:33 i will definitely try to investigate these more proper paths. Jan 02 07:31:59 once i exposed the serial cables on my breadboard, it was very tempting just to stick it into the BBB XD Jan 02 07:32:36 i tried to "play it safe" first by trying to do BBB and PC first. Jan 02 07:33:04 but turns it i wasnt playing it safe at all hahah Jan 02 07:43:58 you should be able to sniff the serial data on the software side in your PC though. depending on OS this might be different. Jan 02 07:45:05 i havent been able to do so on windows. i havent tried to do it on linux yet (i have a spare computer that i may try it with though). Jan 02 07:45:32 my application for the beaglebone itself was to be this sniffer, and upon achieving that, and making sense of the data, to replace the payload of the printer (just to see if i can do it) Jan 02 07:46:00 as a web application developer, where doing things is so trivial... i thought "oh i can do this, no problem" Jan 02 07:46:05 turned into a much much more difficult problem Jan 02 07:47:01 im going to get my old linux computer and try the serial monitors there, since the voltage will be ok Jan 02 07:47:37 it's a learning curve :) Jan 02 07:49:10 if you want both sides of the communication, then you'll need two serial ports and connect both the Tx and the Rx line you're sniffing to each Rx line of it Jan 02 07:49:30 this can be done with the BBB, if you use two level converters Jan 02 07:57:41 tbr ok interesting, thanks. just to clarify, when you say level converter you are saying to find a way to get the voltage to BBB's UART spec (0v to 3.3v, correct?) ? Jan 02 07:58:17 yes Jan 02 07:58:59 ok great. and you're saying not to go the zener diode route. if you were me what would you use? Jan 02 07:59:00 one max3232 should be enough for that as IIRC it has several shifters Jan 02 07:59:18 ah ok. i must study max3232 Jan 02 07:59:48 check its datasheet Jan 02 08:01:17 yea ive looked at it a bunch of times but it's greek -- i will put more effort into it now though since you've given a clearer picture of what it does in relation to my application of the beaglebone Jan 02 08:02:30 to give more context it should have several shifters downward as it also needs to be able to convert the auxiliary lines like RTS Jan 02 08:03:45 i dont know what a shifter is, but in wiring my stuff i did learn about CTS and RTS. Jan 02 08:03:53 i dont see the term shifter used in the datasheet, is there another word for it ? Jan 02 08:06:41 tbr think this would do the trick ? http://www.amazon.com/3-3V-5-5V-MAX3232-Female-Serial-Converter/dp/B00DUWZJ2Y/ref=sr_1_1?ie=UTF8&qid=1420185945&sr=8-1&keywords=max3232 Jan 02 08:07:09 even better if i dont need to solder a part from digikey :) Jan 02 08:08:19 yes, that looks like it would work Jan 02 08:08:44 ok great. thanks so much for taking the time to advise me Jan 02 08:09:10 you'll need to stick wires into the DB-9 side to interface with the wire you're sniffing Jan 02 08:09:32 i have them exposed and labelled on a breadboard. curious to see if this works :) Jan 02 08:10:19 for now i can test if the idea works though by using a linux desktop computer. i will do that before i order this Jan 02 08:12:40 for simple proof of concept a single RS-232-C port should be enough. Then you'll only see one side, as you can only tap into Rx or Tx and wire that into Rx Jan 02 08:14:22 ah i see. and so then i could utilize two RS-232-C ports to see both directions by tapping Rx and Tx into the respective Rx's of the sniffer's ports Jan 02 08:21:38 yes Jan 02 09:45:35 Need help for usb driver in beaglebone. Jan 02 09:47:43 How can we get events of USB attach and detach to application layer from driver. I know about udev. it is working fine. But can we get event from hub driver that i want to know? Jan 02 09:56:01 kernel 3.8.13 Jan 02 14:33:38 hi Jan 02 14:33:42 happy new year! Jan 02 14:33:45 question Jan 02 14:34:14 theres any way to make beagle bone act as a standard linux? I mena, start x and all that stuff? Jan 02 14:34:47 yes Jan 02 14:37:24 kl0wn, thanks for the response Jan 02 14:37:39 can please point me to some doc to make it happen? Jan 02 14:37:44 donaldshimoda, which board are you using? Jan 02 14:37:49 beaglebone bñack Jan 02 14:37:53 black i mean Jan 02 14:37:58 do you have the rev c? Jan 02 14:39:01 i can find the revision reference on the board Jan 02 14:39:19 i buy this one a week ago on digikey i suppose is the latest revission Jan 02 14:39:25 can't find revision Jan 02 14:39:39 yes, if you just got it, it should be the latest Jan 02 14:39:46 the rev c comes with debian linux pre-installed Jan 02 14:39:57 ups Jan 02 14:40:03 is revB6... :( Jan 02 14:40:05 you can plug it into a monitor or use ssh + xforwarding Jan 02 14:40:13 oh wow :c Jan 02 14:41:00 well the rev b comes with angstrom linux and i'm fairly certain it is also X ready out of the box Jan 02 14:41:20 in any case, i have a cdmi monitor connected. Is not possible to see on this monitor a X session? Jan 02 14:41:30 i upload to debian Jan 02 14:41:38 i update to debian Jan 02 14:42:07 BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img file Jan 02 14:42:35 if you're unable to physically connect it to a monitor via the minihdmi you can use ssh and xforwarding afaik Jan 02 14:43:44 i have a hdmi monitor physically connected to my board and i just see a big beagle bone logo and a dog... not a x session Jan 02 14:44:34 haha Jan 02 14:44:39 Going to make my Beaglebone much more useful as an IOT server Jan 02 14:44:40 http://puu.sh/dYerX/bbe6bd50a3.png Jan 02 14:44:41 :D :D Jan 02 14:45:09 donaldshimoda, does it drop you into a terminal? Jan 02 14:46:17 no, nothing else a black screen and the beagle bone logo Jan 02 14:46:34 i can connect via ssh , off course, but i want to run x session and use my cdmi monitor Jan 02 14:46:42 cdmi i mean Jan 02 14:47:27 and is very strange i see the box and say rev c but the pcbs says re b6... im confused Jan 02 14:51:34 i get my error... Jan 02 14:52:00 im using mini usb to power this... i need a DC power for work as normal right? Jan 02 14:53:50 donaldshimoda, do you have a dc power adapter you can use to test? Jan 02 14:54:22 no, i need to buy one Jan 02 14:54:53 :c Jan 02 14:55:07 unfortunately i won't have my bbb in front of me until monday Jan 02 14:55:29 if you're still around then i can do some testing on mine and try to help you figure it out Jan 02 14:56:15 kl0wn, don't worry my friend i will buy one adapter and test Jan 02 14:57:21 I'm sorry i couldn't be more helpful Jan 02 14:58:47 thanks you i understand where is the problem. :) Jan 02 14:58:57 im starting in the special mode connected via usb Jan 02 15:01:16 :) Jan 02 15:04:48 xforwarding is pretty easy to set up, which OS are you using on your desktop? Jan 02 15:40:52 kl0wn, im using yosemite Jan 02 16:57:31 Anybody knows if theres a Eagle or Altium schematics? Jan 02 17:33:59 If I power my BeagleBone black from an Asus Android USB phone power adapter, can it get the full 2a from it? Jan 02 18:06:27 hi im facing dpkg issues when i try to install some packages with apt Jan 02 18:07:21 i use wheezy Jan 02 18:08:12 testBeagle: pastebin.com or it didn't happen Jan 02 18:08:16 the last error message says 'E: Sub-process /usr/bin/dpkg returned an error code (1)' when i install some package Jan 02 18:08:44 go to pastebin.com, put all the output there Jan 02 18:08:52 here is the pastebin http://pastebin.com/rARTrAAS Jan 02 18:10:10 i did an update and an upgrade, but had the same error before as well Jan 02 18:10:14 this looks considerably broken Jan 02 18:10:28 you can't upgrade while there are open errors Jan 02 18:10:30 lolwhat Jan 02 18:10:34 what shall i do now Jan 02 18:10:36 what did you do to that poor system Jan 02 18:10:46 :) Jan 02 18:11:04 what did you try to install? Jan 02 18:11:33 vsftpd, but it showed error with netperf which i installed few days back Jan 02 18:12:12 basically: this is a generic debian problem, which might be even easy enough to resolve, but the information I see is insufficient to guess Jan 02 18:12:13 i tested the bandwidth with nc, didnt use netperf Jan 02 18:12:42 i will paste the entire log Jan 02 18:13:03 I'd try to purge ftpd Jan 02 18:13:08 dpkg --purge ftpd Jan 02 18:13:10 ^ this Jan 02 18:13:22 as that looks like the culprit right now Jan 02 18:13:45 once that's done, "dpkg --configure -a" for good measure Jan 02 18:14:11 sure thank you Jan 02 18:17:56 is it a good idea to purge all the packages which shows the error? can it crash everything? Jan 02 18:18:27 now the ftpd error is gone Jan 02 18:20:43 have these error now http://pastebin.com/DZZu1eRL Jan 02 18:22:18 but im logging through ssh now Jan 02 18:22:45 em, no just ftp Jan 02 18:23:02 if you purge the others your system will definitely break and you can proceed straight to reflash Jan 02 18:24:48 shall i do an upgrade now? Jan 02 18:25:39 does the "dpkg --configure -a" return clean now? Jan 02 18:25:44 no Jan 02 18:27:15 still gives these errors: http://pastebin.com/VdfdQRSy Jan 02 18:28:52 ....lol Jan 02 18:30:23 any ideas on how i can proceed, maybe im doing something stupid, but cannot find really what itis Jan 02 18:33:41 tbr: did it really break since i did an upgrade? Jan 02 18:34:25 i had vsftpd & netperf error before i try the upgrade, i thought maybe an upgrade could fix everything Jan 02 18:34:36 * sorry ftpd Jan 02 18:35:38 that spam looks like its from broken scripts that init is trying to launch Jan 02 18:36:27 yes wonder where led_aging comes from Jan 02 18:36:57 is the script led_aging.sh your own, testBeagle? Jan 02 18:37:28 kl0wn: i dont think i made sch a script let me check it Jan 02 18:38:20 https://www.google.com/search?q=led_aging.sh - heh, go figure Jan 02 18:39:06 hey thank you :) Jan 02 18:40:15 which brings up a question: where did you buy your bone? Jan 02 18:40:15 i just ordered in amazon Jan 02 18:40:29 let me check details Jan 02 18:40:29 did you reflash it? Jan 02 18:40:34 no Jan 02 18:40:37 its the default image Jan 02 18:40:43 is there a beagle dog log on it? Jan 02 18:41:08 did the box say anything about element14? Jan 02 18:41:28 is the logo on board you mean Jan 02 18:41:42 yah its element 14 Jan 02 18:42:34 that's quite suspicious, why would they be changing things? Jan 02 18:42:37 there is the logo on the pack as well Jan 02 18:43:30 testBeagle: I'd strongly recommend to reflash with an official image Jan 02 18:43:30 oh s***, it says beaglebone compliant Jan 02 18:43:30 a) it's likely quite old Jan 02 18:43:35 so it means it is not really a beagle bone? Jan 02 18:43:38 b) it has this unknown stuff on it Jan 02 18:43:48 compliant == it should work just fine Jan 02 18:44:26 ok Jan 02 18:45:45 is the pcb revision written on the board? Jan 02 18:46:57 there might be a sticker on the side Jan 02 18:47:08 if it has 4GB eMMC then it's RevC anyway Jan 02 18:48:10 yah it is 4gb Jan 02 18:48:44 so i think ill reflash new image Jan 02 18:52:24 tbr: thanks for the help Jan 02 18:52:38 kl0wn: thanks for the tips Jan 02 19:30:22 so i hooked up a speaker to P9_14, and now i want it to play the mario theme, i tried it with python but its just too slow i think Jan 02 19:30:46 if i multiply the times of every tone by 10 it works, but only then Jan 02 19:31:26 so i was thinking about doing it with the pruss, but i have no idea where to start, and the things i did find where quite unclear Jan 02 19:32:02 ah trying to do audio with PWM? :) Jan 02 19:32:07 yes! Jan 02 19:32:28 I guess it's going to sound like pc-squeaker Jan 02 19:32:33 it is Jan 02 19:32:37 but i love that Jan 02 19:32:58 fun nevertheless Jan 02 19:32:58 i got everything ready, exept the pruss knowledge Jan 02 19:33:02 as soon as that thing is up and running the assembly wont be that much of a problem either Jan 02 19:54:28 so, nobody here can help me on my way? Jan 02 20:05:41 is there a way to install an unmodified Debian Wheezy or Jessie onto the BeagleBone Black? Jan 02 20:28:23 aef, you should be able to install any distro you want :) Jan 02 20:30:13 kl0wn: well, that's not really helping a lot. the "how" is quite relevant. I already tried around with common installer images and none of them even started Jan 02 21:59:59 aef: how are you defining unmodified? Jan 02 22:02:23 thurgood: well, i am looking for a way to install it from the cryptographically verified official Debian files, with as few changes as possible. i would like to avoid large third party patches which i couldn't understand without studying them for weeks, and i don't want the application of the changes to be a hard process Jan 02 22:04:22 aef: IIRC RCN documents how you can build an image, you should be able to take it from there and make sure trusted repositories are used Jan 02 22:04:54 tbr: can you point me to that? Jan 02 22:05:21 check his pages and elinux. I'd need to query the search engine of my least distrust too. Jan 02 22:33:01 i did it Jan 02 22:33:21 my beagleboard now plays the tetris theme and the mario theme via PWM Jan 02 22:33:27 and a piano! Jan 02 22:38:11 make a video! Jan 02 22:38:30 also post code :-) Jan 02 22:38:57 well, the piano code isnt mine, i just replaced everything beeping related to work with the BBB's GPIO Jan 02 22:39:20 but sure Jan 02 22:39:51 i have so many scripts that started out as someone elses code, gutted to do what i need. Jan 02 22:40:21 thats true Jan 02 22:40:30 much easier to start out with a working framework. or so i tell myself. lol Jan 02 22:40:56 well, depends on how extendable that framework might be Jan 02 22:43:34 true Jan 02 22:45:23 i tried my best filming it Jan 02 22:47:53 uploading! Jan 02 22:55:48 :) Jan 02 22:58:10 tbr: flufmnstr https://www.youtube.com/watch?v=KwaV9kv4mxg Jan 02 22:58:13 will post code Jan 02 22:59:10 heh, cool Jan 02 23:00:15 OK to post that to g+? asking as it's unlisted Jan 02 23:00:58 thats pretty neat! Jan 02 23:01:05 oh, sure you can Jan 02 23:07:06 Hi all, I'm trying a Debian 2014-12-19 image for my beaglebone black and I can't get g_ether to load at startup with adding it to /etc/modules. Loading it with modprobe works fine though. Would you have any suggestions ? Jan 02 23:16:36 funny thing is, i can just ssh into my BBB from my phone and piano on that Jan 03 00:26:41 hello, are the windows and mac usb drivers for the beaglebone opensource? Jan 03 00:44:47 drivers? Jan 03 00:45:03 isn't the USB net interface class-compliant (standard)? Jan 03 00:59:12 anyone have openbsd running on a beaglebone black ? Jan 03 01:05:50 the drivers in http://beagleboard.org/static/Drivers/Windows/BONE_D64.exe which present ethernet over usb Jan 03 01:08:22 set of RNDIS drivers signed by BeagleBoard.org Foundation Jan 03 01:08:51 those are the drivers i'm wondering about- if they are open source or not **** ENDING LOGGING AT Sat Jan 03 02:59:59 2015