IRC log of #cubox of Sun 07 Sep 2014. All times are in CEST < Back to index

01:47 murder hey.
01:47 murder does anyone here know of any compatibility issues of cuboxi4pro with 5tb ext hdds?
05:38 CovertOps hello
05:39 CovertOps does anyone know if the hummingboard pro gpio pins support pwm output?
06:35 jnettlet CovertOps, it looks like GPIO1 can be configured to be PWM2_OUT. Although rabeeh would know if there were hardware limitations on that.
06:36 CovertOps thank you
06:36 CovertOps also, is there a particular pin i should use for external interrupts?
06:37 CovertOps i made an ac dimmer with a zero cross detector and optically isolated triac that works with my arduino and i want to use it with the hummingboard
06:38 CovertOps i was wondering if it's possible to use it the same way, where the zero cross triggers an interrupt
06:41 jnettlet CovertOps, to tell you the truth that is a question for rabeeh. Other than basic configuration and a few basic tests I have not done much with the pin header functionality.
06:41 CovertOps any idea when he's usually around?
06:42 jnettlet probably in another 3 hours or so
06:42 CovertOps ah i'll probably be asleep then
06:43 CovertOps of course heh
06:43 jnettlet you can catch him when you wake up then.
06:43 jnettlet we know this all needs to get wikified
06:46 CovertOps yeah some more than basic instructions would be nice
06:48 CovertOps i saw something on the forums about wiringpi. would be good to get wiringpi and pi-gpio ported over
06:49 jnettlet CovertOps, yes someone has started that. I looked at it but just don't have the time. Unfortunately as of now the WiringPi maintainer hasn't shown much interest.
06:49 CovertOps i unfortunately don't have enough knowledge or skill
06:50 CovertOps it looks like there are 4 pwm out pins from the SOM
06:51 CovertOps 68, 41, 55, and 57
06:52 CovertOps doesn't look like any of them go to the gpio pins
06:53 CovertOps oh pwm4 goes to CAM_GPIO
06:53 jnettlet where does pwm2 go? I don't have my references handy
06:53 CovertOps looks like to the led
06:53 CovertOps pwm1 goes to the microsd
06:53 CovertOps brb
10:38 Humpelstilzchen did anyone here compile xbmc? If do, which repository?
10:38 Humpelstilzchen *so
12:14 auke- Is bluetooth working in the 3.0.35 kernel for the i4? hcitool dev doesn't show any bluetooth devices
12:15 Humpelstilzchen any reason to use such an old kernel?
12:16 auke- It's the kernel currently supported by SolidRun...
12:18 Humpelstilzchen the wiki says 3.14 is preferred
12:21 Humpelstilzchen anyway 3.14 has a bluetooth device in hcitool, but my bt keyboard still doesn't work
12:21 Humpelstilzchen probably due to changed bluez userspace..
12:22 auke- The 3.14 kernel is merged with Yocto last week and will be in the next Yocto version (1.7), so 3.0.35 is the current stable version.
12:24 Humpelstilzche 12:24 * Humpelstilzchen is not using yocto, or does plan to
12:26 auke- It could be that i'm doing something wrong... or bluetooth isn't working at all in the 3.0.35 kernel
12:27 Humpelstilzchen do you have brcm_patchram_plus running?
12:30 auke- no. ps -ef | grep brcm -> brcmf_watchdog and brcmf_dpc
12:31 Humpelstilzchen you might want to
12:35 auke- ok, thanks
19:55 afics I'd like to access the SoCs internal temperature sensors, where can I find information on how to achieve that?
19:58 Humpelstilzchen linux?
19:59 afics sure, does anything else run on the cuboxes?
19:59 afics (besides risc os maybe)
20:00 Humpelstilzchen afics: try cat /sys/devices/virtual/hwmon/hwmon0/temp1_input
20:01 afics /sys/devices/virtual/hwmon/hwmon0/temp1_input: No such file or directory
20:01 Humpelstilzchen Probably not in your kernel
20:01 afics kk
20:01 afics I'm using debian
20:02 Humpelstilzchen too
20:02 R0nd I'm on debian with 3.0.35, works for me
20:02 afics $ uname -r
20:02 afics 3.14.14-cubox
20:02 Humpelstilzchen where is this kernel from?
20:02 afics built using this thing: https://github.com/igorpecovnik/Cubox-i-Debian
20:03 Humpelstilzchen yeah tested this, it has about a dozen differences to the default config, one is temperature not enabled
20:03 Humpelstilzchen for whatever reason
20:04 afics huh
20:04 Humpelstilzchen but it has working bluetooth
20:04 afic 20:04 * afics walks away rebuilding this thing with temperature stuff enabled
20:05 R0nd I gotta update my kernel too, where should I get it?
20:05 Humpelstilzchen igorpecovnik is using https://github.com/SolidRun/linux-imx6-3.14 - works for me
20:06 afics I'm curious what stuff people did to the minipcie port, is there a list of tested cards?
20:06 Humpelstilzchen afics: compare your/igors config with imx_v7_cbi_hb_defconfig and you will see the missing temperature option
20:06 afics yep, I already noticed, thanks for the hint
20:07 R0nd Humpelstilzchen: can I get a prebuilt image somewhere? I'm not really comfortable with kernel configs yet
20:07 Humpelstilzchen afics: while you are at it, can you ask him why theese are disabled?
20:07 afics sure, will do, otherwise his image is great
20:07 Humpelstilzchen R0nd: igors is doing fine
20:08 Humpelstilzchen R0nd: http://www.igorpecovnik.com/2014/08/19/cubox-i-hummingboard-debian-sd-image/
20:09 R0nd Humpelstilzchen: can I just use igor's kernel with the existing os?
20:09 Humpelstilzchen R0nd: probably, always make backups ;)
20:10 R0nd yeah, I sure do
20:10 rabeeh_ afics: https://github.com/linux4kix/linux-linaro-stable-mx6/commit/4a2f77e014b8cdd10af1aac0db40f582be027f51
20:10 rabeeh_ that patch fixed enabling the thermal sensor on LK 3.14
20:10 rabeeh_ you can now use 'sensors' command in Linux (part of lm-sensors)
20:11 rabeeh_ and on the official kernel now - https://github.com/SolidRun/linux-imx6-3.14/commit/4a2f77e014b8cdd10af1aac0db40f582be027f51
20:11 afics awesome, thank you
20:12 afics I'm playing with the idea of building a wireless router by adding a minipcie wireless card. I wonder how good that'd work
20:13 rabeeh_ afices: we still have issues with pcie link up
20:13 rabeeh_ mostly fixed; but on 'reboot' link doesn't come back again (i.e. after soft reset)
20:13 afics ah
20:13 afics such problems with the msata port too?
20:14 rabeeh_ nop
20:14 rabeeh_ msata works
20:14 rabeeh_ if you want to get mini pcie; then look at the -drm branch jnettlet has -
20:14 rabeeh_ https://github.com/linux4kix/linux-linaro-stable-mx6/commits/linux-linaro-lsk-v3.14-mx6-drm
20:14 rabeeh_ pick the last three patches
20:14 afics nice, i ordered a ssd, didn't arrive yet :)
20:14 Humpelstilzchen rabeeh_: any recommendation which of the kernel trees should be used?
20:14 Humpelstilzchen (and why)
20:14 rabeeh_ for doing what?
20:15 rabeeh_ Android today is LK 3.0.35
20:15 Humpelstilzchen Linux
20:15 rabeeh_ for Linux we are focusing on completing the support for LK 3.14
20:15 rabeeh_ still missing -
20:15 rabeeh_ lvds out, pcie, analog audio, camera interface
20:16 Humpelstilzchen and hdmi to dvi doesn't work
20:16 rabeeh_ non cea modes?
20:16 rabeeh_ cec is still buggy; mk01 has a good suggestion for patching the kernel; but the patches needs to be rewritten
20:16 Humpelstilzchen no idea about that mode
20:17 Humpelstilzchen tried to attach a Computer Monitor with DVI
20:17 Humpelstilzchen TV/HDMI works
20:17 rabeeh_ and with DVI?
20:17 rabeeh_ which kernel?
20:18 Humpelstilzchen https://github.com/SolidRun/linux-imx6-3.14 <-- this kernel
20:18 Humpelstilzchen My CuBox only has HDMI out, so I used a HDMI-DVI Cable. I can see the output of uboot, but not linux
20:24 rabeeh_ what does 'cat /sys/class/graphics/fb0/mode*' show?
20:27 Humpelstilzchen rabeeh_: http://pastebin.com/BXijWPtC
20:29 Humpelstilzchen and yes, this is an 1280x1024 device
21:20 kivutar rabeeh_, is sgtl5000 working with lk 3.14.x?
21:22 malte i dont think so
21:23 malte still missing -
21:23 malte lvds out, pcie, analog audio, camera interface
21:49 TyroneFHornigh Thanks for the information on the debian image. It all works well. There were only a couple of glitches, and those were my setup.
22:30 iCEBrkr I really want some hardware to replace my Sony Google TV. Unfortunately, it's impossible to find the HDMI pass-through like they have.
22:31 FoXMaN aaand irda tx is missing also
22:31 Humpelstilzchen HDMI pass through "as in" CEC?
22:31 FoXMaN iCEBrkr: what do you need hdmi pass through for?
22:31 iCEBrkr So I don't have to deal with 3 remotes, etc, etc.
22:32 iCEBrkr Sony Google TV has HDMI in from my cable provider and HDMI out to my TV. I keep my TV set to HDMI-1 and can watch Plex/NetFlix/TV all through Android and not having to switch sources.
22:33 Humpelstilzchen HDMI in? Nice
22:33 iCEBrkr I picked up a CuBox-4i Pro just to tinker with, hoping it had more horse-power to handle plex and all the different encodings.
22:34 iCEBrkr I have it running the last Android build and it sits here in my office on a 22" LCD. I dig it.
22:34 iCEBrkr Mainly so I can run the UFC app and watch the 'special access' fights.
22:35 iCEBrkr Even though the UFC app is stupid and only supports portrait mode up until you select a video.
22:36 iCEBrkr I may just have to get a Harmony remote. Program it to switch sources when I flip to Plex.
22:36 iCEBrkr I wanted to switch to XBMC and use my Cubox instead.
22:37 iCEBrkr Gave up on Boxee since it's not the same device it once once.. Roku is crap for what I want to do.
22:37 iCEBrkr err once was.
22:39 iCEBrkr If I didn't have a 2yr old on my hands, I'd probably hack on this thing more often.