Re: Sudden reboot every 5-10 minutes on latest snapshot

2024-05-25 Thread Alexandre Ratchov
On Sat, May 25, 2024 at 09:13:56AM +, Ali Farzanrad wrote: > > Even when azalia is disabled my system gets sudden reboots. > First sudden reboot was just after playing a music; but next 2 reboots > was happened without playing anything. > This suggests the reboots are not directly caused by

Re: Sudden reboot every 5-10 minutes on latest snapshot

2024-05-25 Thread Alexandre Ratchov
On Fri, May 24, 2024 at 09:04:29PM +, Ali Farzanrad wrote: > Alexandre Ratchov wrote: > > On Fri, May 24, 2024 at 04:30:52PM +, Ali Farzanrad wrote: > > > Hi again, > > > > > > During my tests it seems that this version of kernel works fine: >

Re: Sudden reboot every 5-10 minutes on latest snapshot

2024-05-24 Thread Alexandre Ratchov
On Fri, May 24, 2024 at 04:30:52PM +, Ali Farzanrad wrote: > Hi again, > > During my tests it seems that this version of kernel works fine: > > # TZ=UTC cvs -Qd /cvs get -D "2024-05-17 19:30" -P src > > But this version of kernel will cause sudden reboots without any kernel > panic or

Re: sndioctl not switching device in 7.5 and current

2024-04-24 Thread Alexandre Ratchov
On Tue, Apr 23, 2024 at 04:32:12PM -0300, Thanos Tsouanas wrote: > > So, the good news is that it seems to be a hardware problem: > I installed 7.4 on a usb stick just to test it and it did > work, but when I booted back to the same 7.5 that it didn't, > it was recognized properly this time, to

Re: sndioctl not switching device in 7.5 and current

2024-04-22 Thread Alexandre Ratchov
On Mon, Apr 22, 2024 at 01:14:43PM -0300, Thanos Tsouanas wrote: > Hello, > > I have just sysupgraded from 7.4 to 7.5 on my thinkpad X1C9 > in which I was using an external audio interface (OL DAC by > JDS Labs), but I cannot get it to work anymore. > > Using sndioctl to change server.device

Re: aucat options parsing

2024-03-21 Thread Alexandre Ratchov
On Thu, Mar 21, 2024 at 10:10:03AM +0100, Jan Stary wrote: > On Mar 21 10:07:08, h...@stare.cz wrote: > > This seems strange: > > > > $ aucat -n -d -i input.wav -c -r 8000 -o out.wav > > input.wav: skipped unknown chunk > > input.wav: play, chan 0:3, 48000Hz, s16le, bytes 80..1920080, vol

Re: No audio playback with azalia0 Intel Braswell HD Audio

2024-02-06 Thread Alexandre Ratchov
On Mon, Feb 05, 2024 at 08:28:16PM -0800, jrmu wrote: > Greetings, > > I am attempting to play audio on an HP Chromebook 11 G5 Setzer, > but OpenBSD appears to be missing the necessary codecs. Are there any > workarounds? I'm guessing that switching from the built-in speakers to > headphones

Re: how to play bytebeat on openbsd?

2024-02-05 Thread Alexandre Ratchov
On Mon, Feb 05, 2024 at 02:21:17PM +0100, Alexandre Ratchov wrote: > Play the result: > > ./a.out | aucat -e u8 -c 0:1 -r 8000 -i - ^^^ should be "-c 0:0", but "-c 0:1" may also make sense for certain one-liners ;-)

Re: how to play bytebeat on openbsd?

2024-02-05 Thread Alexandre Ratchov
On Fri, Feb 02, 2024 at 06:41:46PM -, beecdadd...@danwin1210.de wrote: > hello > > I've tried for hours to play bytebeat as everyone else > > I cannot find anything on the entire internet > > all I got is `cat a.out >> /dev/speaker)` as root.. a.out is compiled code , a > loop and

Re: my first patch

