From owner-freebsd-current@freebsd.org Sat Jun 29 15:31:18 2019 Return-Path: Delivered-To: freebsd-current@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 A2CA215DE8C3 for ; Sat, 29 Jun 2019 15:31:18 +0000 (UTC) (envelope-from ap@sndbro.ru) Received: from mail.telecomgroup.ru (mail.telecomgroup.ru [195.178.201.78]) by mx1.freebsd.org (Postfix) with ESMTP id 569BB81567 for ; Sat, 29 Jun 2019 15:31:16 +0000 (UTC) (envelope-from ap@sndbro.ru) Received: from box (p-alexei.starlink.ru [94.141.168.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.telecomgroup.ru (Postfix) with ESMTPSA id 0B1D0D02F0A; Sat, 29 Jun 2019 18:31:02 +0300 (MSK) Date: Sat, 29 Jun 2019 18:29:40 +0300 From: Alexei Palyutin To: Vlad Movchan Cc: freebsd-current@freebsd.org Subject: Re: New driver for ESI Juli@ soundcard (copied from freebsd-drivers) Message-Id: <20190629182940.600e1a585b174ee01221ffba@sndbro.ru> In-Reply-To: References: <20190624174432.1cdae0b7d672b6e17d2804a2@sndbro.ru> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.101.2 at mail.telecomgroup.ru X-Virus-Status: Clean X-Rspamd-Queue-Id: 569BB81567 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [1.76 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.57)[-0.568,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_SPAM_SHORT(0.54)[0.543,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sndbro.ru]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.telecomgroup.ru]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.29)[0.292,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5429, ipnet:195.178.192.0/19, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.00)[country: RU(0.01)]; RCVD_COUNT_TWO(0.00)[2] X-Mailman-Approved-At: Sat, 29 Jun 2019 15:37:01 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2019 15:31:18 -0000 Glad to hear that Juli@ XTe also works fine! Thank You for Your feedback! Indeed, it is more logical to use "pcm" device instead of "vol", since "vol" is designed to control so-called "master volume", not implemented in Juli@. But mixer(8) tries to adjust this "vol" by default, if invoked without device name (mixer 75). It's not difficult to replace "vol" with "pcm" in the driver, but then invocation of mixer(8) as shown above, will result in error "mixer: MIXER_READ: Device not configured", since it assumes "vol" by default. In this case "pcm" device must be explicitly specified every time (mixer pcm 75), I think this is inconvenient. It woult be nice if there were a flag, driver developer can use to indicate "pcm" is default instead of "vol", but I know nothing about such abilities. --- On Fri, 28 Jun 2019 21:09:08 +0300 Vlad Movchan wrote: > Everything works well with ESI Juli@ XTe (PCIe version of the soundcard). > The only uncommon thing I noticed is a bit different behavior of the > default mixer: > "pcm" mixer device is absent, so it is necessary to use "vol" instead. And > mplayer (default player I use) reports: > [Mixer] No hardware mixing, inserting volume filter > when I change volume by means of mplayer. > After I added "mixer-channel=vol" into ".mplayer/config" file mplayer > behavior back to normal. So I'm happy :) > Thanks a lot for your work. > > On Mon, Jun 24, 2019 at 6:03 PM Алексей Палютин wrote: > > > Good day everyone! > > > > I was advised to copy this message here from freebsd-drivers@. > > Hope this will be useful. > > > > --- > > > > I want to share with the community a new driver for ESI Juli@ PCI > > soundcard. > > FreeBSD already offers support for such card, but this support is very > > limited and device is almost unusable. > > Since I like high-quality audio hardware (like Juli@ cards), time was > > spent writing a new, full-featured driver for it. > > The proposed driver supports playback, recording, MIDI, pass-through > > channel, clock control, ACPI... > > Also, the driver can be controlled with convenient GUI control panel, as > > through sysctl(8). > > > > I hope this work was done for a reason and will be useful to someone else. > > > > I have been using this driver successfully for some time, but there may be > > bugs, so more testing is required. > > It would be great if there were those who wanted to download, test it, and > > share results. > > > > Driver page: https://sndbro.ru/soft/snd_juliet?lang=en > > Control panel page: https://sndbro.ru/soft/mixate-juliet?lang=en > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > > -- > Have a nice(1) day, > Vlad Movchan -- Alexei Palyutin