Re: Burr-Brown USB Audio Support

2018-09-15 Thread Mikko Laine
Stuart Henderson  wrote:

> In that case, modify the kernel on-disk with config -ef (and keep a copy
> of the standard kernel that you can boot in case of problems). Usually
> a USB2 driver will attach instead. The problem is that OpenBSD doesn't
> support isochronous transfers on XHCI yet.

Thanks, unfortunately the modified kernel renders my input devices
useless.



Re: Burr-Brown USB Audio Support

2018-09-15 Thread Stuart Henderson
On 2018-09-15, Mikko Laine  wrote:
> Stuart Henderson  wrote:
>
>> To have a chance of working, you will need to use a kernel with xhci
>> disabled. It might need more than that as well. To test, "boot -c" at
>> the boot prompt, "disable xhci", "quit", You can modify an on-disk
>> kernel with "config -ef /bsd", or build your own with this diff.
>
> Upon entering the UKC with boot -c, my input devices stop working and I
> cannot try disabling xhci this way.
>
> I have a way to disable xhci once and for all in the BIOS, but this will
> affect my input devices (USB) and make the box useless for my purposes.
>
> Thanks for your reply.

In that case, modify the kernel on-disk with config -ef (and keep a copy
of the standard kernel that you can boot in case of problems). Usually
a USB2 driver will attach instead. The problem is that OpenBSD doesn't
support isochronous transfers on XHCI yet.



Re: Burr-Brown USB Audio Support

2018-09-15 Thread Mikko Laine
Stuart Henderson  wrote:

> To have a chance of working, you will need to use a kernel with xhci
> disabled. It might need more than that as well. To test, "boot -c" at
> the boot prompt, "disable xhci", "quit", You can modify an on-disk
> kernel with "config -ef /bsd", or build your own with this diff.

Upon entering the UKC with boot -c, my input devices stop working and I
cannot try disabling xhci this way.

I have a way to disable xhci once and for all in the BIOS, but this will
affect my input devices (USB) and make the box useless for my purposes.

Thanks for your reply.
-- 
  Mikko Laine
  PGP: E39927E377E85036
  http://mlaine.sdfeu.org/



Re: Burr-Brown USB Audio Support

2018-09-14 Thread Stuart Henderson
On 2018-09-14, Mikko Laine  wrote:
> Greetings misc@,
>
> I have troubles getting my speakers with built-in DAC to work.
>
> After doing
>
> # rcctl set sndiod flags -f rsnd/1
> # rcctl restart sndiod
>
> I get
>
> uaudio_chan_open: error creating pipe: err=INVAL endpt=0x02
> audio1: failed to start playback
> uaudio_chan_open: error creating pipe: err=INVAL endpt=0x84
> audio1: failed to start recording
>
> in the dmesg and no sound. Thank you for any assistance.

To have a chance of working, you will need to use a kernel with xhci
disabled. It might need more than that as well. To test, "boot -c" at
the boot prompt, "disable xhci", "quit", You can modify an on-disk
kernel with "config -ef /bsd", or build your own with this diff.

Index: arch/amd64/conf/GENERIC
===
RCS file: /cvs/src/sys/arch/amd64/conf/GENERIC,v
retrieving revision 1.463
diff -u -p -r1.463 GENERIC
--- arch/amd64/conf/GENERIC 31 Aug 2018 00:09:13 -  1.463
+++ arch/amd64/conf/GENERIC 14 Sep 2018 23:07:51 -
@@ -195,7 +195,7 @@ cardbus*at cardslot?
 pcmcia*at cardslot?
 
 # USB Controllers
-xhci*  at pci? # eXtensible Host Controller
+xhci*  at pci? disable # eXtensible Host Controller
 ehci*  at pci? # Enhanced Host Controller
 ehci*  at cardbus? # Enhanced Host Controller
 uhci*  at pci? # Universal Host Controller (Intel)