Solved Driver to use with Behringer ua222 usb-audio?

I try to setup jack and I don't have /dev/dsp at all.

When I plug sound card to computer, /dev/mixer2 and /dev/ugen.7.2 appears.

Code:
ugen7.2: <Burr-Brown from TI USB Audio CODEC> at usbus7, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)

I
 
I just don't understand this.. should there even be /dev/dsp?

This is from end of dmesg:

Code:
ugen7.2: <Burr-Brown from TI USB Audio CODEC> at usbus7
uaudio0 on uhub8
uaudio0: <Burr-Brown from TI USB Audio CODEC, class 0/0, rev 1.10/1.00, addr 1> on usbus7
uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 32000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 22050 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 11025 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer.
uaudio0: No MIDI sequencer.
pcm2: <USB audio> on uaudio0
uaudio0: HID volume keys found.

Code:
> ls /dev
acpi       ada0p4     auditpipe  console    cuau0.lock drm        fd         hpet0      kbdmux0    mem        msdosfs    null       random     stdin      ttyu0.init ttyv3      ttyv8      ugen0.1    ugen2.1    ugen7.1    usb
ada0       apm        aux        consolectl devctl     dsp1.0     fido       io         klog       midistat   music0     pass0      reroot     stdout     ttyu0.lock ttyv4      ttyv9      ugen1.1    ugen3.1    ugen7.2    usbctl
ada0p1     apmctl     bpf        ctty       devctl2    dumpdev    full       kbd0       kmem       mixer0     netdump    pci        sequencer0 sysmouse   ttyv0      ttyv5      ttyva      ugen1.2    ugen4.1    uhid0      xpt0
ada0p2     atkbd0     bpf0       cuau0      devstat    efi        geom.ctl   kbd1       log        mixer1     netmap     psm0       sndstat    tcp_log    ttyv1      ttyv6      ttyvb      ugen1.3    ugen5.1    ukbd0      zero
ada0p3     audit      bpsm0      cuau0.init dri        fb0        gpt        kbd2       mdctl      mixer2     nfslock    pts        stderr     ttyu0      ttyv2      ttyv7      ufssuspend ugen1.4    ugen6.1    urandom    zfs
 
Code:
> cat /etc/rc.conf
# JACK configuration
jackd_enable="YES"
jackd_user="ate"
jackd_rtprio="YES"
jackd_args="-R -doss -r48000 -p1024 -n3 -w16 --capture /dev/dsp2 --playback /dev/dsp2"

Code:
> ls /dev
acpi       auditpipe  cuau0.lock efi        kbd1       mixer1     psm0       tcp_log    ttyv6      ugen1.3    ukbd0
ada0       aux        devctl     fb0        kbd2       mixer2     pts        ttyu0      ttyv7      ugen1.4    urandom
ada0p1     bpf        devctl2    fd         kbdmux0    msdosfs    random     ttyu0.init ttyv8      ugen2.1    usb
ada0p2     bpf0       devstat    fido       klog       music0     reroot     ttyu0.lock ttyv9      ugen3.1    usbctl
ada0p3     bpsm0      dri        full       kmem       netdump    sequencer0 ttyv0      ttyva      ugen4.1    xpt0
ada0p4     console    drm        geom.ctl   log        netmap     sndstat    ttyv1      ttyvb      ugen5.1    zero
apm        consolectl dsp1.0     gpt        mdctl      nfslock    stderr     ttyv2      ufssuspend ugen6.1    zfs
apmctl     ctty       dsp2.0     hpet0      mem        null       stdin      ttyv3      ugen0.1    ugen7.1
atkbd0     cuau0      dsp2.2     io         midistat   pass0      stdout     ttyv4      ugen1.1    ugen7.2
audit      cuau0.init dumpdev    kbd0       mixer0     pci        sysmouse   ttyv5      ugen1.2    uhid0

Now I need way to test it.

cat tempfile /dev/dsp2.0 gives error:
Code:
cat: /dev/dsp2.0: Device busy
.

play test.wav plays wav file from integrated sound card which is default.
 
Back
Top