Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dmesg
- [ 0.000000] Booting Linux on physical CPU 0x0
- [ 0.000000] Linux version 4.10.0-rc8 (maik@L520-U1604) (gcc version 5.4.0 (Buildroot 2017.02-git-01208-g29c00e4-dirty) ) #1 SMP Sun Feb 19 11:18:36 CET 2017
- [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
- [ 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: FriendlyARM NanoPi NEO
- [ 0.000000] Memory policy: Data cache writealloc
- [ 0.000000] On node 0 totalpages: 131072
- [ 0.000000] free_area_init_node: node 0, pgdat c094d000, node_mem_map dfba0000
- [ 0.000000] Normal zone: 1024 pages used for memmap
- [ 0.000000] Normal zone: 0 pages reserved
- [ 0.000000] Normal zone: 131072 pages, LIFO batch:31
- [ 0.000000] psci: probing for conduit method from DT.
- [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
- [ 0.000000] percpu: Embedded 14 pages/cpu @dffb5000 s24716 r8192 d24436 u57344
- [ 0.000000] pcpu-alloc: s24716 r8192 d24436 u57344 alloc=14*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: 130048
- [ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
- [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
- [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
- [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
- [ 0.000000] Memory: 510692K/524288K available (5120K kernel code, 310K rwdata, 1356K rodata, 1024K init, 266K bss, 13596K reserved, 0K cma-reserved, 0K highmem)
- [ 0.000000] Virtual kernel memory layout:
- [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
- [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
- [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
- [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
- [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
- [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
- [ 0.000000] .text : 0xc0008000 - 0xc0600000 (6112 kB)
- [ 0.000000] .init : 0xc0800000 - 0xc0900000 (1024 kB)
- [ 0.000000] .data : 0xc0900000 - 0xc094d900 ( 311 kB)
- [ 0.000000] .bss : 0xc094f000 - 0xc09918f4 ( 267 kB)
- [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
- [ 0.000000] Hierarchical RCU implementation.
- [ 0.000000] Build-time adjustment of leaf fanout to 32.
- [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
- [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=4
- [ 0.000000] NR_IRQS:16 nr_irqs:16 16
- [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
- [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
- [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
- [ 0.000017] Switching to timer-based delay loop, resolution 41ns
- [ 0.000157] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
- [ 0.000389] Console: colour dummy device 80x30
- [ 0.000420] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
- [ 0.000433] pid_max: default: 32768 minimum: 301
- [ 0.000537] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.000546] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
- [ 0.001178] CPU: Testing write buffer coherency: ok
- [ 0.001503] /cpus/cpu@0 missing clock-frequency property
- [ 0.001517] /cpus/cpu@1 missing clock-frequency property
- [ 0.001527] /cpus/cpu@2 missing clock-frequency property
- [ 0.001539] /cpus/cpu@3 missing clock-frequency property
- [ 0.001550] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
- [ 0.001809] Setting up static identity map for 0x40100000 - 0x40100058
- [ 0.002437] smp: Bringing up secondary CPUs ...
- [ 0.013098] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
- [ 0.023766] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
- [ 0.034427] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
- [ 0.034483] smp: Brought up 1 node, 4 CPUs
- [ 0.034503] SMP: Total of 4 processors activated (192.00 BogoMIPS).
- [ 0.034509] CPU: All CPU(s) started in HYP mode.
- [ 0.034514] CPU: Virtualization extensions available.
- [ 0.035232] devtmpfs: initialized
- [ 0.038996] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
- [ 0.039218] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
- [ 0.039300] pinctrl core: initialized pinctrl subsystem
- [ 0.040134] NET: Registered protocol family 16
- [ 0.040474] DMA: preallocated 256 KiB pool for atomic coherent allocations
- [ 0.041519] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
- [ 0.041529] hw-breakpoint: maximum watchpoint size is 8 bytes.
- [ 0.052804] SCSI subsystem initialized
- [ 0.053029] libata version 3.00 loaded.
- [ 0.053261] usbcore: registered new interface driver usbfs
- [ 0.053320] usbcore: registered new interface driver hub
- [ 0.053378] usbcore: registered new device driver usb
- [ 0.053595] pps_core: LinuxPPS API ver. 1 registered
- [ 0.053603] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
- [ 0.053624] PTP clock support registered
- [ 0.053831] Advanced Linux Sound Architecture Driver Initialized.
- [ 0.054704] clocksource: Switched to clocksource arch_sys_counter
- [ 0.062631] NET: Registered protocol family 2
- [ 0.063137] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
- [ 0.063187] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
- [ 0.063249] TCP: Hash tables configured (established 4096 bind 4096)
- [ 0.063313] UDP hash table entries: 256 (order: 1, 8192 bytes)
- [ 0.063353] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
- [ 0.063543] NET: Registered protocol family 1
- [ 0.063925] RPC: Registered named UNIX socket transport module.
- [ 0.063936] RPC: Registered udp transport module.
- [ 0.063941] RPC: Registered tcp transport module.
- [ 0.063946] RPC: Registered tcp NFSv4.1 backchannel transport module.
- [ 0.065398] futex hash table entries: 1024 (order: 4, 65536 bytes)
- [ 0.066052] workingset: timestamp_bits=30 max_order=17 bucket_order=0
- [ 0.074243] NFS: Registering the id_resolver key type
- [ 0.074288] Key type id_resolver registered
- [ 0.074295] Key type id_legacy registered
- [ 0.075380] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
- [ 0.075395] io scheduler noop registered
- [ 0.075401] io scheduler deadline registered
- [ 0.075544] io scheduler cfq registered (default)
- [ 0.080640] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
- [ 0.082368] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
- [ 0.135641] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
- [ 0.138291] console [ttyS0] disabled
- [ 0.158458] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 31, base_baud = 1500000) is a U6_16550A
- [ 0.765884] console [ttyS0] enabled
- [ 0.769906] [drm] Initialized
- [ 0.774105] libphy: Fixed MDIO Bus: probed
- [ 0.778244] CAN device driver interface
- [ 0.782368] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
- [ 0.788907] ehci-platform: EHCI generic platform driver
- [ 0.794331] ehci-platform 1c1d000.usb: EHCI Host Controller
- [ 0.799947] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 1
- [ 0.807827] ehci-platform 1c1d000.usb: irq 24, io mem 0x01c1d000
- [ 0.834728] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
- [ 0.841585] hub 1-0:1.0: USB hub found
- [ 0.845411] hub 1-0:1.0: 1 port detected
- [ 0.849730] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
- [ 0.855942] ohci-platform: OHCI generic platform driver
- [ 0.861329] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
- [ 0.867968] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 2
- [ 0.875842] ohci-platform 1c1d400.usb: irq 25, io mem 0x01c1d400
- [ 0.949379] hub 2-0:1.0: USB hub found
- [ 0.953157] hub 2-0:1.0: 1 port detected
- [ 0.958209] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
- [ 0.965025] sun6i-rtc 1f00000.rtc: RTC enabled
- [ 0.969584] i2c /dev entries driver
- [ 0.973286] IR NEC protocol handler initialized
- [ 0.977825] IR RC5(x/sz) protocol handler initialized
- [ 0.982868] IR RC6 protocol handler initialized
- [ 0.987404] IR JVC protocol handler initialized
- [ 0.991927] IR Sony protocol handler initialized
- [ 0.996545] IR SANYO protocol handler initialized
- [ 1.001242] IR Sharp protocol handler initialized
- [ 1.005953] IR MCE Keyboard/mouse protocol handler initialized
- [ 1.011775] IR XMP protocol handler initialized
- [ 1.016774] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
- [ 1.024933] cpu cpu0: failed to get clock: -2
- [ 1.029295] cpufreq-dt: probe of cpufreq-dt failed with error -2
- [ 1.036162] sunxi-mmc 1c0f000.mmc: Got CD GPIO
- [ 1.094728] sunxi-mmc 1c0f000.mmc: base:0xe0875000 irq:23
- [ 1.101367] usbcore: registered new interface driver usbhid
- [ 1.106976] usbhid: USB HID core driver
- [ 1.111859] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01f015c0 not registered
- [ 1.119823] sun4i-codec 1c22c00.codec: Failed to register our card
- [ 1.126635] NET: Registered protocol family 17
- [ 1.131101] can: controller area network core (rev 20120528 abi 9)
- [ 1.137541] NET: Registered protocol family 29
- [ 1.141983] can: raw protocol (rev 20120528)
- [ 1.146273] can: broadcast manager protocol (rev 20161123 t)
- [ 1.151932] can: netlink gateway (rev 20130117) max_hops=1
- [ 1.157662] Key type dns_resolver registered
- [ 1.162036] Registering SWP/SWPB emulation handler
- [ 1.173739] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
- [ 1.181916] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:05 UTC (5)
- [ 1.190102] vcc3v0: disabling
- [ 1.193072] vcc5v0: disabling
- [ 1.196050] ALSA device list:
- [ 1.199015] #0: H3 Audio Codec
- [ 1.202810] Waiting for root device /dev/mmcblk0p2...
- [ 1.207911] usb 1-1: new high-speed USB device number 2 using ehci-platform
- [ 1.212128] mmc0: host does not support reading read-only switch, assuming write-enable
- [ 1.214346] mmc0: new high speed SDHC card at address 0007
- [ 1.214979] mmcblk0: mmc0:0007 SD08G 7.42 GiB
- [ 1.229813] mmcblk0: p1 p2
- [ 1.238021] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
- [ 1.248171] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
- [ 1.260747] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
- [ 1.268067] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
- [ 1.386392] random: fast init done
- [ 1.426142] hub 1-1:1.0: USB hub found
- [ 1.429985] hub 1-1:1.0: 4 ports detected
- [ 1.717934] random: crng init done
- [ 1.754709] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
- [ 2.004710] usb 1-1.4: new high-speed USB device number 4 using ehci-platform
- [ 2.343834] EXT4-fs (mmcblk0p2): recovery complete
- [ 2.354975] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
- [ 2.363110] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
- [ 2.373863] devtmpfs: mounted
- [ 2.377961] Freeing unused kernel memory: 1024K
- [ 2.511333] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro,data=ordered
- cat /proc/asound/cards
- 0 [Codec ]: H3_Audio_Codec - H3 Audio Codec
- H3 Audio Codec
- cat /etc/asound.conf
- pcm.!default {
- type hw
- card 0
- device 0
- }
- ctl.!default {
- type hw
- card 0
- }
- # aplay -l
- **** List of PLAYBACK Hardware Devices ****
- card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 []
- Subdevices: 1/1
- Subdevice #0: subdevice #0
- amixer contents
- numid=17,iface=MIXER,name='Line In Capture Switch'
- ; type=BOOLEAN,access=rw------,values=2
- : values=off,off
- numid=12,iface=MIXER,name='Line In Playback Switch'
- ; type=BOOLEAN,access=rw------,values=2
- : values=off,off
- numid=4,iface=MIXER,name='Line In Playback Volume'
- ; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
- : values=3
- | dBscale-min=-4.50dB,step=1.50dB,mute=0
- numid=3,iface=MIXER,name='Line Out Playback Switch'
- ; type=BOOLEAN,access=rw------,values=2
- : values=off,off
- numid=2,iface=MIXER,name='Line Out Playback Volume'
- ; type=INTEGER,access=rw---R--,values=1,min=0,max=31,step=0
- : values=0
- | dBrange-
- rangemin=0,,rangemax=1
- | dBscale-min=-99999.99dB,step=0.00dB,mute=1
- rangemin=2,,rangemax=31
- | dBscale-min=-43.50dB,step=1.50dB,mute=0
- numid=20,iface=MIXER,name='Line Out Source Playback Route'
- ; type=ENUMERATED,access=rw------,values=2,items=2
- ; Item #0 'Stereo'
- ; Item #1 'Mono Differential'
- : values=0,0
- numid=7,iface=MIXER,name='Mic1 Boost Volume'
- ; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
- : values=4
- | dBrange-
- rangemin=0,,rangemax=0
- | dBscale-min=0.00dB,step=0.00dB,mute=0
- rangemin=1,,rangemax=7
- | dBscale-min=24.00dB,step=3.00dB,mute=0
- numid=18,iface=MIXER,name='Mic1 Capture Switch'
- ; type=BOOLEAN,access=rw------,values=2
- : values=off,off
- numid=13,iface=MIXER,name='Mic1 Playback Switch'
- ; type=BOOLEAN,access=rw------,values=2
- : values=off,off
- numid=5,iface=MIXER,name='Mic1 Playback Volume'
- ; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
- : values=3
- | dBscale-min=-4.50dB,step=1.50dB,mute=0
- numid=8,iface=MIXER,name='Mic2 Boost Volume'
- ; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
- : values=4
- | dBrange-
- rangemin=0,,rangemax=0
- | dBscale-min=0.00dB,step=0.00dB,mute=0
- rangemin=1,,rangemax=7
- | dBscale-min=24.00dB,step=3.00dB,mute=0
- numid=19,iface=MIXER,name='Mic2 Capture Switch'
- ; type=BOOLEAN,access=rw------,values=2
- : values=off,off
- numid=14,iface=MIXER,name='Mic2 Playback Switch'
- ; type=BOOLEAN,access=rw------,values=2
- : values=off,off
- numid=6,iface=MIXER,name='Mic2 Playback Volume'
- ; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
- : values=3
- | dBscale-min=-4.50dB,step=1.50dB,mute=0
- numid=9,iface=MIXER,name='ADC Gain Capture Volume'
- ; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
- : values=3
- | dBscale-min=-4.50dB,step=1.50dB,mute=0
- numid=10,iface=MIXER,name='DAC Playback Switch'
- ; type=BOOLEAN,access=rw------,values=2
- : values=off,off
- numid=1,iface=MIXER,name='DAC Playback Volume'
- ; type=INTEGER,access=rw---R--,values=1,min=0,max=63,step=0
- : values=63
- | dBscale-min=-73.08dB,step=1.16dB,mute=0
- numid=11,iface=MIXER,name='DAC Reversed Playback Switch'
- ; type=BOOLEAN,access=rw------,values=2
- : values=off,off
- numid=15,iface=MIXER,name='Mixer Capture Switch'
- ; type=BOOLEAN,access=rw------,values=2
- : values=off,off
- numid=16,iface=MIXER,name='Mixer Reversed Capture Switch'
- ; type=BOOLEAN,access=rw------,values=2
- : values=off,off
- alsamixer ... "LineOut Volume" set 0 0dB
- # speaker-test -twav -c2
- speaker-test 1.1.3
- Playback device is default
- Stream parameters are 48000Hz, S16_LE, 2 channels
- WAV file(s)
- Rate set to 48000Hz (requested 48000Hz)
- Buffer size range from 128 to 131072
- Period size range from 64 to 16384
- Using max buffer size 131072
- Periods = 4
- was set period_size = 16384
- was set buffer_size = 131072
- 0 - Front Left
- 1 - Front Right
- => no audio at the line out pins ???
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement