DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3 Weeks Ago
dcc dcc is offline
Port Guard
 
Join Date: Jan 2023
Posts: 10
Post micorophone dac is seen as output

i dont understand how to change it so it uses the input functionality
with mixerctl i get this
Code:
outputs.dac=255,255
outputs.dac_mute=off
record.enable=sysctl
also dmesg gives me

Code:
uaudio0 at uhub0 port 3 configuration 1 interface 1 "Burr-Brown from TI USB Audio CODEC" rev 1.10/1.00 addr 2
uaudio0: class v1, full-speed, sync, channels: 2 play, 2 rec, 3 ctls
__________________
100% off the chain

Last edited by J65nko; 3 Weeks Ago at 12:06 AM. Reason: [code] and [/code] tags added ;-)
Reply With Quote
  #2   (View Single Post)  
Old 3 Weeks Ago
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
 
Join Date: Dec 2015
Location: London
Posts: 387
Default

Looks like the kernel recognises the record channels.

Can we see the full output of
Code:
sndioctl -d
Please use code tags when posting terminal output, it greatly aids readability. Thanks.

EDIT: welcome to the forums!
Reply With Quote
  #3   (View Single Post)  
Old 3 Weeks Ago
dcc dcc is offline
Port Guard
 
Join Date: Jan 2023
Posts: 10
Default

Thanks. The first output of sndioctl -d is set to my usb headphone dac audio2 and the second one is set to my usb microphone dac on audio1
Code:
041:output[0].level=0..255 (255)
042:output[0].mute=0..1 (0)
001:server.device=0
002:server.device=1
008:audacio0.level=0..127 (127)
014:ffplay0.level=0..127 (127)
018:firefox0.level=0..127 (127)
013:mplayer0.level=0..127 (127)
017:mpv0.level=0..127 (127)
019:seamonk0.level=0..127 (127)
020:seamonk1.level=0..127 (127)
021:seamonk2.level=0..127 (127)
Code:
003:output[0].level=0..255 (255)
004:output[0].mute=0..1 (0)
001:server.device=0
002:server.device=1
__________________
100% off the chain
Reply With Quote
  #4   (View Single Post)  
Old 3 Weeks Ago
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
 
Join Date: Dec 2015
Location: London
Posts: 387
Default

Looks like audio recording hasn't been enabled.

Does this bring up an inputs.mic entry for you:
Code:
# sysctl kern.audio.record=1
Make the change permanent with
Code:
# tee -a /etc/sysctl.conf >/dev/null <<!
kern.audio.record=1
!
Reference: https://www.openbsd.org/faq/faq13.html
Reply With Quote
  #5   (View Single Post)  
Old 3 Weeks Ago
dcc dcc is offline
Port Guard
 
Join Date: Jan 2023
Posts: 10
Default

i already enabled that
__________________
100% off the chain
Reply With Quote
  #6   (View Single Post)  
Old 3 Weeks Ago
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
 
Join Date: Dec 2015
Location: London
Posts: 387
Default

Looks like the input might not be supported then. Is this an input to an Analogue-to-Digital Convertor? I only have experience with USB DACs so I'm not actually sure how ADCs are supposed to work.

It might be best to take this to the mailing lists if nobody else replies here.
Reply With Quote
  #7   (View Single Post)  
Old 3 Weeks Ago
dcc dcc is offline
Port Guard
 
Join Date: Jan 2023
Posts: 10
Default

its a xlr input to usb output, i would think it would work given that openbsd sees the input channel's
__________________
100% off the chain
Reply With Quote
  #8   (View Single Post)  
Old 3 Weeks Ago
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
 
Join Date: Dec 2015
Location: London
Posts: 387
Default

Do you have a link to the actual device itself? Sorry but I'm not sure I understand "xlr input to usb output". Excuse my ignorance.

You could try using usbdevs(8) to extract further information about the device.
Reply With Quote
  #9   (View Single Post)  
Old 3 Weeks Ago
dcc dcc is offline
Port Guard
 
Join Date: Jan 2023
Posts: 10
Default

https://www.behringer.com/product.html?modelCode=P0AVV
__________________
100% off the chain
Reply With Quote
Old 3 Weeks Ago
dcc dcc is offline
Port Guard
 
Join Date: Jan 2023
Posts: 10
Default

also if i set my devicde to the micorphone i can get it to work but i cant hear anything
__________________
100% off the chain
Reply With Quote
Old 3 Weeks Ago
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
 
Join Date: Dec 2015
Location: London
Posts: 387
Default

What does usbdevs(8) say about the device?

I'm out of my depth here though. Never used anything like that Behringer. Sorry.
Reply With Quote
Old 3 Weeks Ago
dcc dcc is offline
Port Guard
 
Join Date: Jan 2023
Posts: 10
Default

Quote:
Originally Posted by Head_on_a_Stick View Post
What does usbdevs(8) say about the device?

I'm out of my depth here though. Never used anything like that Behringer. Sorry.
Code:
addr 02: 08bb:2902 Burr-Brown from TI, USB Audio CODEC
it seems it only see the output but the input works it does not have any control thou, so i think the issuse is i need to disable the output
__________________
100% off the chain
Reply With Quote
Old 2 Weeks Ago
dcc dcc is offline
Port Guard
 
Join Date: Jan 2023
Posts: 10
Default

btw i found a kinda workaround,
Code:
 sndiod_flags= -f rsnd/2 -s default  -f rsnd/1 -m rec -s rec
would be great if sndiod would let me name both devices default
__________________
100% off the chain

Last edited by dcc; 2 Weeks Ago at 08:50 AM. Reason: default*
Reply With Quote
Old 2 Weeks Ago
dcc dcc is offline
Port Guard
 
Join Date: Jan 2023
Posts: 10
Default

well i found the fix(firefox is having a issuse with the input thou)
Code:
sndiod_flags= -f rsnd/2 -s play -m play  -f rsnd/1 -m rec -s rec
Code:
export AUDIOPLAYDEVICE=snd/play
export AUDIORECDEVICE=snd/rec
__________________
100% off the chain
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No audio emu rear output stefand OpenBSD General 10 1st July 2017 07:51 PM
DVI output in X backrow OpenBSD General 5 14th April 2011 04:39 AM
PHP displays no output what-so-ever on some errors. Carpetsmoker Programming 9 9th November 2010 09:55 PM
netstat -s -p ip output meaning putrycy FreeBSD General 3 20th August 2010 08:29 AM
dwm status bar won't display apm output asemisldkfj General software and network 6 16th August 2009 11:07 PM


All times are GMT. The time now is 10:37 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick