**** BEGIN LOGGING AT Wed Jan 08 02:59:59 2014 Jan 08 03:33:29 Hi Everyone Jan 08 05:08:28 hi, can i ask you of the fedora installation? Jan 08 06:55:03 is it really all that important to get qt support ? Jan 08 09:47:22 trying to run some .js from command line on the BBB with a #!/usr/bin/js it says bad interpreter but nodejs is already installed. How the shebang should be to fit right? Jan 08 09:49:39 ah got it not js myblink.js but node myblink.js make the job :-) Jan 08 09:51:55 hmm now why it see a ReferenceError: restore is not defined when it don't see that error in the example from the web page 8-/ Jan 08 09:52:11 at http://bbb/Support/bone101/#software BoneScript interactive guide line Jan 08 09:57:59 wrong link at http://beagleboard.org/Support/BoneScript/ line Libraries bonescript.js Jan 08 10:00:03 how can i force the webbrowser to remember the ip adress of the BBB? Jan 08 10:00:22 aurelien: Bookmark it. Jan 08 10:01:07 vamc19, don't fit Jan 08 10:01:29 the BBB is connected to usb to another machine and rj45 to the network Jan 08 10:01:35 not directly to that machine Jan 08 10:01:52 (it's why the webpage request for the IP adress) Jan 08 10:02:18 time to cook! see you! Jan 08 10:32:27 how install open cv in arclinux? Jan 08 10:33:06 1) install arclinux Jan 08 10:33:57 ? Jan 08 10:35:21 hi, i have a 4" LCD cape, (4DLCD-43), it keeps sleeping and i can wake it from the buttons on the cape itself, just wondering if i could do this from command line ? Jan 08 10:37:07 tito_: the question is totally unrelated to beagle, and also pretty insulting to the people here, considering that it just takes a couple of minutes to google how to do it Jan 08 10:37:23 tito_: pacman -Sy opencv Jan 08 10:37:36 https://www.google.com/search?q=linux+disable+screen+blanking Jan 08 10:37:41 tito_: pacman is the package manager of Arch based distro Jan 08 10:37:44 bitnumus: ^^^ Jan 08 10:38:03 tito_: man pacman for full informations. Jan 08 10:38:10 Hi, anybody here to help me with a power problem for my BeagleBone Black? Jan 08 10:38:22 depends Jan 08 10:38:52 When I power my BBB the powerlight flashes one time.. Jan 08 10:39:26 NL88: have you connected a serial cable? Jan 08 10:39:42 av500, thats cool and may help, however i would like to be able to turn the screen on and off at will from command line, is that possible ? Jan 08 10:39:59 bitnumus: yes Jan 08 10:40:16 USB and external power adapter Jan 08 10:40:25 KotH, rephrasing, how would i go about doing that ? Jan 08 10:40:41 from taking the above URL Jan 08 10:40:49 and changing a few search terms :) Jan 08 10:41:02 i've searched before coming here Jan 08 10:41:10 bitnumus: x or console? Jan 08 10:41:10 so this is a linux specific thing, not screen specific ? Jan 08 10:41:15 bitnumus: or fb? Jan 08 10:41:22 bitnumus: yes Jan 08 10:41:25 KotH, the whole screen, i've seen a few X methods Jan 08 10:41:54 bitnumus: it does not matter whether it's the whole screen or just half of it, you need to know what "mode" you are using the screen in Jan 08 10:42:04 both really Jan 08 10:42:10 bitnumus: if you dont know whether you have a console, x or fb, then your first task would be to figure that out Jan 08 10:42:18 i'm using both Jan 08 10:42:30 then you have to read the documentation for both modes :) Jan 08 10:42:30 i've like to do it during console and x Jan 08 10:52:01 how to check open cv has been instaled on my arch linux? Jan 08 10:52:27 this is not a beagle specific question Jan 08 10:52:34 Maybe ask in the appriopriate channels. Jan 08 10:52:55 i run arch linux on my BBB Jan 08 10:56:26 tito_: https://wiki.archlinux.org/index.php/pacman Jan 08 10:56:41 that will help you understand the archlinux package manager in order to check Jan 08 10:59:35 thank you Jan 08 11:28:44 jd Jan 08 11:55:38 having trouble getting wifi to work Jan 08 11:56:01 Sending discover... (3 times) Jan 08 11:56:06 what have you tried? one of the adapters listed on the elinux.org page? Jan 08 11:56:15 No lease, failing Jan 08 11:56:17 for ifup wlan0 Jan 08 11:56:42 the dongle starts to blink just after the 3rd discover - maybe it needs some more time to start before sending dhcp requests? Jan 08 11:56:54 do you know if the time is set reasonably? not sure if it can cause a problem with DHCP, but I've been curious. Jan 08 11:57:17 heeen: very good possibility. Jan 08 11:57:19 I have a dongle with a 8192cu kernel module that I built from source Jan 08 11:57:43 dmesg shows lots of log output from it, uploading firmware and the like Jan 08 11:57:48 how are you powering the BeagleBone? Jan 08 11:57:53 so how can I make it send more dhcp reqs Jan 08 11:58:05 jkridner: 2A supply and currently also usb Jan 08 11:58:21 there have been cases where things look like they should be working, but there is failure due to insufficient power. Jan 08 11:58:31 heeen: 2A is a bit little Jan 08 11:58:40 a little bit? Jan 08 11:58:51 heeen: you need >3A and a psu that can withstand sharp power transients Jan 08 11:59:08 heeen: el-cheapo psu from china can or cannot do that Jan 08 11:59:22 wouldn't it just freeze or something Jan 08 11:59:26 nope Jan 08 11:59:40 that's the crux with insufficient power, some things work and some dont Jan 08 11:59:43 well it is also plugged into usb Jan 08 11:59:49 and it's kind of random which ones are Jan 08 12:00:13 usb will only give you 500mA max Jan 08 12:00:34 wifi cards are known to require a good psu Jan 08 12:00:35 0http://pastebin.com/raw.php?i=T41Cm1Vr Jan 08 12:00:39 http://pastebin.com/raw.php?i=T41Cm1Vr Jan 08 12:02:25 btw iwscan list works Jan 08 12:02:42 right, so let me try it with a hub then Jan 08 12:02:52 powered usb hub if poss. :) Jan 08 12:03:02 i had similar issues and it ended up being my wpa supplicant settings Jan 08 12:03:06 obv Jan 08 12:03:13 johnwalkr: do tell Jan 08 12:03:47 look up how to get super verbose output from wpa supplicant, and run it at the command line instead of using network settings Jan 08 12:03:55 root@beaglebone:~# lsusb Jan 08 12:03:56 Bus 001 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub Jan 08 12:03:58 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Jan 08 12:04:00 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Jan 08 12:04:02 Bus 001 Device 004: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS] Jan 08 12:04:04 more! Jan 08 12:04:18 sorry off the tolp of my head i don’t recall the commands Jan 08 12:04:20 same problem Jan 08 12:04:33 root@beaglebone:~# ifup wlan0 Jan 08 12:04:36 udhcpc (v1.20.2) started Jan 08 12:04:39 Sending discover... Jan 08 12:04:40 Sending discover... Jan 08 12:04:42 Sending discover... Jan 08 12:04:44 yeah see do it without ifup Jan 08 12:04:44 No lease, failing Jan 08 12:04:55 use wpa_supplicant directly Jan 08 12:05:02 it won't dhcp if the wireless settings are wrong Jan 08 12:05:05 so don't look there Jan 08 12:05:17 i had a very similar problem before Jan 08 12:05:21 fwiw it is a wpa2 psk network Jan 08 12:05:25 or rather .. check the wireless 'bit' is working first Jan 08 12:05:34 and i got the discover thing as well Jan 08 12:05:51 http://www.codealpha.net/864/how-to-set-up-a-rtl8192cu-on-the-beaglebone-black-bbb/ Jan 08 12:06:01 stt_michael: how Jan 08 12:06:12 wpa_cli status possibly? Jan 08 12:06:30 when i used a more verbose mode of wpa supplicant i got a clue that there was a setting wrong. if i recall correctly i gave up and changed my router settigns to match Jan 08 12:06:32 one of the wireless utils should give you something like "link associated attached" sorta thing Jan 08 12:06:40 Selected interface 'wlan0' Jan 08 12:06:42 wpa_state=SCANNING Jan 08 12:06:44 address=80:1f:02:5a:9a:21 Jan 08 12:06:59 you need "associated" if you're connecting to an AP Jan 08 12:07:01 heeen: there's 'fail' word mentioned 153 times in your log, do you think, that it's ok? Jan 08 12:07:16 ^--- just a priceless hint (tm) Jan 08 12:08:24 wpa_supplicant -dd -iwlan0 -Dwext -c/path_to_config_file/your_config_file Jan 08 12:08:28 -dd is super verbose Jan 08 12:08:40 I guess I have to stop connman first? Jan 08 12:08:40 I got some errors about things already in use otherwise Jan 08 12:20:58 I was trying to mount the SDcard to be accessible from ssh and USB - which I did successfully but thru SSH I can read, and can't write while it's connected to USB Jan 08 12:21:34 how to make the mounted SD card W/R while it's connected to the external USB card (external storge) Jan 08 12:21:44 surely if you mount it rw, it doesn't matter what interface you are connected to it .. Jan 08 12:22:26 where can I change the wpa_supplicant params Jan 08 12:22:42 heeen: normally wpa_supplicant.conf lives in /etc/wpa_supplicant Jan 08 12:22:46 if it gets started by systemd or connman or whatever Jan 08 12:22:51 @stt_michael, do you mean if it's mounter R to the USB then the mounted folder can't r/w to it ? Jan 08 12:22:52 like the -dd Jan 08 12:23:05 you should find a default in /usr/share/doc/wpa_supplicant or similar Jan 08 12:23:26 simple_ .. what output does "mount" show? Jan 08 12:23:36 1 sec let me copy it Jan 08 12:23:45 wpa_supplicant isn't too bad once you read the examples I found Jan 08 12:23:50 sometimes takes a bit of tweaking Jan 08 12:24:15 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) Jan 08 12:24:22 stt_michael: where do I find this line Jan 08 12:24:25 Exec=/sbin/wpa_supplicant -u -d -f /var/log/wpa_supplicant.log Jan 08 12:24:37 stt_michael: /dev/mmcblk0p1 on /media/MicroSD type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) Jan 08 12:24:37 what distro heeen? Jan 08 12:24:44 angstrom Jan 08 12:24:58 ack .. can't probably help you there Jan 08 12:25:05 ./usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service Jan 08 12:25:08 found it Jan 08 12:25:25 Is there anyway to simulate and work on BBB without actually owning one? Jan 08 12:25:53 install linux in virtualbox? Jan 08 12:26:42 so, the real question will be how to make BBB act like external mass storage in READ ONLY mode ? Jan 08 12:26:53 stt_michael: ^^ Jan 08 12:27:05 Vaizki_: I run arch. I mean the crosscompiling and stuff Jan 08 12:27:15 read only mass storage Jan 08 12:27:55 ..... Jan 08 12:28:36 suggestion .... ? Jan 08 12:28:54 ah hold on simple_ .. you're connecting to the beagle FS through the usb storage class? Jan 08 12:29:11 or .. another external usb device? I'm confused Jan 08 12:29:16 to the computer Jan 08 12:29:19 hmm wpa_supplicant is not launched by dbus on this system Jan 08 12:29:24 it has other commandline options Jan 08 12:29:37 heeen: no .. it would normally be started by networking scripts Jan 08 12:30:06 I'm connecting the beagle to my computer using USB - what's I'm trying to do: if any one connect the my beagle thru USB he can ready files only but not writing Jan 08 12:30:28 right .. I should imagine thats the usb-gadget config there .. not the mount options Jan 08 12:30:37 its not permitting write access Jan 08 12:30:55 * stt_michael wonders why people can't connect via ssh on a physical network connection .. lol Jan 08 12:31:09 simple_: what are you trying o edit? Jan 08 12:31:38 simple_ : if you're SSH'd over usb-ethernet .. you should be able to 'nano ' or similar? Jan 08 12:31:53 wiznerd: I also run arch but don't cross compile sorry.. BBB is not bad at compiling stuff :) Jan 08 12:32:01 my beagle connected to comptuer A using USB (my brother computer), and I SSH to my beagle thru ethernet Jan 08 12:32:17 I don't own a BBB :) Jan 08 12:32:29 I want to learn about fundamentals of embedded programming first Jan 08 12:32:31 let me have a look at the usb storage options Jan 08 12:32:36 is qemu the way to go? Jan 08 12:32:43 wiznerd: embedded linux is much the same as ordinary linux Jan 08 12:32:53 thats the beauty Jan 08 12:32:55 any file I create in the SD card using the SSH connection my bro should be able to read it only but not change it - and he shouldn't be able to add anything to the SD Jan 08 12:33:10 simple_: I would imagine thats the status quo .. Jan 08 12:33:29 stt_michael: I'm actually new to the whole thing. I want to understand what cross-compiling is, and how I'd program the IO in BBB Jan 08 12:33:31 simple_ .. ah I follow your thinking I believe Jan 08 12:34:14 stt_michael: I'm trying since 3 days with no results, I think I was looking in the wrong direction Jan 08 12:34:32 simple_ .. so was I for a moment or three .. :) Jan 08 12:34:59 wiznerd: cross-compiling is the principle of using a more powerful cpu to build apps for a lesser cpu Jan 08 12:35:30 wiznerd: used to be necessary for all low-power cpus, but less so now for packaged distros which support arm processors like debian/angstrom/etc Jan 08 12:35:54 wiznerd: so, much like the Rasp Pi, you can simply upload the code, and program straight away Jan 08 12:36:42 wiznerd: take a look at http://www.linux.com/learn/tutorials/725368-getting-started-with-the-beaglebone-black-a-1ghz-arm-linux-machine-for-45 if you haven't already :) Jan 08 12:37:39 Thanks :) I've seen that link. Jan 08 12:37:41 gonna take a while to get one on my budget Jan 08 12:37:56 for now, I'll make do with qemu and docs Jan 08 12:38:51 wiznerd: only major use for cross-compiling is to build custom kernels, and there are very good scripts out there by the likes of wiki.net/display/linuxonarm/ if you need to Jan 08 12:39:09 oops sorry http://eewiki.net/display/linuxonarm/ Jan 08 12:39:13 got chopped off Jan 08 12:40:06 https://github.com/jadonk/gsoc-application/tree/master/ExampleEntryJasonKridner Jan 08 12:40:13 stt_michael: :) Jan 08 12:40:19 I'll prolly cross build and exec on QEMU instead? Jan 08 12:40:28 got it simple_? Jan 08 12:40:35 nope :( Jan 08 12:41:51 I think it will be solved if I managed how to make SD card to be in read only mode for the USB-Host - but didn't get any hint Jan 08 12:42:25 simple_: one way is to create a new user, and make file access less for that user Jan 08 12:42:41 ie. not access everything as 'root' :) Jan 08 12:43:00 but the USB connection is root by default (from the system) Jan 08 12:43:03 thats always a bit of a cheat Jan 08 12:43:09 ah probably Jan 08 12:43:20 should be some options on that .. I can't see anything obvious .... Yet. Jan 08 12:45:33 wiznerd: getting a real BBB would be money well spent compared to trying to build something that won't emulate it very well Jan 08 12:46:14 the BBB really isn't very expensive :) Jan 08 12:46:19 stt_michael: do you think any smart guy here can help ? Jan 08 12:46:23 but may be in short supply Jan 08 12:46:29 someone should :) Jan 08 12:47:30 lol. as a broke college student from asia, it'll take a while Jan 08 12:48:39 wiznerd, you can learn embedded programming and linux separately for much cheaper then ;) Jan 08 12:48:55 as said above, the BBB is a normal linux computer in almost every way Jan 08 12:49:36 boot process is different from an x86 of course and the IO stuff isn't normally available on x86 either Jan 08 12:50:00 but if you want to learn about i2c etc, you can just buy an arduino or something to tinker with it Jan 08 12:50:40 wiznerd: if you can fix this issue to me today, I'm happy to buy one for you Jan 08 12:50:42 anyway, a BBB emulator as in hardware emulation doesn't exist Jan 08 12:52:04 yeah. I have a MSP430 launchpad , have done a basic I2C on that. So you're telling I can do everything except the IO/circuit interfacing. Jan 08 12:52:18 * KotH would adivce to learn first about electronics and arduino style embedded software before trying to learn embedded linux Jan 08 12:52:25 I think I'll run with what I have. How are the programs themselves different? C? Jan 08 12:52:35 oh.. and good understanding of linux is paramount to get anywhere with embedded linux Jan 08 12:53:00 msp430 is fine for learning about embedded stuff and electronics interfacing Jan 08 12:53:19 as for the linux side, you can use whatever you want really.. I use C and python mostly Jan 08 12:53:23 simple_: lol I'm new here. What can I do which the experts can't? Jan 08 12:53:49 Vaizki_: okay, I'll read up the docs now before asking more stupid questions :) Jan 08 12:53:54 Vaizki_: i wouldnt recommend the msp430 as first embedded processor Jan 08 12:54:03 Vaizki_: a simple arm7 is much better suited for that Jan 08 12:54:21 Vaizki_: not having to worry about ever single bit of memory is a big plus at the beginning Jan 08 12:54:36 well he has a msp430 Jan 08 12:54:48 and knows how to use it Jan 08 12:55:47 and the energia gui + libs help you get something done besides compiling a 420 item list of must-read web pages and docs :) Jan 08 12:55:52 Quite proficient with Arduinos. a lab had it, we used it to make some simple app to fetch GPS and write into SD Jan 08 12:56:10 http://stackoverflow.com/questions/17966697/tips-for-learning-embedded-linux Jan 08 12:56:28 wiznerd: ok well you're pretty set, now you need to understand linux :) Jan 08 12:56:49 Linux is easy if you know AIX or HPUX Jan 08 12:56:51 but for sake of an example, here's one way to do i2c on Linux (on the BBB or any other embedded linux really) Jan 08 12:56:52 http://elinux.org/Interfacing_with_I2C_Devices Jan 08 12:57:18 there's also something about crosscompiling there Jan 08 12:57:25 Vaizki_: thanks for that. will dig in Jan 08 12:57:49 av500: will do Jan 08 12:57:50 the big thing to understand is that (standard) linux is not realtime Jan 08 12:57:56 wiznerd: http://en.wikibooks.org/wiki/Embedded_Systems Jan 08 12:58:10 so your program can and will be interrupted etc during execution Jan 08 12:58:38 it's nice to work with linux but it just isn't the right hammer for a lot of nails Jan 08 12:58:53 unless you are ready to go really deep Jan 08 13:03:26 stt_michael: can you please direct me to the correct direction ? Jan 08 13:04:25 god sometimes you just gotta hate linux Jan 08 13:04:38 stupid wifi won't work on the beagle Jan 08 13:05:00 and on this ubuntu 64bit machine I can't log into vpn because it is a 32bit java fuckup Jan 08 13:05:04 simple_: whats going on? Jan 08 13:05:46 heeen: try to connect the dongle over an usb hub Jan 08 13:05:49 heeen: maybe that helps Jan 08 13:05:53 it's simple, I want to make beagle act like mass storage (read only) Jan 08 13:06:04 heeen: 32bit java? Jan 08 13:06:13 heeen: i thought java has no bitsize? Jan 08 13:06:49 the jvm has Jan 08 13:06:53 simple_: ah.. you let the bbb emulate a mass storage device over usb and wonder why you cannot write on the bbb itself anymore? Jan 08 13:06:54 simple_: you want to access an SD card mounted on BBB? Jan 08 13:07:05 yes Jan 08 13:07:16 simple_: well.. if two people access the device at the same time, it has to be read only. otherwise things wont work Jan 08 13:07:18 KotH: don't know Jan 08 13:07:25 KotH: I have. it works magically if I invoke wpa_supplicant by hand Jan 08 13:07:34 KotH: how to do it ready-only Jan 08 13:07:36 but if I just du ifup it won't Jan 08 13:07:54 simple_: keep in mind that OS were designed with the premisse that the OS is the only one to have access to the device and noone else Jan 08 13:07:54 heeen : have you put config in wpa_supplicant.conf ? Jan 08 13:07:57 KotH: of course theres 32 and 64 bit java Jan 08 13:08:19 stt_michael: yeah but I removed it again, shouldn'T copnnman wifi.conf work Jan 08 13:08:26 KotH: the question - how to make it ready only ? Jan 08 13:08:33 simple_: making what read only? Jan 08 13:08:38 hmm not used connman .. google .sec Jan 08 13:08:39 the SD card Jan 08 13:09:03 simple_: chmod 400 /dev/somethingorother Jan 08 13:09:19 I tried it, didn't work Jan 08 13:09:26 simple_: what's your exact problem? Jan 08 13:10:00 heeen: something like http://learn.adafruit.com/beaglebone/wifi ? Jan 08 13:10:00 my brother connected my beagle to his computer at home - I'm accessing it using SSH - I want to wrote files and change it and he will be able to ready it only Jan 08 13:10:07 he shouldn't make changes KotH Jan 08 13:10:41 stt_michael: yes Jan 08 13:10:41 simple_ .. hold on .. onto something .. Jan 08 13:10:52 stt_michael: http://www.codealpha.net/864/how-to-set-up-a-rtl8192cu-on-the-beaglebone-black-bbb/ Jan 08 13:12:16 simple_: reading http://linlog.blogspot.co.uk/2011/02/usb-file-storage-gadget.html - if you can find where it loads the USB-gadget driver .. there's a ro=1 parameter Jan 08 13:12:35 simple_: well, you cannot make changes either Jan 08 13:12:58 KotH: he just wants to change USB gadget access to read-only :) Jan 08 13:13:04 simple_: if you changed the sd card, you would change the data your brothers OS expect to have under its ass Jan 08 13:13:04 not the whole filesystem Jan 08 13:13:12 stt_michael: oh.. Jan 08 13:13:22 simple_: that should be some setting in usb gadget Jan 08 13:13:27 KotH: had to be a gadget setting somewhere Jan 08 13:13:31 emulate an RO scsi device Jan 08 13:13:34 KotH.. think we nailed it Jan 08 13:13:37 where I can fine the usb-gadget ? Jan 08 13:14:06 * KotH points to the intarwebz Jan 08 13:15:18 KotH: So embedded programming consists of just the usual bash commands plus a few other real time commands? Jan 08 13:15:27 for eg: http://jeshu.weebly.com/uploads/5/2/6/0/5260012/gpio.txt Jan 08 13:15:44 echo is normal. the gpio, trap, cleanu etc are new Jan 08 13:15:51 is that correct? Jan 08 13:16:42 one more noob question, BeagleBone has a Angstorm OS, Raspberry Pi has it's own OS. Jan 08 13:16:58 ARM Cortex M4 doesnt Jan 08 13:17:03 why is that? Jan 08 13:17:21 its a micro controller Jan 08 13:17:25 is it because microcontroller/microprocessor only difference or speeds? Jan 08 13:17:25 there are OSs for it Jan 08 13:17:35 not Linux Jan 08 13:17:37 you can run RTOS Jan 08 13:17:43 and many others Jan 08 13:18:15 wiznerd: embedded programming can be anything you want Jan 08 13:18:18 oh okay. So the uC on RPi and BBB are much more powerful and can run linux? Jan 08 13:18:46 wiznerd: from bare metal asm to running python code in jython Jan 08 13:19:17 wiznerd: yes Jan 08 13:19:19 wiznerd: the rpi and bb have cpus and even gpus, same hardware as in android and ios devices Jan 08 13:19:38 okay. So I that is the block I am missing. The Cortex M4 can be progged in ASM. python runs on linux OS on BBB, etc Jan 08 13:19:43 wiznerd: embedded means mostly that you have some kind of processor with GPIO/SPI/I2C and the like instead of PCI/SATA/... Jan 08 13:19:50 gotcha! Jan 08 13:20:13 wiznerd: the M4 can also programmed in java if you want Jan 08 13:20:26 wiznerd: the programming language is not of importance Jan 08 13:20:36 wiznerd: if it fits into the memory, it runs Jan 08 13:21:02 where do you draw the line between a µC and a cpu Jan 08 13:21:25 one more clarification - for M4, like in the TI Stellaris Launchpad, you have to cross-build and cross-compile on a PC using say Keil and then load it into memory because M4 isn't powerful enough to compile right? Jan 08 13:22:00 heeen: uC | cpu Jan 08 13:22:28 wiznerd: you cross compile for bbb and rpi as well, unless you are a masochist Jan 08 13:22:58 lol. I compiled code inside RPi. Took ages. Jan 08 13:23:00 wiznerd: and you can compile on an M4, it just would much more trouble and take a lot more time Jan 08 13:23:00 I would say one of the things that separate a cpu from a µ Jan 08 13:23:05 I would say one of the things that separate a cpu from a µC is a MMU Jan 08 13:23:11 wiznerd: ok, you are a masochist ;) Jan 08 13:23:27 #without it multitasking becomes almost impossible Jan 08 13:23:32 heeen: uhmm.. the M3/M4 have a rudimentary MMU Jan 08 13:23:59 I heard there is a linux for those Jan 08 13:24:03 uclinux Jan 08 13:24:06 KotH: So let me get the workflow straight. You install the OS on the BBB. Crosscompile using the gcc-*-gnueabi tools inside your PC. transfer the executable file alone onto the BBB Jan 08 13:24:08 heeen: and multitasking has been done with 8051s Jan 08 13:24:17 How would you test/verify/simulate on the PC? Jan 08 13:24:26 compile for x86 Jan 08 13:24:29 wiznerd: you can build small apps on the beagle/etc . it has gcc Jan 08 13:24:31 99% applies Jan 08 13:24:46 debug the reamining 1% on BBB Jan 08 13:24:51 remaining Jan 08 13:24:53 wiznerd: most people compile the whole system on the pc, load it over to the embedded plattform as an flash or sd card image, and boot from that Jan 08 13:25:01 av500: so mostly GPIO stuff on BBB Jan 08 13:25:04 your percentage might vary Jan 08 13:25:27 wiznerd: compiling just the prog and moving that over is only usefull if you have a lot of compile-test-fix cycles Jan 08 13:25:38 wiznerd: so what do you want to verify on the PC? Jan 08 13:25:45 that you toggled a GPIO? Jan 08 13:25:55 wiznerd: maybe you want to have a look at the book "embedded linux primer" it explains part of that stuff Jan 08 13:26:01 av500: yes. errors and such. Jan 08 13:26:06 If you do small programs no need to do anything on the PC Jan 08 13:26:09 KotH: I will read that Jan 08 13:26:10 wiznerd: there are "backup copies" available online for poor asian students ;) Jan 08 13:26:11 errors toggling a GPIO? Jan 08 13:26:15 :D Jan 08 13:26:17 * stt_michael snickers Jan 08 13:26:30 KotH: evil sense of humor, yours Jan 08 13:26:44 damn it Jan 08 13:26:46 av500: not errors. status of GPIO Jan 08 13:26:52 I run the exact same wpa_supplicant line Jan 08 13:26:57 and it works Jan 08 13:27:05 but only from the commandline prior Jan 08 13:27:06 wiznerd: i've been in #beagle way too long ;) Jan 08 13:27:25 simple_ .. did we fix the usb read-only yet? :) Jan 08 13:27:38 stt_michael: nope :S Jan 08 13:28:11 stt_michael: trying to find the USB gadget Jan 08 13:29:07 simple_ .. is there a /etc/modprobe.conf ? Jan 08 13:29:41 simple_ .. you should (hopefully) see a g_usb_storage if you type 'lsmod' Jan 08 13:29:47 nope Jan 08 13:29:48 can you verify those two? Jan 08 13:32:24 stt_michael: nope Jan 08 13:32:29 it's not exist in any Jan 08 13:32:31 oh boy :) Jan 08 13:34:28 stt_michael: ideas ? Jan 08 13:35:00 the mechanism must exist to pass the 'ro' option to the g_usb driver .. just tring to figure out where/how in angstrom Jan 08 13:35:14 since I use debian :D for embedded anyhow Jan 08 13:35:30 i'm ysing debian too Jan 08 13:35:31 using* Jan 08 13:35:36 is there a /etc/modprobe.d/ in ............ Jan 08 13:35:46 yeap Jan 08 13:35:54 ok thats where we want it then :) Jan 08 13:36:02 filesystem changes .. pah! Jan 08 13:36:24 nope, it has only the fbdev-blacklist.conf Jan 08 13:36:28 I already tried it Jan 08 13:36:31 yeap hold on :P Jan 08 13:36:36 need to create a new file Jan 08 13:36:39 lol Jan 08 13:42:40 stt_michael: it seems complicated itsn't it ? Jan 08 13:42:51 simple_ .. can you do a "dmesg|grep usb" and paste me output in pastebin/etc ? Jan 08 13:43:03 simple_ .. its not really .. just finding the right place to 'fix' it :) Jan 08 13:43:24 the 'finding' bit often takes a while in linux :) if you don't know where ya lookin Jan 08 13:43:30 sure 1 sec Jan 08 13:44:16 http://pastebin.com/fNi2UHjr Jan 08 13:44:20 stt_michael: ^^ Jan 08 13:50:38 stt_michael: ..... :( Jan 08 13:51:41 doesn't help when 1) don't have a stock build and 2) when the kernel drivers keep changing names between versions and 3) google lets you down lol Jan 08 13:53:24 evil google Jan 08 13:54:22 narrowed down to the right module I think .. Jan 08 13:54:32 musb_hdrc .. TI composite module -sigh- Jan 08 13:55:58 maybe it still loads the stock g_file_storage .. hrm Jan 08 13:57:19 ok Jan 08 13:57:40 simple_.. think I -might- have nailed it ... Jan 08 13:59:11 stt_michael: lol Jan 08 13:59:16 how much current can be output from BBB GPIO? Jan 08 13:59:32 zump .. typically only a few mA Jan 08 13:59:51 good enough for a led? Jan 08 13:59:58 8mA or so Jan 08 14:00:05 check the TRM Jan 08 14:00:06 yeah .. don't forget a resistor, obviously :) Jan 08 14:00:08 low current LED yes Jan 08 14:00:24 normal 20mA LED, no Jan 08 14:00:42 regular LEDs can be run down to 1mA easily Jan 08 14:01:27 just look up the Vf .. and calculate the resistor value based on 3v3-Vf/ (x) mA will give you resistor (kOhms) Jan 08 14:01:51 20mA only usually needed for full-brightness Jan 08 14:06:42 zump: assuming you just want a visual indicator of a GPIO toggling :) Jan 08 14:08:03 simple_: can you see a 'g_mass_storage' under 'lsmod' ? Jan 08 14:08:28 nope :( Jan 08 14:08:44 dangit .. thats the module I'm certain lol Jan 08 14:08:49 I can see only g_multi Jan 08 14:08:54 starts with g Jan 08 14:08:57 g_ Jan 08 14:09:33 yeah I've seen that one .. not sure it has the option .. but it might Jan 08 14:12:09 so what is the command I need to use !? Jan 08 14:12:11 stt_michael: cool thanks Jan 08 14:14:52 stt_michael: do you think something can be done in the udev ? Jan 08 14:16:53 simple_: ok gonna go for broke here .. create an '/etc/modprobe.d/usb-ro.conf' file with the following lines in it - http://pastebin.com/qxh4ZTHj Jan 08 14:17:23 udev is the key, yes - there are two ways .. make an option at boot-time in the kernel command-line .. or this one .. make an options file for udev to read at boot Jan 08 14:17:52 one/more of those lines must work :) Jan 08 14:18:21 but the g_multi module is masking the right module to send options to Jan 08 14:19:01 f_mass_ is allegedly deprecated .. but seems to be used in g_multi .. whereas g_mass_ is the new module Jan 08 14:20:09 I'm running TI PSP on bb and can't make the ADC work. Have enabled TI ADC in kernel, but nothing shows up in /sys/bus/iio/devices. I have made sure mfd_tscadc_init is in the board config. Any ideas? Jan 08 14:21:33 miken: have you seen http://processors.wiki.ti.com/index.php/AM335x_ADC_Driver's_Guide ? Jan 08 14:22:28 miken: do you see the ti_adc module appear in dmesg? Jan 08 14:23:40 stt_michael: I have been on the page. I have this problem: http://e2e.ti.com/support/arm/sitara_arm/f/791/t/260624.aspx , but the solution doesn't apply to me. Jan 08 14:24:48 stt_michael: I have tried both compiling in and as a module. I put some pr_info debugs in the probe function of the ti_adc module, but it never shows up i dmesg. Looks like th emodule doesn't get loaded, for some reason. Jan 08 14:26:22 miken .. that was my suspicion .. wonder why. Jan 08 14:27:54 miken: can you put some more verbose kernel logging option on .. either its not 'seeing' the module there .. or its failing to load. Jan 08 14:27:57 stt_michael: Any ideas how to debug it? Can't be a HW problem. It all happens inside the am3359 mcu. Jan 08 14:28:47 miken: right .. first step is getting that module up .. one way or another .. if you compile it as a module .. can you "modprobe ti_adc" and what does it say, if so? Jan 08 14:29:11 if it doesn't 'modprobe' try 'insmod' Jan 08 14:29:21 but you'll need to find its location if the latter Jan 08 14:30:05 stt_michael: 2 sec, I'll just rebuild it. Jan 08 14:35:02 stt_michael: here is the module loading output: http://pastebin.com/P6VwrWNJ Jan 08 14:36:34 stt_michael: after I create this one /etc/modprobe.d/usb-ro.conf' - just restart the beagle ? Jan 08 14:44:27 stt_michael: the read-only seems to be working - but still when I write something using SSH it doesn't show in the mass storage immediately Jan 08 14:45:24 simple_: possibly not .. but does it come up?! Jan 08 14:45:37 nope :( Jan 08 14:45:48 oh. Jan 08 14:45:57 I need to disconnect the USB and reconnect it again Jan 08 14:46:40 miken: thats a start .. what do you get from 'ls' rather than 'find' ? Jan 08 14:47:14 stt_michael: nothing. 100% empty. Jan 08 14:48:15 simple_: do you see it in the ssh!??! Jan 08 14:48:16 stt_michael: in the devices folder that is. I have the basic iio tree. Jan 08 14:48:26 yes I do ssk2_ Jan 08 14:48:31 yes I do stt_michael Jan 08 14:48:54 hmm don't get that then :/ Jan 08 14:50:36 miken: since I don't have the TI PSP .. think I'm at my limit there .. sorry. Jan 08 14:51:38 simple_: might simply be something's caching the directory contents .. if you're logging in the same .. can't think why one thing wouldn't see it and another does Jan 08 14:51:52 stt_michael: ok, thanks anyway. Jan 08 14:52:04 miken np Jan 08 14:52:10 stt_michael: what do you recommend me to do ? Jan 08 14:52:26 simple_: dunno :) Jan 08 14:52:36 did it do the same before?! Jan 08 14:53:00 Does anyone use TI PSP inhere? Have trouble with the TI_ADC module. Jan 08 15:09:44 miken: ask your friendly TI support Jan 08 15:12:27 stt_michael: I think there is another place need to change the modprobe - if I unplug or restart the probe it shows up fine Jan 08 15:13:44 KotH: guess I will have to. :) Jan 08 15:15:29 simple_: odd .. I'da thought that it'd read the modprobe rules if it uses udev Jan 08 15:16:20 stt_michael: the funny part when I delete a file using SSH, I'm still able to open it in mass storage Jan 08 15:16:40 yeah thats caches for ya :p Jan 08 15:17:03 lol come on Jan 08 15:18:20 KotH: do you suggest a ticket in e2e? Jan 08 15:18:37 miken: dunno.. i've never used e2e Jan 08 15:18:44 could try a post on forums .. the TI staff do read it Jan 08 15:18:48 KotH: ok Jan 08 15:18:53 miken: i usually send our sales a mail, and he passes it to the relevant engineer Jan 08 15:19:05 miken: much more likely to get a good answer ;) Jan 08 15:19:10 KotH: will check our contacts. Jan 08 15:22:11 stt_michael: I think we are getting close Jan 08 15:22:24 stt_michael: I got it to probe. Look at this magic: http://pastebin.com/ERHzegzz , but it crashes, so I'm only a little bit closer.. Jan 08 15:23:05 miken: yikes .. ok, yes progress of sorts :) Jan 08 15:23:19 simple_: hopefully pointed you in right direction Jan 08 15:23:56 still the visibility not clear, but it's better than before ;) Jan 08 15:24:24 I think it's something related to mount options Jan 08 15:24:50 stt_michael: FYI: found out why it didn't probe from this clue: http://stackoverflow.com/questions/9168885/when-does-the-probe-function-for-a-linux-kernel-driver-gets-called , arch/arm/mach-omap2/devices.c asked for the wrong driver name. Makes absolutely no sense. Think only TI can rescue me here. Jan 08 15:25:30 hehe .. good luck. Had a wicked set of problems with a TI arm4 board .. managed to work around most things in the end .. but TI staff are fairly accessible Jan 08 15:25:44 if you got a rep .. you're already first rung on ladder :) Jan 08 15:26:51 miken: if you have sources, should be possible to 'grep' for that function 'mfd_tscadc_init' Jan 08 15:27:19 miken: there's obviously a missing link somewhere .. been there :) Jan 08 15:28:14 stt_michael: do you think it's something related to mount options or to udev ? Jan 08 15:28:36 mount options will be irrespective of ssh/usb .. udev more likely Jan 08 15:29:13 stt_michael: :$ can I ask for your advice Jan 08 15:29:18 sure... Jan 08 15:29:48 stt_michael: I did that. mfd_tscadc_init()->am33xx_register_mfd_tscadc() in devices.c which uses the wrong driver name in omap_device_build() Jan 08 15:30:15 stt_michael: now I'm not sure what to do - I thought once the read only mod solved i'm fine Jan 08 15:30:17 miken: can you *cough* bodge it to the right one? Jan 08 15:30:20 but it seems I'm not Jan 08 15:30:24 what is the next step ? Jan 08 15:31:36 simple_: you might have to dig a bit deeper into udev .. my impression was that /etc/modprobe was used by udev .. but udev is a clever lil widget Jan 08 15:31:48 stt_michael: yeah, did that. That's why the driver probe function is now called, but then I get the crash. So the adc driver does something it's not allowed to, it seems. Makes no sense how this could ever work. I must be doing something very wrong. Jan 08 15:32:09 stt_michael: let me dig a little - thanks anyway you were very helpful Jan 08 15:32:55 miken: likely a work-in-progress at TI's end .. and not all the patches made it to the public domain Jan 08 15:34:09 stt_michael: well I used the latest tag from PSP git. And the release notes list missing features in the adc part, not that it wont work in any way. Jan 08 15:36:52 miken: counter-intuitive .. but if you try going back to a previous version .. does it work then?! Jan 08 15:39:00 stt_michael: Haven't tried. Could take a long time testing different releases. Unless there is some history evidence for it, there's no reason to think it would change anything. I think I need a TI PSP guy to sort things out. Jan 08 15:39:38 miken: just thinking of things you can try .. but definitely contact TI .. its their code after all :) Jan 08 15:41:36 stt_michael: yeah thanks. It also is, but I'm starting to really waste time, so I'd rather get support. Just tried to build the module in kernel, but still crashes. Jan 08 15:42:13 miken: best keep it loadable from kernel for now .. limits breakage :) Jan 08 15:42:38 miken: "wasted" plenty of time with arm systems .. but its all acquired knowledge ! Jan 08 15:42:52 miken: or thats the idea anyhow! Jan 08 15:59:34 Does anyone know where to find the TI TRM spruf98m or sprugn4f Jan 08 16:00:10 ti.com? Jan 08 16:01:18 they seem to not have it anymore - a better name perhaps for the TRMs for OMAP3530 & AM3730? Jan 08 16:01:40 google should have some Jan 08 16:02:05 for 3530 its hard Jan 08 16:02:09 that chip never existed Jan 08 16:02:20 av500: is usb hotplug issue solved? what's the current status? Jan 08 16:02:32 no idea Jan 08 16:02:43 does anyone know? Jan 08 16:06:00 thow: hotplug only works if you can maintain ONE usb device connected at power-on .. on our experience Jan 08 16:08:17 oops - DM3725 Jan 08 16:08:28 :( Jan 08 16:08:31 thanks, stt_michael Jan 08 16:09:03 thow: there have been various attempts to make it work .. but none seem to be 100% reliable Jan 08 16:09:23 stt_michael: got occupied. I don't mind at all digging through the kernel and learning stuff. Trouble is that it's part of a product that needs to be ready. Capitalism whips my ass. :) Jan 08 16:09:38 miken: know that feeling only too well .. Jan 08 16:09:53 miken: gradually getting familiar with kernel sources and drivers :( Jan 08 16:11:56 stt_michael: my boss was just worried about the time required to change PSP version to a never one, which doesn't even work.. yehaa. Jan 08 16:18:35 miken: eek! :) fun times Jan 08 16:31:15 hi Jan 08 16:42:53 sooo our demo got to the CES, one board, one hard drive Jan 08 16:43:08 guy we sent with the board tells us on the second dqy it doesn't work Jan 08 16:43:40 he booted the card with flash bootloaders first, then powered the hard drive after a random time Jan 08 16:44:05 this guy has an engineer's diploma >.> Jan 08 17:45:23 hello Jan 08 17:45:45 Too confirm quickly, to remove all doubt Jan 08 17:46:16 Is this "AM335x 1GHz ARM® Cortex-A8" the same as the ARMv8 ?? Jan 08 17:47:19 no Jan 08 17:47:49 its ARMv7 Jan 08 17:48:09 http://en.wikipedia.org/wiki/ARM_Cortex-A8 Jan 08 17:49:43 ARMv8 are your new Apple A7 and Cortex-A53 (http://en.wikipedia.org/wiki/ARM_architecture) Jan 08 18:18:57 I get errors when i execute opkg in comand line Jan 08 18:19:40 http://prntscr.com/2hm50u Jan 08 18:20:36 looks like you are offline or your DNS is broken Jan 08 18:20:42 Pit: are you connected to the internet ? Jan 08 18:21:49 im USB right now Jan 08 18:22:13 the ethernet is attached to my desktop not to the BBB Jan 08 18:22:25 Pit: you can share your internet connection Jan 08 18:22:38 what os are you running on your desktop ? Jan 08 18:22:51 no, ... Windows xp sp 3 Jan 08 18:22:55 but Jan 08 18:23:20 didnt XP have a connection sharing feature ? Jan 08 18:23:27 you might want to enable that then Jan 08 18:23:32 i've tried to conect just the BBB with the ethernet cable... reset everything... and nothing Jan 08 18:24:20 How? ... i think the sharing think is a router's problem... the service i have only allows 1 in the connection... Jan 08 18:25:21 your XP machine is online right ? Jan 08 18:26:39 Yes Jan 08 18:26:40 google for "windows XP internet connection sharing" you should find some guides Jan 08 18:27:17 do you have a router? or try using usb cable instead Jan 08 18:31:52 i have a router conected to my desktop , and my bbb is conected through usb to my desktop too Jan 08 18:32:47 oh Jan 08 18:33:00 i understood your BBB is connected to your desktop via ethernet too Jan 08 18:33:07 sorry then ... Jan 08 18:33:57 My first reaction: "how many horsepower and RPM is that router?" Jan 08 18:34:05 <-- spending too much time reading about CNC stuff lately Jan 08 18:35:34 Now im getting fatals on PuTTy Jan 08 18:38:30 what is the difference between mdc and mdio pins Jan 08 18:53:15 what happens if I change the pin mode from the pins related to the eMMC? Jan 08 18:53:31 like I would like more GPIOs Jan 08 19:08:14 elyezer .. you will be unable to use the on-board eMMC Jan 08 19:09:33 elyezer .. perhaps you might want to try using an I2C port expander like the MPC230xx ? Jan 08 19:10:30 elyezer .. for example something like http://www.gigamegablog.com/2012/11/04/beaglebone-coding-101-i2c/ .. whether python or not is up to you Jan 08 19:13:21 rcn-ee: glad to report that kernel option 'e' made our display come to life. . so thanks for the pointer :) Jan 08 19:13:33 no problem! Jan 08 19:13:56 *mutter* stupid intelligent connector config *mutter* Jan 08 19:14:03 :) Jan 08 19:18:04 back to the wand imx6 platform now :D Jan 08 19:18:43 rcn-ee: had a question in the #wandboard channel about the more advanced vpu/gpu features of the imx6 .. have these reached your patchset do you know? I'll get the link back .. Jan 08 19:20:03 i just merged Michele Adduci's vivante drm patchset into my 3.13 tree, haven't personally tested it.. will play around with it this weekend.. Jan 08 19:21:23 ah lovely .. will poke ya next week then .. would be cool if it plays nice Jan 08 19:22:19 just started looking into the ddx/opengl stuff, it's going to be interesting.. Jan 08 19:23:58 some of the arm's have fairly reasonable acceleration I thought Jan 08 19:24:17 since its not a requirement for our applications .. not something we've investigated yet Jan 08 19:24:27 they do.... it's just the crap we have to deal with to get them to do something useful. ;) Jan 08 19:24:35 tell me about it :/ Jan 08 19:25:18 I'll be starting up a blog soon to sort out some of the 'misinformation' thats out there with things we've worked on Jan 08 19:26:26 too much of a 'black art' currently lol Jan 08 19:26:56 nah, just give me a board with pci-e bus and i'll stick anything else in for graphics.. ;) Jan 08 19:27:31 indeed Jan 08 19:27:39 aritey .. time to go home .. bbl :) Jan 08 19:30:43 stt_michael: even if I change that on the runtime? And so if I do the same to the HDMI reserved pins and I plug HDMI device it will not work, right? So to use all 65 possible GPIOs I will lose the eMMC and HDMI. Jan 08 19:39:33 rcn-ee, so . .. asuming you're Robert . . . will we still be able to load / unload device tree file at boot ? Jan 08 19:39:59 files .. .but yeah same question Jan 08 19:41:03 And sorry, talking in context to the conversation on th groups about dt files and ernel 3.13.rc Jan 08 19:41:32 kernel 3.13.rc* wow my keyboard being funky Jan 08 19:44:19 m_billybob2, nope, that's one of the big things people will miss.. If you want/need that you need to start hacking/porting overlays's. ;) Jan 08 19:45:34 SO sorry if im sounding a bit combative here in this comment. But whose bright idea was this ? one of the things that irks me in a situation liek this is not change so much bit changing so much that no one can get a handle on things Jan 08 19:46:20 if that makes any sense at all Jan 08 19:46:53 it's simple.. the guys that wrote it for 3.8 are no longer involved... i've always worked on other stuff, so never really paid much attention to what they did.. Jan 08 19:49:16 besides '3.8' still works right? no one has taken that away from you? for some of us.. 3.8 is broken/boring for us.. so i'm working v3.13-rc to scratch my itches.. Jan 08 19:50:17 SO why the need for 3.12.x + ? Jan 08 19:50:37 m_billybob2, the capemgr made BBB completely different from any close to mainline kernel.. I'm pleased to not see that proprietary to BBB solution continued Jan 08 19:50:59 mdp, ah but its still there Jan 08 19:51:10 m_billybob2, i'm done with v3.12.x.. (other then taking things from ti's 3.12 bsp..) v3.13-rcX has replaced it for me.. Jan 08 19:51:13 _continued_ Jan 08 19:51:53 but im asign you why the need for a new er kernel. Just curious as to why you seem to be moving from one to the next so fast Jan 08 19:52:04 not lookign to place blame or anythign like that, just curious Jan 08 19:52:05 m_billybob2, are you unfamiliar with linux? Jan 08 19:52:33 new kernel features come with each release Jan 08 19:52:37 mdo right now I am only interrested in one conversation. Jan 08 19:52:41 mdp* Jan 08 19:52:56 m_billybob2, what mdp said. ;) Jan 08 19:53:04 but what specifically ? Jan 08 19:53:24 "everything" Jan 08 19:53:24 rcn-ee, and wouldn't you say you minimize the number of out-of-tree patches you have to carry by going to 3.13+? Jan 08 19:53:52 I'm personally able to work with 3.13-rc7 mainline instead of any bb.org kernel now Jan 08 19:54:18 m_billybob2, less maintance too.. so with v3.12.x I carried a lot of patches, most are now in v3.13-rc.. so when i switched i dropped all that stuff i had to maintaine as mainline had it.. Jan 08 19:54:37 plus "sgx" works in v3.12/v3.13... v3.8 doesn't have that.. ;) Jan 08 19:54:52 hurray for TI upstreaming am335x Jan 08 19:54:56 people are seemingly patching it in Jan 08 19:55:08 into 3.8.x i mean Jan 08 19:55:14 android has always had it Jan 08 19:55:21 or so it seemed Jan 08 19:55:32 m_billybob2, some people will be thrilled if you maintain capemgr for newer kernels, I'm sure. Jan 08 19:55:58 thign is im new to kernel dev / Linux dev period. but im not new to dev or linux Jan 08 19:56:10 so all this changing throws a monkey wrench into my leanring curve Jan 08 19:56:29 the only constant with the kernel is change Jan 08 19:56:41 mostly im wonderintg when things are goign ot settle down so i can truely start learning Jan 08 19:56:56 if you wait, you'll never learn Jan 08 19:57:29 it's always evolving.. if you look back on what we did with 2.6.32 with the xM to v3.13-rc7 "everything" has changed... ;) Jan 08 19:58:01 i have a copy of LDD sitting next to me revision 3 and yeah . . . somewhat useless now Jan 08 19:58:12 let's take pwm support Jan 08 19:58:31 every blog howto for BBB vs. 3.8 is obsolete with the newer kernels Jan 08 19:58:42 because 3.8 used a proprietary pwm_test module Jan 08 19:58:52 and newer kernels provide a standard sysfs api Jan 08 19:58:58 just have to deal with it Jan 08 19:59:38 i hope all new stuff isnt goign ot be hard coded sysfs stuff Jan 08 20:00:02 no idea what you mean Jan 08 20:00:31 yeah i probably have no idea what i mean either. Jan 08 20:01:00 id like to be able to still directly interfac with a devices "memory" whcih ill assume is still possible Jan 08 20:01:08 like /dev/mem Jan 08 20:01:19 mmap is it called ? Jan 08 20:02:32 security people would not like you to do that. ;) well unless your samsung, then /dev/mem is wide open.. Jan 08 20:03:42 thankfully the only security person I have to contend with right now is myself :) Jan 08 20:04:00 anyone else can take a flying leap ;) Jan 08 20:04:03 idk... nsa is everywhere.. ;) Jan 08 20:04:34 well if they're in my house, they're going to have a problem ;) Jan 08 20:05:07 if you don't understand why using /dev/mem to work with peripherals can cause problems you probably shouldn't use it Jan 08 20:05:31 Jan 08 20:09:02 <_SY_> hello Jan 08 20:09:58 advice duely noted, and rejected. nothing peersonal Jan 08 20:10:23 only way to learn is by doing, understanding comes later. Jan 08 20:10:43 <_SY_> Is your name yoda? Jan 08 20:10:44 <_SY_> :) Jan 08 20:11:06 m_billybob2, good luck ;) Jan 08 20:18:56 mdp, its of no real concern. I jus twant to experiment is all Jan 08 20:19:27 and if in the process i end up destroying hardware, well then no one to blame but myself Jan 08 20:19:27 good, that's what this is all about Jan 08 20:22:26 just sitting here thinking. high speed PWM or ADC, both these would possibly require somethign other than sysfs since it would be too slow. But in realitity i'd probably use hardware that was made with this purpose in mind Jan 08 20:23:25 one of my own long standing pet projects I have in mind is mppt solar charging Jan 08 20:43:56 it would be a shame if you did PWM without using the PWM h/w you paid for. Jan 08 20:48:34 yea, use the embedded realtime hardware Jan 08 20:58:26 mdp: can i quote you on that? Jan 08 20:59:20 sure, the words want to be free! Jan 08 21:05:34 http://pastebin.com/3WUHeNz4 can someone explain this overlay Jan 08 21:06:21 specifically this Jan 08 21:06:22 0x0A8 0x0D /* P8.43, P0_MDC, pru1 gpio 2 */ Jan 08 21:06:28 0x0B8 0x35 /* P8.39, P0_MDIO, pru1 gpio 6 */ Jan 08 21:09:01 P8.43 means pin 43 on expansion header 8 Jan 08 21:09:17 but what does P0_MDX and P0_MDIO mean Jan 08 21:09:31 those are the names for pins on port 0 Jan 08 21:09:56 aren't those signals used for thernet Jan 08 21:10:00 part of mii Jan 08 21:10:11 https://github.com/bradfa/beaglebone_pinmux_tables/blob/master/beaglebone_pins_p8 Jan 08 21:10:23 you might find this to be an easy to use reference to parse those Jan 08 21:10:29 thats SOP. instead of having to remember p0.xxx you just remember the pin function name Jan 08 21:10:46 personally i prefer to see p0.x to "some_obscure_name" Jan 08 21:12:01 mdp, P0_MDC is not in that table Jan 08 21:12:06 , where does that come from Jan 08 21:12:39 dunno, doesn't match reality..it's your paste ;) Jan 08 21:12:59 normel pasted it earlier in here Jan 08 21:13:24 what does gpmc stand for Jan 08 21:13:34 general purpose memory controller Jan 08 21:13:52 that's all in the datasheet/trm Jan 08 21:13:58 fwiw.. Jan 08 21:14:14 but obviously muxing the pin to a pru gpio does not disable the normal memory controller right Jan 08 21:14:26 if you ignore there very strange P0_* label, the rest is valid Jan 08 21:14:30 but I couldn't have an external at the same time Jan 08 21:14:32 gpmc has nothing to do with ddr Jan 08 21:14:46 what is a use case for a gpmc Jan 08 21:14:59 p.43 is pru1_r30/r31_2 Jan 08 21:15:01 for example Jan 08 21:15:18 Hey. Jan 08 21:15:22 heeen, attach external memory devices..nand, fifos (fpgas) etc. Jan 08 21:15:50 generally speaking, can muxing anything on the headers disable any onboard functionality Jan 08 21:15:59 yes Jan 08 21:16:10 like what Jan 08 21:16:21 you can easily disable hdmi Jan 08 21:16:41 ah but that is not onboard with the beagle bone white Jan 08 21:16:52 assuming BBB Jan 08 21:16:55 right Jan 08 21:17:08 also note that those pins are boot pins Jan 08 21:17:14 what does that mean Jan 08 21:17:27 so if you are interfacing to them you need to be careful else the board will not boot Jan 08 21:17:56 to summarize..they are sample to determine the order of peripherals to boot from Jan 08 21:18:24 if you drive them the wrong way, the chip won't fetch from the uSD/eMMC on power_on Jan 08 21:18:56 it's a bit complex, but covered in agonizing detail in the TRM boot chapter Jan 08 21:19:48 hm right Jan 08 21:20:04 I want to use pru gpio to drive some device Jan 08 21:20:26 therefore I need to construct a dto to use them Jan 08 21:20:34 but that only gets loaded after booting Jan 08 21:20:47 and the gpios will be output only Jan 08 21:20:54 so that shouldn't be a problem, right? Jan 08 21:22:46 yes, just be sure whatever you are interfacing doesn't have strong pullup/downs in your circuit..see what I mean? Jan 08 21:23:52 so say, you had a strong pullup to Vcc on the bone..on power up, it would sample that pin high..if it's one of those boot pins Jan 08 21:23:57 so be careful Jan 08 21:27:50 hi Jan 08 21:27:54 how do i set my name? Jan 08 21:28:33 mdp: what is the list of boot pins Jan 08 21:28:52 in that link I sent you..they are marked in the left column Jan 08 21:28:53 From Anthony to Guest16448? :) Jan 08 21:29:06 ZiNC, obfuscation Jan 08 21:29:31 Looked more like unsetting than setting. Jan 08 21:30:03 ./nick ?! on irc Jan 08 21:30:16 Any idea if there are small powered USB hubs around, maybe just boards? All I see are rather large things, at least larger than unpowered. Jan 08 21:30:47 /nick might not do thru the web interface, I suppose. Jan 08 21:31:34 lol Jan 08 21:31:37 tried it Jan 08 21:31:39 there's usually an option on the connect window for nickname on the webchat Jan 08 21:31:54 no . obviously :) Jan 08 21:32:08 theres some command that it says but it goes away in 0.0005 seconds Jan 08 21:32:26 ./nick Anthony Jan 08 21:32:39 yes it wants you to 'identify' bcause the nick is owned by someone Jan 08 21:32:42 ZiNC, I have 6cmx6cm 4 port powered USB hubs here..are those big or small? Jan 08 21:33:02 i see. well, no biggie Jan 08 21:33:14 common names always are :P Jan 08 21:33:50 mdp: Large. But any links to an online sample of such? Jan 08 21:34:39 mdp: p9 contains mmc pins, those aren't also used for the boot sd card, right? Jan 08 21:34:46 ZiNC: you'll struggle to find anyting less than about 3cmx6cm Jan 08 21:35:04 btw what pins does the bbb use for the emmc then... Jan 08 21:35:23 heeen: its in the Reference Manual :) Jan 08 21:36:16 I have a 4 port unpowered hub at ~16cm^3, with the upstream connector external. Jan 08 21:36:31 http://www.cyberpowersystems.com/products/accessories/usb_hubs/cph420p.html Jan 08 21:36:37 That size is about right. Though I don't need a case, so it might be smaller. Jan 08 21:37:00 heeen: http://www.elinux.org/Beagleboard:Cape_Expansion_Headers Jan 08 21:37:12 mdp: Thanks. Yeah, that's rather large. Jan 08 21:37:45 they are travel size..so small to me for a consumer cased hub Jan 08 21:37:58 ZiNC: the hub chip is usually around 2cmx2cm and you have to have connectors :P Jan 08 21:40:39 veremit: Well, a connector socket is about 1cm^3. Jan 08 21:42:03 heeen, on white you don't have to worry Jan 08 21:42:14 heeen, on black, you have to worry about the emmc Jan 08 21:42:35 emmc and hdmi are guilty of pin theft on BBB Jan 08 21:43:05 heeen: http://elinux.org/BeagleBone_Black_Capes Jan 08 21:43:12 heeen: also a nice table there Jan 08 21:45:07 prpplague, I recently ran bradfa's table's through enscript and printed each across 2 .us letter pages... nice wall poster behind my monitors ;) Jan 08 21:45:36 I grew weary of consuming half a display scrolling around those Jan 08 21:46:30 mdp: hehe i still have the giant posters i printed when i started on omap4 Jan 08 21:46:30 ZiNC: I have one of these .. a different version .. but same product: http://www.newegg.com/Product/Product.aspx?Item=N82E16817394055 Jan 08 21:46:37 mdp: all the clock gates Jan 08 21:46:47 mdp: four large wall posters Jan 08 21:47:05 mdp: the girl at fedex kinkos was fascinated by the posters, hehe Jan 08 21:47:23 hehe Jan 08 21:47:34 my colleague wanted to do that for the bcm281xx clock trees Jan 08 21:47:45 cross compiling is not working right ;( Jan 08 21:47:57 we'd probably have to kill the printing staff..or at least put them under NDA to allow them to print them though. Jan 08 21:48:19 Guest16448 .. what toolchain/guide are you trying to use? Jan 08 21:48:26 mdp: hehe Jan 08 21:48:35 prpplague, they require like 1600% zoom in pdf readers to being to be legible Jan 08 21:48:45 s/being/begin Jan 08 21:48:45 im using eclipse and a tutorial video http://www.youtube.com/watch?v=vFv_-ykLppo Jan 08 21:49:14 i got everything working except when i try to execute the cross compiled executable it says file not found Jan 08 21:49:30 did you install a toolchain? Jan 08 21:49:41 veremit: Something like these, but powered, is what I'm after: http://img.bhs4.com/04/9/0495F114BDB146F99F6E52676400543ACBE2183D_large.jpg http://img.bhs4.com/8B/4/8B414F4F6B85250A2B17388E72FC61326737714C_large.jpg Jan 08 21:49:53 mdp: hehe Jan 08 21:49:54 which according to the poster means either its a 64 bit file or its trying to read it as a script.. Jan 08 21:50:03 hmm no, i dont know much about it tbh Jan 08 21:50:05 mdp: you every tried to use the TI clock tool for omap? Jan 08 21:50:07 whats a toolchain for Jan 08 21:50:11 mdp: what a nightmare Jan 08 21:50:25 where are you trying to run it? Jan 08 21:50:42 prpplague, happily not..never had to do OMAP(tm) work and I'm a better person for it ;) Jan 08 21:51:04 in ubuntu home Jan 08 21:51:10 could mean you forgot the ./ or forgot to make it executable somehow Jan 08 21:51:12 the file is def in the right spot.. Jan 08 21:51:17 mdp: something like 500meg java app Jan 08 21:51:22 its this description the poster said Jan 08 21:51:44 If bash reports "file not found" when executing an executable file that exists, the reason is that it doesn't recognise it as a binary file, and attempts to treat it as a script. The hypothetical script should start off with #!/path/to/interpreter and bash cannot find the (non-existent) interpreter so it returns "file not found". This could happen if for example you are running a 64-bit executable on 32-bit machine, or an x86 executa Jan 08 21:51:53 seems thats all the "devs" at TI know anymore. java Jan 08 21:52:07 Guest16448, or you used "gnueabi" toolchain on a "gnueabihf" target Jan 08 21:52:13 which is wierd cause, i set up the compiler to use arm-linux-gnueabi Jan 08 21:52:14 ZiNC: like http://eu.startech.com/Cards-Adapters/USB-2/Hub/4-Port-Notebook-Sized-Mini-USB-20-Hub~ST4200MINI Jan 08 21:52:19 veremit: Oh, wait. That dual height one seems powered. :) Jan 08 21:52:23 prpplague, lol..did you ever work with am180x/omapl138? the spi/nand flashing tool via UART is a .NET application Jan 08 21:52:27 how do u know if its hard float or not? Jan 08 21:52:27 Guest16448, and let me guess a "armhf" system? Jan 08 21:52:30 o.O Jan 08 21:52:40 "gnueabi" soft float... Jan 08 21:52:47 "gnueabihf" hard float.. Jan 08 21:52:56 prpplague, and yes, it runs on mono..and yes, I had to read .NET code when it wasn't working at first :( Jan 08 21:52:59 i mean, how do i know if my beaglebone is hard float or soft Jan 08 21:53:21 depends.. what os are you running? Jan 08 21:53:31 ubuntu raring Jan 08 21:53:33 which abi, lol wouldnt that be nice ;) Jan 08 21:53:34 13.04 i think Jan 08 21:53:35 hardfloat.. Jan 08 21:53:40 ahh.. no wonder Jan 08 21:53:44 xD Jan 08 21:53:44 prpplague, tools people are into massive bloatware creations it seems Jan 08 21:53:54 thank u Jan 08 21:53:59 all the "softfloat"'s are pretty much eol.. too bad the youtube video's didn't go eol with it. .;) Jan 08 21:54:18 lol Jan 08 21:54:28 eol ? end of line ? Jan 08 21:54:33 yah Jan 08 21:54:40 end of life Jan 08 21:54:41 rcn-ee_ : except somewhere there is some strange uboot-isms with soft-float Jan 08 21:54:42 i will try and see what happens Jan 08 21:54:58 Guest16448: try http://www.claus.com.ar/2012/06/setting-up-eclipse-for-cc-development.html instead Jan 08 21:55:12 veremit, u-boot builds fine with hardfp.. ;) Jan 08 21:55:23 (it shouldn't be doing any "math")... Jan 08 21:55:27 ah musta been some glitch I had with conflicting toolchains once Jan 08 21:55:37 no, it shouldn't! Jan 08 21:55:39 someone was saying that most / all userspace apps didnt use hf anyhow Jan 08 21:55:52 right on. that is so much easier than searching around the video lol Jan 08 21:55:54 thanks Jan 08 21:56:00 im still newb so still learning Jan 08 21:56:00 mdp: hehe indeed Jan 08 21:56:09 welcome .. always haveto be a tiny bit sceptical of youtube vids :) Jan 08 21:56:48 ZiNC that belkin thingy is .. lol .. ugly lol Jan 08 21:57:26 It's smaller. Though I don't need the outside, really. Jan 08 21:57:49 why Such a small footprint?! trying to fit it inside a beagle-box?! Jan 08 21:58:30 Well, inside some small box, along with other parts. Jan 08 22:16:26 wahoo! success :D Jan 08 22:16:45 congrats Jan 08 22:17:14 now to get debugging workin hehe Jan 08 22:20:32 arm is a 32 bit processor right? Jan 08 22:20:52 it can be 64bit as well Jan 08 22:21:04 hmm... beaglebone one? Jan 08 22:21:11 32bit Jan 08 22:21:22 thanks Jan 08 22:21:40 Guest16448: please refer to the CPU TRM and the ARM ARM Jan 08 22:22:44 and/or the Beagle System Reference Manual Jan 08 22:23:07 the SRM will refer to the TRM which referes to the ARM Jan 08 22:23:25 best place to start then :) Jan 08 22:25:29 in order of complexity I'd say also lol Jan 08 22:50:29 which then refers to the ARM ARM ? o.O Jan 08 23:45:41 Hello. Are there any plans to release a pre-built image with a 3.13.x kernel? I've got a TP-LINK TL-WN8200ND I'd like to use, but the USB VID/PID pair isn't in the 3.8.13 rtl8192cu driver. And while I wouldn't mind waiting for a build to finish on the BBB, I don't really want to install all the crossed tools to rebuild one kernel module. Jan 08 23:47:39 nothing in openwrt for it? Jan 08 23:48:40 k4jcw.. you can download toolchain binaries for most platforms Jan 08 23:49:16 k4jcw .. what exactly are you trying to achieve? Jan 08 23:49:25 Including OSX? I poked around, but I didn't see a toolchain for that. Jan 08 23:49:53 All I need to do/have done is add the VID/PID pair for the device. It uses the rtl8192cu driver, the driver just doesn't have the VID/PID pair for that device. Jan 08 23:53:57 sounds (in principle) fairly trivial Jan 08 23:54:21 you've checked on the VID/PID database its definitely that and valid? Jan 08 23:55:22 That, and it's what the device reports, and that it's not in rtl8192cu.c I'm capable of making the change, building the kernel and installing the module, EXCEPT that I'd have to install the complete toolchain under OSX. Either that, or create a Debian Parallels VM and then install it. Jan 08 23:55:44 sec... just lookin into a linaro osx chain .. Jan 08 23:56:08 all I can see is something on twitter Jan 08 23:56:10 But I was kinda hoping someone's built a 3.13.x release image. Supposed to have improved USB and something else support. Jan 08 23:56:19 Twitter... please... Don't even go there. Jan 08 23:56:21 there's lots of images about .. Jan 08 23:56:51 but for arm .. they're very processor-specific .. obviously Jan 08 23:56:56 Improved USB how? Jan 08 23:57:41 I thought usb on beagle was fundamentally flawed lol Jan 08 23:57:59 http://eewiki.net/display/linuxonarm/BeagleBone+Black search for '3.13.x' Jan 08 23:58:02 k4jcw: I see what you're doing now .. slow night lol .. I'll take a look in a few. Jan 08 23:58:13 ah - Robert's posted has he *smile* Jan 08 23:58:17 Coo, thanks. Jan 08 23:58:18 Flawed on all of them, or specific Beagle boards? Jan 08 23:58:27 er, "cool" Jan 08 23:58:54 black has hotplug known issues .. dunno whether they been fixed Jan 08 23:59:02 maybe if rcn is here .. he can comment ;) Jan 08 23:59:04 As cryptic as it gets. :) Jan 08 23:59:20 I recall a few people coming here asking about it. Jan 08 23:59:34 And there's that old Google Groups (*shudder*) thread. Jan 08 23:59:50 gawd .. WHY do ppl use google groups .. lol Jan 08 23:59:52 If it's a problem, I hope it improves. :) Jan 08 23:59:54 -sigh- Jan 08 23:59:55 I don't know. Jan 09 00:00:02 Find it too difficult to install phpBB? Jan 09 00:00:19 Or maybe they like infinite scroll. Jan 09 00:00:34 ick .. google don't own the world ... Yet. Jan 09 00:00:36 lol Jan 09 00:00:52 Android + cars is starting to happen. Jan 09 00:01:21 Ppl might think twice before installing 3rd party firmware there. ;) Jan 09 00:01:26 what the new GM 4G onstar offering? Jan 09 00:01:58 Also Audi, Hyundai, methinks. Jan 09 00:02:05 GM has a 4G onstar? Jan 09 00:02:37 ...and Honda. Jan 09 00:03:01 it was just anounced for the new 2014 models Jan 09 00:03:25 http://gmauthority.com/blog/2014/01/in-vehicle-4g-lte-integration-to-bring-10th-gen-onstar-hardware-to-gm-vehicles/ Jan 09 00:03:59 damnit rcn is offline Jan 09 00:05:15 Anyone thinks it's a good/bad idea to do non-hardware-specific portions of BBB software dev on some Linux on a PC, then do the final touches on an actual BBB? Jan 09 00:05:32 k4jcw: building wifi modules is pretty quick on the beagle itself Jan 09 00:05:52 you don't need cross tools there, just the compiler it comes with Jan 09 00:06:05 is there a modules package? Jan 09 00:07:14 I thought about doing that. But that's a good point. I've always installed full kernel sources and built from those. Can you 'make modules' without building the entire thing? Jan 09 00:07:26 http://bonenotes.tumblr.com/ Jan 09 00:07:30 you can certainly just make modules .. Jan 09 00:07:44 this shows how to build the ko from realtek sources Jan 09 00:08:10 * veremit chuckles .. connman .. Jan 09 00:08:14 http://www.codealpha.net/864/how-to-set-up-a-rtl8192cu-on-the-beaglebone-black-bbb/ this is a shorter version Jan 09 00:08:38 stupid connman... is there an alternative Jan 09 00:09:02 networkmanager .. unless you go hardcore wpa_supplicant :) Jan 09 00:09:08 i've found networkmanager to be ok Jan 09 00:09:28 can't get connman to start my wifi on bootup Jan 09 00:09:44 its a *cough* conn .. lol Jan 09 00:09:47 :D Jan 09 00:10:03 yeah I'm reading it likes eth0 .. lol Jan 09 00:12:56 The sources in apt-get are for 3.2. What's the package name for the 3.8.x sources? Jan 09 00:15:05 have you 'apt-get update' recently? Jan 09 00:15:10 Moments ago. Jan 09 00:15:10 3.2 sounds Very old. Jan 09 00:15:35 ah .. we might be talking angstrom ... *yuk* Jan 09 00:15:55 I'm running Debian. Jan 09 00:16:09 oh .. whats your sources.list ? Jan 09 00:16:49 wheezy Jan 09 00:17:02 main contrib and non-free Jan 09 00:17:19 strange Jan 09 00:18:05 http://pastebin.com/7XgmPHHR Jan 09 00:18:12 k4jcw: yea I see what you mean .. from my wandboard Jan 09 00:18:15 same debian :) Jan 09 00:19:07 Sweeet. I follow a lot of the embedded products, but I hadn't seen a wand board before. Jan 09 00:19:17 they're nice :) Jan 09 00:19:23 I got a dual personally .. with the wifi Jan 09 00:19:48 no .. I stumbled across it by accident .. and my boss and I both homed in :D Jan 09 00:20:01 we now have all three permutations between us :D Jan 09 00:20:18 I might drop the $129 for the quad. The SATA aspect is appealing. Jan 09 00:20:49 yeah it is .. and you can .. *cough* break it to boot from sata :) Jan 09 00:21:12 There are cheaper things with SATA. Jan 09 00:21:19 like? Jan 09 00:21:28 Cubieboard. Jan 09 00:21:40 ah think I saw that .. not sure its available in europe Jan 09 00:21:55 Probably available directly from China. Jan 09 00:22:04 yeah think I looked a few months ago Jan 09 00:23:12 $65 from Seeed for the A20 version. Jan 09 00:23:49 I'll have to have another look .. arm7 or 9? Jan 09 00:24:27 Spec for spec, the Wandboard Quad seems to be a better value. More expensive, yes. But you're talking a significantly upgraded graphics engine, 2GB vs 1GB, Gigabit LAN... Jan 09 00:24:37 whoah Jan 09 00:24:41 its only 0.5gb lol Jan 09 00:24:45 the lan that is Jan 09 00:25:05 be careful about the spec s.. its not usb3 either! Jan 09 00:25:15 they've been a bit cheeky lol Jan 09 00:25:51 It takes a lot of horsepower to move data at a gigabit. Link speed vs thru-put. Jan 09 00:26:10 true, true Jan 09 00:29:43 hey rcn .. are there genuine improvements to usb on the bbb in 3.13? Jan 09 00:30:56 lots of fixes behind: CONFIG_USB_TI_CPPI41_DMA Jan 09 00:31:27 whats That?! Jan 09 00:32:11 remember those musb discussion about 3.2? where some devices worked better in pio mode vs dma? Jan 09 00:32:34 nope .. think I mighta juuuust scraped by that one Jan 09 00:32:46 but I seen other issues with dma on peripherals Jan 09 00:32:49 eg. serial Jan 09 00:33:44 well when it works, it does drop the cpu usage.. Jan 09 00:34:15 Anything related to hotplugging? Jan 09 00:34:31 * veremit lol Jan 09 00:34:58 Not that I know anything about that firsthand. Jan 09 00:35:01 ZiNC: can't see any cubie for much less than I can get wandboards Jan 09 00:35:17 veremit: $65? Jan 09 00:35:28 can't see any at $65 where I'm sitting .. Jan 09 00:35:29 laughs.. 'hotplugging' we've been fighting this issue ever since the first beagle came out in 2.6.27.. Jan 09 00:35:32 not to UK Jan 09 00:35:54 rcn: Is the battle won? Or the war? Jan 09 00:36:09 I think there's several rounds to go ... Jan 09 00:36:35 veremit: http://www.seeedstudio.com/depot/cubieboard-a20-p-1553.html?cPath=6_112 free shipping (though "without tracking") Jan 09 00:36:56 hmm yeah on $65 .. don't Think so lol Jan 09 00:37:00 $15 maybe .. Jan 09 00:37:07 ? Jan 09 00:37:27 international no tracking .. no thanks :) Jan 09 00:37:37 I don't think things are lost that often, and the store would probably replace it. Jan 09 00:37:59 But let's see. Jan 09 00:38:16 ZiNC, musb: you have to look back on it's history.. Nokia just wanted a way to swap vcard info.. thus musb was built... Jan 09 00:38:44 is That where it came from?! Jan 09 00:39:21 hmm .. I have vague recollections of a totally inadequate incomplete implementation of usb ....... Jan 09 00:39:42 * veremit throws in 'incompetant' too , just for fun Jan 09 00:40:07 just the fact it sorta works is a miracle.. Jan 09 00:40:21 Aren't there alternatives? Jan 09 00:41:24 ZiNC : I'd have to pay import duty .. so +20% on that $65 :/ Jan 09 00:41:41 ZiNC: write your own usb driver?! lol Jan 09 00:41:50 there are.. TI would just have to either create it thereself, or license it from another vendor.. (M = Mentor) Jan 09 00:42:03 oh its Mentor (graphics?) Jan 09 00:42:07 yeap Jan 09 00:42:15 they still exist?! *snicker* Jan 09 00:42:30 used their tools once for fpgas Jan 09 00:42:39 So a non-TI controller would be another solution? :) Jan 09 00:42:59 driver* the hardware -should- work Jan 09 00:43:04 veremit: Looks like they do say they'll "refund/reship". Jan 09 00:43:15 20% is another issue... Jan 09 00:43:21 top of: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/musb/Kconfig (it's widely used..) Jan 09 00:43:27 ZiNC: yes I see that .. I'd be willing for pay a few $ for DHL/UPS though Jan 09 00:44:05 "inventra" holy hell . its had a life and some ... Jan 09 00:44:49 rcn: I see your DMA options now Jan 09 00:45:18 i've had good luck leaving that enabled.. Jan 09 00:45:32 veremit: A hardware without a good driver is ultimately the same as bad hardware. Jan 09 00:45:33 I assume its in your board configs :p Jan 09 00:45:40 ZiNC: absolutely! Jan 09 00:45:44 or none at all Jan 09 00:46:28 but think about where these came from.. how often did you hotplug a device into your nokia xyz? Jan 09 00:46:42 rcn-ee: have you thought about doing a more light-weight kernel script .. I see the one you got has a LOT of modules built ?! :) Jan 09 00:46:49 I hotplugged a Nokia into something else. Jan 09 00:47:19 Though, probably unrelated, but my Nokia corrupts its filesystem slowly but surely. Jan 09 00:47:22 veremit, get a faster pc.. ;) years ago it started out small, then everyone wanted something else.. so we get the kitchen sink.. Jan 09 00:47:26 Not sure why. Seemingly only on the SD. Jan 09 00:47:37 rcn-ee .. the PC is fine .. its just syncin the image :P Jan 09 00:47:48 just wondered Jan 09 00:48:02 well .. boss won't pay for a 'fast' PC ... :( Jan 09 00:48:34 so I make do with the 2 gerbil-wheel version Jan 09 00:48:56 i just bring in my own box... mini-itx are so easy to sneak in.. Jan 09 00:49:08 yeah I'm building a new itx box :) Jan 09 00:49:33 our company makes nice ali cases :) Jan 09 00:50:06 So what would it take to fix whatever still needs fixing in USB? Jan 09 00:50:19 Something doable by end-users? Jan 09 00:51:17 ZiNC: I think anyone can contribute to the repos' no? Jan 09 00:51:24 test v3.13-rcX... sometimes, it's just because the device takes too much extra current.. Jan 09 00:51:42 sometimes having an externally powered hub helps.. Jan 09 00:51:49 veremit: The question is if everything is exposed enough. Jan 09 00:52:02 ZiNC: its open source .. isn't it?! Jan 09 00:52:07 or even having a 'usb flash' drive always plugged into that hub, that seems to always fix it.. Jan 09 00:52:14 The hardware? Jan 09 00:52:29 rcn: The exact causes are still a mystery? Jan 09 00:52:30 yea any usb device .. we use a ftdi on our boards .. connected to a usb hub chip :) Jan 09 00:53:02 ft230x serial bridge on a usb2514 hub on the usb port Jan 09 00:53:09 ZiNC, it depends.. ;) Not every device is usb 'qualified'... Jan 09 00:53:34 musb is just pretty picky.. Jan 09 00:53:35 did the Babble interrupt issue go away? Jan 09 00:53:55 So things based around chips from major mfgs are generally okay? Jan 09 00:54:22 veremit: What hub chip? Jan 09 00:54:36 usb2514 Jan 09 00:54:45 Ah, right. Jan 09 00:54:46 used to be .. thingy .. now microchi Jan 09 00:54:56 4 port usb2 Jan 09 00:55:33 but yea .. you need power control with that :) Jan 09 00:55:34 What extra parts do you need but ports? :) Jan 09 00:55:43 there's an app note on the site .. sec .. Jan 09 00:56:44 formerly smsc yes... Jan 09 00:57:31 it is , ofc, a smd chip :p Jan 09 00:57:39 I was resisting saying anyhting earlier :p Jan 09 00:58:16 but that series work well .. we've used 4port and 7 ports Jan 09 01:00:10 7 port seems more common in standalone hubs, for some reason. Jan 09 01:00:14 Well, powered ones. Jan 09 01:00:21 I wonder why. Jan 09 01:00:52 usb spec is 500mA downstream.. so 7 port hub needs 700mA (100mA is guranteeed on every port) Jan 09 01:00:57 look for the old versions .. 2504/2507 Jan 09 01:01:14 powered needs >2A for 4port Jan 09 01:01:29 or 7 .. thats nearly 4A Jan 09 01:01:35 And yet, 7 is the common things. Jan 09 01:01:36 -s Jan 09 01:01:43 yeap.. for "4" devices.. technically you only need 400mA but then nothing could really be plugged in.. Jan 09 01:01:47 On eBay, seemingly sometimes with 1A adapters. Jan 09 01:01:51 Sometimes less. :) Jan 09 01:01:54 which is why wifi adapters fail :p Jan 09 01:02:14 Typical WiFi uses the full 500mA? Jan 09 01:02:17 Is there a list of deltas between bone32 and bone35? Jan 09 01:02:30 and my pico-psu won't start with 2 usb-sticks and an esata2.5" drive plugged in lol Jan 09 01:02:32 and which is why we have problems... they want more then the initial 100mA or they cheat and need more then 500mA.. bam port goes down.. Jan 09 01:02:56 but .. those 2504/7 app notes .. have options for external power Jan 09 01:03:12 What I'll need eventually will be mostly the minimum. Maybe with 1 WiFi and/or BT. Jan 09 01:03:14 and all our boards have over-current detection and power switches on per the app note Jan 09 01:03:46 if you wanna talk custom board design .. pm :) Jan 09 01:03:54 Far too early. Jan 09 01:03:54 that's good.. but can you see why we have issues with hotplug for some devices.. ;0 Jan 09 01:04:18 rcn.. other devices manage ok ... *cough* imx :) Jan 09 01:04:43 chipidea is better ip... and usually dedicated regulators.. Jan 09 01:04:44 Sure, if things are abusive. Jan 09 01:05:09 usb should be fault-tolerant Jan 09 01:05:17 I mean .. its a friggin hot-plug interface. Jan 09 01:05:29 its not like hot-plugging a pci card and wondering why ya pc crashes ... Jan 09 01:05:44 you can hot plug pci.. Jan 09 01:05:47 Tolerant as in, doesn't explode, or works okay even for out-of-spec? :) Jan 09 01:05:51 shh rcn :p Jan 09 01:05:56 Hey, at least at 10 years SOMEONE has finally come up with a hermaphroditic connector for the damn thing. 'cause it never plugs until the 3rd try. Jan 09 01:06:09 hahaha Jan 09 01:06:34 ZiNC: thats where the issue lies Jan 09 01:06:55 the min is "doesn't explode" the desireable is "works ok" Jan 09 01:07:10 k4jcw: USB A is rather nice. And B is totally easy. Jan 09 01:07:54 "USB A is rather nice"? I wanna smoke what you're smoking. Jan 09 01:08:11 Better than VGA. Jan 09 01:08:22 USB A is only "rather nice" in the sense that there are 2 orientations for it instead of 4. Jan 09 01:08:33 Better than PS/2. Jan 09 01:08:34 :) Jan 09 01:08:42 I will grant you that. Jan 09 01:09:30 One thing I like about USB connectors is there's no locking tab that gets hung up on every cable around it. Read: RJ-45, RJ-11, RJ-12... Jan 09 01:09:58 Or screw down ears that hang up on every cable, and 1/2 the time can't be aligned into the screw jacks. Jan 09 01:10:04 its usually got a fairly positive contact too Jan 09 01:10:17 So you see, it's not a bad one. Jan 09 01:10:48 I just hate the whole mini/micro-a/b mess. Jan 09 01:10:48 Let's just say it's less evil. Jan 09 01:10:52 Yeah Jan 09 01:11:46 mini-B's are fine Jan 09 01:11:57 you can swing devices attached to them .. :) Jan 09 01:12:04 ok .. modest devices lol Jan 09 01:12:31 and they're not Huge and bulky Jan 09 01:13:01 On small devices, okay. Jan 09 01:13:11 On large ones, it's annoyingly fragile. Jan 09 01:14:10 then use a big B Jan 09 01:15:09 Duct tape Jan 09 01:15:30 I don't make the devices, you know. :) Jan 09 01:15:31 potting compound :D Jan 09 01:15:59 Unless you suggest I retrofit a different socket? Jan 09 01:19:37 Microchip's store doesn't accept PayPal. :-/ Jan 09 01:19:40 :) Jan 09 01:20:35 does do credit cards Jan 09 01:20:45 paypal is a bit niche Jan 09 01:21:11 Kidding. Jan 09 01:21:14 (Not that it would hurt.) Jan 09 01:21:21 ..depending on who you trade with :p Jan 09 01:21:34 Damn. Getting too late. Jan 09 01:21:40 I'd better go. Jan 09 01:21:41 Nite! **** ENDING LOGGING AT Thu Jan 09 02:59:58 2014