Re: aucat - join two mono files into stereo

2020-02-10 Thread Alexandre Ratchov
On Mon, Feb 10, 2020 at 10:45:02PM +0100, Jan Stary wrote: > I must be missing something obvious. > How does aucat mix two mono files into one stereo file > as the left and right channel, respectively? > You have to specify which file goes to which channel, for instance: aucat -n -c 0:0

Re: USB M-Audio as default audio output

2020-01-24 Thread Alexandre Ratchov
On Fri, Jan 24, 2020 at 04:04:40PM +0100, Thomas de Grivel wrote: > Hello misc, > > I have a USB M-Audio card which is very well supported by OpenBSD 6.6 amd64 > > My question is : how do I setup an USB audio card as the default audio > device whenever it is plugged in ? > > Also I did not manag

Re: Userland PCI drivers possible in OpenBSD?

2020-01-11 Thread Alexandre Ratchov
On Fri, Jan 10, 2020 at 03:58:16AM +, Joseph Mayer wrote: > Maybe this topic is better suited for tech@, you tell: > > Is there some way I can implement PCI drivers in userland in OpenBSD? > > On a quick Internet search, see some discussion for Linux and NetBSD > e.g. [1] however nothing in O

Re: midiplay and FAQ ?

2019-12-28 Thread Alexandre Ratchov
On Sat, Dec 28, 2019 at 02:25:22PM -0500, Paul Wisehart wrote: > I'm on a recently upgraded OpenBSD 6.6 machine. > > I'm reading about midiplay here: > https://www.openbsd.org/faq/faq13.html#midi > > There is no midiplay command on the machine, but there is on a 6.5 > machine. In the man view fo

Re: mpd: failed to open default sndio device

2019-10-18 Thread Alexandre Ratchov
On Fri, Oct 18, 2019 at 02:34:48PM +0300, Кирилл wrote: > Hello. > After install mpd: > $ mpc play > Antimatter - Over Your Shoulder > [paused] #1/7 0:00/4:41 (0%) > volume:100% repeat: off random: off single: off consume: off > ERROR: Failed to open "sndio output" (sndio); Failed to ope

Re: USB speakers, no sound

2019-08-10 Thread Alexandre Ratchov
On Sat, Aug 10, 2019 at 07:58:14PM +, Doug Moss wrote: > no sound from USB speakers > > dmesg: > azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x05: msi > azalia0: codecs: Realtek ALC888, Intel/0x2805, using Realtek ALC888 > audio0 at azalia0 > ... > uhub5 at uhub3 port 1 con

Re: firefox, sndiod and pledge

2019-06-02 Thread Alexandre Ratchov
On Thu, May 30, 2019 at 09:07:45PM -, Stuart Henderson wrote: > On 2019-05-30, Hrvoje Popovski wrote: > > Hi all, > > > > i'm not sure is this intended or not, but if sndiod isn't running and if > > i want to open youtube video with firefox i got this log > > firefox[54192]: pledge "tty", sysc

Re: sndio? aucat -i s.wav: "default: couldn't open audio device"

2019-05-15 Thread Alexandre Ratchov
On Tue, May 14, 2019 at 06:57:48PM -0500, Juan Zuluaga wrote: > Thank you Alexandre! > > I did > # sndiod -ddd -r 44100 -f rsnd/1 -m play sorry, there's a typo in the command I sent you, the correct device number is "0", as the device appears as "audio0" in dmesg. The correct command is: sndiod

Re: USB sound card not playing

2019-05-14 Thread Alexandre Ratchov
On Wed, May 09, 2018 at 04:06:41PM +0200, John Wilkes wrote: > > OpenBSD 6.3 (GENERIC.MP) #107: Sat Mar 24 14:21:59 MDT 2018 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP There were a lot of changes in usb audio support, please try -current or at least OpenBSD 6.5

Re: USB sound card not playing

2019-05-14 Thread Alexandre Ratchov
On Tue, May 14, 2019 at 11:29:45AM +0900, Tuyosi T wrote: > i use 6.6 snapshots and USB sound card . > the card play youtube well including sound . > > -- > $ dmesg | grep audio > uaudio0 at uhub2 port 4 configuration 1 interface 1 "C-Media > Electronics Inc. USB Audio

Re: sndio? aucat -i s.wav: "default: couldn't open audio device"

2019-05-13 Thread Alexandre Ratchov
On Mon, May 13, 2019 at 03:53:51PM -0500, Juan Zuluaga wrote: > Hello all, > > I have audio trouble: no sound whatsoever, and error messages. > > In a first terminal window, as root, I typed > # sndiod -ddd > The ISA bus (actually the PC-XT DMA controller which didn't evolve since 1980) is not

Re: headphone volume levels cannot be manipulated by mixerctl

2019-04-28 Thread Alexandre Ratchov
On Sat, Apr 27, 2019 at 10:10:07AM -0500, joshua stein wrote: > On Sat, 27 Apr 2019 at 14:20:32 -, Christian Weisgerber wrote: > > However, as in this example, I think you will only get a few generic > > controls. > > > > It is my theoretical understanding that USB audio gadgets typically > >

Re: A question about umidi(4) Roland UM-1 support

2019-04-15 Thread Alexandre Ratchov
On Sun, Apr 14, 2019 at 07:15:33PM +0200, Alejandro G. Peregrina wrote: > Hello misc, > > I'm going to purchase Roland UM-ONE MK2 midi-to-usb converter to play > synthesizers from OpenBSD. > > umidi(4) manual stays that Roland UM-1 is supported along other specific > vendor models. Also, I've fou

Re: video decoding and playback in OpenBSD

2019-03-25 Thread Alexandre Ratchov
On Mon, Mar 25, 2019 at 06:05:58PM +0200, Mihai Popescu wrote: > Hello, > > I am trying to find some hardware for an OpenBSD multimedia computer. > I plan to attach it on a HDMI TV and play youtube on it, 1080p@30fps > or more. No 4K involved. > > My thinking is to go for an AMD A8-6500 processor

Re: xhci isochronous transfers

2019-03-17 Thread Alexandre Ratchov
On Sat, Mar 16, 2019 at 06:58:55PM -0700, Nam Nguyen wrote: > > > This procedure is sufficient when I use a USB 2 port. > > I forgot to test USB 2 at the time of my original e-mail. There is > actually a regression and both USB 2 and USB 3 ports throw the same > error. > > --8<---cut

Re: video(1) Unable to use webcam

2019-02-19 Thread Alexandre Ratchov
On Tue, Feb 19, 2019 at 06:16:42PM +0200, Vitaly Kovalyshyn wrote: > I have disabled USB3.0 in the BIOS and my camera now works. > Thank you. > > Is it posible to use USB3.0 and webcam at the same time in OpenBSD? Not yet on all machines and webcam combinations.

Re: Setitimer() resolution?

2018-12-14 Thread Alexandre Ratchov
On Thu, Dec 13, 2018 at 09:27:12PM +, Paul Swanson wrote: > Hi, > > I'm trying to understand how interval timers work in OpenBSD, > but I'm a little stuck on this line from the getitimer / setitimer man page: > > "Time values smaller than the resolution of the system clock > are rounded up to

Re: Qsynth midi latency not low enough... what to do?

2018-12-02 Thread Alexandre Ratchov
On Sat, Dec 01, 2018 at 01:19:00PM -0600, Adam Thompson wrote: > PROBLEM STATEMENT: driving FluidSynth from a MIDI controller produces ~1/4sec > delay between keypress and sound. > [...] > Is sndio(4) suitable for real-time(-ish) performance? Or do I need > a (OS) platform that does ASIO or JAC

Re: XORG Doesnt start after syspatch

2018-11-22 Thread Alexandre Ratchov
On Wed, Nov 21, 2018 at 06:12:55PM -0600, Manuel Solis wrote: > Hello Misc. > > I have installed 64 in a macbook and it works great and out of the box, > however i notice that after i run syspatch and reboot, xorg doesn´t start > at all. > Until this problem is fixed, Xorg must be started by roo

Re: recommended h/w for fanless audio-out?

2018-11-12 Thread Alexandre Ratchov
On Mon, Nov 12, 2018 at 12:30:30PM +, Colin Bortner wrote: > > For the NUC, USB 3.0 can be disabled in the bios, forcing the ehci driver, > and allowing me to use the USB DAC without issues. From dmesg: > > [...] > ehci0 at pci0 dev 29 function 0 "Intel 9 Series USB" rev 0x03: apic 2 int 23

Re: recommended h/w for fanless audio-out?

2018-11-12 Thread Alexandre Ratchov
On Sun, Nov 11, 2018 at 12:24:05PM -0600, Adam Thompson wrote: > Hello, > > I’d like to use OpenBSD to build a MIDI synthesizer using > SoundFonts, as the OpenBSD MIDI and audio subsystems are remarkably > understandable and sane, compared to everything else out there > today. > � > > However, I

Re: Send midi to software

2018-11-04 Thread Alexandre Ratchov
On Sun, Nov 04, 2018 at 10:28:04AM -0500, Ken M wrote: > As an alternative could I cat rmidi0 to midithru0? > Yes. But we've no utility to do so in base, you could try to install this one: http://caoua.org/alex/obsd/midicat.tar.gz Then do: midicat -q rmidi/0 -q midithru/0 You could do

Re: Send midi to software

2018-11-04 Thread Alexandre Ratchov
On Sat, Nov 03, 2018 at 02:26:59PM -0400, Ken M wrote: > So I am sure I am missing something stupid. Just the first time I have tried a > midi controller with openbsd. > > So the device shows in the dmesg > a hexdump shows I am receiving sounds > but in lmms even with a device set to receive midi,

Re: Sound from vmm guest

2018-10-27 Thread Alexandre Ratchov
On Fri, Oct 26, 2018 at 07:49:16PM -0400, Ken M wrote: > > xfreerdp /sound:sys:sndio,dev:/dev/audio /v:host ^^ If this is the sndio device name, it should be "default", not "/dev/audio". You could do "man sndio" to see sndio device names syntax.

Re: Sound from vmm guest

2018-10-27 Thread Alexandre Ratchov
On Fri, Oct 26, 2018 at 07:49:16PM -0400, Ken M wrote: > So I am working on a bit of an experiment. I have a debian sid guest in vmm. > xrdp is installed as is the pulse audio module for xrdp so that it can see the > xrdp output in the mixer. I can connect just fine till I try to get sound out. > R

Re: Sndiod restart fixes Chrome sndio_output.cc failed to open device