2023-10-25 Thread Alexandre Ratchov
On Tue, Oct 24, 2023 at 10:42:06PM +0200, Jan Stary wrote: > On Oct 24 22:09:02, a...@caoua.org wrote: > > faad -w file.m4a | cat >file.wav > > results in a file with zero-size data chunk (because faad couldn't > > seek to the beginning of the file to fixup the header). aucat, > > audacious,

Re: my first patch

2023-10-25 Thread Alexandre Ratchov
On Tue, Oct 24, 2023 at 11:11:01PM +0600, Maria Morisot wrote: > > Forgive me if I'm dense, but I'm a better artist than I am a > programmer. I'm trying to follow you though. I understand why you > cannot seek in a pipe, but I do not understand why that affects > playback of a MS Wav file through

Re: my first patch

2023-10-24 Thread Alexandre Ratchov
On Wed, Oct 25, 2023 at 12:06:05AM +0600, Maria Morisot wrote: > > I don't have a test machine and I'm trying to keep my installation > as simple as possible, but if anyone wants to try piping a wav file > into mplayer or ffplay, I'd be interested in the results. Does it > work? faad -o file.wav

Re: my first patch

2023-10-24 Thread Alexandre Ratchov
On Tue, Oct 24, 2023 at 09:15:57PM +0600, Maria Morisot wrote: > It is my understanding that wav files contain the headers necessary for a > program to adjust the audio settings for play, or to do the software process > necessary to reformat the input to the audio device. > > It doesn't make

Re: my first patch

2023-10-24 Thread Alexandre Ratchov
On Tue, Oct 24, 2023 at 05:10:53PM +0600, Lucretia wrote: > > a bit off-topic, but: > gethsemane$ faad -w Tori_Amos/The_Beekeeper/03* | aucat -i - -h wav > makes Tori sound like Minnie Mouse. How can I fix this? > you've make faad and aucat use the same data format, ex: faad -d -f2 -w

Re: Audio issue: noise/interference

2023-07-08 Thread Alexandre Ratchov
On Fri, Jul 07, 2023 at 06:23:26PM -0400, Ricky Cintron wrote: > I recently resolved an audio issue where I could hear a constant, light > static noise in my earphones. It wasn't loud or distracting, but it was > always there. The solution was to remove 'mix' as a source for mix2 and > mix3. > >

Re: Data source of record.bytes in audioctl

2023-07-04 Thread Alexandre Ratchov
On Mon, Jul 03, 2023 at 05:18:13PM -0400, Ricky Cintron wrote: > While troubleshooting some audio issues, I noticed that the values of > play.bytes and record.bytes in audioctl's output were identical, even > when only playing audio. > > 1) Is this expected behavior? yes, by default the device

Re: "ticking" noise when recording audio

2023-06-03 Thread Alexandre Ratchov
On Fri, Jun 02, 2023 at 11:32:31AM -0700, Courtney wrote: > It seems when I make any changes to sndiod, the output remains > the same. I played with -z, -b, -e, -r. Here's the audioctl output. > Note, the device changed to aucioctl2 but it is still the same > device in question. > > audioctl -f

Re: "ticking" noise when recording audio

2023-06-02 Thread Alexandre Ratchov
On Thu, Jun 01, 2023 at 11:35:24AM -0700, Courtney Hicks wrote: > I hope this reaches you. I think my mail server is having troubles > communicating with the mailing list. I changed the rate and buffer > size using aucat, not sndiod, and that changed the rate. I have > the .wav attached. The

Re: "ticking" noise when recording audio

2023-06-02 Thread Alexandre Ratchov
On Thu, Jun 01, 2023 at 11:35:24AM -0700, Courtney Hicks wrote: > I hope this reaches you. I think my mail server is having troubles > communicating with the mailing list. I changed the rate and buffer > size using aucat, not sndiod, and that changed the rate. I have > the .wav attached. Also of

Re: "ticking" noise when recording audio

2023-06-01 Thread Alexandre Ratchov
- If you change the sndiod(8) rate (-r option), or buffer size (-b option) does the ticking change? - could you send me a short .wav file with the ticking sound? On Wed, May 31, 2023 at 11:59:20PM -0700, Courtney Hicks wrote: > Hello all, > > I am trying to record audio from a USB device. I

Re: how to transmit desktop sound on xenodm.

2023-03-20 Thread Alexandre Ratchov
On Mon, Mar 20, 2023 at 10:46:27AM +0100, Omar Polo wrote: > On 2023/03/19 18:11:29 +, openbsd_send > wrote: > > Dear everyone. > > I have any Questions for sndiod and pulseaudio. > > > > I tried [OpenBSD Remote] to [Windows Local]... > > but, I was never to get success... > > how can i do

Re: sndiod and midicat routing issue.

2023-01-15 Thread Alexandre Ratchov
On Sun, Jan 15, 2023 at 07:35:49PM +0100, Brian Durant wrote: > On 1/15/23 12:26, Alexandre Ratchov wrote: > > On Sun, Jan 15, 2023 at 09:38:38AM +0100, Brian Durant wrote: > > > The following command will connect a USB MIDI device: > > > > > >

Re: sndiod and midicat routing issue.

2023-01-15 Thread Alexandre Ratchov
On Sun, Jan 15, 2023 at 09:38:38AM +0100, Brian Durant wrote: > The following command will connect a USB MIDI device: > > $ midicat -d -q midi/0 -q midithru/0 & > > A second device can be connected as follows: > > $ midicat -d -q midi/1 -q midithru/1 & > > Both output MIDI code in the

Re: sndio and bit perfect playback

2023-01-13 Thread Alexandre Ratchov
On Fri, Jan 13, 2023 at 01:10:56PM +0100, Jan Stary wrote: > > > > I'd certainly be interested in the ability to play audio in a way > > > > that avoids resampling altogether, > > > > > > If you have a 48kHz file, and your audio device can only do 44100, > > > then you have to resample, no way

Re: sndio and bit perfect playback

2023-01-11 Thread Alexandre Ratchov
On Wed, Jan 11, 2023 at 02:43:25PM +0100, Jan Stary wrote: > On Jan 11 01:10:11, a...@caoua.org wrote: > > On Tue, Jan 10, 2023 at 08:22:27PM +, John Rigg wrote: > > > > > > > > # If I recall correctly, I converted to FLAC here because the WAV > > > > > headers > > > > > # generated by aucat

Re: sndio and bit perfect playback

2023-01-10 Thread Alexandre Ratchov
On Tue, Jan 10, 2023 at 08:22:27PM +, John Rigg wrote: > > > > # If I recall correctly, I converted to FLAC here because the WAV headers > > > # generated by aucat and SoX differed, and so SoX would refuse to play > > > WAV fil > > es > > > # created by aucat. > > > > That would be a bug in

Re: sndio and bit perfect playback

2023-01-10 Thread Alexandre Ratchov
On Tue, Jan 10, 2023 at 09:11:13AM +0100, Jan Stary wrote: > I don't get the point of your message explaning what dither is. > My whole point was that one of the sources of the perceived > difference between how sox resamples and hows aucat resamples > might be dithering, as aucat does not differ

Re: sndio and bit perfect playback

2023-01-10 Thread Alexandre Ratchov
On Mon, Jan 09, 2023 at 01:10:09PM -0700, Ashlen wrote: > > Although I need to finalize the Perl script I was using to do this (life gets > busy), in practice I was able to distinguish between samples created by > audio/sox and aucat(1) in informal AB/X testing on my 7th generation X1 Carbon >

Re: sndio and bit perfect playback

2023-01-08 Thread Alexandre Ratchov
On Sun, Jan 08, 2023 at 10:56:31PM +0100, Jan Stary wrote: > On Oct 16 08:18:17, a...@caoua.org wrote: > > On Sat, Oct 15, 2022 at 10:03:52PM +0200, Åke Nordin wrote: > > > On 10/14/22 11:21, Alexandre Ratchov wrote: > > > > Here are the measures of the aliasing

Re: OpenBSD 7.2 amd64, MIDI error "midi/0: couldn't open port".

2023-01-06 Thread Alexandre Ratchov
On Fri, Jan 06, 2023 at 10:18:37AM +0100, Brian Durant wrote: > Hi, > Completely lost as to the cause for the error. I have read the relevant man > pages as well as searching the mail archive. > > System info: > OpenBSD 7.2 amd64, GNOME 42.5, Huawei MateStation S with AMD Ryzen 5 4600G > and

Re: OpenBSD 7.2 amd64, MIDI error "midi/0: couldn't open port".

2023-01-06 Thread Alexandre Ratchov
On Fri, Jan 06, 2023 at 10:18:37AM +0100, Brian Durant wrote: > Hi, > Completely lost as to the cause for the error. I have read the relevant man > pages as well as searching the mail archive. > > System info: > OpenBSD 7.2 amd64, GNOME 42.5, Huawei MateStation S with AMD Ryzen 5 4600G > and

Re: Crackling in sndio

2022-12-09 Thread Alexandre Ratchov
On Fri, Dec 09, 2022 at 01:41:55PM +0300, Aleksandr Mikhaylov wrote: > Hello all! > > I'm using OpenBSD 7.2 RELEASE, > but I've seen this problem on earlier versions as well. > Please tell me, when I am playing audio through sndio, > for example with firefox or mpd, > and the processor load

Re: Connect MIDI keyboard to SF2 player in LMMS - OpenBSD 7.2.

2022-11-08 Thread Alexandre Ratchov
On Tue, Nov 08, 2022 at 11:31:24AM +0100, Brian Durant wrote: > I am trying to connect my MIDI keyboard to the Sf2 Player, in LMMS. sndio > MIDI is set under MIDI interface in the MIDI settings section of the LMMS > preferences. DMESG gives me the following when I plug my MIDI keyboard into > the

Re: sndio and bit perfect playback

2022-10-16 Thread Alexandre Ratchov
On Fri, Oct 14, 2022 at 04:01:45PM -0400, Geoff Steckel wrote: > > > > I did simple A/B tests with music from CDs and my ears couldn't hear > > the aliasing noise. Try it. > Good a/b >x< tests for audio require extreme care to get accurate results. > Simple sine sweeps don't show IM distortion

Re: sndio and bit perfect playback

2022-10-16 Thread Alexandre Ratchov
On Sat, Oct 15, 2022 at 10:03:52PM +0200, Åke Nordin wrote: > On 10/14/22 11:21, Alexandre Ratchov wrote: > > Here are the measures of the aliasing noise using sine sweeps. Check > > the figure for the 44.1kHz to 48kH conversion, the sndiod column: > > > > https://arv

Re: sndio and bit perfect playback

2022-10-15 Thread Alexandre Ratchov
On Fri, Oct 14, 2022 at 06:43:46PM +0200, Jan Stary wrote: > > > In my experience resampling quality in any particular implementation > > > is not guaranteed and can introduce significant artifacts. > > > Declaring a particular implementation "good enough" without > > > knowing more seems

Re: sndio and bit perfect playback

2022-10-14 Thread Alexandre Ratchov
On Thu, Oct 13, 2022 at 05:20:49PM -0400, Geoff Steckel wrote: > > If those don't work it's a (fixable) bug/not-yet-implemented. > I've tried those settings with ambiguous results but not failure. > My usb dacs don't have visible indicators & I don't have a > USB protocol sniffer. Running

Re: sndio and bit perfect playback

2022-10-13 Thread Alexandre Ratchov
On Thu, Oct 13, 2022 at 03:11:50AM +, s...@skolma.com wrote: > > > in summary, audio works.. just not bit-perfectly :) > does anyone know if SNDIO supports such mode ? and how i might configure it. > bit-perfect is practical for one thing only: avoid questionings about whether the

Re: xine's ffmpegaudio doesn't downmix, sio_getpar() reports 6 channels instead of 2

2022-10-03 Thread Alexandre Ratchov
On Mon, Oct 03, 2022 at 07:45:19PM +0200, Marc Espie wrote: > > > > This is a known problem. While mpv and mplayer have options to turn > > the downmixing, it's not OK this to be manual. > ??? > > Cannot parse. > If you cannot write this in english, please say what's going on in french. - the

Re: xine's ffmpegaudio doesn't downmix, sio_getpar() reports 6 channels instead of 2

2022-10-03 Thread Alexandre Ratchov
On Thu, Sep 22, 2022 at 04:31:58PM +, adr wrote: > Hi, > > first of all, I've never contributed to the xine project, and > I don't have any experience with sndio, so bear with me... > > Frustrated with the bad sound playing a 6 channels aac audio I decided to > take a look. The device is a

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

  1   2   3   4   5   >