**** BEGIN LOGGING AT Sun Mar 01 02:59:59 2015 Mar 01 03:22:52 nerdboy: ehm, having a power supply connected is not a reason to refuse powerdown... Mar 01 03:23:42 works with dc brick, never tried it with just usb power Mar 01 03:24:08 if both were connected, who knows? Mar 01 03:25:00 really depends on os/kernel as well, so a little vague Mar 01 03:25:51 some old images indeed had a kernel which didn't really understand the PMIC and didn't receive/clear its events Mar 01 03:26:20 (which indeed makes powerdown impossible since it'll power up again due to the pending event) Mar 01 03:51:07 anyone have experience with using b.attachInterrupt in bonescript? the interrupts aren't working for me within a while statement... can anyone recommend a workaround? Mar 01 04:10:16 fmadison: the defaylt init setup for most rootfs's enables the LEDs Mar 01 04:10:26 have you looked at that? Mar 01 04:29:19 nerdboy: I haven't tried that -- but I'm confused about your mention of LED's. I need a working interrupt to sense a high on an input. the attachinterrupt statement is working for me, but the interrupt stops working within a while statement Mar 01 04:33:46 here's some code snippets to better explain: http://beagleboard.org/Community/Forums?place=msg%2Fbeagleboard%2FR6xqvcgQJZ4%2FbzBH9welzU0J Mar 01 04:34:44 you should be able to attach without losing it Mar 01 04:35:09 mostly i've done that with python Mar 01 04:35:50 what gpio interface are you using? Mar 01 04:37:13 and mostly on rpi so i haven't played with bonescript much Mar 01 04:38:29 and i had to nuke my oe flash and update to debian to get the newer u-boot for booting the new ubu-core stuff Mar 01 04:41:03 ahh ok. it seems like i might be up against something peculiar to bonescript... anyway, i gave up on using an interrupt for now and setup polling. that seems to be working Mar 01 04:50:59 i do know there's an adfruit interface with bbb backend Mar 01 04:51:08 also rpi backend Mar 01 05:10:05 * nerdboy pokes jkridner in the beaglebone Mar 01 05:30:53 hii..not able to format sd card.. Mar 01 05:31:05 used these commands Mar 01 05:31:07 wget http://dev.gentoo.org/~armin76/arm/beaglebone/mkcard.sh chmod +x mkcard.sh sudo ./mkcard.sh /dev/sdb Mar 01 05:31:34 getting this error Mar 01 05:31:44 [Use the --force option if you really want this] Mar 01 05:31:53 Cant find boot partition in /dev Mar 01 05:32:06 Cant find rootfs partition in /dev Mar 01 05:32:26 how and where to use this --force option ?? Mar 01 05:35:43 geekswine: are you sure that /dev/sdb is the sd-card device? Mar 01 05:36:04 sry sry...mine is /dev/sdc1 Mar 01 05:36:15 i used /dev/sdc1 Mar 01 05:36:30 what does blkid say? Mar 01 05:37:16 I'm rather sure the script does NOT take a partition as argument Mar 01 05:37:49 used this command blkid /dev/sdc1 ...doesn't say anything Mar 01 05:38:02 no args Mar 01 05:38:11 just blkid Mar 01 05:38:34 blkid also says nothing Mar 01 05:39:05 that might explain the script error Mar 01 05:39:46 you *should* see all you block devices Mar 01 05:39:52 *your even Mar 01 05:40:56 hii Mar 01 05:41:26 so it is /dev/sdc when only card reader Mar 01 05:41:46 and /dev/sdc1 when uSD card with card reader.. Mar 01 05:41:53 sdc is disk device Mar 01 05:42:05 so i hope /dev/sdc1 is to formatted...right ?? Mar 01 05:42:09 *to be Mar 01 05:42:11 1,2,3 are partitions Mar 01 05:42:29 geekswine: you are misunderstanding fundamentals of blockdevices and partitioning Mar 01 05:42:42 you make a filesystem on a partition Mar 01 05:43:28 i don't know much abt this..:( Mar 01 05:43:42 geekswine: you do need run it with sudo Mar 01 05:44:08 block devices are normally partitions Mar 01 05:44:35 ohhh.i did this sudo blkid Mar 01 05:44:49 ie, something with a filesystem on it, or sometimes just a kernel or bootloader image Mar 01 05:44:53 but only shows /dev/sdax where x from 1-8 Mar 01 05:45:06 yes, block devices... Mar 01 05:45:29 with a uuid and fs type Mar 01 05:45:30 i can't see /dev/sdc Mar 01 05:45:36 *normally Mar 01 05:46:00 because sdc is the disk containing the partitions Mar 01 05:47:26 ohhkk..so how should i format this ?? Mar 01 05:48:11 doesn't the script partition and format if for you? Mar 01 05:48:47 oo..:( Mar 01 05:48:52 *noo Mar 01 05:49:29 should i use this sudo ./mkcard.sh /dev/sdc or sudo ./mkcard.sh /dev/sdc ?? Mar 01 05:49:33 2 partition manual method is here: https://eewiki.net/pages/viewpage.action?pageId=35193201 Mar 01 05:49:43 i mean sdc or sc1 ?? Mar 01 05:49:54 makes a vfat boot and ext4 root Mar 01 05:49:58 that script expects the raw block devic Mar 01 05:50:12 that's /dev/sdx Mar 01 05:50:13 that page will walk you through it Mar 01 05:50:18 no script Mar 01 05:50:50 nerdboy: considering that he has problems understanding the concept of partitions, I doubt a manual guide will do him good Mar 01 05:50:51 but you still need to know the disk device either way... Mar 01 05:51:15 sometimes it helps to read about it Mar 01 05:51:38 * nerdboy enjoys "try it and see" Mar 01 05:52:30 sure all is fun and games until someone points the script to sda Mar 01 05:52:36 or should i go through this http://elinux.org/BeagleBoardBeginners#Formatting_the_SD_card_via_fdisk_.22Expert_mode.22 Mar 01 05:56:46 so reading is "safe" then? Mar 01 05:57:19 geekswine: what tbr said Mar 01 05:57:40 whether manual or script, make sure you point it at the right device Mar 01 05:58:06 which is where blkid comes in Mar 01 05:58:35 you should see all block devices, hard disk, lvm, sdcard, etc Mar 01 05:59:11 that plus "dmesg | tail" after you plug in the card/reader whatever Mar 01 05:59:47 sudo fdisk -l /dev/sdX Mar 01 06:00:02 is also safe Mar 01 06:07:48 i hope that /dev/sdc1 is the right device i am pointing to..:P Mar 01 06:21:09 the answer is: no Mar 01 06:23:49 tbr: then ?? O.O totally confused :( Mar 01 06:24:41 geekswine: please go and learn the difference between a whole block device and a partition Mar 01 06:25:28 okkk...thanx for the help..:) Mar 01 06:26:13 the script or manual method will overwrite the partition table, etc Mar 01 06:26:26 you point it at the disk device Mar 01 06:26:44 in other words, take off the 1 Mar 01 06:27:33 okk...:) Mar 01 06:28:39 since you're manipulating partitions? right? Mar 01 06:29:48 yess..i need to format so that MLO file can be copied to it...so i can boot starterware.. Mar 01 06:30:29 MLO is the first file you copy to the boot partition Mar 01 06:30:42 the one with 1 Mar 01 06:30:58 ohh.. Mar 01 06:31:11 sdc1 is boot Mar 01 06:31:26 the first partition on sdc Mar 01 06:32:02 (since we are living in TI space) Mar 01 06:33:31 okk..i'll look more abt it..thanx..:) Mar 01 06:45:26 * nerdboy still skeptical... Mar 01 16:58:40 Hi All, I'm studying how to read/config HDMI-CEC on beaglebone black. Can you please guide me how to start with it? Mar 01 18:13:26 * nerdboy hasn't seen CEC work on beaglebone, only rpi Mar 01 19:12:04 JIZZZZZZAAA Mar 01 21:11:16 hello i have a problem with my board can someone please help me?// Mar 01 21:13:55 maybe Mar 01 21:16:30 ido_: what _is_ your problem? **** ENDING LOGGING AT Mon Mar 02 02:59:58 2015