From owner-freebsd-multimedia@freebsd.org Fri Jun 15 05:34:15 2018 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B78A6101BA0E for ; Fri, 15 Jun 2018 05:34:15 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id EF29C79863 for ; Fri, 15 Jun 2018 05:34:14 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp121-45-90-218.bras1.adl6.internode.on.net (HELO leader.local) ([121.45.90.218]) by ipmail06.adl2.internode.on.net with ESMTP; 15 Jun 2018 15:04:06 +0930 Subject: Re: jack_umidi client name too long To: =?UTF-8?Q?Goran_Meki=c4=87?= , freebsd-multimedia@freebsd.org References: <20180614224209.huk5nusli4m5ngqn@hal9000.cicici.home> From: Shane Ambler Message-ID: <2cd19236-1475-e374-9427-27dfdfc7ca2c@ShaneWare.Biz> Date: Fri, 15 Jun 2018 15:04:04 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180614224209.huk5nusli4m5ngqn@hal9000.cicici.home> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 05:34:15 -0000 On 15/06/2018 08:12, Goran Mekić wrote: > Hello, > > I'm trying to get my USB MIDI to work with jack and this is current > result: > > # jack_umidi -d /dev/umidi2.0 -n 'umidi' > "M-Audio USB MS1x1 MIDI Interface #0" is too long to be used as a JACK client name. > Please use 33 characters or less. > jack_umidi: Could not connect to the JACK server. Run jackd first? > > It behaves the same if I remove "-n umidi". Does anyone know what is the > proper way to use jack_umidi when the device name is long? Thanx! Not sure if the long name is an error stopping anything or just a notice, the following error "Could not connect to the JACK server" would be why nothing works. To use a usb midi keyboard I use - jackd --no-realtime -d oss & jack_umidi -C /dev/umidi0.0 -B The "&" for jackd and "-B" for jack_umidi put them in the background so you can close your terminal and they keep running. Here is a script I use to automate it - https://gist.github.com/sambler/67bf0b374d7b9c27e7cec1dd2befbcf2 -- FreeBSD - the place to B...Software Developing Shane Ambler