2018-10-25 Thread Alexandre Ratchov
On Wed, Oct 24, 2018 at 10:23:27PM +0100, Kevin Chadwick wrote: > I've made the pledge and entered the veil with Chrome. > > Sound works without restarting sndiod in other applications like aucat and > mozilla apps. > > For some reason the sound does not work in chrome even without enabling the >

Re: USB Audio, Serial Terminal

2018-10-08 Thread Alexandre Ratchov
On Mon, Oct 08, 2018 at 03:10:58AM -0400, Katherine Rohl wrote: > > The first is using my USB headphones. I’ve tried following the > instructions in the FAQ (making sure that the audio device is set to > the correct uaudio) but to no avail. I’ve disabled my system’s > onboard AC’97 audio to make s

Re: opening fifo locks process in D state

2018-09-20 Thread Alexandre Ratchov
On Wed, Sep 19, 2018 at 11:32:40PM +0200, michal.lyszc...@bofc.pl wrote: > Hello, > > I've stumbled upon a weird problem. Long story short, I try to open > fifo two times, once O_WRONLY and once O_RDONLY, both in separate > threads - but on process. Unfortunately both threads are locked in > open(

Re: location of ~/.aucat_cookie

2018-09-14 Thread Alexandre Ratchov
On Fri, Sep 14, 2018 at 09:22:59PM +0200, Olivier Regnier wrote: > Hi, > > Is it possible to disable the '.aucat_cookie' file or change his location? > This file was renamed to ~/.sndio/cookie in -current. It's necessary to programs connecting to sndiod, so it can't be deleted unless sndiod is s

Re: autri(4) disabled by default

2018-07-31 Thread Alexandre Ratchov
On Tue, Jul 31, 2018 at 05:51:06PM +0100, Peter Kay wrote: > On 31 July 2018 at 14:22, Christian Weisgerber wrote: > > On 2018-07-31, Janne Johansson wrote: > > > >>> I see autri(4) is disabled by default in an amd64 kernel, probably > >>> others too, and has been for a very long time. > >> > >>

Re: autri(4) disabled by default

2018-07-31 Thread Alexandre Ratchov
On Tue, Jul 31, 2018 at 11:43:37AM +0100, Peter Kay wrote: > I see autri(4) is disabled by default in an amd64 kernel, probably > others too, and has been for a very long time. > > I can't see any notice of why this is so, anyone know? > > My secondary system has a Trident 4DWave in it (yes, it's

Re: sndiod internals

2018-06-22 Thread Alexandre Ratchov
On Wed, Jun 20, 2018 at 11:31:37PM +0200, Denis Buga wrote: > sorry for bad english no problem > if simplify, seems like we have three pairs of concepts, while in audio path > from file to card > file (Hz/bit), sndiod (Hz/bit), card (Hz/bit) > first and third is more or less i understand > by se

Re: Reading files faster than raw disk?

2018-06-15 Thread Alexandre Ratchov
On Fri, Jun 15, 2018 at 09:10:44AM +0200, Maximilian Pichler wrote: > > For the raw device (rsd1c): > $ doas cat /dev/rsd1c | pv -bra -Ss500m | sha1 > 500MiB [25.5MiB/s] [25.5MiB/s] > ca17bdb9a657bbcf654a60057861be8fe02df0b1 > I don't understand above commads. If you do: $ dd if=/dev/rsd1c of=

Re: Different sound sources interfere with each other

2018-06-14 Thread Alexandre Ratchov
On Thu, Jun 14, 2018 at 08:40:56AM +0300, Максим wrote: > Hello, > I use USB headphones on OpenBSD amd64 6.3 > So they are detected on the system: > uaudio0 at uhub3 port 2 configuration 1 interface 0 "Sennheiser > Communications Sennheiser USB headset" rev 1.10/1.00 addr 3 > uaudio0: audio rev 1.

Re: connect two midi devices

2018-05-26 Thread Alexandre Ratchov
On Sat, May 26, 2018 at 12:10:03AM +0200, Sebastian Reitenbach wrote: > Am Freitag, Mai 25, 2018 22:22 CEST, Alexandre Ratchov > schrieb: > > > On Fri, May 25, 2018 at 10:22:26AM +0200, Sebastian Reitenbach wrote: > > > Hi Alexandre, > > > > > > Am F

Re: connect two midi devices

2018-05-25 Thread Alexandre Ratchov
On Fri, May 25, 2018 at 10:22:26AM +0200, Sebastian Reitenbach wrote: > Hi Alexandre, > > Am Freitag, Mai 25, 2018 08:41 CEST, Alexandre Ratchov > schrieb: > > > On Fri, May 25, 2018 at 12:21:18AM +0200, Alexandre Ratchov wrote: > > > > > > Mayb

Re: connect two midi devices

2018-05-24 Thread Alexandre Ratchov
On Fri, May 25, 2018 at 12:21:18AM +0200, Alexandre Ratchov wrote: > > Maybe, but unlikely. If the device attaches, generally it works. Show > what's received on midi2 when you type on the keyboard or do any other > simple actions. > fwiw, here's a small utility that

Re: connect two midi devices

2018-05-24 Thread Alexandre Ratchov
On Thu, May 24, 2018 at 08:31:08PM +0200, Sebastian Reitenbach wrote: > Hi, > > I've finally got an el cheapo USB to midi converter. I just wanted to test > if I can make use of my Roland Aira gear that way, because the USB connection > is not class compliant. FYI, certain Roland gears have a "g

