**** BEGIN LOGGING AT Fri Jul 04 02:59:58 2014 Jul 04 04:08:01 Just a quick question . . . is it ok to use a Class 10 microSD card on the BBB rev C? Jul 04 04:08:44 yes, works fine on rev B Jul 04 04:08:57 OK, thanks Jul 04 12:41:12 uhm, how can i determine if the bbb has a disk cache on the emmc, and if it's wether write-through or write-back? Jul 04 12:44:20 I didnt know solid state drives do have a cache Jul 04 12:46:12 they do have indeed, and hdparm works well to detecting/disabling them on sata buses Jul 04 12:46:30 e.g. http://paste.debian.net/108126/ Jul 04 12:47:00 but i found it not working on bbb/debian Jul 04 13:15:39 emms is not a solid state drive Jul 04 13:15:42 emmc Jul 04 13:15:46 its an SD card Jul 04 13:15:49 basically Jul 04 13:23:26 av500 with eMMC 4.5 cache was added i believe Jul 04 13:23:38 in the spec Jul 04 13:24:24 so his original question with how to determine if it has one is valid Jul 04 13:25:13 I guess looking up the data sheet of the emmc chip might give some info Jul 04 13:26:51 or maybe i can just isolate the "critical" data to the external SD and mount it with "sync" Jul 04 13:28:45 samael: sd cards are know to fuck up data at all times Jul 04 13:28:59 if you really have critical data, look for "industrial" SD cards Jul 04 13:29:09 that make some garantees about data being written safely Jul 04 13:30:26 looks like you have to sign an NDA with Micron to get the data sheet for the EMMC Jul 04 13:30:41 Theres a webform to request access to datasheet, which doesnt work :( Jul 04 13:31:16 av500: yeah i mean industrial, SLC, SD cards of course Jul 04 13:31:21 ok Jul 04 13:31:29 I see you did your homework :) Jul 04 13:32:15 Jonnyw2k: good to know. i think i'll use a workaround (which seems pretty decent too), then :) Jul 04 13:36:38 anyone know the laws on cracking encryption? Jul 04 13:37:13 depedns on your locale Jul 04 13:37:23 UK Jul 04 13:37:58 I specifically mean WPA, but for educational purposes Jul 04 13:39:00 I don't think that we have an UK lawyer here who can answer your question Jul 04 13:39:42 Damn, whats the US law out of interest? Jul 04 13:39:49 but wasn't UK one of the country where you better do not encrypt anything? Jul 04 13:40:01 and not sure you should ask, it just makes you break the law "knowingly" Jul 04 13:40:58 Basically I have an FPGA that I want to play with, and thought cracking seems a logical thing todo with it Jul 04 13:41:24 well, crack your own WPA Jul 04 13:43:10 that's the plan, but its like owning a lock pick set, even if you only use it on your own locks owning it could still be considered illegal Jul 04 13:43:22 rofl Jul 04 13:44:07 but considering aircrack-ng is so widely available i doubt there is anything against owning it Jul 04 13:48:12 isn't it like owning a knife (which you can use for potentially illegal purposes) being illegal? Jul 04 13:48:50 true but thats illegal in the uk(in public anyway) Jul 04 13:52:07 anybody as experience with ds1307, still having problems with it. It's mounted as /dev/rtc1/ I can query it, but the time does not change Jul 04 13:52:26 I even chenged the ds1307 chip, no change Jul 04 13:52:38 time says always 00:00:00 Jul 04 13:53:06 hwclock says timed out waiting for time change Jul 04 13:54:04 BennyB_, how do you read it? Jul 04 13:54:18 BennyB_, did you check datasheet ? Jul 04 13:54:25 cat /sys/class/rtc/rtc1/time Jul 04 13:54:27 BennyB_, there must be a way to set time on it Jul 04 13:55:23 Bit 7 of Register 0 is the clock halt whne 1 oscillator is disabled, can I use i2cset to reset this bit Jul 04 13:55:35 I'm new to i2c Jul 04 13:55:56 i2cset 1 0x68 ... Jul 04 13:56:19 the ... must ben anything Resister 0 bit 7 howe to do that? Jul 04 13:56:27 ... register ... Jul 04 13:59:47 normally the cmd "hwclock -w -f /dev/rtc1" should update the time in the ds1307. but this failes with "hwclock: Timed out waiting for time change." Jul 04 14:00:50 I'm poking around this since yesterday. Jul 04 14:02:28 I can read the normal hwclock with hwclock -r Jul 04 14:02:44 but the ds1307 does not work Jul 04 14:03:10 I m on debian7.5 3.8.13-bone56 Jul 04 14:04:10 for raspi I read something about a fake-hwclock which needs to be uninstalled, but this module is not installed on BBB Jul 04 14:07:02 is there a channel which is more debian related? maybee I could ask there? I'm relatively new to that irc thing Jul 04 14:13:05 here is some output from my ssh console including dmesg: http://pastebin.com/ydzHPAhT Jul 04 14:14:11 after I did "hwclock --systohc" the date and time of the ds1307 was set correctly, but it does not increase! Jul 04 14:15:03 BennyB_ line 485 looks ok Jul 04 14:15:16 last chance I'll try to solder a new oscillator to it Jul 04 14:16:55 lemme google it Jul 04 14:18:59 be sure pin 3 (Vbat) is below 3.6V, or even grounded. See the limits for Vbat pin on datasheet. If higher, DS1307 will not work. Jul 04 14:21:16 hi guys i have been trying to get servo control working through a c library for the beaglebone black. the bbbio library. I have not been able to get it working but can get my servo working from the command line using file operations. Is there any library you guys suggest for pwm and servo control using c? This is holding me up from starting a project Jul 04 14:28:10 BennyB_ i2cget -y 1 0x68 0x00 Jul 04 14:28:16 what does that return? Jul 04 14:31:38 jonnyw2k it returns: Error: Could not set address to 0x68: Device or resource busy Jul 04 14:32:08 you might need to blacklist the ds1307 module Jul 04 14:32:29 because it is used by this command "echo rtc1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device" Jul 04 14:32:48 otherwise /dev/rtc1 does not exist Jul 04 14:33:23 yeah we dont want /dev/rtc1 to exisit while we check the bit using i2c Jul 04 14:33:35 basically the driver is locking out access to the i2c Jul 04 14:33:55 yes, i can do a "echo 0x68 > /sys/class/i2c-adapter/i2c-1/delete_device" Jul 04 14:34:02 then its free again Jul 04 14:34:43 now i2cget -y 1 0x68 0x00 returns 0x16 Jul 04 14:36:17 pin3 has only 2.9 v through the battery, so this should be ok Jul 04 14:36:55 so bit 7 isnt set Jul 04 14:37:56 but how can i set it? Jul 04 14:38:51 should i set 0x56 to it? using i2cset? Jul 04 14:39:05 you can do i2cset -y 1 0x68 0x00 0xFF Jul 04 14:39:09 but I dont think you want it set Jul 04 14:39:14 I think you want it at 0 Jul 04 14:39:28 ah yes, it should bo zero Jul 04 14:40:05 so why the h*ll this dam*t thing is not working? Jul 04 14:40:19 you can do i2cset -y 1 0x68 0x00 0x00 to make sure register 0 is all 0z lol Jul 04 14:40:20 I even soldered a new oscillator to it Jul 04 14:40:23 for sanity Jul 04 14:40:42 let's give it a try.. nothing to loose *g* Jul 04 14:42:32 it chaned nothing. I I enabled it again and red time from it. the seconds still don't change Jul 04 14:42:52 the whole of the register is just seconds Jul 04 14:43:11 you can try running i2cget on it every couple of seconds to check its changeing Jul 04 14:43:57 no it isn't changing Jul 04 14:44:04 so the clock isnt running Jul 04 14:44:10 yupp Jul 04 14:45:38 hmm well we know i2c is working Jul 04 14:45:57 could be the crystal, but if you've double checked it then it should be fine Jul 04 14:46:45 yea, i canged the whole thing, i soldered a new ds1307 AND a new oscillator Jul 04 14:48:33 sorry, I have to leave. thanks for the help Jul 04 14:48:55 theres another bit Jul 04 14:49:10 ok Jul 04 14:50:25 I need to go in 2 minutes Jul 04 14:52:02 uhmm Jul 04 14:52:09 you can set the update frequency Jul 04 14:52:13 but i dont know what register that is Jul 04 14:52:15 trying to find it Jul 04 14:54:25 BennyB_ i2cget -y 1 0x68 0x07 Jul 04 16:00:19 my beaglebone black is not powering up, is there a way to get it reparied after 90days of purchase Jul 04 16:10:26 <_av500_> see beagleboard.org Jul 04 16:10:29 <_av500_> request RMA Jul 04 16:10:37 <_av500_> they will tell you if you can or not Jul 04 16:41:23 thanks @_av500 , have done that already and waiting for the response Jul 04 16:54:47 im trying to figure out how to access the gpio pins under debian on the bbb. Does anyone know a tutorial? Idc. if its based on the python or c++ lib :/ Jul 04 17:08:57 day: googling "beaglebone black gpio python" revealed https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/overview Jul 04 17:09:14 search engines are remarkable Jul 04 17:13:37 indeed they are Jul 04 17:13:51 but im not intelligent enough to port that to debian :P Jul 04 17:14:32 w/e. I write the display driver via bash script Jul 04 17:15:42 there's a section on installing on ubuntu Jul 04 17:15:48 i know Jul 04 17:16:21 but they use ubuntu based repos. im unsure if i can savely use them with debian :/ Jul 04 17:17:53 did you try it? it looks like everything they apt-get install would be present in debian Jul 04 17:27:20 hm Jul 04 17:29:11 w/e lol its so simple via batch...why do people even bother with python on this one Jul 04 17:31:09 i think i missed something...python on which one? Jul 04 17:31:55 nah, it was an ignorant comment :P but for my task it will be fine Jul 04 17:49:43 hm Jul 04 18:10:07 is there a good list on which gpios actually can be used out of the box? T_T Jul 04 18:10:35 it seems like 90% are blocked somehow... Jul 04 18:44:20 its more like 99% of the ports dont work out of the box...holy shit Jul 04 18:44:45 1_28 and 1_18 do... Jul 04 19:46:25 does anyone know how much power i can suck out of the P9 3.3V header? Jul 04 19:46:52 or is it just a reference voltage? Jul 04 19:49:11 read the srm i think its listed there Jul 04 19:49:30 going from memory it might have been 1100ma but that is prob wrong Jul 04 19:49:48 day: and all gpios work you just need to use the proper overlays. bonescript will do this Jul 04 19:49:51 as will the ruby lib i wrote Jul 04 19:49:57 i am it just explains in great detail that actually TWO regulators are necessary to deliver all the power the board needs :X Jul 04 19:50:14 https://github.com/notnyt/beaglebone Jul 04 19:50:16 nyt-: its ok i found enough ports that work :D Jul 04 19:50:55 * nyt- shrugs Jul 04 19:50:58 or you could do it the right way Jul 04 19:51:00 nyt-: you were talking about this one, correct? https://github.com/CircuitCo/BeagleBone-Black/blob/master/BBB_SRM.pdf?raw=true Jul 04 19:54:04 ok Jul 04 19:54:17 3v3b is 250ma Jul 04 19:54:24 vdd5v is 1000ma Jul 04 19:54:28 sys5v is 250ma Jul 04 19:54:37 did you find it in the datasheet? Jul 04 19:54:40 http://robotic-controls.com/node/68 Jul 04 19:54:40 on page 98 of the srm Jul 04 19:54:46 i found it there :X Jul 04 19:55:53 that link is old Jul 04 19:55:57 pinmux is no longer used Jul 04 19:56:05 i didnt trust it anyways Jul 04 19:56:06 dtb overlays are now used Jul 04 19:56:28 bonescript and the ruby lib i linked will load overlays on the fly Jul 04 20:47:45 only two regulators? Jul 04 20:51:35 zmatt: for the 3.3V Jul 04 20:52:19 zmatt: there should be also at least one regulator for 1.8 and 5 Jul 04 20:52:23 oh wow the am335x indeed has a lot simpler power supply than the dm814x on our board... Jul 04 20:53:41 do the devs happen to frequent this channel too? Jul 04 20:53:58 hm considering that its an official channel i guess so :/ Jul 04 20:54:46 they have their own secrect channel Jul 04 20:54:55 #embedded-backalley Jul 04 20:55:09 thats not really a thing is it? :D Jul 04 20:55:19 yeah, it is. Jul 04 20:55:37 but i got banned from it Jul 04 20:55:56 i can join it but its empty. is it possible to create hidden channels? o0 Jul 04 20:56:08 maybe they moved on. Jul 04 20:56:18 nvm. i missed an e Jul 04 20:56:21 its invite only Jul 04 20:56:54 considering my spam here today i probably disqualified myself already :D Jul 04 21:12:56 day: looks like most of the "big" regulated power supplies go to the cpu only Jul 04 21:14:40 which makes sense, you don't want to connect anything else to those that might disturb the voltages Jul 04 21:19:14 zmatt: yes ofc. i was talking in general Jul 04 21:21:09 (fwiw, the 5v supplies don't seem to be regulated at all, though sys5v at least has overvoltage protection) Jul 04 21:21:32 of course the 5v supply itself is supposed to be regulated Jul 04 21:21:45 zmatt: yeah, i was wondering about that. because you feed only 5+V into the board. Jul 04 21:23:04 i thought they might step it up first then regulate it clean to 5V. which ofc. would ruin the efficiency Jul 04 21:23:23 see page 2 of the schematic Jul 04 21:24:19 there's one big power management IC that controls 3 switching power supplies and a shitload of LDO regulators, and there's a separate regulator to generate the 3V3B Jul 04 21:24:36 controls = contains I mean Jul 04 21:24:46 probably the reason why there are two Jul 04 21:26:07 the 3V3B seems to power "external" stuff... besides being on the cape headers it's used for the eMMC, SD, ethernet phy, that sort of stuff Jul 04 21:27:23 see also http://www.ti.com/lit/ug/slvu551h/slvu551h.pdf Jul 04 21:27:58 and http://www.ti.com/lit/ds/symlink/tps65217c.pdf if you're particularly interested Jul 04 21:28:21 (which shows what's going on in that big TPS chip) Jul 04 21:32:52 nah im done with electronics. its not worth it if you only do it as a hobby. Even the smallest projects eat a tremendous amount of time :/ Jul 04 21:33:09 i started learning languages instead :P Jul 04 21:33:27 well, you can't be entirely done with it, since you're here Jul 04 21:33:56 its just bashing some scripts together hooking some displays to it...stuff you can do in a few hours Jul 04 21:34:10 plug and play so to say Jul 04 21:34:53 i was talking about debuging circuitboards etc. No thanks :D Jul 04 21:41:38 well, that's still more fun than debugging the cpu or its documentation :P Jul 04 21:42:18 implying that you dont have to do it when you are looking for an error in a circuit with multiple complex parts :D Jul 04 21:42:34 (which itself is more fun than trying to convince a TI support guy that it really is a chip bug and not my supposed inability to read the documentation -.- ) Jul 04 21:42:46 :D Jul 05 00:45:46 can anyone point me to a solid wifi solution for a BBB? i’ve spent more hours than i’d like to admit trying to get the mini usb wifi card from adafruit working. Jul 05 00:47:23 tell us about your powered hub.. Jul 05 00:48:36 i’ve tried both a belkin usb hub that has a 2amp power supply, as well as the recommendation of using a 5v 2amp pw for the boen if you’re not using a powered hub. Jul 05 00:50:40 yep Jul 05 00:50:43 use the panda wifi adapter Jul 05 00:50:53 and an insane amount of variations on setups for /etc/network/interface & wpa_supplicant.conf. i have issues ranging from the system hanging when i restart networking, to the defice getting blacklisted in rfkill. im thinking maybe trying another adapter is the way to go. Jul 05 00:51:08 i’ll check that one out, thanks. Jul 05 00:51:15 http://www.amazon.com/Panda-Ultra-Wireless-Adapter-150Mbps/dp/B00762YNMG/ Jul 05 00:51:17 works good for me Jul 05 00:51:22 the recommended one on the docs was shit Jul 05 00:51:28 that one works well Jul 05 00:53:06 nyt-: thanks! Jul 05 00:53:11 yep **** ENDING LOGGING AT Sat Jul 05 02:59:59 2014