09:22 | humpelst1lzchen | bartolo: have you tried without pa? |
09:22 | bartolo | Humpelst1lzchen: yes |
09:22 | bartolo | same thing |
09:24 | bartolo | with pacmd set-card-profile 0 "output:hdmi-stereo" now i have |
09:26 | bartolo | the problem is that if I try to play any audio file both with alsaplayer and with kodi it doesn't play (I mean that it remains stuck at time 00:00), and if I try to run a video it blocks too |
09:26 | humpelst1lzchen | you did aplay -Dhw:1,0 file.wav? |
09:27 | humpelst1lzchen | unfortunately my cubox is at home..and I'm not |
09:28 | bartolo | with aplay -Dhw:1,0 pacman_death.wav it says: "aplay: set_params:1233: Sample format non available", with aplay -Dplughw:1,0 pacman_death.wav it blocks like with alsaplayer and kodi |
09:29 | humpelst1lzchen | ok lets try speaker-test |
09:29 | humpelst1lzchen | speaker-test -Dhw:1,0 |
09:30 | bartolo | this is the new log of kodi after setting hdmi to digital output |
09:32 | bartolo | Humpelst1lzchen: |
09:32 | bartolo | it goes on forever |
09:33 | humpelst1lzchen | you hear anything? |
09:33 | bartolo | no |
09:34 | humpelst1lzchen | how about with -c 2 -t wav |
09:38 | bartolo | nothing but speaker-test -Dhw:1,0 -c 2 -t wav doesn't give any error |
09:39 | bartolo | no difference with aplay |
09:43 | bartolo | wait there is a difference, not it tests both the left and the right speaker |
09:43 | bartolo | *now |
09:45 | bartolo | also I don't know if this is normal but with alsamixer i have "This sound device does not have any controls." |
09:45 | jnettlet | please post the output of dmesg. |
09:45 | bartolo | both with spdif and hdmi |
09:45 | jnettlet | hdmi output won't work on my kernel without loading fsl's sdma firmware |
09:47 | bartolo | jnettlet: |
09:48 | jnettlet | imx-sdma 20ec000.sdma: firmware not found |
09:48 | jnettlet | that is your problem |
09:48 | jnettlet | is sdma built into the kernel or a kernel module? what does lsmod | grep sdma give you? |
09:50 | bartolo | no sdma modules loaded |
09:50 | jnettlet | yes so it is built into the kernel. |
09:50 | bartolo | CONFIG_IMX_SDMA=y |
09:50 | jnettlet | so you also need to load the sdma firmware into the kernel as well |
09:50 | bartolo | firmware is at /lib/firmware/sdma/sdma-imx6q.bin |
09:51 | jnettlet | yes, but it won't be loaded because the module is initialized in the kernel before the rootfs is available |
09:51 | jnettlet | it either needs to be added to an initramfs or built directly into the kernel |
09:52 | bartolo | probably adding it to initramfs is faster, but I have no idea on how to do that |
09:53 | jnettlet | which distro is this? |
09:53 | bartolo | debian (jessie) |
09:53 | jnettlet | did you build the kernel yourself? |
09:54 | bartolo | I've built the current initramfs with update-initramfs and then i've created an uInitrd with mkimage -A arm -T ramdisk -C none -n uInitrd -d /path/to/initrd.img /path/to/uInitrd |
09:54 | bartolo | no |
09:54 | bartolo | i've taken it from the repo that i've linked before |
09:55 | jnettlet | okay, I have no idea how debian does their initramfs stuff. But that is what is going on. You need to get the sdma firmware into your initrd and everything will start working for you. |
09:56 | bartolo | well actually this repo doesn't ship any initramfs i've created it |
09:56 | bartolo | but I could build the kernel from source if it is simpler to add the firmware |
09:56 | bartolo | adding the support for the cubox to a kernel is just a matter of applying some patch? |
09:56 | jnettlet | you should use the SolidRun kernel repo |
10:03 | bartolo | if I build it in this way |
10:11 | jnettlet | no you will need to add the firmware to your kernel tree and then add it to your .config |
10:12 | jnettlet | https://acassis.wordpress.com/2010/03/17/including-driver-firmware-on-linux-kernel-image/ |
13:06 | heap_ | hi, where did you move all the installation files for arch,debian ... on cubox-pro1? |
13:08 | heap_ | i cant find anything, wiki was deleted? |
13:10 | heap_ | is that joke or? |
13:14 | heap_ | rabeeh: WHY DID YOU remove the wiki/boot images and everything related to old cubox? |
13:14 | heap_ | is that how solid run works? remove all support for old devices and force to buy customers new one? |
13:15 | vpeter | heap_: wiki was hacked or something like that. |
13:16 | heap_ | thats not argument, backups? |
13:16 | heap_ | the company doesnt have backups? |
13:16 | heap_ | because of wiki hack i should trash my device? |
13:19 | heap_ | unbelievable |
13:20 | catwich | heap_ get in touch with malte_ |
13:23 | heap_ | ok, who is he? |
13:23 | heap_ | its not only about me |
13:23 | heap_ | i bet there are other customers that have that cubox... |