11 Replies Latest reply on Jun 16, 2017 10:09 AM by Intel Corporation

    i2s + ubuntu 16.04

    gavinbirss

      Would like to get i2s audio on the GPIO pins working. (Not i2s via HDMI)

      Not sure which kernel module is needed. Intent is to use squeezelite.

       

      Some googling has showed patch code named bxt_rt298 / rt298.c is available.

      Not able to confirm at the moment if related kernel module is available.

       

      Other discussion noted Ostro will add i2s support, I would like to do it in Ubuntu.

        • 1. Re: i2s + ubuntu 16.04
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hi Gavin,

          Thank you for your interest in the Intel Joule platform.
          For all thing related to Ubuntu 16.04 on the Joule, you should contact their support following this link https://developer.ubuntu.com/core/get-started/intel-joule. We support the Ostro image (also called Reference Linux distribution), so if you plan to use Ostro in the future don’t hesitate to contact us back.
          Regarding I2S on Joule using Ostro, it can already be used. Check this thread for known limitations and proper use https://communities.intel.com/thread/108359.

          Regards,
          -Pablo

          • 2. Re: i2s + ubuntu 16.04
            gavinbirss

            Pablo,

             

            I was hoping for a technical response regarding hardware support.

            I need to know which pre-built kernel module can be used for I2S output or if a custom kernel/patch is required.

             

            The provided link is simply steps on how to flash/install Ubuntu?

            https://developer.ubuntu.com/core/get-started/intel-joule

             

            The pre-built kernel for Ubuntu is generated for the Joule. The above link refers to a BETA version that I found buggy.

            The version downloaded from the Intel flash tool is earlier but stable.

             

            It does not remember the wifi and before logging on the user does not have sufficient privileges to change the wifi settings.

             

            "We support the Ostro image"

            I hope that this means Intel is not supporting any Joule/hardware on Ubuntu?

             

            "Regarding I2S on Joule using Ostro, it can already be used."

            The I2S modules are monolithic? (part of the kernel) or loaded on the fly?

            What is the name of the module/s for I2S?

            • 3. Re: i2s + ubuntu 16.04
              Intel Corporation
              This message was posted on behalf of Intel Corporation

              Hi Gavin,

              Let me investigate a little bit more about your hardware questions regarding module names and if there’s necessary to patch the kernel. I’ll get back to you as soon as I have updates on this.
              Regarding the link that I shared with you, I apologize, for a moment I believe that was the link to the Ubuntu support site, this is the link that I intended to share with you https://developer.ubuntu.com/en/community/.

              Regards,
              -Pablo

              • 4. Re: i2s + ubuntu 16.04
                corrosion

                Hi,

                 

                I have the exact same question but for the Ostro OS.

                Checkout this thread Audio over I2S

                 

                Stu

                • 5. Re: i2s + ubuntu 16.04
                  gavinbirss

                  @corrosion

                   

                  Thanks, will keep an eye on your question.

                   

                  Hope intel respond soon. I prefer Ubuntu as compiling squeezelite, I can't add the required libraries to Ostro?

                   

                  There is number of references to HiFi.conf on Ostro (version 1.01) and broadwell-rt286

                   

                  ./usr/share/alsa/ucm/DAISY-I2S:

                  drwxr-xr-x    2 root          4096 Dec 16 11:02 .

                  drwxr-xr-x   10 root          4096 Dec 16 11:02 ..

                  -rw-r--r--    1 root            94 Dec 16 11:02 DAISY-I2S.conf

                  -rw-r--r--    1 root          1631 Dec 16 11:02 HiFi.conf

                   

                  ./usr/share/alsa/ucm/GoogleNyan:

                  drwxr-xr-x    2 root          4096 Dec 16 11:02 .

                  drwxr-xr-x   10 root          4096 Dec 16 11:02 ..

                  -rw-r--r--    1 root            92 Dec 16 11:02 GoogleNyan.conf

                  -rw-r--r--    1 root          2201 Dec 16 11:02 HiFi.conf

                   

                  ./usr/share/alsa/ucm/PAZ00:

                  drwxr-xr-x    2 root          4096 Dec 16 11:02 .

                  drwxr-xr-x   10 root          4096 Dec 16 11:02 ..

                  -rw-r--r--    1 root          1141 Dec 16 11:02 HiFi.conf

                  -rw-r--r--    1 root          1069 Dec 16 11:02 PAZ00.conf

                  -rw-r--r--    1 root          1807 Dec 16 11:02 Record.conf

                   

                  ./usr/share/alsa/ucm/broadwell-rt286:

                  drwxr-xr-x    2 root          4096 Dec 16 11:02 .

                  drwxr-xr-x   10 root          4096 Dec 16 11:02 ..

                  -rw-r--r--    1 root          2369 Dec 16 11:02 HiFi

                  -rw-r--r--    1 root           121 Dec 16 11:02 broadwell-rt286.conf

                  • 6. Re: i2s + ubuntu 16.04
                    Intel Corporation
                    This message was posted on behalf of Intel Corporation

                    Hi guys, 

                    We would like to let you know that right now Intel is working with Canonical to add support for Joule I2S to the Ubuntu packages as well as releasing a standalone enabling package. At this moment, we can’t provide a specific date for this release, but it is now in the works. 

                    Regards, 
                    Pablo M. 

                    • 7. Re: i2s + ubuntu 16.04
                      gavinbirss

                      @Pablo

                       

                      Thanks for the news, most welcomed.

                       

                      Hope to see the release soon.

                      • 8. Re: i2s + ubuntu 16.04
                        gavinbirss

                        Bump?

                        • 9. Re: i2s + ubuntu 16.04
                          Intel Corporation
                          This message was posted on behalf of Intel Corporation

                          Hi Gavin,

                          We apologize for the delay in our response, we would like to thank you for finding and reporting this issue with the Intel Joule. We wanted to let you know we are working on a solution but unfortunately we do not have an ETA on completion. We strongly suggest you to consider other option for your design as the EEPROM Configuration Tool may not support your end goal. Again, we apologize for the inconvenience this may cause.

                          Regards,
                          Pablo M.

                          • 10. Re: i2s + ubuntu 16.04
                            gavinbirss

                            @Pablo

                             

                            Thanks,

                             

                            I am puzzled about the relationship between i2s and eeprom configuration tool?

                            • 11. Re: i2s + ubuntu 16.04
                              Intel Corporation
                              This message was posted on behalf of Intel Corporation

                              Hi Gavin,

                              Configuration of the I2S should be done through the EEPROM Configuration Tool, however, we don’t have an ETA as to when this will be possible. That’s why we suggest to consider other options.

                              Kind regards,
                              Pablo M.