Re: sndio multiple interfaces

2018-05-21 Thread Alexandre Ratchov
On Sun, May 20, 2018 at 06:49:25PM -0400, Ken M wrote: > Been looking around and can't find the answer to this question. If I missed it > in some obvious place please excuse me. > > Anyway I am curious if sndio can support multiple simultaneous cards, either > identical or different, particularly

Re: Audio stuttering on media playback with sndiod

2018-04-24 Thread Alexandre Ratchov
On Sat, Apr 14, 2018 at 11:55:23AM +0200, Alexandre Ratchov wrote: > On Tue, Apr 10, 2018 at 03:20:33PM +0200, Robert Klein wrote: > > Hi Daniel, > > > > On Wed, 4 Apr 2018 03:22:04 -0300 > > Daniel Bolgheroni wrote: > > > > > Hi, > > > &

Re: Audio stuttering on media playback with sndiod

2018-04-14 Thread Alexandre Ratchov
On Tue, Apr 10, 2018 at 03:20:33PM +0200, Robert Klein wrote: > Hi Daniel, > > On Wed, 4 Apr 2018 03:22:04 -0300 > Daniel Bolgheroni wrote: > > > Hi, > > > > audio is stuttering on media playback when run through sndiod. It's OK > > without it. > > Maybe related. Yesterday I disabled webcam a

Re: Intel C610 azalia (ALC888) not configuring at /dev/audio

2018-01-21 Thread Alexandre Ratchov
On Fri, Jan 19, 2018 at 05:23:06PM -0800, yu...@cock.li wrote: > Hello, > > I have just installed the latest snapshot and audio is not configuring, > i.e. the output of mixerctl, audioctl, et al are "device not configured". > My motherboard is a Supermicro X10DAL-I-O, which has the Intel C610 > ch

Re: How to share a secret between a process and its children ?

2017-11-17 Thread Alexandre Ratchov
On Thu, Nov 16, 2017 at 08:08:30PM +0100, Stephane Martin wrote: > Hello, > > I need to share a short secret (say, 32 bytes long) between a process - the > father - and its children. > > The father process generates a random secret at launch. Then it > launches multiple children, and children al

Re: usb MIDI keyboard

2017-05-25 Thread Alexandre Ratchov
On Wed, May 24, 2017 at 10:33:16PM -0400, David H. Rhodes Clymer wrote: > So, I'm attempting to set up my midi controller/keyboard. Since this > is not itself a synthesizer, I need to hook it up to a software > synthesizer via my computer. Thus far I've failed to get it working. > > My keyboard ap

Re: Audio playback issue on old Thinkpad

2017-05-18 Thread Alexandre Ratchov
On Wed, May 17, 2017 at 06:50:29PM +0100, multiplex'd wrote: > On Wed, May 17, 2017 at 05:25:14PM +0200, Alexandre Ratchov wrote: > > On Wed, May 17, 2017 at 02:27:38PM +0100, multiplex'd wrote: > > > Hello all, > > > > > > I have an IBM T22 Thi

Re: Audio playback issue on old Thinkpad

2017-05-17 Thread Alexandre Ratchov
On Wed, May 17, 2017 at 02:27:38PM +0100, multiplex'd wrote: > Hello all, > > I have an IBM T22 Thinkpad running OpenBSD 6.1. Recently, I've been trying > to play audio on the system but I've run into some trouble. > > I'm using mplayer from packages, but when I try to play an audio file the > pl

Re: ThinkPad x250 with USB DAC (Audioquest DragonFly v1.2)

2017-05-09 Thread Alexandre Ratchov
On Tue, May 09, 2017 at 11:00:26AM +0100, Caolan McMahon wrote: > > $ usbdevs > addr 1: xHCI root hub, Intel > addr 5: AudioQuest DragonFly, AudioQuest inc. > addr 2: VFS5011 Fingerprint Reader, Validity Sensors > addr 3: Bluetooth, Intel > addr 4: Integrated Camera, J8AECPB08 > addr 1: EHCI r

Re: Setting flags on /dev/audio

2016-10-07 Thread Alexandre Ratchov
On Fri, Oct 07, 2016 at 08:11:46AM +1100, Tobias Brodel wrote: > On 10/06/16 22:44, ludovic coues wrote: > >misc strip attachment. Please send your diff inline or start a new thread > >on dev > Thanks forthe pointer Ludovic, > Hi, We moved significant parts of the audio and MIDI sub-system out o

Re: how would you troubleshoot stuttering video? (Lenovo Thinkpad)

2016-07-18 Thread Alexandre Ratchov
On Mon, Jul 18, 2016 at 04:01:30PM +0800, Miles Keaton wrote: > On Mon, Jul 18, 2016 at 3:09 PM, Alexandre Ratchov wrote: > > > could you go in the bios setup and see if there are options to > > disable audio recording? If so, could you enable recording and see > > wha

Re: how would you troubleshoot stuttering video? (Lenovo Thinkpad)

2016-07-17 Thread Alexandre Ratchov
On Mon, Jul 18, 2016 at 02:46:52PM +0800, Miles Keaton wrote: > Lenovo ThinkPad T440s : just a couple years old. > > Triple-booting Arch Linux and Windows too, it's plenty fast to watch even > huge HD 1080p movies. > > But on a new stock OpenBSD (dmesg below) it does that stuttering thing with >

