**** BEGIN LOGGING AT Fri Apr 04 02:59:59 2014 Apr 04 03:32:39 Microdol? D-76? Apr 04 03:37:31 woo Apr 04 03:37:35 my ruby lib is comign nicely Apr 04 03:37:43 just wrote shift reg code Apr 04 03:37:43 so nice Apr 04 04:57:16 hi Apr 04 04:57:20 hell? Apr 04 04:57:22 hello? Apr 04 04:57:42 아무도 없으시무니까 Apr 04 04:59:05 This is my black beagle is not connected to the laptop Why is this? Apr 04 04:59:38 anybody there?! Apr 04 05:00:21 http://www.catb.org/esr/faqs/smart-questions.html Apr 04 05:05:03 hey Apr 04 05:05:53 hello Apr 04 05:05:55 you could start by explaining your situation Apr 04 05:05:55 hello? Apr 04 05:06:01 instead of repeating yourself Apr 04 05:07:11 my black beagle is not connected to the laptop Apr 04 05:07:28 then connect it, either by USB or by Ethernet Apr 04 05:07:29 yesterday, connected Apr 04 05:08:14 which operating system are you running on your BBB? Apr 04 05:09:52 my operating system is ubuntu Apr 04 05:11:25 what did you do yesterday with your ubuntu installation on the BBB? Apr 04 05:14:12 i don`t know... Apr 04 05:14:13 suddenly doesn`t usb connection Apr 04 05:16:28 then either connect to the debug UART or over Ethernet/LAN. Apr 04 05:16:43 If you can't do that, then just reflash the board Apr 04 05:18:06 what is mean refresh? BBB change? reset? Apr 04 05:20:01 reFLASH not refresh Apr 04 05:20:23 as in reinstall ubuntu on it Apr 04 05:25:36 i have two BBB Apr 04 05:25:50 but another bbb is not connected Apr 04 07:48:51 hi Apr 04 07:48:51 any one there Apr 04 07:49:06 hi Apr 04 07:49:22 hi Apr 04 10:33:23 I know it's super early but, I have a beagle-bone a4 white and I can't get it to get an ip address, I am pretty sure it's booting. I tried the fix that requires removing a resistor (r219) but it still won't work, this was with archlinux installed Apr 04 10:33:36 I know the cable was good and the router is new Apr 04 10:34:00 I am at a loss Apr 04 10:34:16 which os is on the board? Apr 04 10:36:24 hm Apr 04 10:36:25 Fun, thank you for responding, I put archlinux on the board Apr 04 10:36:37 I have two sd cards Apr 04 10:36:47 onca: connect a serial cable and see what it is doing Apr 04 10:37:05 I tried, I don't know why but there is no /dev/ACMtty anything Apr 04 10:37:14 I have it in front of me Apr 04 10:38:30 what os do u have on your computer? Apr 04 10:38:35 ubuntu Apr 04 10:38:36 maybe because its ttyUSB? Apr 04 10:38:44 see syslog Apr 04 10:39:04 oh there it is Apr 04 10:39:08 i thing it is some thing like ... /dev/tty.usb-serial... Apr 04 10:39:19 I don't know how ti check syslog for anything, Apr 04 10:39:25 FUN: if you have that, then you have a weird distro Apr 04 10:39:30 also dun know anything about connecting via sireal Apr 04 10:39:56 screen /dev/tty.usbX 115200 Apr 04 10:40:08 onca: there are programs called `more` and `less`, and 'tail` too Apr 04 10:40:10 whatever X is Apr 04 10:40:25 * KotH recommends picoterm instead of screen Apr 04 10:40:33 right tool for the right problem Apr 04 10:40:44 or u can use minicom Apr 04 10:40:53 minicom is too complicated for most people Apr 04 10:41:08 i use screen or minicom Apr 04 10:41:20 I know my way around linux, but alas some things are new to me Apr 04 10:41:32 how do I connect via /dev/ttyUSB0? Apr 04 10:41:36 onca: ubuntu != linux ;-) Apr 04 10:41:44 I know Apr 04 10:41:51 I use the terminal for most of my work Apr 04 10:41:59 onca: use the power of google to answer this question Apr 04 10:42:02 I've been doing this for 15 years Apr 04 10:42:17 google has led me astray, what's that called? Apr 04 10:42:25 conca: screen /dev/ttyUSB0 115200 Apr 04 10:42:31 thank you Apr 04 10:42:36 I do appreciate your help Apr 04 10:42:57 :) Apr 04 10:43:12 hello Apr 04 10:43:30 astrapotro: hi Apr 04 10:43:40 more about the ftdi usb cable problem Apr 04 10:44:42 issue? Apr 04 10:44:47 yep Apr 04 10:45:32 http://www.catb.org/esr/faqs/smart-questions.html Apr 04 10:46:37 thanks KotH Apr 04 10:46:39 KotH, that command just results in a message [Screen is terminating] Apr 04 10:47:03 onca: as i said, i think that screen is the wrong tool Apr 04 10:47:11 use at your own risk Apr 04 10:48:03 onca you could try to do an echo "some command" > /dev/ttyUSB0 to talk to the serial device Apr 04 10:48:24 onca: screen is terminating because it cann't communicate with that port Apr 04 10:48:29 astrapotro: that does not really work Apr 04 10:48:40 yes it does Apr 04 10:49:00 thank you FUN Apr 04 10:49:07 well i've tried and it worked Apr 04 10:49:29 onca: how many ttyUSB do you see? Apr 04 10:49:36 just the one Apr 04 10:51:21 astrapotro: then you set the baudrte, parity and stop bits using a different prog beforehand Apr 04 10:52:21 yes that's is Apr 04 10:53:23 that is a very important information, which you should tell an obvious n00b Apr 04 10:53:27 ubuntu gets to equal linux, because I had a system failure and put the ssd from my main machine into a netbook and it booted beautifully with gfx acceleration Apr 04 10:54:30 onca: u need to use "sudo" Apr 04 10:54:48 oh... Apr 04 10:54:48 onca: sudo screen /dev/ttyUSB0 115200 Apr 04 10:55:08 onca: adduser youruser dial-up Apr 04 10:55:11 onca: then log in again Apr 04 10:55:23 okay I will Apr 04 10:55:25 then it works w/o being root Apr 04 10:55:27 thank you Apr 04 10:56:46 onca: :) Apr 04 10:57:34 onca: er.. group is dialout Apr 04 10:57:41 not dial-up Apr 04 10:57:46 I found it Apr 04 10:57:54 screen shows nothing Apr 04 10:58:02 have you tried picocom? Apr 04 10:58:08 reset bb Apr 04 10:58:14 ah.. yes Apr 04 10:58:19 what FUN said Apr 04 10:58:28 oh wow Apr 04 10:58:33 this is fun Apr 04 10:58:44 it gets a kernel panic Apr 04 10:59:04 it's a start Apr 04 10:59:09 it says unable to mount root Apr 04 10:59:14 unknown block Apr 04 10:59:33 then your archlinux image is broken Apr 04 10:59:47 or kernel driver sdcard missing Apr 04 11:00:22 drat Apr 04 11:00:34 try debian on bb? Apr 04 11:00:41 I will. Apr 04 11:00:43 thank you Apr 04 11:00:53 should it still be ext4 ? Apr 04 11:01:49 that's filesystem, not block device Apr 04 11:02:11 okay Apr 04 11:02:16 soo, yes Apr 04 11:02:51 the official debian for bb use ext3 i think, but use ext4 if u can Apr 04 11:03:05 doesnt really matter for sdcards Apr 04 11:03:38 mine still use ext3 Apr 04 11:03:50 don't think you really wanna use journalling on sd .. certainly noatime is good :) Apr 04 11:04:01 because that's what's in the image Apr 04 11:04:03 though jury is out on that :) Apr 04 11:04:13 veremit: journaling is not much of a problem Apr 04 11:04:21 veremit: the amount of data written there is small Apr 04 11:04:39 KotH .. thats usually the problem :) Apr 04 11:04:46 nope Apr 04 11:04:54 you have wear leveling Apr 04 11:04:56 depends on ya card though Apr 04 11:05:05 some much worse than others for accesses Apr 04 11:05:09 well, cheap chinese cards are cheap chinese cards Apr 04 11:05:22 there's an alternative?! :p Apr 04 11:05:25 stick with a brand if you want reliability Apr 04 11:05:27 lol Apr 04 11:05:30 yea Apr 04 11:05:35 or buy industrial sd cards with SLC memory Apr 04 11:05:43 better the devil you know lol :) Apr 04 11:06:00 or you can pay me lots of money and i design you an sd card that never fails Apr 04 11:15:12 everytime I take the sd card out and try to mount it, /dev/sdb2 is corrupt Apr 04 11:15:25 I have an 8gb one, I shall try Apr 04 11:18:14 So i've read the datasheet of the ftdi 485 cable and i've to try to put an pull up resistor (750 Ohm) (Vcc with data+) and pull down resistor (750 Ohm) (ground with data-), to avoid z states. Apr 04 11:18:16 Then i will try to put a resistor of 120 Ohms between the data+ and data- at the end of the cable to avoid signal reflections. Apr 04 11:18:18 Is this approach correct to, maybe, solve the ftdi usb-serial hang? Apr 04 11:19:05 astrapotro: i doubt it's that Apr 04 11:19:19 astrapotro: as we have told you before, it's either a power supply issue or a driver issue Apr 04 11:19:32 astrapotro: have you ruled out both of these? Apr 04 11:21:38 ftdi uarts are very reliable Apr 04 11:22:08 no yet. We've a 2A self-powered usb hub and we power the bbb trought and usb-miniusb cable Apr 04 11:23:00 power BBB through the DC jack .. usb is only designed for 500mA .. hence 4 port hubs require 2A total. Apr 04 11:23:50 although, yea, there are exceptions .. thats the spec. Apr 04 11:25:48 spec: n. document that everyone referes to, but nobody reads. never used to design any device. Apr 04 11:26:46 shhhh :p Apr 04 11:27:38 lets not make the problem Worse eh?! :p Apr 04 11:27:56 it can't be worse Apr 04 11:29:32 xDD Apr 04 11:34:22 I bought a belken powered usb hub, unfortunatly the hub didnt work right but it had a nice 2.5 amp 5volt power supply. And its now powering the beagle happily... Apr 04 11:35:11 i think it was worth the 14 bucks even if the hub was junk... Apr 04 11:38:08 I have a usb cdrom that beagle wont drive on its own, powered hub is necessity Apr 04 11:44:17 i 've tested our installation with a raspberrypi and raspbian has solved the ftdi cable issue just a week ago Apr 04 11:44:37 so i think is something with the driver Apr 04 11:44:56 not a power problem i think Apr 04 11:51:52 thanks guys , now is time for eat something ! Apr 04 11:52:20 astrapotro: hint: rpi and bbb have different hardware Apr 04 11:55:04 KotH: really? i thought RPi and BBB were identical in every single way ;) Apr 04 11:55:28 surely if something works on one... it will always work on the other exactly the same way Apr 04 11:55:43 * Dan1 puts on flame suit and ducks Apr 04 11:55:54 * veremit lights the torch .. Apr 04 11:55:59 lol Apr 04 11:56:15 i mean.... there almost the SAME SIZE!!! Apr 04 11:56:20 surely that means something Apr 04 11:56:22 coulda sworn I said someting about not makin things WORSE .. damnit! :p Apr 04 11:56:31 lol Apr 04 11:56:35 looool Apr 04 11:56:41 * KotH hands veremit a pitchfork Apr 04 11:56:46 hahaha Apr 04 11:56:48 :D Apr 04 11:56:53 ah thanks .. just wha tI needed Apr 04 11:57:12 now all I need is a cute farmgirl ... Apr 04 11:57:16 >,< Apr 04 11:58:10 in a tucker & dale v evil sorta way?? Apr 04 12:01:28 hey, so I finally got the beagle bone to boot but it doesn't get an ip address Apr 04 12:01:48 I know it loads now, I'm not sure what's the problem Apr 04 12:02:53 usb gadget ethernet or plain old conventional rj45? Apr 04 12:03:13 can u log in to bb using usb-serial? Apr 04 12:06:02 * Dan1 wonders if anyone has coined the term "PEBBBAC" yet? Apr 04 12:09:34 Dan1: no, but PEBBBBAC is already in heavy use Apr 04 12:10:28 KotH: hmm.... has the stoopids increased with the bbb? that didnt exist in teh days of the more expensive bb's? Apr 04 12:11:23 yes, the number of i-dont-know-how-to-spell-linax is o(e^-price) Apr 04 12:11:58 hahaha ahh Apr 04 12:12:45 sadly... i came from RPi and moved to BBB... but im lucky enough to have some fairly knowledgeable linux people around me Apr 04 12:13:18 so i already knew id need to learn a heap before i got anything to do what i wanted Apr 04 12:14:08 well.. i dont mind people who are new to linux (or stuff in general) Apr 04 12:14:33 but i mind people who don't want to see that they have to learn a lot of stuff if they want to use something complex Apr 04 12:14:58 oh yea Apr 04 12:15:07 ive delt with them in other walks of life Apr 04 12:15:12 sadly, modern linux distros have become good windows emulators... including teaching people that they dont need to know anything of what is going on underneath Apr 04 12:15:15 its not only an IT thing Apr 04 12:15:26 yup Apr 04 12:15:38 yeah... drawing red lines with blue ink Apr 04 12:15:48 tho.... it is what got me into linux after MANY decades of windows and other things Apr 04 12:17:11 I jumped into linux right after blue screen of death on xp Apr 04 12:17:20 loool Apr 04 12:17:34 it Apr 04 12:18:07 it's the driver causing the problems and I can't fit it Apr 04 12:18:34 bad 'VAIO' Apr 04 12:19:20 the intel wifi chip also died Apr 04 12:19:40 partially... Apr 04 12:20:08 then linux saved my year! Apr 04 12:20:36 it was good for high school homework :) Apr 04 12:20:45 welcome to the light Apr 04 12:20:59 we accept all kind of students and converts here ;) Apr 04 12:24:02 ok tis time for an afk session .. bbl :) Apr 04 12:45:41 so anyone has proved an ftdi usb-serial cable without any issues? Apr 04 12:46:36 i can't prove, but it works for me Apr 04 13:35:04 what's the default root password for the debian package Apr 04 13:35:59 root/nothing Apr 04 13:36:43 just hit enter? Apr 04 13:36:55 oh Apr 04 13:37:05 if official bbb debian then Apr 04 13:37:15 debian Apr 04 13:37:19 temppwd Apr 04 13:37:31 id: debian, password:temppwd Apr 04 13:37:55 FUN no? my debian was just root/nothing Apr 04 13:37:56 ? Apr 04 13:38:42 if u want to log in as root, there is no password, but if u want to log in as user, then {debian:temppwd} Apr 04 13:39:14 oh, yer ok i only loged in as root and set up a new used Apr 04 13:39:23 *user Apr 04 14:26:48 anybody knows why https://rcn-ee.net/deb/rootfs/wheezy/debian-7.4-console-armhf-2014-03-27.tar.xz this image without any changes the wifi dongle doent work? Apr 04 14:26:54 on BBB Apr 04 14:28:38 [A Apr 04 14:29:16 agmlego:? Apr 04 14:29:27 Sorry, client lag. Apr 04 14:29:56 salaet: My guess is your WiFi dongle does not work because the image that you are using does not have the driver installed on it for your WiFi dongle. Apr 04 14:30:07 So find out which driver you need, and install the driver. Apr 04 14:30:31 agmlego:but lsusb doesnt detect Apr 04 14:30:51 root@beaglebone:~# lsusb Apr 04 14:30:52 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Apr 04 14:30:54 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Apr 04 14:30:59 nothing more Apr 04 14:31:08 and UWN200 is connected Apr 04 14:31:13 OK, so maybe you are not providing the unit with enough power to turn on fully and enumerate. What does dmesg say? Apr 04 14:32:26 http://pastebin.com/CVhVrcTD Apr 04 14:32:35 its 5V 2A Apr 04 14:33:21 It's the last image Apr 04 14:36:41 Right, but you have the WiFi dongle plugged into a powered hub, right? Apr 04 14:37:03 The bone generally has trouble providing sufficient power out the USB port for high-power devices. Apr 04 14:38:51 but with other version of debian I'm going back with sd Wifi dongle works Apr 04 14:39:52 Then figure out the difference between the two images. Apr 04 14:40:17 Again, check dmesg to see what happens when you plug in the dongle. I suspect you do not have the correct module loaded. Apr 04 14:42:34 when you refer a module ? are you saying to install drivers? Apr 04 14:42:47 ...yes. Apr 04 14:42:50 UWN200 it's supported , no? Apr 04 14:43:16 Linux calls drivers modules, because the kernel is a modular one. You load only the modules you need for the hardware you have. Apr 04 14:43:21 I have no idea, is it? Apr 04 14:43:38 Check the list of supported chipsets on the debian armhf project. Apr 04 14:43:54 Or, find the open-source driver for it and compile the module against your kernel. Apr 04 14:44:41 agmlego: If I can run wifi and minimal , without node,apache,X windows etc.. I'm very happy Apr 04 14:45:20 OK. SO do that then. Apr 04 14:45:37 Or, uninstall the things you do not need from the working image. Apr 04 14:45:56 But I suspect it will be easier just to get the correct module installed. Apr 04 14:50:02 Installed like https://docs.google.com/a/logicsupply.com/document/d/1-CIGQYdk8ZhU3D3UCNn70jc7C9HdXvEZAsiNW71fGIE/edit?pli=1#heading=h.k9hc7n9nppyo Apr 04 14:50:10 not work Apr 04 14:50:24 I rollback to image Apr 04 14:51:15 salaet: On *both* images, the working one and the non-working one, I need you to do a few steps for me. Apr 04 14:51:52 1. run lsmod to show the list of loaded modules. There should be at least one more present on the working one than the non-working one. Apr 04 14:52:26 ok Apr 04 14:52:31 root@beaglebone:~# lsmod Apr 04 14:52:32 2. read dmesg on both systems when you plug in the dongle. Pastebin only the part of dmesg that pertains to when you plugged in the dongle. Apr 04 14:52:33 Module Size Used by Apr 04 14:52:34 g_multi 47670 2 Apr 04 14:52:36 libcomposite 14299 1 g_multi Apr 04 14:52:37 no working Apr 04 14:52:39 salaet: PASTEBIN Apr 04 14:52:43 ok! Apr 04 14:52:45 sorry Apr 04 14:52:52 go to flash the image Apr 04 15:34:24 http://pastebin.com/SsSa2R2B Apr 04 15:34:34 this is without running wifi Apr 04 15:35:37 agmlego: this is with module wifi loaded but not run , I go 2 versions back now Apr 04 15:35:38 http://pastebin.com/ Apr 04 15:35:40 sorry Apr 04 15:35:59 http://pastebin.com/jTCdnBd9 Apr 04 15:37:40 mt7601Usta is the WiFi module. Apr 04 15:38:12 but not run Apr 04 15:38:13 Looks like on your non-working image, the USB subsystem cannot assign an address to the dongle, probably because you are missing the driver. Apr 04 15:38:39 I'm get now from here http://elinux.org/BeagleBoardDebian Apr 04 15:38:46 and flash to beaglebone Apr 04 15:38:55 Sure. Apr 04 15:39:56 but this image I got from http://beagleboard.org/latest-images Apr 04 15:41:25 the non working image is from http://beagleboard.org/latest-images Apr 04 15:41:29 the wifi Apr 04 15:42:53 Lunch time. Apr 04 15:52:58 agmlego:In catalonia we said , Bon profit Apr 04 17:42:41 What's the change to the rev c Apr 04 17:43:25 Bigger eMMC. Apr 04 17:43:36 And a bunch of things, all listed on the revision sheet. Apr 04 17:58:56 how much of ram would a am335x be able to handle ? Apr 04 17:59:47 rob_w: sounds like a great question for the TRM Apr 04 18:00:28 rob_w: http://www.ti.com/product/am3359 Apr 04 18:01:10 ah now i see it Apr 04 18:01:12 thx Apr 04 18:01:22 1GB of Total Addressable Space Apr 04 18:01:41 Not sure that's the same thing Apr 04 18:02:34 np i was just wondering .. not desging anything else then 512 atm Apr 04 18:46:03 is the circuitco.com wiki down for other folks? Apr 04 18:51:49 no Apr 04 18:52:25 oh wait looks like its broken.. lol Apr 04 18:58:26 anyone have a bbb sch handy? Apr 04 18:58:57 its on elinux.org no ? Apr 04 18:59:05 thats up .. just checked it too :p Apr 04 19:00:36 pthomas__: there shouldn't be any more circuitco wiki Apr 04 19:00:39 short answer is no Apr 04 19:00:45 pthomas__: what url are you trying toa ccess? Apr 04 19:02:09 pthomas__: http://elinux.org/Beagleboard:BeagleBoneBlack#Hardware_Files Apr 04 19:07:08 prpplague .. some odd results coming up in google for circuitco :) Apr 04 19:07:43 veremit: such as? Apr 04 19:08:26 prpplague .. circuitco.com/support/opensearch_desc.php‎ Apr 04 19:08:42 prpplague .. http://www.circuitco.com/support/api.php?action=query&prop=revisions&titles=API|Main%20Page&rvprop=timestamp|user|comment|content Apr 04 19:10:15 veremit: looks like old stuff from the previous disaster of a sysadmin Apr 04 19:10:25 lol fun fun Apr 04 19:10:33 indeed Apr 04 19:50:35 thanks prpplague, they should remove all the links to circuitco Apr 04 19:51:51 pthomas__: what links? Apr 04 19:52:28 pthomas__: all links to circuitco support should be redirected to elinux.org Apr 04 19:52:30 I am having a problem with spi_omap2_mcspi module using one ethernet adapter connected to spi1. Apr 04 19:53:01 here is the message: NETDEV WATCHDOG: eth1 (enc28j60): transmit queue 0 timed out Apr 04 19:53:34 Have someone any experience with this problem before? Apr 04 19:54:04 Ventura: either there is an issue with the setup of your pinmux or the enc28j60 was stuck waiting for an irq to be serviced Apr 04 19:54:49 all the links on the main beagle board page Apr 04 19:54:50 http://beagleboard.org/Products/BeagleBone+Black Apr 04 19:55:03 and then in the maual the links are to circuitco Apr 04 19:55:22 Ok, but what I observed is if I force the drive to use only DMA everything works but when I mix DMA with PIO I get this problem... Apr 04 19:56:03 I'm not sure you wanna mix pio with dma Apr 04 19:56:35 The drive does that, if the buffer size < 160; goes to PIO... Apr 04 19:57:03 It's supposed to have better performance... Apr 04 19:57:34 I have to ask .. why using SPI ethernet!? Apr 04 19:58:29 This is the cape that I have; It's connecting one microchip enc28j60 ethernet using spi as the interface to beaglebone. Apr 04 19:58:51 how many ports do you need?! Apr 04 19:59:06 why not just get a vlan capable hub chip instead Apr 04 19:59:19 One SPI and one GPIO pin for interrupt... Apr 04 19:59:21 run dot1q Apr 04 19:59:43 what is dot1q? Apr 04 20:00:08 pthomas__: all of those links should redirect to elinux.org Apr 04 20:00:13 pthomas__: i'll check on that Apr 04 20:01:01 ieee802.1q Apr 04 20:01:58 Sorry, I think that I mixed in another chat.. Apr 04 20:06:05 pthomas__: yep, looks like there was some broken php, it's fixed now, thanks for calling attention to the issue Apr 04 20:06:49 The routine that is issuing the NETDEV WATCHDOG is dev_watchdog. I think that for any reason the PIO is not dispatching the buffer causing this problem... Apr 04 20:07:25 so why the switch to elinux? that's digikey's site right? Apr 04 20:07:34 When I use DMA only, the mechanism is totally different and it works... Apr 04 20:07:53 pthomas__: no Apr 04 20:07:53 Ventura .. need to dig deeper into the driver I suggest Apr 04 20:08:14 elinux is a community site I thought Apr 04 20:08:18 pthomas__: elinux.org is an embedded linux wiki that is sponsored by the linux foundation Apr 04 20:08:37 oh cool Apr 04 20:08:54 Yes, you are right. I just try here before because most of the time I get something. I'm gonna do that... Apr 04 20:08:59 pthomas__: it made sense that instead of having circuitco host a dedicated wiki, that it should be hosted on a community site such as elinux.org that has other links and materials for embedded linux Apr 04 20:36:10 802.11.1q Apr 04 20:36:16 802.1q I mean blah Apr 04 20:36:41 yeah one of them thingies :) Apr 04 20:37:04 spi ethernet gotta be almost as bad as the usb ethernet on pi Apr 04 20:52:11 veremit: SPI ethernet works great for what it was designed for Apr 04 20:52:28 veremit: just like anything else, you use it for something it wasn't intended, you are likely to be disappointed Apr 04 20:52:34 that applies to many things :) Apr 04 20:52:38 indeed Apr 04 20:53:36 not that there's anything wrong with sticking bits together with electronic glue because you can .. Apr 04 21:06:36 veremit: indeed Apr 04 21:06:45 veremit: i've used the enc28j60 a time or two Apr 04 21:07:02 I've got a couple .. but then I acquired my beagle and wand .. lol Apr 04 21:07:16 hardware ethernet <3 Apr 04 21:07:40 onboard wifi <333 Apr 04 21:44:47 <_ssl> hello #beagle! i have booted from an sd card on my BBB with the newest ubuntu image i got from here: http://elinux.org/BeagleBoardUbuntu#raw_microSD_img now i wanted to try continuous ADC sampling mode, like explained here: http://processors.wiki.ti.com/index.php/AM335x_ADC_Driver%27s_Guide#How_to_set_it_up but i find there is no "mode" file in the specified folder. what am i doing wrong? Apr 04 21:46:09 <_ssl> that TI page is telling me that "Please note that continuous mode is only supported with the v3.2_AM335xPSP_04.06.00.10-rc1 release or later" but i dont even know what they are talking about here? is that a kernel version?! Apr 04 21:46:13 I would imagine you need to build/configure a driver Apr 04 21:46:28 <_ssl> my uname -a outputs Linux arm 3.8.13-bone40 #1 SMP Fri Jan 31 10:36:05 UTC 2014 armv7l armv7l armv7l GNU/Linux Apr 04 21:46:45 yes the TI PSP is a package with kernel/rootfs/etc Apr 04 21:47:44 <_ssl> so i can't use continuous sampling with the ubuntu image from elinux.org? Apr 04 21:48:06 not out-of-the-box no .. but it shouldn't be impossible Apr 04 21:49:06 3.2...PSP is a kernel from TI Apr 04 21:49:19 it's the 3.2 kernel with all kinds of stuff merged on top of it Apr 04 21:49:43 Newer beaglebone stuff uses kernels that are closer to mainline. Nowdays mainlie + just a few patches. Apr 04 21:50:17 The PSP kernels have features that are not upstream (mainline), and sometimes they do the same things but in a different way Apr 04 21:50:27 unfortunately a lot of documentation refers to the older stuff :( Apr 04 21:50:55 <_ssl> i'm sorry i'm not into kernel thingies. what i really want it ADC continuous sampling on the BBB, i dont really care about the operating system, since i have to write my software bottom up anyways. Apr 04 21:51:27 http://eewiki.net/display/linuxonarm/BeagleBone+Black Apr 04 21:51:31 <_ssl> so what would be the best/easiest way to achive that? Apr 04 21:52:08 look for the driver-specific options as per the TI app note Apr 04 21:52:20 as soon as te kernel config comes up Apr 04 21:53:48 I think on the newer kernels stuff like ADC is handled through IIO Apr 04 21:55:06 <_ssl> alan_o i think you are right, i found this blog here which seems to be just what i want, but unfortunatly, the author seems to have discontinued it http://beagleboard-gsoc13.blogspot.de/ Apr 04 21:55:59 looks like that was from GSOC last year Apr 04 21:56:07 <_ssl> veremit: sorry i dont understand. do you propose for me to manually install the OS with another kernel? Apr 04 21:56:44 you're most likely going to need a different kernel, yes Apr 04 21:57:02 robert nelsons's site walks you through it quite painlessly Apr 04 21:57:10 <_ssl> alan_o yes, i think he made some changes to the (mainline?!) kernel to include the continuous sampling with iio, but i dont know how i can get it to work for me Apr 04 21:57:44 wonder where the man himself has gone .. he used to visit here ... Apr 04 21:58:31 looks like you read stuff from /sys/devices/ocp.*/ but I'm not seeing that on my installation (but I'm running full mainline 3.14) Apr 04 21:58:51 3.14 now?! Apr 04 21:59:05 3.14 was released a few days ago Apr 04 21:59:14 there's a build for beagle/ Apr 04 21:59:14 but the beagleboard.org kernel is using 3.13 still Apr 04 21:59:37 https://github.com/beagleboard/kernel/ Apr 04 21:59:45 Goes to 3.13 in the git repo (see the branches) Apr 04 22:00:14 although I'm guessing rcn 's site might have a 3.14 branch i nthe pipeline Apr 04 22:00:50 hmm, on the 3.13 beagleboard.org kernel I don't see it in sys/devices either Apr 04 22:01:08 ah I got a something-adc sec ... Apr 04 22:01:10 It may need to be turned on in the DT. I just don't know. I haven't done it before Apr 04 22:02:13 I've got amodule .. Apr 04 22:02:33 ti_am335x_adc loaded in my 3.13 kernel Apr 04 22:02:39 <_ssl> alan_o i guess you need to echo BB-ADC into your slots file Apr 04 22:03:13 yeah, it's part of the DT that has to be enabled. Apr 04 22:03:55 * veremit hasn't modified anything this end from stock lol Apr 04 22:05:19 <_ssl> what does this mean? Apr 04 22:05:28 <_ssl> is it working for you? Apr 04 22:05:53 just investimagating Apr 04 22:06:06 <_ssl> : Apr 04 22:06:08 <_ssl> ) Apr 04 22:07:19 root@beagleblack:/home/debian# ls /sys/bus/iio/devices/iio\:device0 Apr 04 22:07:19 buffer in_voltage4_raw in_voltage6_raw power subsystem Apr 04 22:07:20 dev in_voltage5_raw name scan_elements uevent Apr 04 22:07:20 root@beagleblack:/home/debian# Apr 04 22:07:52 <_ssl> veremit so you dont have a "mode" file either? Apr 04 22:08:09 I'm guessing it might be deprecated Apr 04 22:08:32 <_ssl> o.O Apr 04 22:09:03 oh it just points to the folder in /sys/devices/.... Apr 04 22:09:59 root@beagleblack:/sys/devices/ocp.3/44e0d000.tscadc/TI-am335x-adc/iio:device0# ls -al Apr 04 22:09:59 total 0 Apr 04 22:09:59 drwxr-xr-x 5 root root 0 Apr 4 23:06 . Apr 04 22:09:59 drwxr-xr-x 4 root root 0 Apr 4 23:01 .. Apr 04 22:09:59 drwxr-xr-x 2 root root 0 Apr 4 23:09 buffer Apr 04 22:10:00 -r--r--r-- 1 root root 4096 Apr 4 23:09 dev Apr 04 22:10:00 -rw-r--r-- 1 root root 4096 Apr 4 23:09 in_voltage4_raw Apr 04 22:10:01 -rw-r--r-- 1 root root 4096 Apr 4 23:09 in_voltage5_raw Apr 04 22:10:01 -rw-r--r-- 1 root root 4096 Apr 4 23:09 in_voltage6_raw Apr 04 22:10:02 -r--r--r-- 1 root root 4096 Apr 4 23:09 name Apr 04 22:10:02 drwxr-xr-x 2 root root 0 Apr 4 23:09 power Apr 04 22:10:03 drwxr-xr-x 2 root root 0 Apr 4 23:09 scan_elements Apr 04 22:10:03 lrwxrwxrwx 1 root root 0 Apr 4 23:09 subsystem -> ../../../../../bus/iio Apr 04 22:10:04 -rw-r--r-- 1 root root 4096 Apr 4 23:09 uevent Apr 04 22:10:56 <_ssl> veremit it looks the same at mine Apr 04 22:11:32 <_ssl> except i have in_voltage0-7. guessing your touchscreen is using some of them Apr 04 22:11:34 buffer folder is there ... Apr 04 22:11:47 I've got nothing besides ethernet connected :) Apr 04 22:11:57 <_ssl> well, strange then Apr 04 22:11:58 scan_elements is there ... Apr 04 22:12:35 I'm reading here from .. http://processors.wiki.ti.com/index.php/AM335x_ADC_Driver%27s_Guide#Continuous_Mode Apr 04 22:13:38 <_ssl> yes, but scroll a little down, at "how to set it up" Apr 04 22:14:00 Ah Apr 04 22:14:10 <_ssl> you need to echo continous to the mode file Apr 04 22:14:29 <_ssl> which you can't because it does not exist Apr 04 22:16:21 right .. so there must be Another Way(tm) ... [cos that function is clearly 'missing'] Apr 04 22:16:49 <_ssl> i've searched the whole internet, i haven't found one :( Apr 04 22:17:21 the _entire_ internet? Apr 04 22:17:22 found the end? Apr 04 22:17:38 http://beagleboard-gsoc13.blogspot.com/2013/07/sampling-analogue-signals-using-adc-on.html Apr 04 22:17:41 did you try what's on that site? Apr 04 22:17:55 with the "echo BB-ADC > ..../slots" ? Apr 04 22:18:22 <_ssl> alan_o: http://hmpg.net ;) Apr 04 22:19:03 ah the second half of that looks promising ... Apr 04 22:19:55 There are two parts to continuous sampling. Apr 04 22:19:55 Configuring the ADC and the buffer. Apr 04 22:19:55 Triggering the driver to tell it when to start filling in the buffer. Apr 04 22:19:55 Apr 04 22:19:55 The IIO subsystem supports a trigger mechanism which is separate from the main ADC driver. The ADC driver supports any standard IIO trigger. And IIO provides trigger files which enable triggering via GPIOs or sysfs files. Apr 04 22:20:46 I can see how that would totally work Apr 04 22:20:49 <_ssl> but the guy from that blog is writing on his last entry that the trigger stuff is outdated Apr 04 22:21:13 <_ssl> ill try it anyway Apr 04 22:21:17 <_ssl> gimme a sec Apr 04 22:22:26 hrm seems its all fluid iio code Apr 04 22:22:52 <_ssl> /sys/bus/iio/iio_sysfs_trigger/add_trigger: No such file or directory Apr 04 22:23:04 yeah something should create that Apr 04 22:24:49 <_ssl> well, i HAVE /sys/devices/iio_sysfs_trigger/add_trigger Apr 04 22:25:11 <_ssl> ill try that one Apr 04 22:26:34 <_ssl> worked Apr 04 22:26:39 <_ssl> i have a trigger0 now Apr 04 22:26:53 cool .. headin in the right dirn hopefully?! Apr 04 22:26:59 brb think my pan boiling dry lol Apr 04 22:33:02 <_ssl> doesn't work Apr 04 22:34:01 <_ssl> the generic_buffer program seems to be in listen mode, but when i issue the trigger_now, nothing happens Apr 04 22:35:36 did u do the slots thingy? I dunno whether thats applicable or not Apr 04 22:36:08 <_ssl> yes Apr 04 22:36:31 <_ssl> without that, the whole iio:device0 branch would be missing Apr 04 22:37:11 <_ssl> look at the latest post on his blog, he is talking about the "redundant and misleading" trigger stuff Apr 04 22:37:27 <_ssl> also in his answer to the topmost comment Apr 04 22:37:49 <_ssl> too bad he didn't do a new writeup of the procedure Apr 04 22:39:59 just reading this post on TI ... http://e2e.ti.com/support/arm/sitara_arm/f/791/p/331372/1158869.aspx Apr 04 22:40:27 "continuous mode is not supported and tcurrently there is no schedule for it" Apr 04 22:40:32 think thats your answer Apr 04 22:42:02 <_ssl> what?! but... but.. that zubair apparently did it?! Apr 04 22:42:28 That there is April 3rd 2014 ... Apr 04 22:42:47 don't get much more recent than that lol Apr 04 22:42:54 you can work with older drivers though Apr 04 22:43:44 <_ssl> take a look at this page: http://beaglebone.cameon.net/home/reading-the-analog-inputs-adc Apr 04 22:44:10 I don't think there's any issue with single-reads .. its just continous on bbb Apr 04 22:44:17 <_ssl> the second comment seems to have managed to sample the ADC with a stunning 200khz Apr 04 22:44:53 you'll have to mimic their setup though Apr 04 22:45:53 I was thinking you might wanna look at the PRUs ... Apr 04 22:47:58 <_ssl> yes i did that. my finding is that it is ridiculously difficult and complicated to use Apr 04 22:48:10 <_ssl> also i cant find a good tutorial on it Apr 04 22:56:56 <_ssl> i dont understand why it is documented so badly. it seems that noone has the same issues that me. its not a very uncommon usecase after all!? Apr 04 22:57:11 welcome to embedded linux :) Apr 04 22:57:17 <_ssl> :( Apr 04 22:57:38 <_ssl> do you know something on how to get started with the PRU? Apr 04 22:57:40 its rarely a walk in the park lol Apr 04 22:57:51 no .. I've only learnt they exist from hanging out in here Apr 04 22:57:57 but apparently they're the shiznit Apr 04 22:58:03 brb agin Apr 04 23:09:15 <_ssl> ok, im going to sleep. thanks veremit and alan_o Apr 04 23:48:50 beaglebone black + openkinect + archlinux arm.. anyone here done this successfully? Apr 04 23:49:25 libfreenect builds and installs fine, but kinect isn't detected Apr 04 23:49:28 Failed to open camera subdevice or it is not disabled.Failed to open motor subddevice or it is not disabled.Failed to open audio subdevice or it is not disabled.Error: Invalid index [0] Apr 04 23:49:50 and doesn't show up in lsusb Apr 05 01:38:34 hi Apr 05 01:40:41 I'm looking for help getting my first code to run on the beagleboard. My cloud9 seems to be running in read-only mode, I can't actually open the folder to view the files or run anything Apr 05 02:47:50 tdy: if lsusb doesn't show it, try hanging it off a powered hub. Apr 05 02:48:22 That sounds like a real low-level problem, along the lines of wiring or power. Other USB devices work, just checking the obvious? **** ENDING LOGGING AT Sat Apr 05 02:59:58 2014