# Zynthian Box with Audio-input (Audioinjector soundcard)

**URL:** <https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618>\
**Category:** Building Zynthian\
**Created:** [April 7, 2017, 6:02pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618 "2017-04-07T18:02:05Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Axeman](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/axeman/32/278_2.png) [@Axeman](https://discourse.zynthian.org/u/Axeman)\
**Post date:** [April 19, 2017, 12:24pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/21 "2017-04-19T12:24:09Z")

</div>

Mine arrived today, from Amazon, even if I bought it on ebay… maybe a glitch in the Matrix 😃

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [April 25, 2017, 10:37am UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/22 "2017-04-25T10:37:25Z")

</div>

I’ve received 2 cards from Amazon too … i also ordered in Ebay … jajaja!  
Perhaps people ordering Zynthian Kits is also receiving it from Amazon? 😱

---

<div class="post-metadata">

**Author:** ![mrlsk](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mrlsk/32/450_2.png) [@mrlsk](https://discourse.zynthian.org/u/mrlsk)\
**Post date:** [May 15, 2017, 7:28pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/23 "2017-05-15T19:28:53Z")

</div>

Hello !

What is the wiring conf I’ve to set if I want to use the pi tft 2"8 and this audiocard ?  
I don’t know if it’s related, but the touch functionnality is not working on my config with this two hats. Screen is working good (except the light of the screen which goes down after the welcome screen Zynthian) but no touchscreen functionnality.

(Screen is not detected as a touch device, no entry in /dev/input/)

Thank You

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 16, 2017, 1:16pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/24 "2017-05-16T13:16:03Z")

</div>

No wiring modifications are needed for audioinjector. It’s completely compatible with PiTFT 2.8".  
Read the main post on this thread 😉

Regards!

---

<div class="post-metadata">

**Author:** ![mrlsk](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mrlsk/32/450_2.png) [@mrlsk](https://discourse.zynthian.org/u/mrlsk)\
**Post date:** [May 16, 2017, 1:31pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/25 "2017-05-16T13:31:26Z")

</div>

Ok, thank You for the reply !

I’m asking myself if I received the right pitft … 😕

On the PCB i’ve the label “ft6202” do You have the same ?

 ![](https://discourse.zynthian.org/uploads/default/original/1X/303072f230eddc4aa6b156027ff30c14aecb2206.jpg)

Thank You Jofemodo !

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 16, 2017, 5:21pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/26 "2017-05-16T17:21:12Z")

</div>

Could you send some more detailed photo of the display? And the exact model name … please!  
Anyway, it seems that this is not the “normal” PiTFT 2.8" we normally use for Zynthian 😉

Thanks!

---

<div class="post-metadata">

**Author:** ![mrlsk](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mrlsk/32/450_2.png) [@mrlsk](https://discourse.zynthian.org/u/mrlsk)\
**Post date:** [May 16, 2017, 6:47pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/27 "2017-05-16T18:47:59Z")

</div>

It’s the capacitive model I think :

[https://www.amazon.fr/dp/B01LCN0WIS](https://www.amazon.fr/dp/B01LCN0WIS)

I’ve just install the kernel from adafruit ([https://learn.adafruit.com/adafruit-2-8-pitft-capacitive-touch/easy-install](https://learn.adafruit.com/adafruit-2-8-pitft-capacitive-touch/easy-install))

And i’ts ok now, I was thinking you added the kernel for that screen, but seems not !

I can now full test Zynthian, just have to add the midi input for future clock-sync with my korg emx1.

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 16, 2017, 8:25pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/28 "2017-05-16T20:25:12Z")

</div>

Hi @mrlsk!

It shouldn’t be needed to install the Adafruit kernel. Doing so can break something, specially MIDI input.

Probably your display is already supported by standard kernels, but you have to load the corresponding layout in the _/boot/config.txt_. Sometimes you have to copy a specific layout file from the manufacturer (Adafruit).  
Also, you should have to adjust the touch calibration. If you do so, you can give feedback, so we can add your display to the webconf tool.

Regarding MIDI sync … currently it’s not implemented in Zynthian, or to be more exact, AFAIK any of the sound engines integrated in Zynthian currently support it ;-(

Kind Regards!

---

<div class="post-metadata">

**Author:** ![C0d3man](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/c0d3man/32/9_2.png) [@C0d3man](https://discourse.zynthian.org/u/C0d3man)\
**Post date:** [May 17, 2017, 6:21am UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/29 "2017-05-17T06:21:47Z")

</div>

@mrlsk, @jofemodo

> [@jofemodo](#):
>
> Regarding MIDI sync … currently it’s not implemented in Zynthian, or to be more exact, AFAIK any of the sound engines integrated in Zynthian currently support it ;-(

See [(MIDI)Sync of engines/plugins? - #9 by C0d3man](https://discourse.zynthian.org/t/midi-sync-of-engines-plugins/673/9).

Perhaps starting `jack_midi_clock` on zynthian may sync external devices to jack-midi.

Regards, Holger

---

<div class="post-metadata">

**Author:** ![mrlsk](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mrlsk/32/450_2.png) [@mrlsk](https://discourse.zynthian.org/u/mrlsk)\
**Post date:** [May 17, 2017, 12:43pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/30 "2017-05-17T12:43:56Z")

</div>

Hi !

Oh Ok, with my keyboard it’s still working (usb).

Ok I understand, I can restart from scratch to test a new layout.  
Yeah ok I will try to find the informations.

And for midi sync I know, I’ve read the thread on that topic 🙂

Thank You !

---

<div class="post-metadata">

**Author:** ![mrlsk](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mrlsk/32/450_2.png) [@mrlsk](https://discourse.zynthian.org/u/mrlsk)\
**Post date:** [May 17, 2017, 4:53pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/31 "2017-05-17T16:53:14Z")

</div>

I’ve search and i found that my screen is the 2423 :

| Ada# | Name | Size | Pixels | Touchscreen | Backlight | Header |  
| 2423 | PiTFT Plus | 2.8" | 320x240 | Capacitive | variable | 40-pin |

I Think this is that setting for my screen :

Section "InputClass"  
Identifier "captouch"  
MatchProduct "ft6x06\_ts"  
Option “SwapAxes” "1"  
Option “InvertY” "1"  
Option “Calibration” "0 320 0 240"  
EndSection

And that module

sudo nano /etc/modules  
and add ft6x06\_ts on a line at the end

I will try after a fresh install !

---

<div class="post-metadata">

**Author:** ![mrlsk](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mrlsk/32/450_2.png) [@mrlsk](https://discourse.zynthian.org/u/mrlsk)\
**Post date:** [May 22, 2017, 7:46am UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/32 "2017-05-22T07:46:56Z")

</div>

Hello ! sorry for the off topic but it’s OK now, the config file as to be not too long for each line.

It seems that separate line is working :

```
dtoverlay=pitft28-capacitive,speed=32000000,fps=25
dtoverlay=pitft28-capacitive,touch-swapxy,touch-invx

```

But not when there is only one line config (too long)

I can now full test the engines, realy cool, I will post a video 😉

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 22, 2017, 8:30am UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/33 "2017-05-22T08:30:16Z")

</div>

I’m not too sure of RBPi “boot/config.txt” syntax , but perhaps it would be better to try like this:

```
dtoverlay=pitft28-capacitive,speed=32000000,fps=25,touch-swapxy,touch-invx

```

Regards!

---

<div class="post-metadata">

**Author:** ![mrlsk](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mrlsk/32/450_2.png) [@mrlsk](https://discourse.zynthian.org/u/mrlsk)\
**Post date:** [May 22, 2017, 8:41am UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/34 "2017-05-22T08:41:50Z")

</div>

With your line the screen is not responding 😕

With the double line no problems, it seems that boot config as a max length for the lines …

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [May 22, 2017, 8:43am UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/35 "2017-05-22T08:43:59Z")

</div>

OK! Good info! 😉

Regads!

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [August 9, 2017, 9:42pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/36 "2017-08-09T21:42:56Z")

</div>

2 posts were split to a new topic: [“Musical-artifacts” for the Zynthian community](https://discourse.zynthian.org/t/musical-artifacts-for-the-zynthian-community/957)

---

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [August 13, 2017, 8:56pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/37 "2017-08-13T20:56:07Z")

</div>

I am using this line without any problems

‘DISPLAY\_CONFIG’: ‘dtoverlay=waveshare32b:rotate=270,swapxy=1\n’+  
‘dtoverlay=ads7846,cs=1,penirq=17,penirq\_pull=2,speed=1000000,keep\_vref\_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900’

---

<div class="post-metadata">

**Author:** ![mheidt](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/mheidt/32/773_2.png) [@mheidt](https://discourse.zynthian.org/u/mheidt)\
**Post date:** [August 13, 2017, 8:57pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/38 "2017-08-13T20:57:40Z")

</div>

i would rather suspect, that either speed=32000000 or fps=25 are your problem.

please try  
dtoverlay=pitft28-capacitive,speed=32000000,touch-swapxy,touch-invx  
and  
dtoverlay=pitft28-capacitive,fps=25,touch-swapxy,touch-invx

---

<div class="post-metadata">

**Author:** ![Hampelschwein](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/h/eb8c5e/32.png) [@Hampelschwein](https://discourse.zynthian.org/u/Hampelschwein)\
**Post date:** [October 16, 2017, 10:22pm UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/39 "2017-10-16T22:22:33Z")

</div>

hey,  
uhh, this changing of the [zynthian.sh](http://zynthian.sh) file somehow messed my zynthian up…  
[Official RBPi TouchScreen 7"](https://discourse.zynthian.org/t/official-rbpi-touchscreen-7/430/50?u=hampelschwein)  
I changed as mentioned above it in order to make the inputs of my audioinjector work. None of the effects from mod ui affected the input sound, neither of the mic that I built in nor of the jack input. (But there was input of both directed to the output but unprocessed) But now my Zynthian won’t completely boot anymore after showing the initial zynthian screen even after changing it back. (webconf tool still shows up)  
Could somebody maybe send me a [zynthian.sh](http://zynthian.sh) file?

(edit: also after replacing with the [zynthian.sh](http://zynthian.sh) content from github the problem persists.)  
so here is some log, I discovered a magic cookie, whatever that means…

> **Summary**
>
> root@zynthian:~# /zynthian/zynthian-sys/sbin/zynthian.sh
> 
> xauth: timeout in locking authority file /root/.Xauthority  
> xauth: timeout in locking authority file /root/.Xauthority
> 
> [X.Org](http://X.Org) X Server 1.18.4  
> Release Date: 2016-07-19  
> X Protocol Version 11, Revision 0  
> Build Operating System: Linux 4.4.26-v7+ armv7l Raspbian  
> Current Operating System: Linux zynthian 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l  
> Kernel command line: 8250.nr\_uarts=1 bcm2708\_fb.fbwidth=656 bcm2708\_fb.fbheight=416 bcm2708\_fb.fbswap=1 vc\_mem.mem\_base=0x3dc00000 vc\_mem.mem\_size=0x3f000000 dwc\_otg.lpm\_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait  
> Build Date: 11 November 2016 11:59:59AM  
> xorg-server 2:1.18.4-2+rpi1 ([https://www.debian.org/support](https://www.debian.org/support))  
> Current version of pixman: 0.33.3  
> Before reporting problems, check [http://wiki.x.org](http://wiki.x.org)  
> to make sure that you have the latest version.  
> Markers: (–) probed, (\*\*) from config file, (==) default setting,  
> (++) from command line, (!!) notice, (II) informational,  
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.  
> (==) Log file: “/var/log/Xorg.0.log”, Time: Mon Oct 16 22:21:21 2017  
> (==) Using config directory: “/etc/X11/xorg.conf.d”  
> (==) Using system config directory "/usr/share/X11/xorg.conf.d"  
> Invalid MIT-MAGIC-COOKIE-1 key  
> waiting for X server to begin accepting connections .  
> Invalid MIT-MAGIC-COOKIE-1 key…  
> Invalid MIT-MAGIC-COOKIE-1 key…

So then my next question for when it will be working again is, how do you activate the audio inputs? Also my alsa mixer looks different than how it’s often shown here in the forum with the level meters and black background and I dont have this L R Capture and Input Mix

---

<div class="post-metadata">

**Author:** ![Hampelschwein](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/h/eb8c5e/32.png) [@Hampelschwein](https://discourse.zynthian.org/u/Hampelschwein)\
**Post date:** [October 22, 2017, 9:34am UTC](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618/40 "2017-10-22T09:34:31Z")

</div>

@jofemodo @mheidt anybody has a suggestion for this? Im a bit in trouble because I need my Zynthian soon for some concerts. But be nice if you could have a look at the log I posted above. Thanks!

[Previous page](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618.md?page=1)

[Next page](https://discourse.zynthian.org/t/zynthian-box-with-audio-input-audioinjector-soundcard/618.md?page=3)