Re: Overide NGROUPS_MAX

2016-07-12 Thread Alexandre Ratchov
On Tue, Jul 12, 2016 at 04:11:07PM +, Sébastien Morand wrote: > Hi everybody, > > I'm implementing a samba share on OpenBSD 5.9 and I'm getting in trouble > because of the NGROUPS_MAX limitation to 16 groups per user. Is there any > way to increase this value? > > For instance recompiling ker

Re: pulseaudio RTP Streaming problem on X11 Desktop

2016-05-05 Thread Alexandre Ratchov
On Wed, May 04, 2016 at 06:58:01PM +0300, freeunix freeunix wrote: > hi, I use the OpenBSD 5.9 amd64 snapshots. > and XDM Remote Deskop using is marvelous for OpenBSD. > > Now I have any problem.(I want use audio streaming for firefox.) > I tried to use pulseaudio. but couldn't work it. > Are bo

Re: Recording computer sound.

2016-04-13 Thread Alexandre Ratchov
On Tue, Apr 12, 2016 at 08:22:40AM +0300, li...@wrant.com wrote: > Mon, 11 Apr 2016 19:17:31 +0200 Alexandre Ratchov > > On Sun, Apr 10, 2016 at 12:16:42PM +0300, li...@wrant.com wrote: > > > > > > Just an idea, before providing a diff, does it look like a good > &g

Re: Recording computer sound.

2016-04-11 Thread Alexandre Ratchov
On Sun, Apr 10, 2016 at 12:16:42PM +0300, li...@wrant.com wrote: > > Just an idea, before providing a diff, does it look like a good > candidate to go into FAQ13.4? Thank you for your consideration. > Yes, this would be good candidate (for the FAQ 13.5), as this is not the first time this is be

Re: Recording computer sound.

2016-04-09 Thread Alexandre Ratchov
On Fri, Apr 08, 2016 at 07:09:59PM -0300, Henrique N. Lengler wrote: > Hi, > > Is there a way to record the sound playing on my speakers? > Like duplicating it and saving on my computer everything that goes out to the > speaker. > > I would like to to this to record some screencast. > > Any way

Re: simultaneous sound as many users

2016-04-03 Thread Alexandre Ratchov
On Sat, Apr 02, 2016 at 05:50:33PM +0200, Marc Espie wrote: > On Sat, Apr 02, 2016 at 09:26:40AM +0200, Nils Reuße wrote: > > On 04/01/2016 08:42 PM, Roman Gorelov wrote: > > >My sndio configuration is default, OBSD 5.9. > > >When I run a media file in e.g. mpv, and pause it without closing, and >

Re: No sound through headphones on laptop (HP 9480m)

2016-03-10 Thread Alexandre Ratchov
On Tue, Mar 08, 2016 at 09:44:42AM -0800, Simon McFarlane wrote: > > > >try to toggle outputs.hp_boost and/or outputs.hp_eapd and possibly > >crank inputs.dac-0:1 to 255 > > > >do you still hear nothing? > > Out of those, only changing inputs.dac-0:1 to 255 had any audible effect. I > heard a very

Re: sndiod fallback trouble

2016-02-28 Thread Alexandre Ratchov
On Sat, Feb 27, 2016 at 01:41:15PM -0500, Michael Reed wrote: > On 02/27/16 04:15, Alexandre Ratchov wrote: > >A nicer approach would be to handle this in sndiod by allowing > >sub-devices (aka -s options) to change their device (aka -f > >option). The advantage of doing

Re: sndiod fallback trouble

2016-02-28 Thread Alexandre Ratchov
On Sat, Feb 27, 2016 at 10:32:30AM +0100, Matej Nanut wrote: > On 27 February 2016 at 10:15, Alexandre Ratchov wrote: > > One option would to patch libsndio to try more devices (how many?). > > I've also noticed this issue and have hacked libsndio to try snd/0 and >

Re: sndiod fallback trouble

2016-02-27 Thread Alexandre Ratchov
On Fri, Feb 26, 2016 at 07:18:06PM -0500, Michael Reed wrote: > Hello, > > I use OpenBSD on my laptop to listen to music, using an external DAC > (USB) at home and built-in audio elsewhere. > > In rc.conf.local I have > > # see http://thread.gmane.org/gmane.os.openbsd.misc/213373/focus=213377

Re: can't run multiple instances of httpd, flags not visible in processes

2016-01-28 Thread Alexandre Ratchov
On Wed, Jan 27, 2016 at 10:51:50PM +0100, Reyk Floeter wrote: > > Well, we "tradionally" had setproctitle("[priv]") in the parent. I > changed the tradition to setproctitle("parent"). > > I have no objections with changing this in the parent (but keeping the > setproctitles in the children) to e

Re: audio capturing

2015-12-29 Thread Alexandre Ratchov
On Mon, Dec 28, 2015 at 05:45:40PM +0300, Kirill wrote: > On 12/28/15 17:21, Jan Stary wrote: > > On Dec 28 16:46:24, nightl...@nightbbs.ru wrote: > >> I want to capture audio from another app to file or simply stdout. How > >> can I do this? > > It woould be easier to help you you just said what "

Re: azalia(4) partially working on Intel NUC NUC5i7RYH

