**** BEGIN LOGGING AT Thu Oct 10 02:59:58 2013 Oct 10 04:36:37 how many parameters can ioctl( ) take? I found this on googling "int ioctl(int fd, unsigned long cmd, ...);" Oct 10 05:08:29 how many parameters can ioctl( ) take? I found this on googling "int ioctl(int fd, unsigned long cmd, ...);" Oct 10 06:32:58 hi Oct 10 06:33:43 can you please help me with beagleboard ubuntu Oct 10 07:04:31 Is it possible for the BBB to use a gpio pin as interrupt input for a touch controller? Oct 10 07:04:51 By defining it in the devicetree as interrupt that is Oct 10 07:05:20 afaik yes Oct 10 07:06:07 I found some leads in the overlays, but I can't seem to find any documented resources about it Oct 10 07:06:37 The LCD7 overlay has a controller which uses a interrupt, if I read it correctly in the overlay Oct 10 07:24:36 Hello all... :) Oct 10 07:30:17 hi! Oct 10 07:58:14 is it posiible to change mak adress of eth0 temprarry? Oct 10 07:58:21 for BBB Oct 10 07:58:24 ubuntu Oct 10 07:59:30 is google down ? Oct 10 08:00:33 yes Oct 10 08:00:45 I printed the internet Oct 10 08:01:49 so you're now the only one who can answer NIC questions ? Oct 10 08:02:12 Did you mean: change mac address temporary Oct 10 08:02:18 that's impressive, actually Oct 10 08:15:20 good old time when google was up and unevil Oct 10 08:15:53 keesj hm you mean when you thought google was unevil Oct 10 08:16:17 you have no proof google was unevil from the beginning Oct 10 08:18:44 it's my own fault I wanted to believe it myself Oct 10 08:20:58 and now it's mainly Android and BeagleBoard that keeps me on google+ Oct 10 08:39:48 there is always Facebook Oct 10 08:43:40 and irc Oct 10 09:17:39 Yes i want to change the mac adress temprarily , or want to change the name of the usb ethernate adaptor from rename1 to eth0 , and eth0 to eth1. Oct 10 09:18:24 why did the usb_to_etherate adaptor name as rename1 insted of eth1? Oct 10 09:19:01 Nil__: it sounds you are trying to implement a weird solution. what is the problem you are trying to solve? Oct 10 09:19:07 like Oct 10 09:19:52 i want to connect my usb to ethernate as eth0 adaptor Oct 10 09:20:28 why Oct 10 09:22:05 on beagle board i had written code and lib which checks the eth0 adaptor and i dont want to change that same i want to run on BBB(ubuntu) Oct 10 09:22:43 but when i connect my dongle to BBB it shows as rename1 adaptor Oct 10 09:24:16 i want to change the name of adaptor from rename1 to eth0 Oct 10 09:24:54 it must tooks name as usb0 eth0 why rename1? Oct 10 09:24:58 Nil__ lol you used the wrong approach for getting the interface Oct 10 09:25:11 ? Oct 10 09:25:16 sounds like ubuntu breaks halfway the renaming operation Oct 10 09:25:17 and you don't mind changing the os to fit your code... perhaps using aliases??? Oct 10 09:25:23 why yoz check for eth0? Oct 10 09:25:30 thats stupid Oct 10 09:25:35 ‘rename1’ is not a normal name Oct 10 09:25:46 udev does it Oct 10 09:25:51 yes Oct 10 09:26:09 but relaying in an app on eth0 is wrong Oct 10 09:26:10 Nil__: I think you're better off asking an ubuntu expert Oct 10 09:26:22 ok Oct 10 09:26:40 well something *is* broken, at least very likely. Oct 10 09:26:54 even i check rename1 it dose not remain constant it changes as rename1 raname4 etc. Oct 10 09:27:04 classic /etc/udev/rules.d/70-persistent-net.rules perhaps Oct 10 09:27:32 on beagle board angstrom it is possible to set the name for adaptor so it is possible there. Oct 10 09:27:56 as per its mac adress we can set the name for connection on bott time. Oct 10 09:34:41 I think you should read about udev works and it its config files Oct 10 09:44:22 thank you Oct 10 10:07:22 I'm using RCNs kernel for the BBB but I'm not getting any kernel output - any ideas? http://pastebin.com/XaQH6CMX Oct 10 10:09:27 exosyst wrong cmdline? Oct 10 10:09:30 I've got this as my uBoot environment http://pastebin.com/7q3F5Gap Oct 10 10:10:09 woglinde, It's uboot from master Oct 10 10:10:27 and? Oct 10 10:10:58 I thought it was the tty but that seems right Oct 10 10:11:00 are you sure your serial console is on ttyO0 Oct 10 10:11:10 otherwise the kernel is broken Oct 10 10:11:27 I am off for a while Oct 10 10:34:15 and re Oct 10 10:38:08 HI Oct 10 10:39:08 how to control i2c chip pcf8575? Oct 10 10:39:19 pca8575 Oct 10 10:44:10 Abama read the kernel source? Oct 10 10:45:03 hi woglinde , i have read , but i don't know how to use it? Oct 10 10:45:42 so you haven't read it, you have skimmed it. Oct 10 10:47:35 i have drivers/gpio/pcf857x.c, but i don't know how to use it? Oct 10 10:47:43 pls help me ,pls/ Oct 10 10:48:13 if correctly instatiated, it registers a gpiochip. Oct 10 10:48:35 hence, sys/class/gpio Oct 10 10:48:41 no magic there. Oct 10 10:49:51 wait me a second , let me check. Oct 10 10:51:12 yes , some file in that folder , but i dont think it is work for i2c chip. Oct 10 10:52:14 then it is not correctly instantiated. find out why. Oct 10 10:52:22 read messages. Oct 10 10:53:52 root@beaglebone:/sys/class/gpio# ls export gpiochip0 gpiochip32 gpiochip64 gpiochip96 unexport Oct 10 10:56:23 Hi LetoThe2nd, do you kow what is the file name for i2c? Oct 10 10:56:46 it has nothing to do with filenames. Oct 10 10:57:16 it has to do with registering the gpiochip with the kernel. the module shall do that. Oct 10 10:58:13 you mean , the system can create file for pcf8575 on the system boot up. Oct 10 10:58:38 no. Oct 10 10:59:02 Abama: you will either need to add it to your devicetree, or inform the i2c subsystem that you have that specific chip at the right address, google will help you with both those suggestions. Oct 10 10:59:21 the underlying gpio subsystem will create a gpiochip structure upon successful registration of the chip. Oct 10 10:59:28 that has nothing to do with booting. Oct 10 10:59:55 yes, i have do that . i use i2ctool , i can file my ic the slave address is 0x20. Oct 10 11:00:53 you are not listening. Oct 10 11:01:17 read up on the instatiation, e.g. the loading of the module and whatever information it needs. Oct 10 11:03:37 woglinde, Thanks for helping bounce ideas around - It turns out that the angstrom image contained dtb files that weren't compatible and they clobbered the /boot directory already present. Oct 10 11:03:49 Painful thing to debug :-/ Oct 10 11:11:51 can you show step by step , i can understand . Oct 10 11:12:10 hi LetoThe2nd, thank you . Oct 10 11:12:42 Abama: sorry, i don't do handholding. Oct 10 11:12:49 read the kernel source. Oct 10 11:13:25 ok thank you again. Oct 10 11:13:29 or even just do some searching on google, you need to look at enabling ic2 devices on linux Oct 10 12:46:32 hello we have installed zoiper softphone in oor beaglebone black with android and we want to redirect sound to the usb Oct 10 12:46:45 somebody can help me? Oct 10 12:49:07 nah, premium support is defunct today. Oct 10 13:02:28 LetoThe2nd: rotfl Oct 10 13:20:29 LetoThe2nd, defunct or disabled? Oct 10 14:00:33 Hello All, I run "opkg upgrade", and now USB connection to a PC is not working. I dont have interface usb0, nor mass storage drive on the PC. Any ideas where to start looking? Oct 10 14:01:39 just reflash it. opkg upgrade is generally a rather bad idea. Oct 10 14:06:34 Thant Oct 10 14:06:46 Thanks LetoThe2nd! Oct 10 14:06:51 sounds like a bug anyway Oct 10 14:22:31 I bought a Mediasonic hf2-su3s2 4-hard drive enclosure, I connected it over USB, but it's not being detected, lsusb shows nothing. A googling shows this device is classified as a port multiplyer, could this thing work? Oct 10 15:07:28 is there any possibility to install svn on beaglebone black's version of angström? Oct 10 15:08:26 Someones awake! Oct 10 15:09:02 yeah and I've been searching for an answer for days now Oct 10 15:09:13 sure... have you tried lsusb -v, dancingmonkey? on my 3.8.5 kernel on the beaglebone, i needed it to find new usb devices Oct 10 15:11:47 has anyone tried debian or ubuntu on the bone black? i'm wondering if i should switch to one of them... Oct 10 15:11:54 Rotti: Thank you. Oct 10 15:12:13 I have tried ubuntu on the BBBlack Oct 10 15:12:39 * Fruit is about to try debian, as soon as I find a working SD card writer somewhere Oct 10 15:13:22 LOL yeah I had to buy a new one as all the ones I already have seem to have stopped working Oct 10 15:13:24 debian on the 'old', white, bone is working fine... maybe i should give it a try on the black one, too Oct 10 15:13:31 damn lead free solder Oct 10 15:14:51 N2TOH: now that you mention it, it *was* a flaky connector on the last one I tried Oct 10 15:16:35 try to put it in the oven, if your gf/wife is not at home ;) Oct 10 15:17:15 I think I'll splurge and spend EUR 5 on a new one :P Oct 10 15:20:56 are there any pros/cons for/against debian or ubuntu? can't decide... Oct 10 16:04:34 hi Oct 10 16:04:41 yes Oct 10 16:05:33 just installed debian... Oct 10 16:05:52 and Oct 10 16:06:10 i have installed android on my beagleboard and I want to use my usb headphones with it Oct 10 16:06:27 how can I do it? Oct 10 16:06:35 for now it's working fine Oct 10 16:09:29 Guest34235: plug it in, install drivers, select correct sound device? (just guessing, don Oct 10 16:09:35 't have a beagleboard) Oct 10 16:10:03 depends on android version too Oct 10 16:10:19 now low power profile for now Oct 10 16:19:23 I don't know how to install alsa usb drivers in android. I'm using 4.2 (prebuild version for beaglebone black) Oct 10 16:20:15 Guest34235: where did you get that android version? Oct 10 16:21:41 dm8tbr: "vom laster gefallen" ;) Oct 10 16:21:50 circuitco.com Oct 10 16:22:46 specificaly: http://circuitco.com/support/index.php?title=Android Oct 10 16:27:41 nice, a random image without source or anything Oct 10 16:28:01 and that's not provided by cco, it's just linked from their wiki Oct 10 16:29:13 ah, if you dig in you find: http://icculus.org/~hendersa/android/ Oct 10 16:29:51 dm8tbr hm but circuitco builds the beagle Oct 10 16:30:44 ah they only aggregate informations around android Oct 10 16:39:12 dm8tbr at least he has instructions how to build the image yourself Oct 10 18:06:29 I'm using ubuntu on beaglebone black and I have downloaded images from http://www.armhf.com/. I'd like to know if there is some tutorial on how to customise rootfs. I'd like to add some scripts and change default network configuration. Oct 10 18:07:15 elyezer: have you gone over http://elinux.org/BeagleBoardUbuntu Oct 10 18:07:20 or are you using Debian? Oct 10 18:07:31 in which case: http://elinux.org/BeagleBoardDebian Oct 10 18:15:44 jkridner: I have visited that page already. Reading with more caution I find this section http://elinux.org/BeagleBoardUbuntu#Method_1:_Download_a_Complete_Pre-Configured_Image. Just to check I need to download a pre-configured language to customise and use the setup_sdcard scritp to create my SD card, after if I want to write the generated image on eMMC I need to use the script also in that page. This is correct? Oct 10 18:16:33 s/language/image Oct 10 18:18:25 you can look at "Method #2" to create a bit more custom version. Oct 10 18:18:32 follow it to http://eewiki.net/display/linuxonarm/BeagleBone#BeagleBone-Ubuntu13.04 Oct 10 18:18:40 got it thank you Oct 10 18:18:42 start with a minimal tarball and start adding packages. Oct 10 18:19:56 I'll try that thank you very much Oct 10 18:38:59 jkridner: I got my bone black at ESC Brazil, I was in your presentation and I get one of the 15 raffled :) Oct 10 18:39:16 excellent. glad to see you using it. Oct 10 18:41:57 I have done a thermometer station using node.js and lm35 sensor. Now I'm trying to do some network automation using it. It is a very nice board and I'm enjoying it Oct 10 18:46:35 jkridner: Did I get the time of today's call wrong? Oct 10 18:50:04 behanw: We switched to once a month. Oct 10 18:50:13 Not sure if I updated the invite properly. Oct 10 18:51:15 i was just reading this: http://mail-index.netbsd.org/port-arm/2013/09/10/msg001998.html Oct 10 18:51:21 is the BBB stable at 1GHz? Oct 10 18:53:05 jkridner: Or I missed it. :) Oh well. Oct 10 18:53:26 nomel: yes Oct 10 18:53:53 is this assuming i have some late kernel code, or have things changed since that post? Oct 10 18:54:02 err...was that post incorrect? Oct 10 18:54:02 nomel: the note is correct that the voltage must be changed with the frequency. it requires a PMIC driver Oct 10 18:54:24 is that driver in the production images? Oct 10 18:55:26 yes, for Linux. Oct 10 18:55:57 ok, so all of the production images have had this driver. Oct 10 18:56:12 yup Oct 10 18:57:03 about crapped my pants when i read that post. :P Oct 10 18:58:00 thanks jkridner! Oct 10 18:58:20 you da man with the ampersand. Oct 10 18:58:21 why so? Oct 10 18:58:40 for existing in the chat at this moment, and having the knowledge to answer my question, is why. Oct 10 18:58:46 this is pretty common on modern processors---changing up voltages when at higher frequencies. Oct 10 18:59:04 I'm just wondering why the post bothered you. Oct 10 18:59:10 what you should do and what people do-do are different things :P Oct 10 19:00:07 i wasn't sure it was implemented correctly. Oct 10 19:00:41 not that the beaglebone has had any implementation problems. cough hdmi timing f lash bit width cough... uhum, excuse me. Oct 10 19:00:43 :P Oct 10 19:01:58 HDMI timing is much better now Oct 10 19:02:05 as is SD bit width... Oct 10 19:02:09 but, thanks for tracking! Oct 10 19:03:31 i'm not being serious of course. a few device tree settings can't be compared to meeting operating requirements of the cpu. :) Oct 10 19:15:37 [kernel] RobertCNelson pushed 1 new commit to 3.12: http://git.io/wuM_ng Oct 10 19:15:37 kernel/3.12 da2adc5 Robert Nelson: 3.12: update to v3.12-rc4... Oct 10 19:22:31 haha did not rcn has the right to screw the kernel *g* Oct 10 19:22:35 +know Oct 10 19:24:02 and now it does not make any sense people talking about rcn kernel Oct 10 19:24:08 to me Oct 10 19:40:01 [kernel] RobertCNelson pushed 1 new commit to 3.12: http://git.io/JSfIJQ Oct 10 19:40:02 kernel/3.12 e1ec2a1 Robert Nelson: 3.12: config: beaglebone FIX usb host: thanks to Felipe Balbi!... Oct 10 19:41:17 * vagrantc wonders if that's exactly the patch needed Oct 10 20:02:21 Hello, Anyone know how to set time on the Beaglebone Black. 2013-06-20 version? Oct 10 20:03:11 angstrom version Oct 10 20:05:02 Anyone awake here? Oct 10 20:05:10 ntpdate. ntp. The usual ways to set time on Linux. Oct 10 20:05:39 I can set time and date just not stick after reboot Oct 10 20:06:05 on the bbb Oct 10 20:07:02 Andyk1: Yeah, because the RTC is not enabled by default, so nothing stores the time. Oct 10 20:07:03 what agmlego said Oct 10 20:07:14 If the bone is always connected to the Internet, just install ntp. Oct 10 20:07:28 It will automatically get the time after a reboot. Oct 10 20:07:53 I did and set ntp but doesn't stick Oct 10 20:07:57 There is nothing special about the bone than any other Linux machine in this regard, other than it does not have a hardware clock enabled by default. Oct 10 20:08:10 Andyk1: Did you configure ntp with a timeserver? Oct 10 20:08:20 Did you set ntp to start on system boot? Oct 10 20:08:33 And, most importantly, are you connected to the Internet after boot? Oct 10 20:08:43 Yes server 0.north-america.pool.ntp.org Oct 10 20:08:56 and the 3 others Oct 10 20:09:31 Sure, those are acceptable, though finding one closer to home would probably be better in the long run. Oct 10 20:09:38 How about the other questions? Oct 10 20:09:50 yep. tried with the ethernet cable and mini usc cable. and set to 192.168.1.5 Oct 10 20:10:11 usb I ment Oct 10 20:10:18 It will not work over the USB cable unless your host does bridging. Oct 10 20:10:24 Ethernet or WiFi. Oct 10 20:10:25 I am connected at start up. Oct 10 20:10:35 ethernet Oct 10 20:10:39 And how long after boot did you wait to check the time? Oct 10 20:10:55 as soon as it starts up Oct 10 20:11:20 Give it a minute. NTP actually has to go out and ask the servers for the time, then do magic clock-disciplining to get accurate time. Oct 10 20:11:35 And if you are too far off, like hours, ntp will refuse to set the time at all. Oct 10 20:11:59 am looking at it now. doesn't it update auto? Oct 10 20:12:09 on the gui screen? Oct 10 20:12:26 The correct solutions here would be a) stop worrying about the time b) enable the RTC onboard and put a backup battery or capacitor on it or c) leave the bone on all the time. Oct 10 20:12:32 GUI screen? Oct 10 20:12:53 Oh OK... cause it says jan 1, 0:02am now Oct 10 20:13:16 yes the default start up screen in angsrtom Oct 10 20:13:20 Right, because the clock starts at 0. Probably also says the year is 1970. Oct 10 20:13:24 That is the UNIX epoch. Oct 10 20:13:31 I have no idea what that is. Oct 10 20:13:40 I have never but never used a GUI on the bone. Oct 10 20:14:07 it's the default start up. what can I say Oct 10 20:14:10 If it is GNOME, IIRC by default it uses ntpdate to set the time once, then relies on the RTC to keep time thereafter. Oct 10 20:14:30 You have to actually install ntpd to get a realtime daeomn. Oct 10 20:14:33 *daemon Oct 10 20:15:23 damn, wish I could copy/paste from there to this Win(hate) screen Oct 10 20:15:32 What window manager or desktop environment does Angstrom run out of the box? Oct 10 20:15:38 Why can you not? Oct 10 20:16:51 I been using putty Oct 10 20:17:03 That can copy and paste. Oct 10 20:17:38 IIRC, selecting the text puts it in your paste buffer, then the usual ways work outside PuTTY to paste. To paste into PuTTY, right-click or Shift-Insert. Oct 10 20:19:30 can't get into my usr, ntpd.log file from here Oct 10 20:19:44 Why not? Oct 10 20:20:04 Also, logs are usually in /var/log, not in /usr Oct 10 20:20:28 /usr is for non-sysadmin files. Oct 10 20:20:34 Not sure what I'm doing wrong. Doest see any dir's othere than dest top in the root@beaglebone folder Oct 10 20:21:04 Andyk1: Do be a favor, and type the command pwd. Oct 10 20:21:07 Tell me the output. Oct 10 20:22:30 it says /home/root Oct 10 20:22:56 Right, so you are in root's home directory. Oct 10 20:23:15 If you want to see logs, you need to go to /var/log (not /home/root/var/log) Oct 10 20:25:49 Andyk1: How much have you done with Linux before the beaglebone? Oct 10 20:29:47 ok am I back yet? Oct 10 20:29:54 YOu are. Oct 10 20:30:01 Andyk1: How much have you done with Linux before the beaglebone? Oct 10 20:30:07 Not sure what happened. was typing but wasn't going out Oct 10 20:30:19 You timed out. Oct 10 20:30:28 16:26 -!- Andyk1 <48c627c3@gateway/web/freenode/ip.72.198.39.195> has quit (Ping timeout: 250 seconds) Oct 10 20:30:39 I'm there. in Oct 10 20:30:49 timed out? Oct 10 20:30:53 Yeah. Oct 10 20:30:56 oh ok Oct 10 20:31:09 IRC daemons continually ping clients. The client is supposed to pong back. Oct 10 20:31:23 If you do not pong fast enough, the server kicks you off. Oct 10 20:31:32 So your connection lagged too much, and you timed out. Oct 10 20:31:46 Any guess how to fix that in win8? Oct 10 20:31:59 Yeah, get a better Internet connection. Oct 10 20:32:48 Ok, I'm set up to run on a second router for more connection. might be the problem Oct 10 20:33:05 In any case, whatever. Connection issues happen. Oct 10 20:33:07 generally yo uhave about 4 minutes to respond with the pong Oct 10 20:33:13 (250 seconds) Oct 10 20:33:17 anyway I'm in usr/log Oct 10 20:33:32 /usr/log? Oct 10 20:33:40 yes Oct 10 20:33:41 Not /home/root/usr/log? Oct 10 20:33:50 OK, weird place for logs. Oct 10 20:33:56 What do you see there? Oct 10 20:34:13 root@beaglebone:/var/log# ntpd.log Oct 10 20:35:04 OK, so, that woudl be /var/log...not /usr/log Oct 10 20:35:14 Just saying. Paths matter. Oct 10 20:36:40 one sec cause on gedit it just said /var/log Oct 10 20:37:49 crap, all this to set time more perminent Oct 10 20:38:50 Andyk1: This is your first Linux experience, I can tell. ;-P Oct 10 20:38:58 Windows does all this in the background too. Oct 10 20:39:39 It is. I started 10-12 years ago and got caught up it work and put it aside. decided to take it up again. Oct 10 20:39:49 Forgot alot as you can tell Oct 10 20:39:55 Heh. Oct 10 20:40:15 So what are you trying to do at the moment by looking at the log? Oct 10 20:40:37 trying to remember the linus file structure but it's coming back slow Oct 10 20:40:57 Just do 'ls -l /' Oct 10 20:41:49 Well I can get into the logs on the beaglebone and trying to copy and past here to see what ya's think why it's not updating my time/date stamps Oct 10 20:42:27 Yeah, please do not directly paste logs here. Oct 10 20:42:32 Use a service like pastebin. Oct 10 20:42:56 I wasn't. Just a few lines of it at a time Oct 10 20:43:12 looks like it's not connecting to the ntp server Oct 10 20:43:50 Right, so why is it not connecting to the NTP server? Oct 10 20:44:01 0.north-america.pool.ntp.org Oct 10 20:44:02 Can you resolve the IP using dig? Can you ping it?> Oct 10 20:44:09 Yeah, you said that already. Oct 10 20:44:11 ;-P Oct 10 20:45:18 I ping it and nothing came back. Oct 10 20:45:28 Nothing at all? Oct 10 20:45:43 nothing.... at all... doesn't seem right Oct 10 20:45:46 Not "Destination Unreachable" or "No Network"? Oct 10 20:45:53 nothing Oct 10 20:45:54 What happens when you hit Ctrl+C? Oct 10 20:46:01 YOu should get some statistics. Oct 10 20:46:02 just > Oct 10 20:46:19 Remember ping on linux works differently (better) then Windows, and defaults to continuous pings. Oct 10 20:46:29 That seems like your command was wrong. Oct 10 20:46:31 hahaha it if I remember right I should have gottin something Oct 10 20:46:40 Hit Ctrl+C, and tell me the exact command you used. Oct 10 20:47:24 I ping'ed 198.58.100.237 which is the ntp server ip I was connecting to Oct 10 20:47:57 No. I want you to paste the *exact* command you ran. Oct 10 20:48:14 ping 198.58.100.237 Oct 10 20:48:15 Include the two prompts and the > Oct 10 20:48:42 * N2TOH pastebin is your friend Oct 10 20:48:45 > ping 198.58.100.237 Oct 10 20:49:07 Why is the > there? Oct 10 20:49:13 I'm still learning... sorry... remembering Oct 10 20:49:41 because thats what my line looks like now. Oct 10 20:50:16 Hit Ctrl+C a few times, and then run the command reset Oct 10 20:50:19 after I entered ls -l /' Oct 10 20:50:32 Why is the ' there? Oct 10 20:50:57 sorry... reset or reboot? Oct 10 20:51:02 reset Oct 10 20:51:12 YOu want to reset the terminal, not reboot the machine. Oct 10 20:51:35 because 15:40] Just do 'ls -l /' Oct 10 20:51:47 Yeah, but you did not copy the first ' Oct 10 20:51:53 Why did you copy the second? Oct 10 20:52:23 ok reset... root@beaglebone:/var/log# Oct 10 20:52:29 There you go. Oct 10 20:52:45 Now. 'dig 0.north-america.pool.ntp.org' Oct 10 20:52:46 the second? Oct 10 20:52:53 *sigh* Oct 10 20:52:55 DO NOT copy the quote marks. Oct 10 20:53:05 Just the command inside them. Oct 10 20:53:14 pastebin the result. Oct 10 20:53:42 hehe so much for copy and paste Oct 10 20:54:02 what is pastebin? a command? Oct 10 20:54:07 A website. Oct 10 20:54:10 ok Oct 10 20:54:15 http://pastebin.org Oct 10 20:54:48 shezzz learning overload. Oct 10 20:55:05 Hehehe just want to set the time hahahah Oct 10 20:55:23 to come on after reboot Oct 10 20:55:25 Sure, and setting the time is easy if you know Linux. ;-P Oct 10 20:55:44 The issue is, you do not. So you are climbing a pretty big learning curve. Oct 10 20:56:16 I found a site to fix it but didn't work. http://derekmolloy.ie/automatically-setting-the-beaglebone-black-time-using-ntp/ Oct 10 20:56:29 I can help you if you let me. Oct 10 20:57:10 Wett I can set the time and date... but doesn't stick between reboots and not sure why Oct 10 20:57:18 errrr well Oct 10 20:57:19 ...I told you that. Oct 10 20:57:35 The onboard RTC, the hardware clock, is not enabled by default on the bone. Oct 10 20:57:54 sure. go ahead Oct 10 20:57:58 There is nowhere for Linux to store the time when it shuts down, and thus there is nowhere for Linux to get the time from on boot. Oct 10 20:58:14 Thus, Linux cannot possibly keep time over a reboot. Oct 10 20:58:36 You need to either a) not care aout the time b) turn on the RTC c) not reboot or d) use NTP. Oct 10 20:58:50 Of these, NTP is the most realistic option, and the easiest. Oct 10 20:59:04 Which is why I am trying to help you figure out why NTP is not working. Oct 10 20:59:16 But I need to see the output of 'dig 0.north-america.pool.ntp.org'. Oct 10 20:59:47 let me do a reboot on the bone and see what the errors read... on reboot Oct 10 20:59:59 Or just give me the output of the command I gave you. Oct 10 21:00:21 Ok... I missed the command... sorry Oct 10 21:00:27 'dig 0.north-america.pool.ntp.org' Oct 10 21:00:34 DO NOT copy the quotes. Oct 10 21:00:41 Put the output in http://pastebin.org. Oct 10 21:00:46 Tell me the link it gives you. Oct 10 21:01:18 agmlego but you need the right options for ntp Oct 10 21:01:30 otherwise it will not set the time correctly Oct 10 21:01:45 woglinde: I am aware. Andyk1 indicated that the NTP log showed him not seeing the timeserver. Oct 10 21:01:52 So, one problem at a time. Oct 10 21:02:11 NTP cannot set the time at all if it does not have servers to talk with. Oct 10 21:09:22 * agmlego leaves work for the flight home. Oct 10 21:11:32 Kicked me out again and I locked the bone up somehow to. Oct 10 21:14:33 Going to log in here from the bone to make this easier Oct 10 21:20:17 Going to give up on this for now.... my head hurts. thanks anyway guy's Oct 10 21:31:28 anyone have any theories/known-bugs on why a bbb with the 3.11 cant seem to use the cpufreq governors and is stuck at lowest speed? Oct 10 23:01:00 * vagrantc cheers Oct 10 23:01:09 ok, 3.12-rc4 with working USB. Oct 10 23:29:34 Other than ebay, digikey, allelectronics can anyone suggest a good place to look for 4x 660nm red clear GaAlAs 1000mcd LEDs? Oct 10 23:39:07 newark Oct 10 23:39:29 georgem_home : if you have a particular part number then use findchips.net (or is it .com?) Oct 10 23:39:53 i'll try that. Oct 10 23:40:08 parametric search may be difficult among the distributors Oct 10 23:40:24 what do you mean by 4x ? Oct 10 23:40:27 one package with 4 LEDs? Oct 10 23:47:31 georgem_home: you do know that 1000mcd isn't a measure of total light output? Oct 10 23:49:23 CareBear: I just need 4 of the LEDs apposed to like a bag of 100 Oct 10 23:50:55 georgem_home : you may need to buy a few more though.. Oct 10 23:52:57 SpeedEvil: Actually I'm not too savy on LED details but I know that I don't want to deviate much from the parts specified in this design unless I want to also significantly improve my understanding of light absorption. Oct 10 23:53:13 What are you trying to make. Oct 10 23:53:31 http://blog.siliconlabs.com/2012/11/21/create-a-simple-pulse-oximeter-with-tiny-gecko/ Oct 10 23:54:59 Basically any bright LED of about the right wavelength will work Oct 10 23:56:20 I would lose the transistors, use a 10mA drive current directly from the beagle with appropriate resistors, and pulse the LEDs on and off sampling multiply to improve SNR Oct 10 23:56:25 Ok, good to know. Oct 10 23:56:48 This will also eliminate the noise issues. Oct 10 23:57:17 (you turn on and off the LEDs 1000 times a second, measuring when on and off, and then read once when on, once when off. Oct 10 23:57:40 You get instead of a DC level, a 1000Hz waveform that corresponds to the actual signal Oct 11 00:02:49 SpeedEvil: I've been looking at several designs trying to understand the details, thanks for your suggestions. Oct 11 00:03:46 I found a really nice one for mice. Oct 11 00:04:00 But I've lost the bookmark, can't find it - and suspect the site is down Oct 11 00:04:36 I had read that a lot of the designs used phototransitors that put out a 0-20ma signal and you needed to run it through an OP AMP before converting it into a voltage readable by the MCU. Oct 11 00:05:06 Current loops are pretty common in instrumentation. Oct 11 00:06:49 Hey guys, I have a question. I lost my microSD->SD card adapter Oct 11 00:07:02 can I dd the ubuntu image from within angstrom then reboot? Oct 11 00:08:35 Theoretically you could... but you'd only get one shot at doing everything right. Oct 11 00:09:53 I do it all the time on other boards. Just make sure you remount the root filesystem read only Oct 11 00:10:14 and put the image in /tmp Oct 11 00:11:24 if the image won't fit in /tmp then you might have a problem unless you used netcat or something Oct 11 00:11:32 ah man. this sounds like disaster Oct 11 00:11:41 I wonder if I can dd the image while it's still in my go-pro Oct 11 00:11:42 :-P Oct 11 00:12:47 Those card adapters are a dime a dozen. Everytime anyone I know gets a micro sd card they come with one. Do you have any friends you could steal one from? Oct 11 00:13:16 not offhand, plus I go out of town tomorrow, which is why I was trying to get it online and running tonight Oct 11 00:13:26 ah Oct 11 00:13:50 cant just use Angstrom until you find an adapter? Oct 11 00:14:06 Need apt-get or simliar. installing openvpn Oct 11 00:14:13 opkg install Oct 11 00:14:21 opkg install openvpn Oct 11 00:14:34 well... hot diggidy damn. Oct 11 00:14:45 You guys.. you deserve high-fives Oct 11 00:14:52 Did it work? Oct 11 00:15:46 wrong package name, but opkg works Oct 11 00:16:33 I was just wondering if opkg was configured probably by default, I think it is though Oct 11 00:19:48 does angstrom come with utilities to compile? Oct 11 00:21:25 gcc, sure. Oct 11 00:21:31 Might have to install it. Oct 11 00:21:52 http://www.angstrom-distribution.org/repo/ Oct 11 00:22:30 no vpn software :-( Oct 11 00:23:16 Weird Oct 11 00:23:29 Agreed. Oct 11 00:23:46 so contribute something Oct 11 00:23:54 how do you think the existing packages got there? Oct 11 00:24:47 I would but I don't use angstrom. Oct 11 00:26:19 https://github.com/openembedded/meta-oe/blob/41748a4afc494b714315ba529f138214f80d41b9/meta-networking/recipes-support/openvpn/openvpn_2.1.3.bb Oct 11 00:29:07 Heh, my gopro presents the SD card as mass storage. DD'ing now Oct 11 00:29:11 thanks for the help though Oct 11 00:30:14 cool Oct 11 01:17:15 Hey folks, I'm wrapping my headf around Device Tree, and hope someone can shed some light on a concept. Looking at usb for the beaglebone, file am33xx.dtsi this section: http://pastebin.com/mw1WuHMu lines 3 to 5 are obviously the usb phy control registers from the TRM. What I don't understand yet is how the values port0-mode = <3>; and port1-mode = <1>; know to go to USB0MODE at offset E8h from 0x47401000 and USB1MODE at offset E8h from 0x47401800 Oct 11 01:18:43 I understand that in lines 4 and 5 the 0x800 is the size of the register space for each usbX instance, but I don't see where the offsets for eah parameter are defined Oct 11 01:47:49 Hello! I want to control 6 LED's via BeagleBone Black's GPIO's (either one GPIO or multiple). I have been searching everywhere & the best info I can find is that the GPIO's can handle max 8mA. The led's I want to power from the GPIO's are these: http://www.superbrightleds.com/moreinfo/through-hole/8mm-red-led-360-degree-viewing-angle-2500-millilumens/347/1294/ Oct 11 01:47:53 is this possible? Oct 11 01:47:57 Thanks & cheers! Oct 11 02:10:22 mekanical: well, how much current do you want to run through your LEDs? since the beaglebone can only source or sink 8mA you might have a problem driving them directly Oct 11 02:11:11 mekanical: your LED's datasheet says it requires 60mA Oct 11 02:11:31 so, will that not light up then? Oct 11 02:11:50 thats correct Oct 11 02:11:55 dang it... Oct 11 02:11:57 lol Oct 11 02:12:06 http://www.adafruit.com/products/845 Oct 11 02:12:14 these ones say 20 mA current Oct 11 02:12:31 what you can do it have the beaglebone control mosfets that control a higher current supply to the LEDs Oct 11 02:12:42 ooooh Oct 11 02:12:43 20mA is still > than 8mA Oct 11 02:12:50 I was thinking a relay Oct 11 02:13:00 I am googling mosfets =) Oct 11 02:13:05 you can try it... let me know if the magic smoke comes out of your *bone when you do :P Oct 11 02:13:11 try and solid state relay. they're like $5 and easy to control.the same as an led Oct 11 02:13:11 http://learn.adafruit.com/blinking-an-led-with-beaglebone-black/you-will-need Oct 11 02:13:25 relay is over kill Oct 11 02:13:36 mosfet cheaper and will do the job Oct 11 02:14:03 oooh Oct 11 02:14:15 I see Oct 11 02:14:25 so the MOSFET will be controlled by GPIO Oct 11 02:14:34 Hey emeb, your pretty knowledgable with beaglebone device trees right? Oct 11 02:14:38 and provide on/off to the circuit Oct 11 02:14:56 mekanical: yes. The beaglebone gpio's will connect to the gate of the mosfet Oct 11 02:18:08 magyarm: not in the least Oct 11 02:21:31 emeb: shoot. was hoping since you have a dtsi for your blank canvas cape that you could answer questions on how it worked. thanks anyway Oct 11 02:24:21 magyarm: ka6sox and ssi did that work:wq Oct 11 02:25:14 emeb: awesome, I will try asking them. Thank you Oct 11 02:39:17 So....I'm looking everywhere for a suitable mosfet... Oct 11 02:43:13 do you have a good tutorial or guide? Oct 11 02:49:19 mekanical try digikey.ca, and look for one with a low Rds-on Oct 11 02:49:38 http://www.radioshack.com/product/index.jsp?productId=2062618 Oct 11 02:49:43 I was thinking that one.... Oct 11 02:49:47 so I could pick it up tonight Oct 11 02:51:14 mekanical: well, what it's turn on voltage? Oct 11 02:51:35 mekanical: remember, you can only turn the mosfet on with 3.3V from the bone Oct 11 02:52:37 Gate to Threshold Voltage VGS(TH) VGS = VDS, ID = 250µA 2.0(min) - 4.0(max) V Oct 11 02:53:08 so thats good to go Oct 11 02:53:10 http://www.eecs.berkeley.edu/~boser/courses/40/labs/docs/IRF510.pdf Oct 11 02:53:43 It says the Drain to source breakdown voltage is 100V min though Oct 11 02:53:47 I found it from vishay's site already :P Oct 11 02:53:48 I'm not sure what that means Oct 11 02:54:00 https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CD4QFjAA&url=http%3A%2F%2Fwww.vishay.com%2Fdocs%2F91015%2Fsihf510.pdf&ei=imdXUrWoGsekyQHmkoCQCA&usg=AFQjCNGwqZTAKWzVQ29kCSvWLie-v0uoeA&sig2=CBN7qBHnnj4T-UftCMI8ng&bvm=bv.53899372,d.aWc Oct 11 02:54:26 Ya, the VDS(V) = 100V Oct 11 02:54:58 the 100V is the maximum it can take Oct 11 02:55:03 ooooooh Oct 11 02:55:13 so it can handle 5V 1A Oct 11 02:55:14 the thresho;ld vpoltage is what it needs to switch Oct 11 02:55:23 ok! Sweet Oct 11 02:55:37 So, before I go willy nilly plugging stuff into beagle bone Oct 11 02:55:56 I want to use my breadboard to test this stuff Oct 11 02:56:36 Any suggestions on replicating GPIO from beaglebone? Oct 11 02:56:49 yes. Just use some wire to plug a gpio from the bone to the gate of the moset Oct 11 02:56:56 lol Oct 11 02:56:58 kk Oct 11 02:57:04 If I get black smoke Oct 11 02:57:06 I will cry Oct 11 02:57:07 =) Oct 11 02:57:15 I thank you so much for your assistance Oct 11 02:57:18 I will update later Oct 11 02:57:30 replicating? if you don't want to hook the *bone up immediately you can just use wire and plug into your 3.3V and 0V to test Oct 11 02:57:31 Does anyone know about an issue with c6runlib-cc getting stuck in a loop and never finishing? Oct 11 02:57:59 remember, don't put 5V onto any beaglebone pin Oct 11 02:58:09 and use current limit resistor! Oct 11 02:58:11 ok, so the 3.3V & 0V connected to the gate should switch it Oct 11 02:58:28 if I remove wire, then it will drop circuit Oct 11 02:58:41 yes Oct 11 02:58:53 watch this video to give you an idea: http://www.youtube.com/watch?v=SaIpz00lE84 Oct 11 02:59:00 awww yes Oct 11 02:59:01 thank you! Oct 11 02:59:09 I like videos! Oct 11 02:59:21 just FYI, http://www-cogsci.ucsd.edu/~deak/cdlab/ Oct 11 02:59:41 we are using EEG to control these LED's and maybe audio during mother/infant interactions =) Oct 11 02:59:44 hahaha, people now a days prefer to learn from videos **** ENDING LOGGING AT Fri Oct 11 02:59:58 2013