Re: smtpd with dkim & mailing lists

2022-08-31 Thread Alexandre Ratchov
On Tue, Aug 30, 2022 at 09:17:44PM +0200, Tobias Fiebig wrote: > Heho, > > The important part is not 'not adding an additional signature' but > 'not breaking the previous signature'. As long as you do not fiddle > with anything in there, things will be fine; But, as you most likely > do (think:

Re: smtpd with dkim & mailing lists

2022-08-31 Thread Alexandre Ratchov
On Tue, Aug 30, 2022 at 07:26:11PM +0200, Martijn van Duren wrote: > On Tue, 2022-08-30 at 17:13 +0200, Alexandre Ratchov wrote: > > Hi, > > > > For my $DAYJOB I had to please big mail corporations and configured > > smtpd(8) to send DKIM-signed emails (also adde

smtpd with dkim & mailing lists

2022-08-30 Thread Alexandre Ratchov
Hi, For my $DAYJOB I had to please big mail corporations and configured smtpd(8) to send DKIM-signed emails (also added SPF and DMARC records). This was easy using instruction in the opensmtpd-filter-dksim port and works fine to send messages to bigmailcorp accounts. The mail server is used to

Re: USB mic no audio

2022-08-17 Thread Alexandre Ratchov
On Tue, Aug 16, 2022 at 05:44:29PM -0700, Courtney wrote: > > $ sndiod -dd -f rsnd/2 ... > snd0: 48000Hz, s24le3, play 0:1, rec 0:0, 16 blocks of 480 frames > snd0: device started This appears to be a play-only device, so recording can't work, probably USB attach order has changed. I'd suggest

Re: Firefox and stuttering USB audio

2022-07-31 Thread Alexandre Ratchov
On Sat, Jul 30, 2022 at 02:39:08PM -0700, Courtney wrote: > I hope it isn't in bad etiquette to resurrect an old piece of mail. > OK for me, your mail is attached to the thread. > Since May I mitigated the stuttering audio issue with Firefox running > by using Firefox ESR 91. Clearly something

Re: Behringer UMC404HD USB soundcard with OpenBSD 7.1.

2022-07-20 Thread Alexandre Ratchov
On Sat, Jul 16, 2022 at 07:08:03PM +0200, Brian Durant wrote: > > On 7/16/22 6:26 PM, Alexandre Ratchov wrote: > > On Sat, Jul 16, 2022 at 05:37:35PM +0200, Brian Durant wrote: > > > On 7/16/22 3:54 PM, Alexandre Ratchov wrote: > > > > On Sat, Jul 16, 2022 at 03:

Re: Behringer UMC404HD USB soundcard with OpenBSD 7.1.

2022-07-16 Thread Alexandre Ratchov
On Sat, Jul 16, 2022 at 05:37:35PM +0200, Brian Durant wrote: > On 7/16/22 3:54 PM, Alexandre Ratchov wrote: > > On Sat, Jul 16, 2022 at 03:36:18PM +0200, Brian Durant wrote: > > > > > > # mixerctl -f /dev/audioctl1 > > > mixerctl: /dev/audioctl1: Device

Re: Behringer UMC404HD USB soundcard with OpenBSD 7.1.

2022-07-16 Thread Alexandre Ratchov
On Sat, Jul 16, 2022 at 03:36:18PM +0200, Brian Durant wrote: > > > # mixerctl -f /dev/audioctl1 > mixerctl: /dev/audioctl1: Device not configured > > # dmesg forgot to mention: connect and power on the audio interface first ;-)

Re: Behringer UMC404HD USB soundcard with OpenBSD 7.1.

2022-07-16 Thread Alexandre Ratchov
On Sat, Jul 16, 2022 at 08:26:49AM +0200, Brian Durant wrote: > I have thus far been using an audio direct out to my speakers, but would > like to get my USB soundcard working in OpenBSD. Without the soundcard, > (direct connection) everything works fine. With the soundcard, no audio at > all. I

Re: Web MIDI, Firefox, OpenBSD.

2022-07-15 Thread Alexandre Ratchov
On Fri, Jul 15, 2022 at 02:28:37PM +0200, Brian Durant wrote: > On 7/15/22 12:54 PM, Alexandre Ratchov wrote: > > > On Thu, Jul 14, 2022 at 10:05:43AM +0200, Brian Durant wrote: > > > On a possibly related issue to my browser access to file system problem, > > > has

Re: Web MIDI, Firefox, OpenBSD.

2022-07-15 Thread Alexandre Ratchov
On Thu, Jul 14, 2022 at 10:05:43AM +0200, Brian Durant wrote: > On a possibly related issue to my browser access to file system problem, has > anyone been able to get Web MIDI working with Firefox on OpenBSD 7.1? Here I > am referring to bandcamp.com and flowkey.com in particular. Neither site >

Re: USB audio garbled over time

2022-06-30 Thread Alexandre Ratchov
On Thu, Jun 30, 2022 at 03:11:18PM -0700, Courtney wrote: > Hello everyone, > > I am running OpenBSD -current branch right now. I have a FiiO E10k plugged > into my board. Here is the part of the dmesg when it is connected > > Jun 30 15:02:48 towerDefense /bsd: uaudio0 at uhub0 port 14

smtpd: return tempfail if no valid fcrdns: good or bad?

2022-06-24 Thread Alexandre Ratchov
I noticed that most of the spam that spamd(8) doesn't catch comes from machines with no valid FCrDNS and that all legitimate mails used valid FCrDNS. Certain [1] recommend to return 550 in case of invalid FCrDNS, but if I understand correctly, 550 is a permanent error. So this may block

Re: White noise with audio over headphones

2022-06-16 Thread Alexandre Ratchov
On Thu, Jun 16, 2022 at 09:46:18AM -0500, Rob Whitlock wrote: > On Wed, Jun 15, 2022 at 11:27 PM Alexandre Ratchov wrote: > > On Wed, Jun 15, 2022 at 02:59:40PM -0500, Rob Whitlock wrote: > > I have a Lenovo T450 that plays audio over the speakers and headphones >

Re: White noise with audio over headphones

2022-06-15 Thread Alexandre Ratchov
On Wed, Jun 15, 2022 at 02:59:40PM -0500, Rob Whitlock wrote: > I have a Lenovo T450 that plays audio over the speakers and headphones but > when the headphones are used there is some white noise playing all the time > as well as the audio. This white noise is not there with Windows 10 or > Linux.

Re: Firefox and stuttering USB audio

2022-05-29 Thread Alexandre Ratchov
On Thu, May 26, 2022 at 02:25:16PM +0200, Peter Fröhlich wrote: > Just FYI, when I updated from a smooth 7.0 to 7.1 about a week ago, I > started experiencing audio/video stuttering that I did not before. I > am unclear on what exactly the problem is, whether it's the kernel, a > driver, Firefox,

Re: azalia: no sound

2022-05-02 Thread Alexandre Ratchov
On Mon, May 02, 2022 at 02:47:45PM +0300, Kirill Kaplin wrote: > > OpenBSD detected 3 sound cards for you. From what I recall, the one on > > the HDMI video output (associated to your video card) is not > > supported, so no sound there. > > Maybe the sound goes to your envy0, ESI Julia sound card.

Re: trick to get sound recording and playing under -current?

2022-03-19 Thread Alexandre Ratchov
On Sat, Mar 19, 2022 at 08:51:15AM +0100, Peter J. Philipp wrote: > Hi, > > I see some code changed, but I also lost my working configuration after > rebuilding my workstation. I have: > > pjp@polarstern$ env | grep -i audio > AUDIORECDEVICE=rsnd/1 > AUDIOPLAYDEVICE=rsnd/0 > pjp@polarstern$ ps

Re: No sound on ThinkPad X220 using current snapshot

2022-02-16 Thread Alexandre Ratchov
On Mon, Feb 14, 2022 at 01:11:09PM +0100, Dirk-Wilhelm Peters wrote: > Hi, > > after a recent update to the latest snapshot on my ThinkPad X220, there > is no sound after returning from suspend mode. The problem persists > even after a reboot. I have to shutdown/restart the machine to enable >

Re: Who is responding to my audio volume keys?

2021-12-20 Thread Alexandre Ratchov
On Mon, Dec 20, 2021 at 09:59:29AM +0100, Richard Ulmer wrote: > Hi Alexandre, Hi Christian, > thanks for you responses! In the meantime Ralf Horstmann had also > contacted me and helped me find a workaround. > > Alexandre Ratchov wrote: > > Keyboard volume keys control

Re: Who is responding to my audio volume keys?

2021-12-19 Thread Alexandre Ratchov
On Sat, Dec 18, 2021 at 10:27:19AM +0100, Richard Ulmer wrote: > Hi all, > with the help of https://www.openbsd.org/faq/faq13.html I have set up a > USB sound card for my laptop. I use when it is attached and the internal > one when it is not (just like the example in FAQ #13). > > This works

Re: Audio codec support for new(er) Framework laptops?

2021-10-29 Thread Alexandre Ratchov
On Fri, Oct 29, 2021 at 09:13:57AM +, aval...@posteo.net wrote: > Hi Misc! > > Does anyone know whether the Tempo 92HD95B audio codec is supported? > > https://temposemi.com/products/pclaptop-hd/92hd95/ > > I'm considering getting the Framework laptop and Joshua Stein's website > indicates

Re: mpd - All audio outputs are disabled

2021-10-18 Thread Alexandre Ratchov
On Mon, Oct 18, 2021 at 03:04:20PM -0400, Mario St-Gelais wrote: > Hum, I had subject problem in the past following an upgrade, It happened > again, yet, I cannot remember what the heck I used to do to solve it. > > I vaguely remember it was a stupid thing.  Any hint please? > > I can do aucat

Re: envy(4) timeouts with ESI Wave Terminal 192M

2021-08-18 Thread Alexandre Ratchov
On Tue, Aug 17, 2021 at 03:31:55PM +0200, Jan Stary wrote: > This is current/amd64 on an older PC (full dmesg below) > using an ESI Wave Terminal 192M attaching as > > envy0 at pci4 dev 4 function 0 "IC Ensemble Envy24PT/HT Audio" rev 0x01: apic > 2 int 20 > envy0: unknown 1724-based card, 2

Re: send ctrl-alt-f1 to user app

2021-07-02 Thread Alexandre Ratchov
On Fri, Jul 02, 2021 at 01:55:26PM +0300, Gregory Edigarov wrote: > Hello, > > please remind how to do that? > > in my case it changes to the vterm0, that is ok,  but now I my app to > react, not change terminal > thank you. > Never tried it, but this reminded me Xorg(1):

Re: aucat -c playback channels confusion

2021-05-25 Thread Alexandre Ratchov
On Tue, May 25, 2021 at 03:45:17PM +0200, Jan Stary wrote: > This is current/amd64. I am trying to use the -c option of aucat, > specifying the channels to be played from a multichannel file. > > As an example, here is a quad audio file produced by sox: > > $ sox -n -b 16 quad.wav synth 10 sin

Re: Bidirectional audio between OpenBSD sndiod <-> Debian pulseaudio

2021-05-10 Thread Alexandre Ratchov
On Mon, May 10, 2021 at 07:05:49PM +, Martin wrote: > Hi, > > Great experience! But I have no possibility to recompile each sound producer > software to have sndio support. > > So my way is to use additional layer of well implemented sound architecture > and it add additional layer to

Re: Bidirectional audio between OpenBSD sndiod <-> Debian pulseaudio

2021-05-09 Thread Alexandre Ratchov
On Sat, May 08, 2021 at 10:29:35AM +, Martin wrote: > Hi list, > > It is great to have bidirectional audio between OpenBSD host and Debian guest > (headless). I hope I move in a right way to make this thing working. > > Required configuration: > mic-in on OpenBSD host >> Debian VMM guest >

Re: .profile not being loaded (ksh) when opening shell in X

2021-04-27 Thread Alexandre Ratchov
On Mon, Apr 26, 2021 at 09:26:19PM +, tetrahe...@danwin1210.me wrote: > I have some custom additions to my $PATH. They're defined in ~/.profile and > they are correctly loaded when I log in from a text console. > > When I log in to X (cwm) and open a terminal window, $PATH does not contain >

Re: How do I change the default per-application sound volume in sndiod?

2021-04-26 Thread Alexandre Ratchov
On Sun, Apr 25, 2021 at 11:57:42PM -0500, John Batteen wrote: > Greetings misc, > > I am running 6.9 and am having some difficulty. I have > outputs.master=255,255 set in mixerctl.conf (it is the only line in > the file), but every time I open an application its individual > volume is set to

Re: sndio: way to play and record from different devices?

2021-04-19 Thread Alexandre Ratchov
On Mon, Apr 19, 2021 at 09:40:37AM -0500, Ax0n wrote: > I have a nice microphone attached to a USB sound device, but I'd like to > rely on my computer's built-in line out for speakers from the same program > (e.g. Audacity, Firefox). It feels like sndio might have some way to let > programs use

Re: Microphone not working on Gen8 ThinkPad X1 Carbon

2021-03-29 Thread Alexandre Ratchov
On Sun, Mar 28, 2021 at 11:58:15AM -0500, Ax0n wrote: > I initially noticed it when I hopped in a video room on Discord in Firefox > and folks could see me and I could hear them, but Discord got no audio. It > turns out, nothing gets any audio. sysctl has audio and video recording > enabled, and

Re: sound question

2021-01-18 Thread Alexandre Ratchov
On Mon, Jan 18, 2021 at 12:00:40PM +0100, Peter J. Philipp wrote: > On Mon, Jan 18, 2021 at 11:29:54AM +0100, Alexandre Ratchov wrote: > > On Mon, Jan 18, 2021 at 10:16:53AM +0100, Peter J. Philipp wrote: > > > Hi, > > > > > > I recently switched my desktop wor

Re: sound question

2021-01-18 Thread Alexandre Ratchov
On Mon, Jan 18, 2021 at 10:16:53AM +0100, Peter J. Philipp wrote: > Hi, > > I recently switched my desktop workstation to a raspberry pi 4B with 8 GB RAM. > Since the sound there doesn't work yet, I got a USB sound card, the make of > the sound card is best read from usbdevs -v: > > addr 08:

Re: Internal Microphone on Thinkpad X1 Carbon 7th gen not working

2020-12-10 Thread Alexandre Ratchov
On Thu, Dec 10, 2020 at 10:30:56AM +0100, Anders Damsgaard wrote: > * Stefan Hagen [2020-12-10 10:14:35 +0100]: > > > Bodie wrote: > > > > > > > > > On 9.12.2020 20:43, Stefan Hagen wrote: > > > > Hello Zachary, > > > > > > > > Zachary Campbell wrote: > > > > > Any luck with this? I am also

Re: sndiod -F does not switch to device

2020-11-23 Thread Alexandre Ratchov
On Sun, Nov 22, 2020 at 07:48:14PM +0100, Jan Stary wrote: > This is current/amd64 (dmesg below), > running /usr/bin/sndiod -f rsnd/0 -F rsnd/1 > > While the -F feature works with most USB audio devices I have tried, > it does not make the switch to use the -F device > with this USB camera with a

Re: Sound/audio onFirefox on 6.8

2020-10-26 Thread Alexandre Ratchov
On Fri, Oct 23, 2020 at 03:58:55PM -0600, Duncan Patton a Campbell wrote: > > Hey Maurice. The audio works elsewhere and this looks to be > a Zombie Bugzilla bug come back from the dead. Something > about needing to directly link to sndio and skip the "cubeb" something... > > Dhu > > This is

Re: Thinkpad T400 only records from the external mic

2020-10-19 Thread Alexandre Ratchov
On Sat, Oct 17, 2020 at 07:05:53PM +0200, Jan Stary wrote: > > Strangely, with each of > >$ aucat -i /tmp/file.wav >$ aucat -o /tmp/file.wav > > it is both > > play.bytes=562560 > record.bytes=562560 > > that keep growing in audioctl. Is that intended? Yes. We

Re: USB to 3.5mm jack audio adapter

2020-09-09 Thread Alexandre Ratchov
On Wed, Sep 09, 2020 at 03:49:21PM +0200, Paul de Weerd wrote: > Hi all, > > As I don't have a microphone to use with my azalia(4) sound card, and > my webcam only has audio input (no output), I can't use my current > hardware in firefox to do videoconferencing. So I purchased (what I > thought

Re: 6.7 and sound

2020-09-03 Thread Alexandre Ratchov
On Thu, Sep 03, 2020 at 08:39:45PM -0600, Austin Hook wrote: > > Can't seem to parse the instructions in > http://www.openbsd.org/faq/upgrade67.html > > for how to re-enable an ordinary non root user of Firefox or mplayer to > output audio. > > mplayer works fine as root, but what command

Re: writing aucat output

2020-06-05 Thread Alexandre Ratchov
On Fri, Jun 05, 2020 at 12:06:54PM +0200, Peter J. Philipp wrote: > Hi, > > I'm wondering how I can write to stdout on aucat? Here is what I have: > > beta$ /usr/bin/aucat -r 44100 -h wav -i ewhist2.wav -o - | hexdump -C > stdout: failed to seek back to header > beta$ /usr/bin/aucat -r 44100 -h

Re: Distorted sound in 6.7

2020-05-24 Thread Alexandre Ratchov
On Fri, May 22, 2020 at 12:35:06PM +0100, Maurice McCarthy wrote: > Hi, > > Since installing 6.7 I've found that human voices in mpv or youtube > sound either very quiet or as-if "under water" or bubbly. I was > unable to cure this with sndioctl but succeeded with the old mixerctl > > doas

Re: Multimedia FAQ

2020-05-07 Thread Alexandre Ratchov
On Thu, May 07, 2020 at 06:12:21PM -0300, Oficial wrote: > Hi, > > The multimedia FAQ (https://www.openbsd.org/faq/faq13.html), list some > mixerctl outputs like: > > outputs.headphones=160,160 > outputs.headphones.mute=off > > In my system (current i386) there is no "outputs.headphones.mute"

Re: Sound is good on OpenBSD

2020-04-29 Thread Alexandre Ratchov
On Wed, Apr 29, 2020 at 11:46:06AM +0200, Moises Simon wrote: > On Tue, Apr 28, 2020 at 03:38:58PM -0500, Abel Abraham Camarillo Ojeda wrote: > > I think increasing -b option in sndiod helps to prevent audio jumping, I > > hear music with a local mpd with music directory over nfs, plus a lot of >

Re: couldn't find audio device

2020-04-24 Thread Alexandre Ratchov
On Fri, Apr 24, 2020 at 09:43:12AM +0200, Damien Thiriet wrote: > Hi misc@, > > > I am trying to make audio records from my web cam but > cannot succeed in doing it. > I read the FAQ, aucat(1), audioctl(1) and sndiod(8) man pages (but I > certainly misunderstood them) and searched the mailing

Re: Using a C310 Logitech webcam mic with internal speakers

2020-04-23 Thread Alexandre Ratchov
On Thu, Apr 23, 2020 at 10:01:52AM -0400, Jon Fineman wrote: > On 2020-04-23 08:40, Alexandre Ratchov wrote: > > On Wed, Apr 22, 2020 at 02:17:35PM +, Jon Fineman wrote: > > > > > > Is there a way to set the mic to one channel and the speakers to > > >

Re: Using a C310 Logitech webcam mic with internal speakers

2020-04-23 Thread Alexandre Ratchov
On Wed, Apr 22, 2020 at 02:17:35PM +, Jon Fineman wrote: > > Is there a way to set the mic to one channel and the speakers to > another? Or merge the speakers from channel rsnd/0 and rsnd/1 > together and have them output on rsnd/0? Sorry, two devices can't be combined into a single one on

Re: sndioctl double behaviour

2020-04-22 Thread Alexandre Ratchov
On Tue, Apr 21, 2020 at 09:38:04AM -0600, Theo de Raadt wrote: > Looks broken. > > Mihai Popescu wrote: > > > Hi, > > > > It's clear OpenBSD is moving to sndioctl. I used it, but I got some > > "strange" behaviour. > > Watching youtube in chromium, tried this: > > > > $ sndioctl

Re: sndioctl double behaviour

2020-04-21 Thread Alexandre Ratchov
On Tue, Apr 21, 2020 at 06:13:42PM +0300, Mihai Popescu wrote: > Hi, > > It's clear OpenBSD is moving to sndioctl. I used it, but I got some > "strange" behaviour. > Watching youtube in chromium, tried this: > > $ sndioctl output.level=1 > default: can't open control device > > After closing /

Re: sndioctl and USB HID keyboard

2020-04-21 Thread Alexandre Ratchov
On Tue, Apr 21, 2020 at 03:15:58AM +0200, Erling Westenvik wrote: > > > > > > I'm a bit confused now... so why the previous usbhidaction configuration > > > (which was aligned to the manpage suggestions and worked flawlessly for > > > years) doesn't work anymore? > > > > Sorry, few weeks ago

Re: sndioctl and USB HID keyboard

2020-04-20 Thread Alexandre Ratchov
On Mon, Apr 20, 2020 at 08:00:05PM +0200, Alessandro De Laurenzis wrote: > Hello Alexandre, > > On 20/04/2020 - 19:50, Alexandre Ratchov wrote: > > On Mon, Apr 20, 2020 at 07:35:03PM +0200, Alessandro De Laurenzis wrote: > > > Hello Alexandre, > > > >

Re: sndioctl and USB HID keyboard

2020-04-20 Thread Alexandre Ratchov
On Mon, Apr 20, 2020 at 07:35:03PM +0200, Alessandro De Laurenzis wrote: > Hello Alexandre, > > Thanks for your prompt feedback. > > On 20/04/2020 - 18:00, Alexandre Ratchov wrote: > [...] > > > > This is the right way of doing it except that the user-id ru

Re: sndioctl and USB HID keyboard

2020-04-20 Thread Alexandre Ratchov
On Mon, Apr 20, 2020 at 05:07:26PM +0200, Alessandro De Laurenzis wrote: > Greetings, > > Latest -current here: > > OpenBSD theseus.atlantide.priv 6.7 GENERIC.MP#140 amd64 > > Of course, mixerctl doesn't work anymore for volume control. > > I have a Logitech wireless keyboard whose multimedia

Re: Problem with mixerctl on latest snapshot

2020-04-19 Thread Alexandre Ratchov
On Sun, Apr 19, 2020 at 09:11:16AM +0200, zeurk...@volny.cz wrote: > > > Now programs connect to sndiod which does the hardware access for > > them, this has other advantages as well: > > - programs control the volume of the right device on systems with > > multiple audio devices (ex. usb head

Re: Problem with mixerctl on latest snapshot

2020-04-19 Thread Alexandre Ratchov
On Sat, Apr 18, 2020 at 03:53:19PM -0700, Renato Aguiar wrote: > Hi, > > After updating to latest snapshot, mixerctl stopped working with non-root > user: > >$ mixerctl >mixerctl: /dev/audioctl0: Permission denied >$ ls -l /dev/audioctl0 >crw-rw 1 root _sndiop 42, 192 Apr

Re: Record with a device, playback with another with sndiod

2020-03-16 Thread Alexandre Ratchov
On Sat, Mar 14, 2020 at 09:10:19AM +0100, David Demelier wrote: > Hello, > > I'm trying to setup sndiod to record input using my laptop's builtin > microphone but using an USB sound card for output. > > The microphone does work correctly because I was able to record some > test using aucat > >

Re: Jitsi on OpenBSD

2020-03-16 Thread Alexandre Ratchov
On Mon, Mar 16, 2020 at 10:59:08AM +, Edd Barrett wrote: > Hi, > > (CC people who may be knowledgable in this area) > > I was wondering if anyone has got the Jitsi (https://jitsi.org/) > web-client working on OpenBSD? > > It's open-source (and self-hostable) video conferencing. > > No

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

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

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

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

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

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",

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-14 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

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

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. > >

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

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

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

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,

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

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

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. >

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

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 >

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

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,

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

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

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

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 <a...@caoua.org> > schrieb: > > > On Fri, May 25, 2018 at 10:22:26AM +0200, Sebastian Reitenbach wrote: > > > Hi Alexandre, > > &g

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 <a...@caoua.org> > schrieb: > > > On Fri, May 25, 2018 at 12:21:18AM +0200, Alexandre Ratchov wrote: > > > >

Re: connect two midi devices

2018-05-25 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 I use very

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

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 <dan...@bolgh.eng.br> wrote: > > > > &g

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.

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 >

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

  1   2   3   4   >