2015-11-29 Thread Alexandre Ratchov
On Mon, Nov 30, 2015 at 11:09:51AM +0800, Josh wrote: > Hi, > > Running amd64-current (last update at ~5pm UTC 29th Nov), azalia(4) > works partially on that NUC NUC5i7RYH device: > Recording through audacity for instance seems to work as I can see the > amplitude changing when speaking through th

Re: faq13: audio bits

2015-11-25 Thread Alexandre Ratchov
On Wed, Nov 25, 2015 at 03:11:05PM +0100, Jan Stary wrote: > Nitpicking on the audio bits of faq13: > > - fix a typo > - the "aucat sound server" is sndiod > - let sentences be senteces; but I will gladly leave this > to the native speakers. ok ratchov > Also, should sndiod -L be mentioned now

Re: azalia audio works, then stutters until reboot

2015-11-23 Thread Alexandre Ratchov
On Fri, Nov 20, 2015 at 10:31:34AM -0700, luke...@onemodel.org wrote: > > $ls -ltrd /tmp/aucat > drwx-- 2 root wheel 512B Nov 20 09:39 /tmp/aucat/ > $ls -ltr /tmp/aucat > ls: aucat: Permission denied > [and timidity playing a .mid file was working] > [then i killed sndiod with ^C.] > > Cou

Re: azalia audio works, then stutters until reboot

2015-11-07 Thread Alexandre Ratchov
On Sat, Nov 07, 2015 at 06:27:17AM -0700, luke...@onemodel.org wrote: > [sorry for the dupe; correcting the 'from' address.] > > On 11/07/15 04:20, Alexandre Ratchov wrote: > >On Fri, Nov 06, 2015 at 05:00:13PM -0700, luke...@onemodel.org wrote: > >>On 09/11/15

Re: azalia audio works, then stutters until reboot

2015-11-07 Thread Alexandre Ratchov
On Fri, Nov 06, 2015 at 05:00:13PM -0700, luke...@onemodel.org wrote: > On 09/11/15 11:55, luke...@onemodel.org wrote: > >Short version: In OpenBSD 5.7 (with all the latest security > >patches), after some video playing, it > >starts to stutter, and doesn't recover until I reboot. Is there > >a way

Re: Midi keyboard with 5.7

2015-09-30 Thread Alexandre Ratchov
On Wed, Sep 30, 2015 at 04:22:10PM +, pasta wrote: > Hello, > I have a Launchkey MK2 25 by Novation and I am wondering if I can > play on it using OpenBSD. As said it is a midi keyboard and it is connected > via usb. Unfortunately it doesn't show up as midi device [1]. > I read that I could try

Re: redirect spkr to headphone jack?

