Audioinjector and Low LAtency Kernel

Moderator: flatmax

Post Reply
Zorgius
Posts: 4
Joined: Thu Feb 23, 2017 9:45 pm

Audioinjector and Low LAtency Kernel

Post by Zorgius » Thu Feb 23, 2017 9:56 pm

Hello i've problem in setting up Audioinjector soundcard with a RT Preempt patched kernel.
I've patched my kernel, following this guide. http://www.frank-durr.de/?p=203
So my kernel version is :

Code: Select all

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.4.9-rt17-v7+ #1 SMP PREEMPT RT Wed May 11 22:46:14 CEST 2016 armv7l GNU/Linux
After that i followed your guide for setting up the soundcard:

Code: Select all

pi@raspberrypi:~ $ sudo dpkg -i audio.injector.scripts_0.1-1_all.deb 
(Reading database ... 114841 files and directories currently installed.)
Preparing to unpack audio.injector.scripts_0.1-1_all.deb ...
Unpacking audio.injector.scripts (0.1-1) over (0.1-1) ...
Setting up audio.injector.scripts (0.1-1) ...
and after

Code: Select all

pi@raspberrypi:~ $ audioInjector-setup.sh
updating the kernel
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Your firmware is already up to date

The audio injector sound card is now setup.
Please reboot to enable the correct device tree.

but after reboot the soundcard isn't recognized :

Code: Select all

pi@raspberrypi:~ $ aplay -l
aplay: device_list:268: no soundcards found...
How can i do?
Thank you.

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Audioinjector and Low LAtency Kernel

Post by flatmax » Fri Feb 24, 2017 7:12 am

Can you see the audioinjector mentioned in /boot/config.txt ?

Can you please send the output from dmesg ?


thanks
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

Zorgius
Posts: 4
Joined: Thu Feb 23, 2017 9:45 pm

Re: Audioinjector and Low LAtency Kernel

Post by Zorgius » Fri Feb 24, 2017 7:03 pm

Here the output from dmesg:

Code: Select all

pi@raspberrypi:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.9-rt17-v7+ (duerrfk@pcvs1) (gcc version 4.8.3 20140106 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.01 - Linaro GCC 2013.11) ) #1 SMP PREEMPT RT Wed May 11 22:46:14 CEST 2016
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Raspberry Pi 2 Model B Rev 1.1
[    0.000000] cma: Reserved 8 MiB at 0x3a800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 241664
[    0.000000] free_area_init_node: node 0, pgdat 808c3dc0, node_mem_map b9fa6000
[    0.000000]   Normal zone: 2124 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 241664 pages, LIFO batch:31
[    0.000000] [bcm2709_smp_init_cpus] enter (9560->f3003010)
[    0.000000] [bcm2709_smp_init_cpus] ncores=4
[    0.000000] PERCPU: Embedded 13 pages/cpu @b9f5e000 s24256 r8192 d20800 u53248
[    0.000000] pcpu-alloc: s24256 r8192 d20800 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 239540
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa01041 bcm2709.serial=0x1aa77bbc smsc95xx.macaddr=B8:27:EB:A7:7B:BC bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    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: 938540K/966656K available (6348K kernel code, 430K rwdata, 1732K rodata, 452K init, 787K bss, 19924K 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 - 0xbb000000   ( 944 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x807ec348   (8081 kB)
      .init : 0x807ed000 - 0x8085e000   ( 452 kB)
      .data : 0x8085e000 - 0x808c9ab4   ( 431 kB)
       .bss : 0x808cc000 - 0x80990c18   ( 788 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected 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.000010] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000025] Switching to timer-based delay loop, resolution 52ns
[    0.000345] Console: colour dummy device 80x30
[    0.000823] console [tty1] enabled
[    0.000858] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000866] pid_max: default: 32768 minimum: 301
[    0.001272] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001287] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002670] Disabling cpuset control group subsystem
[    0.002704] Initializing cgroup subsys io
[    0.002734] Initializing cgroup subsys memory
[    0.002785] Initializing cgroup subsys devices
[    0.002806] Initializing cgroup subsys freezer
[    0.002826] Initializing cgroup subsys net_cls
[    0.002990] CPU: Testing write buffer coherency: ok
[    0.003002] ftrace: allocating 21187 entries in 63 pages
[    0.060615] CPU0: update cpu_capacity 1024
[    0.060720] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.060740] [bcm2709_smp_prepare_cpus] enter
[    0.060889] Setting up static identity map for 0x8240 - 0x8274
[    0.180259] [bcm2709_boot_secondary] cpu:1 started (0) 17
[    0.180694] [bcm2709_secondary_init] enter cpu:1
[    0.180748] CPU1: update cpu_capacity 1024
[    0.180757] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.220357] [bcm2709_boot_secondary] cpu:2 started (0) 17
[    0.220714] [bcm2709_secondary_init] enter cpu:2
[    0.220750] CPU2: update cpu_capacity 1024
[    0.220758] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.260477] [bcm2709_boot_secondary] cpu:3 started (0) 18
[    0.260730] [bcm2709_secondary_init] enter cpu:3
[    0.260761] CPU3: update cpu_capacity 1024
[    0.260769] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.260899] Brought up 4 CPUs
[    0.260935] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.260949] CPU: All CPU(s) started in HYP mode.
[    0.260962] CPU: Virtualization extensions available.
[    0.262080] devtmpfs: initialized
[    0.280667] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.281261] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.282478] pinctrl core: initialized pinctrl subsystem
[    0.283537] NET: Registered protocol family 16
[    0.289488] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.300004] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.300029] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.300258] Serial: AMBA PL011 UART driver
[    0.300790] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[    0.301247] console [ttyAMA0] enabled
[    0.302238] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.392952] bcm2835-dma 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0x1
[    0.395710] SCSI subsystem initialized
[    0.396019] usbcore: registered new interface driver usbfs
[    0.396161] usbcore: registered new interface driver hub
[    0.396387] usbcore: registered new device driver usb
[    0.401008] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-02-20 13:53
[    0.429228] clocksource: Switched to clocksource arch_sys_counter
[    0.509551] FS-Cache: Loaded
[    0.510030] CacheFiles: Loaded
[    0.530390] NET: Registered protocol family 2
[    0.531968] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.532160] TCP bind hash table entries: 8192 (order: 5, 229376 bytes)
[    0.532866] TCP: Hash tables configured (established 8192 bind 8192)
[    0.533043] UDP hash table entries: 512 (order: 3, 32768 bytes)
[    0.533180] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
[    0.533794] NET: Registered protocol family 1
[    0.544487] RPC: Registered named UNIX socket transport module.
[    0.544511] RPC: Registered udp transport module.
[    0.544526] RPC: Registered tcp transport module.
[    0.544541] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.546160] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.548416] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.571000] VFS: Disk quotas dquot_6.6.0
[    0.571498] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.575119] FS-Cache: Netfs 'nfs' registered for caching
[    0.576642] NFS: Registering the id_resolver key type
[    0.576725] Key type id_resolver registered
[    0.576741] Key type id_legacy registered
[    0.581141] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.581429] io scheduler noop registered
[    0.581461] io scheduler deadline registered (default)
[    0.581910] io scheduler cfq registered
[    0.587404] BCM2708FB: allocated DMA memory fac00000
[    0.587615] BCM2708FB: allocated DMA channel 0 @ f3007000
[    0.593755] Console: switching to colour frame buffer device 82x26
[    0.599492] bcm2835-rng 3f104000.rng: hwrng registered
[    0.599662] vc-cma: Videocore CMA driver
[    0.599680] vc-cma: vc_cma_base      = 0x00000000
[    0.599696] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    0.599711] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    0.600082] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[    0.627191] brd: module loaded
[    0.642252] loop: module loaded
[    0.643647] vchiq: vchiq_init_state: slot_zero = 0xbac80000, is_master = 0
[    0.645664] Loading iSCSI transport class v2.0-870.
[    0.646786] usbcore: registered new interface driver smsc95xx
[    0.646874] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.847294] Core Release: 2.80a
[    0.847320] Setting default values for core params
[    0.847375] Finished setting default values for core params
[    1.048054] Using Buffer DMA mode
[    1.048075] Periodic Transfer Interrupt Enhancement - disabled
[    1.048089] Multiprocessor Interrupt Enhancement - disabled
[    1.048104] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.048125] Dedicated Tx FIFOs mode
[    1.048892] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbac14000 dma = 0xfac14000 len=9024
[    1.048936] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[    1.048971] dwc_otg: Microframe scheduler enabled
[    1.049050] WARN::hcd_init_fiq:413: FIQ on core 1 at 0x80448d78
[    1.049060] WARN::hcd_init_fiq:414: FIQ ASM at 0x804490d4 length 36
[    1.049071] WARN::hcd_init_fiq:439: MPHI regs_base at 0xbb87e000
[    1.049167] dwc_otg 3f980000.usb: DWC OTG Controller
[    1.049347] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    1.049558] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    1.049619] Init: Port Power? op_state=1
[    1.049633] Init: Power Port (0)
[    1.050012] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.050036] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.050056] usb usb1: Product: DWC OTG Controller
[    1.050075] usb usb1: Manufacturer: Linux 4.4.9-rt17-v7+ dwc_otg_hcd
[    1.050095] usb usb1: SerialNumber: 3f980000.usb
[    1.051476] hub 1-0:1.0: USB hub found
[    1.051557] hub 1-0:1.0: 1 port detected
[    1.052584] dwc_otg: FIQ enabled
[    1.052602] dwc_otg: NAK holdoff enabled
[    1.052616] dwc_otg: FIQ split-transaction FSM enabled
[    1.052665] Module dwc_common_port init
[    1.053093] usbcore: registered new interface driver usb-storage
[    1.053538] mousedev: PS/2 mouse device common for all mice
[    1.054662] bcm2835-cpufreq: min=600000 max=900000
[    1.055102] sdhci: Secure Digital Host Controller Interface driver
[    1.055119] sdhci: Copyright(c) Pierre Ossman
[    1.055610] sdhost: log_buf @ bac13000 (fac13000)
[    1.129298] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    1.129753] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.130936] hidraw: raw HID events driver (C) Jiri Kosina
[    1.131311] usbcore: registered new interface driver usbhid
[    1.131328] usbhid: USB HID core driver
[    1.132143] Initializing XFRM netlink socket
[    1.132203] NET: Registered protocol family 17
[    1.132447] Key type dns_resolver registered
[    1.133176] Registering SWP/SWPB emulation handler
[    1.134816] registered taskstats version 1
[    1.135129] vc-sm: Videocore shared memory driver
[    1.135154] [vc_sm_connected_init]: start
[    1.136016] [vc_sm_connected_init]: end - returning 0
[    1.136607] of_cfs_init
[    1.136813] of_cfs_init: OK
[    1.138707] Waiting for root device /dev/mmcblk0p2...
[    1.227998] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.230973] mmc0: new high speed SDHC card at address aaaa
[    1.232034] mmcblk0: mmc0:aaaa SL08G 7.40 GiB 
[    1.233793]  mmcblk0: p1 p2
[    1.241596] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    1.241619] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    1.249476] Indeed it is in host mode hprt0 = 00021501
[    1.429304] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.429610] Indeed it is in host mode hprt0 = 00001101
[    1.629953] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    1.630009] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.631530] hub 1-1:1.0: USB hub found
[    1.631758] hub 1-1:1.0: 5 ports detected
[    1.701222] random: nonblocking pool is initialized
[    1.909280] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.009967] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.009993] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.013217] smsc95xx v1.0.4
[    2.076258] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:a7:7b:bc
[    2.602363] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
[    2.602964] EXT4-fs (mmcblk0p2): 1 orphan inode deleted
[    2.602986] EXT4-fs (mmcblk0p2): recovery complete
[    3.047232] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.047329] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    3.048321] devtmpfs: mounted
[    3.049457] Freeing unused kernel memory: 452K (807ed000 - 8085e000)
[    3.344178] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    3.344755] systemd[1]: Detected architecture 'arm'.
[    3.465978] NET: Registered protocol family 10
[    3.468530] systemd[1]: Inserted module 'ipv6'
[    3.478323] systemd[1]: Set hostname to <raspberrypi>.
[    3.589530] uart-pl011 3f201000.uart: no DMA platform data
[    4.067861] systemd[1]: Cannot add dependency job for unit regenerate_ssh_host_keys.service, ignoring: Unit regenerate_ssh_host_keys.service failed to load: No such file or directory.
[    4.073066] systemd[1]: Expecting device dev-ttyAMA0.device...
[    4.073577] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    4.074013] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    4.074134] systemd[1]: Starting Remote File Systems (Pre).
[    4.074250] systemd[1]: Reached target Remote File Systems (Pre).
[    4.074497] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[    4.075329] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    4.075481] systemd[1]: Starting Encrypted Volumes.
[    4.075599] systemd[1]: Reached target Encrypted Volumes.
[    4.075703] systemd[1]: Starting Swap.
[    4.075812] systemd[1]: Reached target Swap.
[    4.075913] systemd[1]: Expecting device dev-mmcblk0p1.device...
[    4.076027] systemd[1]: Starting Root Slice.
[    4.076276] systemd[1]: Created slice Root Slice.
[    4.076378] systemd[1]: Starting Delayed Shutdown Socket.
[    4.076679] systemd[1]: Listening on Delayed Shutdown Socket.
[    4.076783] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[    4.077160] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    4.077264] systemd[1]: Starting Journal Socket (/dev/log).
[    4.077660] systemd[1]: Listening on Journal Socket (/dev/log).
[    4.077767] systemd[1]: Starting User and Session Slice.
[    4.078184] systemd[1]: Created slice User and Session Slice.
[    4.078323] systemd[1]: Starting udev Control Socket.
[    4.078623] systemd[1]: Listening on udev Control Socket.
[    4.078756] systemd[1]: Starting udev Kernel Socket.
[    4.078970] systemd[1]: Listening on udev Kernel Socket.
[    4.079097] systemd[1]: Starting Journal Socket.
[    4.079694] systemd[1]: Listening on Journal Socket.
[    4.079888] systemd[1]: Starting System Slice.
[    4.080306] systemd[1]: Created slice System Slice.
[    4.080430] systemd[1]: Starting system-systemd\x2dfsck.slice.
[    4.080989] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    4.081238] systemd[1]: Starting Increase datagram queue length...
[    4.110420] systemd[1]: Starting Restore / save the current clock...
[    4.117748] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    4.123812] systemd[1]: Mounting POSIX Message Queue File System...
[    4.130819] systemd[1]: Mounting Debug File System...
[    4.145710] systemd[1]: Started Set Up Additional Binary Formats.
[    4.146029] systemd[1]: Mounted Huge Pages File System.
[    4.146212] systemd[1]: Starting udev Coldplug all Devices...
[    4.220572] systemd[1]: Starting Load Kernel Modules...
[    4.260796] systemd[1]: Starting system-autologin.slice.
[    4.263519] systemd[1]: Created slice system-autologin.slice.
[    4.263761] systemd[1]: Starting system-serial\x2dgetty.slice.
[    4.264782] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    4.265183] systemd[1]: Starting File System Check on Root Device...
[    4.273362] systemd[1]: Starting Slices.
[    4.273598] systemd[1]: Reached target Slices.
[    4.280068] systemd[1]: Mounted Debug File System.
[    4.280527] systemd[1]: Mounted POSIX Message Queue File System.
[    4.283571] systemd[1]: Started Increase datagram queue length.
[    4.312167] systemd[1]: Started Restore / save the current clock.
[    4.314850] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    4.330879] fuse init (API version 7.23)
[    4.337513] systemd[1]: Time has been changed
[    4.372413] i2c /dev entries driver
[    4.382355] systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
[    4.387539] systemd[1]: Failed to start Load Kernel Modules.
[    4.393900] systemd[1]: Unit systemd-modules-load.service entered failed state.
[    4.424688] systemd[1]: Started udev Coldplug all Devices.
[    4.444169] systemd[1]: Started File System Check on Root Device.
[    4.586031] systemd[1]: Starting Apply Kernel Variables...
[    4.621043] systemd[1]: Mounting Configuration File System...
[    4.626622] systemd[1]: Mounting FUSE Control File System...
[    4.634180] systemd[1]: Starting Create Static Device Nodes in /dev...
[    4.641543] systemd[1]: Starting Syslog Socket.
[    4.642819] systemd[1]: Listening on Syslog Socket.
[    4.643128] systemd[1]: Starting Journal Service...
[    4.660514] systemd[1]: Started Journal Service.
[    4.848922] systemd-udevd[163]: starting version 215
[    5.702849] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    5.717730] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    6.218407] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    7.671630] systemd-journald[159]: Received request to flush runtime journal from PID 1
[    9.946163] cfg80211: World regulatory domain updated:
[    9.946196] cfg80211:  DFS Master region: unset
[    9.946208] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    9.946224] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    9.946240] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    9.946253] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    9.946268] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    9.946306] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    9.946451] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    9.946467] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    9.946480] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   10.144040] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   10.144681] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.504706] Adding 102396k swap on /var/swap.  Priority:-1 extents:4 across:217088k SSFS
[   11.755551] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   11.757023] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[   12.940948] warning: process `colord-sane' used the deprecated sysctl system call with 8.1.2.
[   18.427247] Bluetooth: Core ver 2.21
[   18.427407] NET: Registered protocol family 31
[   18.427422] Bluetooth: HCI device and connection manager initialized
[   18.427455] Bluetooth: HCI socket layer initialized
[   18.427492] Bluetooth: L2CAP socket layer initialized
[   18.427574] Bluetooth: SCO socket layer initialized
[   18.467278] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   18.467306] Bluetooth: BNEP filters: protocol multicast
[   18.467337] Bluetooth: BNEP socket layer initialized
In /boot/config.txt i see correctly

Code: Select all

# Enable audio (loads snd_bcm2835)
#dtparam=audio=on
# enable the AudioInjector.net sound card
        dtoverlay=audioinjector-wm8731-audio

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Audioinjector and Low LAtency Kernel

Post by flatmax » Fri Feb 24, 2017 7:56 pm

Strange, I don't see any mention of the audioinjector in your dmesg output.
Can you please check the contents of your overlay directory, mine is :
pi@raspberrypi:~ $ find /boot/overlays/ -name '*audioinj*'
/boot/overlays/audioinjector-wm8731-audio.dtbo

I also have my drivers present here :
pi@raspberrypi:~ $ find /lib/modules/ -name '*audioinj*'
/lib/modules/4.4.45-v7+/kernel/sound/soc/bcm/snd-soc-audioinjector-pi-soundcard.ko
/lib/modules/4.4.45+/kernel/sound/soc/bcm/snd-soc-audioinjector-pi-soundcard.ko
/lib/modules/4.4.38+/kernel/sound/soc/bcm/snd-soc-audioinjector-pi-soundcard.ko
/lib/modules/4.4.38-v7+/kernel/sound/soc/bcm/snd-soc-audioinjector-pi-soundcard.ko

My linux version is 4.4.45-v7+ :
pi@raspberrypi:~ $ cat /proc/version
Linux version 4.4.45-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #954 SMP Fri Jan 27 19:06:40 GMT 2017

And you can see above snd-soc-audioinjector-pi-soundcard.ko is present in the /lib/modules/4.4.45-v7+ directory.

Can you please confirm you can find all of the necessary files on your system ?

thanks
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

Zorgius
Posts: 4
Joined: Thu Feb 23, 2017 9:45 pm

Re: Audioinjector and Low LAtency Kernel

Post by Zorgius » Fri Feb 24, 2017 8:07 pm

Thanks for the response.

I can't find nothing in /boot/overlays:

Code: Select all

pi@raspberrypi:/boot/overlays $ find /boot/overlays/ -name '*audioinj*'
but i can find them in modules :

Code: Select all

pi@raspberrypi:/boot/overlays $ find /lib/modules/ -name '*audioinj*'
/lib/modules/4.4.38+/kernel/sound/soc/bcm/snd-soc-audioinjector-pi-soundcard.ko
/lib/modules/4.4.38-v7+/kernel/sound/soc/bcm/snd-soc-audioinjector-pi-soundcard.ko
/lib/modules/4.9.11+/kernel/sound/soc/bcm/snd-soc-audioinjector-pi-soundcard.ko
/lib/modules/4.9.11-v7+/kernel/sound/soc/bcm/snd-soc-audioinjector-pi-soundcard.ko
for kernels 4.9.11 and also for 4.4.38. So it doesn't charge it on boot?

Zorgius
Posts: 4
Joined: Thu Feb 23, 2017 9:45 pm

Re: Audioinjector and Low LAtency Kernel

Post by Zorgius » Fri Feb 24, 2017 8:39 pm

I find root "audioinjector-wm8731-audio.dtbo" In /boot.bak

Code: Select all

root@raspberrypi:/# find -name 'audioinj*'
./boot.bak/overlays/audioinjector-wm8731-audio.dtbo
so i do :

Code: Select all

root@raspberrypi:/# cp ./boot.bak/overlays/audioinjector-wm8731-audio.dtbo ./boot/overlays/audioinjector-wm8731-audio.dtbo
and now it's correctly located, but the soundcard not work.

If i do dmesg, i only obtain:

Code: Select all

pi@raspberrypi:~ $ dmesg | grep wm8731
[    5.498365] wm8731 1-001a: Assuming static MCLK

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: Audioinjector and Low LAtency Kernel

Post by flatmax » Sat Feb 25, 2017 9:07 pm

I am not sure this is the correct way to go about this .. none the less...

What version of the kernel is running ?
Are the audio injector modules now found ?
Can you post your full dmesg output again please ?

thanks
Matt
p.s. It would be better to install a kernel which has everything released properly.
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

EvanFooma
Posts: 2
Joined: Sat Mar 25, 2017 1:28 am
Location: Poland
Contact:

Audioinjector and Low LAtency Kernel

Post by EvanFooma » Thu Mar 30, 2017 10:34 pm

Wrong tool for the job.

If you need low latency, you need video conferencing not web streaming.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests