Patchbox OS/MODEP with Edirol UA-25

Hello,
Just stumbled across these projects and thought I’d give them a go before getting a PIsound…

Is there anyway to get my UA-25 working properly with them? On loading up MODEP on the web interface I only seem to have a single digital output.

The UA-25 was detected in the start up wizard but I guess it’s not properly supported.

Any help appreciated.

Thanks,
Marcus

Hey, what’s the output of these terminal commands:

arecord -l
aplay -l
amidi -l
cat /etc/jackdrc

Also, please attach the full log printed by dmesg command.

Hi,
Thanks for replying.

Here are the outputs of the above:

patch@patchbox:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: UA25 [UA-25], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
patch@patchbox:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
patch@patchbox:~ $ amidi -1
amidi: invalid option -- '1'
Try `amidi --help' for more information.
patch@patchbox:~ $ cat /etc/jackdrc
#!/bin/sh
# exec is used to 'morph' the shell interpreter process into jackd process, saving some system resources.
exec /usr/bin/jackd -t 2000 -R -P 95 -d alsa -d hw:UA25 -r 96000 -p 256 -n 3 -X seq -s -S
patch@patchbox:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.71-rt24-v7+ (giedrius@giedrius-vb) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03)) #1 SMP PREEMPT RT Wed Mar 11 16:54:08 EET 2020
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 8 MiB at 0x3ac00000
[    0.000000] On node 0 totalpages: 242688
[    0.000000]   Normal zone: 2133 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 242688 pages, LIFO batch:63
[    0.000000] random: get_random_bytes called from start_kernel+0x7c/0x4ac with crng_init=0
[    0.000000] percpu: Embedded 18 pages/cpu s41536 r8192 d24000 u73728
[    0.000000] pcpu-alloc: s41536 r8192 d24000 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 240555
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 bcm2708_fb.fbwidth=1280 bcm2708_fb.fbheight=720 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:15:91:2D vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=3ac474d7-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 938424K/970752K available (8192K kernel code, 629K rwdata, 2188K rodata, 1024K init, 957K bss, 24136K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xbb800000 - 0xff800000   (1088 MB)
                   lowmem  : 0x80000000 - 0xbb400000   ( 948 MB)
                   modules : 0x7f000000 - 0x80000000   (  16 MB)
                     .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   ( 630 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 958 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 26399 entries in 78 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU priority boosting: priority 1 delay 500 ms.
[    0.000000]  No expedited grace period (rcu_normal_after_boot).
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000016] Switching to timer-based delay loop, resolution 52ns
[    0.000272] Console: colour dummy device 80x30
[    0.001388] console [tty1] enabled
[    0.001421] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.001434] pid_max: default: 32768 minimum: 301
[    0.001812] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001826] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002917] CPU: Testing write buffer coherency: ok
[    0.003473] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060148] Setting up static identity map for 0x100000 - 0x10003c
[    0.100132] rcu: Hierarchical SRCU implementation.
[    0.180320] smp: Bringing up secondary CPUs ...
[    0.321031] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.461260] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.601515] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.601727] smp: Brought up 1 node, 4 CPUs
[    0.601846] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.601882] CPU: All CPU(s) started in HYP mode.
[    0.601913] CPU: Virtualization extensions available.
[    0.603302] devtmpfs: initialized
[    0.635702] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.636405] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.636476] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.637245] pinctrl core: initialized pinctrl subsystem
[    0.639101] NET: Registered protocol family 16
[    0.644693] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.655796] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.655847] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.656098] Serial: AMBA PL011 UART driver
[    0.659784] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.728310] bcm2835-dma 3f007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[    0.731180] SCSI subsystem initialized
[    0.731830] usbcore: registered new interface driver usbfs
[    0.731983] usbcore: registered new interface driver hub
[    0.732201] usbcore: registered new device driver usb
[    0.751815] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-02-12 12:38, variant start
[    0.761835] raspberrypi-firmware soc:firmware: Firmware hash is 53a54c770c493957d99bf49762dfabc4eee00e45
[    0.774427] clocksource: Switched to clocksource arch_sys_counter
[    0.962051] VFS: Disk quotas dquot_6.6.0
[    0.962210] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.963016] FS-Cache: Loaded
[    0.963432] CacheFiles: Loaded
[    0.982838] NET: Registered protocol family 2
[    0.984344] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 16384 bytes)
[    0.984600] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.984793] TCP bind hash table entries: 8192 (order: 5, 229376 bytes)
[    0.985436] TCP: Hash tables configured (established 8192 bind 8192)
[    0.985750] UDP hash table entries: 512 (order: 3, 32768 bytes)
[    0.985891] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
[    0.986514] NET: Registered protocol family 1
[    0.987626] RPC: Registered named UNIX socket transport module.
[    0.987665] RPC: Registered udp transport module.
[    0.987698] RPC: Registered tcp transport module.
[    0.987730] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.990159] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    0.998682] Initialise system trusted keyrings
[    0.999072] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.020466] FS-Cache: Netfs 'nfs' registered for caching
[    1.021800] NFS: Registering the id_resolver key type
[    1.021900] Key type id_resolver registered
[    1.021934] Key type id_legacy registered
[    1.021992] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.026472] Key type asymmetric registered
[    1.026517] Asymmetric key parser 'x509' registered
[    1.026630] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    1.026939] io scheduler noop registered
[    1.026977] io scheduler deadline registered (default)
[    1.027567] io scheduler cfq registered
[    1.027604] io scheduler mq-deadline registered (default)
[    1.027642] io scheduler kyber registered
[    1.033546] bcm2708_fb soc:fb: FB found 1 display(s)
[    1.061051] Console: switching to colour frame buffer device 160x45
[    1.076148] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 1280x720
[    1.080893] bcm2835-rng 3f104000.rng: hwrng registered
[    1.081595] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.082804] vc-sm: Videocore shared memory driver
[    1.083567] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    1.107418] brd: module loaded
[    1.132822] loop: module loaded
[    1.134055] Loading iSCSI transport class v2.0-870.
[    1.135510] libphy: Fixed MDIO Bus: probed
[    1.135829] usbcore: registered new interface driver lan78xx
[    1.140818] usbcore: registered new interface driver smsc95xx
[    1.145683] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.178417] dwc_otg 3f980000.usb: base=(ptrval)
[    1.383407] Core Release: 2.80a
[    1.388115] Setting default values for core params
[    1.392757] Finished setting default values for core params
[    1.598131] Using Buffer DMA mode
[    1.602765] Periodic Transfer Interrupt Enhancement - disabled
[    1.607617] Multiprocessor Interrupt Enhancement - disabled
[    1.612437] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.617249] Dedicated Tx FIFOs mode
[    1.622841] WARN::dwc_otg_hcd_init:1043: FIQ DMA bounce buffers: virt = bad04000 dma = 0xfad04000 len=9024
[    1.627861] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    1.651765] dwc_otg: Microframe scheduler enabled
[    1.651850] WARN::hcd_init_fiq:457: FIQ on core 1
[    1.651859] WARN::hcd_init_fiq:458: FIQ ASM at 80637738 length 36
[    1.651870] WARN::hcd_init_fiq:497: MPHI regs_base at bb810000
[    1.651889] dwc_otg 3f980000.usb: DWC OTG Controller
[    1.670861] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    1.675862] dwc_otg 3f980000.usb: irq 56, io mem 0x00000000
[    1.680539] Init: Port Power? op_state=1
[    1.685250] Init: Power Port (0)
[    1.690208] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.695090] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.699941] usb usb1: Product: DWC OTG Controller
[    1.704810] usb usb1: Manufacturer: Linux 4.19.71-rt24-v7+ dwc_otg_hcd
[    1.709654] usb usb1: SerialNumber: 3f980000.usb
[    1.715731] hub 1-0:1.0: USB hub found
[    1.720471] hub 1-0:1.0: 1 port detected
[    1.726141] dwc_otg: FIQ enabled
[    1.726152] dwc_otg: NAK holdoff enabled
[    1.726162] dwc_otg: FIQ split-transaction FSM enabled
[    1.726184] Module dwc_common_port init
[    1.726631] usbcore: registered new interface driver usb-storage
[    1.731593] mousedev: PS/2 mouse device common for all mice
[    1.738204] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.743075] bcm2835-cpufreq: min=600000 max=1200000
[    1.748586] sdhci: Secure Digital Host Controller Interface driver
[    1.753175] sdhci: Copyright(c) Pierre Ossman
[    1.758511] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[    1.764079] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    1.769273] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.776381] hidraw: raw HID events driver (C) Jiri Kosina
[    1.781455] usbcore: registered new interface driver usbhid
[    1.786346] usbhid: USB HID core driver
[    1.792256] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[    1.799227] [vc_sm_connected_init]: start
[    1.809096] [vc_sm_connected_init]: end - returning 0
[    1.816098] Initializing XFRM netlink socket
[    1.820878] NET: Registered protocol family 17
[    1.825932] Key type dns_resolver registered
[    1.831088] Registering SWP/SWPB emulation handler
[    1.837300] registered taskstats version 1
[    1.841773] Loading compiled-in X.509 certificates
[    1.868338] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    1.873128] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 81, base_baud = 0) is a PL011 rev2
[    1.881737] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    1.886648] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[    1.918260] sdhost: log_buf @ (ptrval) (fad07000)
[    1.940376] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.946959] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.954487] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.962184] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.967187] Indeed it is in host mode hprt0 = 00021501
[    1.979523] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    1.990126] of_cfs_init
[    1.994895] of_cfs_init: OK
[    2.000505] Waiting for root device PARTUUID=3ac474d7-02...
[    2.040538] random: fast init done
[    2.097580] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.106475] mmc1: new high speed SDIO card at address 0001
[    2.114081] mmc0: new high speed SDHC card at address 59b4
[    2.122070] mmcblk0: mmc0:59b4       14.7 GiB
[    2.131341]  mmcblk0: p1 p2
[    2.181929] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.184571] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.184828] Indeed it is in host mode hprt0 = 00001101
[    2.196276] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.202822] devtmpfs: mounted
[    2.214742] Freeing unused kernel memory: 1024K
[    2.219646] Run /sbin/init as init process
[    2.425212] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[    2.431007] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.438285] hub 1-1:1.0: USB hub found
[    2.444206] hub 1-1:1.0: 5 ports detected
[    2.632140] random: crng init done
[    2.764548] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.895220] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[    2.899962] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.908010] smsc95xx v1.0.6
[    2.945360] systemd[1]: System time before build time, advancing clock.
[    3.003180] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:15:91:2d
[    3.128077] NET: Registered protocol family 10
[    3.135818] Segment Routing with IPv6
[    3.208227] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    3.220754] systemd[1]: Detected architecture arm.
[    3.264931] systemd[1]: Set hostname to <patchbox>.
[    3.474583] usb 1-1.5: new low-speed USB device number 4 using dwc_otg
[    3.611628] usb 1-1.5: New USB device found, idVendor=1a2c, idProduct=0e24, bcdDevice= 1.10
[    3.618095] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.624363] usb 1-1.5: Product: USB Keyboard
[    3.630250] usb 1-1.5: Manufacturer: SEM
[    3.647228] input: SEM USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:1A2C:0E24.0001/input/input0
[    3.715615] hid-generic 0003:1A2C:0E24.0001: input,hidraw0: USB HID v1.10 Keyboard [SEM USB Keyboard] on usb-3f980000.usb-1.5/input0
[    3.731705] input: SEM USB Keyboard Consumer Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.1/0003:1A2C:0E24.0002/input/input1
[    3.804938] input: SEM USB Keyboard System Control as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.1/0003:1A2C:0E24.0002/input/input2
[    3.812011] hid-generic 0003:1A2C:0E24.0002: input,hidraw1: USB HID v1.10 Device [SEM USB Keyboard] on usb-3f980000.usb-1.5/input1
[    3.831496] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    3.846167] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    4.558441] systemd[1]: Created slice User and Session Slice.
[    4.574577] systemd[1]: Reached target Swap.
[    4.596856] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    4.613770] systemd[1]: Listening on fsck to fsckd communication Socket.
[    4.631369] systemd[1]: Listening on Journal Socket.
[    5.899653] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.163459] systemd-journald[148]: Received request to flush runtime journal from PID 1
[    7.574579] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
[    7.701207] media: Linux media interface: v0.10
[    7.707716] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    7.740406] usb 1-1.4: New USB device found, idVendor=0582, idProduct=0074, bcdDevice= 1.07
[    7.740430] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    7.740444] usb 1-1.4: Product: EDIROL UA-25
[    7.740458] usb 1-1.4: Manufacturer: Roland
[    7.759031] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    7.759076] [vc_sm_connected_init]: start
[    7.773038] [vc_sm_connected_init]: installed successfully
[    7.790558] videodev: Linux video capture interface: v2.00
[    8.008747] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    8.032951] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    8.054200] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    8.101637] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    8.165033] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    8.165086] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    8.181183] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    8.181252] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    8.203976] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    8.204029] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    8.248315] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    8.359217] bcm2835_audio soc:audio: card created with 8 channels
[    8.763981] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    8.887770] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    9.096072] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[    9.107078] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    9.129139] usbcore: registered new interface driver brcmfmac
[    9.342742] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    9.342889] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[    9.344016] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Oct 22 2019 01:59:28 version 7.45.98.94 (r723000 CY) FWID 01-3b33decd
[   11.694243] usbcore: registered new interface driver snd-usb-audio
[   13.570858] uart-pl011 3f201000.serial: no DMA platform data
[   13.814249] 8021q: 802.1Q VLAN Support v1.8
[   14.103101] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[   14.371380] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   14.371397] brcmfmac: power management disabled
[   14.907341] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   14.908064] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   16.006049] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   18.461219] Bluetooth: Core ver 2.22
[   18.461310] NET: Registered protocol family 31
[   18.461317] Bluetooth: HCI device and connection manager initialized
[   18.461345] Bluetooth: HCI socket layer initialized
[   18.461363] Bluetooth: L2CAP socket layer initialized
[   18.461434] Bluetooth: SCO socket layer initialized
[   18.482266] Bluetooth: HCI UART driver ver 2.3
[   18.482285] Bluetooth: HCI UART protocol H4 registered
[   18.482384] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   18.482633] Bluetooth: HCI UART protocol Broadcom registered
[   18.862525] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   18.862541] Bluetooth: BNEP filters: protocol multicast
[   18.862569] Bluetooth: BNEP socket layer initialized
[   18.958309] Bluetooth: RFCOMM TTY layer initialized
[   18.958357] Bluetooth: RFCOMM socket layer initialized
[   18.958391] Bluetooth: RFCOMM ver 1.11
patch@patchbox:~ $

thanks

Try reconfiguring the card to use 48000 or 44100 sampling rate. Run patchbox, go to jack, and go through the config again. You may have to restart MODEP too, not sure, but better to do it :slight_smile: sudo systemctl stop jack && sudo systemctl start modep-mod-ui

If that doesn’t help, try editing /etc/jackdrc directly:

sudo nano /etc/jackdrc

Make the last line looks like this:

exec /usr/bin/jackd -t 2000 -R -P 95 -d alsa -d hw:1,0 -r 44100 -p 512 -n 3 -X seq -s -S

Keep in mind that USB cards generally require to have much higher buffer size (and latency) compared to I²S cards.

Hi,
Thanks, it seems to be working now,very much appreciated.

Interestingly (or confusingly?), once it got working, I started altering the sample rate/buffer size/period.

I’m now on 96k, 128 and 2. It seems to all be working with no lag or random stuttering.

No idea why it’s decided to suddenly start working. I ran the command to stop/start jack and modep each time after a change.

1 Like