2015-09-29 Thread Alexandre Ratchov
On Mon, Sep 28, 2015 at 11:54:46PM -0400, Quartz wrote: > We have a system with NO physical internal speaker of any kind. Audio > otherwise works from the headphone/line jack, playing wave files with aucat > and messing with mixerctl all work as expected, but there are no 'beeps' > (can't get a ter

Re: audio codec RealTek ALC3263

2015-09-20 Thread Alexandre Ratchov
On Sat, Sep 19, 2015 at 10:59:53PM +0200, Remi Locherer wrote: > azalia0 at pci0 dev 3 function 0 "Intel Core 5G HD Audio" rev 0x09: msi > azalia_reset: resetting > azalia_reset: reset counter = 5000 > azalia_reset: reset counter = 5000 > azalia0: host: High Definition Audio rev. 1.0 > azalia0: hos

Re: multiple headphone sockets and sndiod on Lenovo M83/Tiny-in-One 23

2015-09-20 Thread Alexandre Ratchov
On Sun, Sep 20, 2015 at 04:43:09AM +, mark hellewell wrote: > On Sat, 19 Sep 2015 at 18:37 Remco wrote: > > > You've got 3 separate audio devices, azalia0, azalia1 and uaudio0. > > azalia0: probably HDMI audio which isn't supported yet AFAICT > > azalia1: on-board audio detected as audio0, sn

Re: azalia audio works, then stutters until reboot

2015-09-12 Thread Alexandre Ratchov
On Fri, Sep 11, 2015 at 11:55:29AM -0600, luke...@onemodel.org wrote: > Short version: In OpenBSD 5.7 (with all the latest security > patches), after some video playing, it > starts to stutter, and doesn't recover until I reboot. Is there > a way to "reset all the audio" back so it works, short of

OpenBSD 5.8, another song

2015-08-24 Thread Alexandre Ratchov
For the 20th anniversary release of OpenBSD, I have contributed this short sound track: http://www.openbsd.org/lyrics.html#58b It's entirely made on OpenBSD, with an acoustic sanza and a real-time software synthesizer running on OpenBSD. My setup is very simple: a microphone and a sound card

Re: graphic card performance hits on browsers

2015-08-03 Thread Alexandre Ratchov
On Sun, Aug 02, 2015 at 09:08:31PM +0300, Mihai Popescu wrote: > Hello, > > Can someone with enough knowledge elaborate a bit about how graphic > card performance can or can't influence a browser, please? > I'm thinking about the X supported ones, with KMS ready and working. > Is there any visual

Re: Audio problems with OpenBSD-current/amd64 on Acer C720p Chromebook

2015-07-31 Thread Alexandre Ratchov
On Fri, Jul 31, 2015 at 11:53:31AM +0300, li...@wrant.com wrote: > > > Sorry for wasting yout time. > > there is still stutter on disk activity on mp amd64 which is mostly in > media players depending on gtk libs, it is embarrassing to say the > least. You mean that audio on a mostly idle box, wi

Re: Audio problems with OpenBSD-current/amd64 on Acer C720p Chromebook

2015-07-31 Thread Alexandre Ratchov
On Fri, Jul 31, 2015 at 03:05:40AM +0200, Alexander Shendi wrote: > Hi, > > after rebooting the GENERIC.MP kernel supplied with the 5.8 snapshot I had > been using previously everything works fine. > > I don't actually know why -- I'll assume it was a hardware glitch. > > Sorry for wasting yout

Re: Audio problems with OpenBSD-current/amd64 on Acer C720p Chromebook

2015-07-30 Thread Alexandre Ratchov
On Thu, Jul 30, 2015 at 09:29:31PM +0200, Alexander Shendi wrote: > Dear list subscribers, >   > I have installed OpenBSD-current on my Acer C720p Chromebook.  > I am using -current because I had problems with X11 with > the 5.7 release. >   > Audio used to work out of the box on that device with

Re: aucat problems

2015-07-28 Thread Alexandre Ratchov
On Tue, Jul 28, 2015 at 04:28:31AM -0400, Stefan Berger wrote: > On Tue, Jul 28, 2015 at 10:01:56AM +0200, Alexandre Ratchov wrote: > > On Mon, Jul 27, 2015 at 04:47:56PM -0400, Stefan Berger wrote: > > > Hi, > > > > > > i have some trouble, configuring my au

Re: aucat problems

2015-07-28 Thread Alexandre Ratchov
On Mon, Jul 27, 2015 at 04:47:56PM -0400, Stefan Berger wrote: > Hi, > > i have some trouble, configuring my audio devices: I want to > record with my internal microphone (Thinkpad x220i) or/and my headphones > with aucat, but I can't configure it according to FAQ because > the output from mix

Re: hp laptop with nvidia - slow X11

2015-06-17 Thread Alexandre Ratchov
On Wed, Jun 17, 2015 at 10:37:34PM +0200, Riccardo Mottola wrote: > Hi Alexandre, > > Alexandre Ratchov wrote: > >Acceleration is not needed on "modern" machines to get fast 2D > >display. The CPU speed and memory bandwidth are largely sufficient > >to make d

Re: hp laptop with nvidia - slow X11

2015-06-16 Thread Alexandre Ratchov
On Mon, Jun 15, 2015 at 11:19:13PM +0200, Riccardo Mottola wrote: > Hi, > > for the same laptop for which I just posted a full dmesg about the > battery problem, which reports this video card: > > vga1 at pci1 dev 0 function 0 "NVIDIA GeForce 8400M GS" rev 0xa1 > > I get a super-slow X11. Draggi

Re: Audio problems on OpenBSD 5.7

2015-05-15 Thread Alexandre Ratchov
On Fri, May 15, 2015 at 09:22:04AM -0400, Bryan Pimmler wrote: > On Thu, May 14, 2015 at 2:39 PM, Alexandre Ratchov wrote: > > Clearly a driver problem. Try using "-mplay" option, until this > > gets fixed, > > Yes, adding -mplay to sndiod appears to fix the probl

Re: Audio problems on OpenBSD 5.7

2015-05-14 Thread Alexandre Ratchov
On Thu, May 14, 2015 at 08:38:58AM -0400, Bryan Pimmler wrote: > On Thu, May 14, 2015 at 2:55 AM, Jan Stary wrote: > > On May 14 08:51:02, h...@stare.cz wrote: > >> That sounds like a sndiod problem then. > >> Please launch sndiod again in a script(1) > >> as "sndiod -d -d -d", play an audio file

Re: Audio problems on OpenBSD 5.7

2015-05-14 Thread Alexandre Ratchov
On Thu, May 14, 2015 at 06:20:07AM -0500, Stan Gammons wrote: > > Ok. Let's start over. When the system starts it doesn't automatically start > KDE. When I login I'm able to get the sound to play noise with cat > /dev/urandom > /dev/audio. Audioctl and mixerctl both display the various > settings

Re: Audio problems on OpenBSD 5.7

2015-05-14 Thread Alexandre Ratchov
On Wed, May 13, 2015 at 08:41:45AM -0400, Bryan Pimmler wrote: > On Wed, May 13, 2015 at 7:27 AM, Alexandre Ratchov wrote: > > Does "cat /dev/audio0 >/tmp/foo" works (produces non-zero length > > file)? > > No. However, the type of error depends on what state t

Re: Audio problems on OpenBSD 5.7

2015-05-13 Thread Alexandre Ratchov
On Wed, May 13, 2015 at 07:19:31AM -0400, Bryan Pimmler wrote: > On Wed, May 13, 2015 at 2:08 AM, Alexandre Ratchov wrote: > > Do you have a "disable microphone" or "disable recording" setting > > in the BIOS SETUP? If so, make sure that the > > microphon

Re: Audio problems on OpenBSD 5.7

2015-05-12 Thread Alexandre Ratchov
On Tue, May 12, 2015 at 10:22:17PM -0400, Bryan Pimmler wrote: > Hello! > > I can't seem to get audio to work on OpenBSD 5.7: > > After booting, "cat /dev/urandom > /dev/audio" makes the expected noise. > > But any sort of audio player (be it aucat, xmms, or rhythmbox) doesn't > work. For exampl

Re: Volume keys control

2015-05-04 Thread Alexandre Ratchov
On Mon, May 04, 2015 at 11:53:49AM +0200, ludovic coues wrote: > 2015-05-04 11:29 GMT+02:00 Alexandre Ratchov : > > > > The bug is that the key is processed twice in two contradictory > > ways (once by the kernel to control the mixer and once by X apps to > > possibly co

Re: Volume keys control

2015-05-04 Thread Alexandre Ratchov
On Mon, May 04, 2015 at 01:10:25AM -0400, Sandrine Duvalier wrote: > On Sun, May 3, 2015 at 12:46 PM, Alexandre Ratchov wrote: > > > The volume keys always control the mixer of the first audio device, > > this can't be changed without modifying the kernel. > > >

Re: Volume keys control

2015-05-03 Thread Alexandre Ratchov
On Sun, May 03, 2015 at 11:10:02AM -0400, Sandrine Duvalier wrote: > Hello! > > I would be curious to know how the volume keys on the keyboard control the > mixer. I suppose it can't be X11-related because the keys also work without > X11. The volume keys always control the mixer of the first aud

Re: Usb-audio not working

2015-04-17 Thread Alexandre Ratchov
On Fri, Apr 17, 2015 at 04:11:16PM +0300, Timo Myyra wrote: > Hi, > > I saw recent commit which should have enabled uaudio support for ehci-only > systems. > It doesn't seem to work for desktop with my USB DAC. > > So far I've changed the following symlinks to point to my USB DAC. > > zmyrgel:22

Re: OpenBSD on iMac

2015-04-17 Thread Alexandre Ratchov
On Fri, Apr 17, 2015 at 09:06:55AM +0200, Martijn van Duren wrote: > Hello misc@, > > I just got a replacement system (iMac 12,1) at work, so I decided to go > ahead and install OpenBSD on it. To do so I installed refind through debian > and created a GPT/MBR hybrid. > > Most of the system runs p

Re: bypass xlock/slock

2015-03-09 Thread Alexandre Ratchov
On Mon, Mar 09, 2015 at 10:25:28AM +0100, Alex Greif wrote: > Hi, > > I am currently trying to find a solution to lock my desktop system (openbsd > 5.6, amd64), but with the following steps I can always bypass xlock or > slock: > > - run X session with startx > - lock it with xlock or slock > - s

Re: bypass xlock/slock

2015-03-09 Thread Alexandre Ratchov
On Mon, Mar 09, 2015 at 03:30:44AM -0600, Abel Abraham Camarillo Ojeda wrote: > On Mon, Mar 9, 2015 at 3:25 AM, Alex Greif wrote: > > Hi, > > > > I am currently trying to find a solution to lock my desktop system (openbsd > > 5.6, amd64), but with the following steps I can always bypass xlock or >

Re: Very-small fully-functional systems?

2015-03-09 Thread Alexandre Ratchov
On Mon, Mar 09, 2015 at 10:02:23AM +0100, pet...@schwertfisch.de wrote: > Alexandre Ratchov wrote: > > > > (In case it's not blazingly obvious, I want to try creating a replacement > > > for a hardware MIDI synthesizer, but that can choose between soundfonts.) > &

Re: Very-small fully-functional systems?

2015-03-09 Thread Alexandre Ratchov
On Sun, Mar 08, 2015 at 07:09:52PM -0500, Adam Thompson wrote: > I'm looking for a very (physically) small (embedded) platform that can run > OpenBSD properly, including at least: > USB 2.0, > ethernet, > MIDI (presumably via USB), > OK-to-good-quality analog audio out (can be USB),

Re: Listening to a CD over the net

2015-03-08 Thread Alexandre Ratchov
On Sun, Mar 08, 2015 at 08:11:57AM +, Zé Loff wrote: > On Sun, Mar 08, 2015 at 01:57:05AM +0100, Christian Weisgerber wrote: > > Since I seem to be the only person using this feature (with the > > possible exception of ratchov@ himself), here's a periodic reminder > > that you can use sndio OV

Re: Audio probles like, slow response in applications that use audio

2015-03-06 Thread Alexandre Ratchov
On Fri, Mar 06, 2015 at 04:24:53PM -0300, Henrique Lengler wrote: > On Fri, Mar 06, 2015 at 09:06:00AM +0100, Alexandre Ratchov wrote: > > > Also please remeber that the audio is synchronized, the lag is when I > > > want > > > to advance the video. > > >

Re: Does LibreSSL support RSA export-grade keys? - FREAK Attack

2015-03-06 Thread Alexandre Ratchov
On Fri, Mar 06, 2015 at 04:43:00PM +0100, someone wrote: > So I argumented against ex.: RC4/*DES with the > > https://jve.linuxwall.info/blog/index.php?post/TLS_Survey > > but nothing in reply came in as con this looks like a one-sided topic... > > I still don't understand why couldn't we pu

Re: Audio probles like, slow response in applications that use audio

2015-03-06 Thread Alexandre Ratchov
On Thu, Mar 05, 2015 at 02:42:11PM -0300, Henrique Lengler wrote: > > On Thu, Mar 05, 2015 at 01:45:57PM +0100, Alexandre Ratchov wrote: > > Let's first fix system-related audio problems (as programs depend > > on it). Once we're sure audio works well, then we can try

<    1   2   3   4   5   >