Advertisement
Guest User

Untitled

a guest
Apr 17th, 2017
725
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.77 KB | None | 0 0
  1.  
  2. Playback device is default
  3. Stream parameters are 48000Hz, S16_LE, 2 channels
  4. Using 16 octaves of pink noise
  5. Rate set to 48000Hz (requested 48000Hz)
  6. Buffer size range from 128 to 131072
  7. Period size range from 64 to 16384
  8. Using max buffer size 131072
  9. Periods = 4
  10. was set period_size = 16384
  11. was set buffer_size = 131072
  12. 0 - Front Left
  13. 1 - Front Right
  14. ^CTime per period = 2.796267
  15. #
  16. # dmesg
  17. [ 0.000000] Booting Linux on physical CPU 0x0
  18. [ 0.000000] Linux version 4.11.0-rc6 (maik@maik-VirtualBox) (gcc version 5.4.0 (Buildroot 2017.05-git-gfd738c8) ) #1 SMP Sat Apr 15 19:24:25 CEST 2017
  19. [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
  20. [ 0.000000] CPU: div instructions available: patching division code
  21. [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  22. [ 0.000000] OF: fdt: Machine model: FriendlyARM NanoPi NEO
  23. [ 0.000000] Memory policy: Data cache writealloc
  24. [ 0.000000] On node 0 totalpages: 131072
  25. [ 0.000000] free_area_init_node: node 0, pgdat c09594c0, node_mem_map dfba0000
  26. [ 0.000000] Normal zone: 1024 pages used for memmap
  27. [ 0.000000] Normal zone: 0 pages reserved
  28. [ 0.000000] Normal zone: 131072 pages, LIFO batch:31
  29. [ 0.000000] psci: probing for conduit method from DT.
  30. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
  31. [ 0.000000] percpu: Embedded 16 pages/cpu @dffad000 s32908 r8192 d24436 u65536
  32. [ 0.000000] pcpu-alloc: s32908 r8192 d24436 u65536 alloc=16*4096
  33. [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
  34. [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
  35. [ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
  36. [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
  37. [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
  38. [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
  39. [ 0.000000] Memory: 510612K/524288K available (5120K kernel code, 359K rwdata, 1380K rodata, 1024K init, 266K bss, 13676K reserved, 0K cma-reserved, 0K highmem)
  40. [ 0.000000] Virtual kernel memory layout:
  41. [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
  42. [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
  43. [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
  44. [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
  45. [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
  46. [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
  47. [ 0.000000] .text : 0xc0008000 - 0xc0600000 (6112 kB)
  48. [ 0.000000] .init : 0xc0800000 - 0xc0900000 (1024 kB)
  49. [ 0.000000] .data : 0xc0900000 - 0xc0959dc0 ( 360 kB)
  50. [ 0.000000] .bss : 0xc095b000 - 0xc099d914 ( 267 kB)
  51. [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  52. [ 0.000000] Hierarchical RCU implementation.
  53. [ 0.000000] Build-time adjustment of leaf fanout to 32.
  54. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
  55. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=4
  56. [ 0.000000] NR_IRQS:16 nr_irqs:16 16
  57. [ 0.000000] GIC: Using split EOI/Deactivate mode
  58. [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
  59. [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
  60. [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  61. [ 0.000018] Switching to timer-based delay loop, resolution 41ns
  62. [ 0.000154] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
  63. [ 0.000388] Console: colour dummy device 80x30
  64. [ 0.000419] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
  65. [ 0.000434] pid_max: default: 32768 minimum: 301
  66. [ 0.000553] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  67. [ 0.000563] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  68. [ 0.001103] CPU: Testing write buffer coherency: ok
  69. [ 0.001427] /cpus/cpu@0 missing clock-frequency property
  70. [ 0.001443] /cpus/cpu@1 missing clock-frequency property
  71. [ 0.001453] /cpus/cpu@2 missing clock-frequency property
  72. [ 0.001464] /cpus/cpu@3 missing clock-frequency property
  73. [ 0.001476] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
  74. [ 0.001795] Setting up static identity map for 0x40100000 - 0x40100058
  75. [ 0.002379] smp: Bringing up secondary CPUs ...
  76. [ 0.013023] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
  77. [ 0.023677] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
  78. [ 0.034318] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
  79. [ 0.034372] smp: Brought up 1 node, 4 CPUs
  80. [ 0.034393] SMP: Total of 4 processors activated (192.00 BogoMIPS).
  81. [ 0.034399] CPU: All CPU(s) started in HYP mode.
  82. [ 0.034404] CPU: Virtualization extensions available.
  83. [ 0.035127] devtmpfs: initialized
  84. [ 0.038297] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
  85. [ 0.038511] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  86. [ 0.038531] futex hash table entries: 1024 (order: 4, 65536 bytes)
  87. [ 0.038773] pinctrl core: initialized pinctrl subsystem
  88. [ 0.039625] NET: Registered protocol family 16
  89. [ 0.039971] DMA: preallocated 256 KiB pool for atomic coherent allocations
  90. [ 0.040896] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
  91. [ 0.040905] hw-breakpoint: maximum watchpoint size is 8 bytes.
  92. [ 0.052123] SCSI subsystem initialized
  93. [ 0.052355] libata version 3.00 loaded.
  94. [ 0.052597] usbcore: registered new interface driver usbfs
  95. [ 0.052656] usbcore: registered new interface driver hub
  96. [ 0.052717] usbcore: registered new device driver usb
  97. [ 0.052905] pps_core: LinuxPPS API ver. 1 registered
  98. [ 0.052913] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  99. [ 0.052934] PTP clock support registered
  100. [ 0.053174] Advanced Linux Sound Architecture Driver Initialized.
  101. [ 0.054052] clocksource: Switched to clocksource arch_sys_counter
  102. [ 0.062075] NET: Registered protocol family 2
  103. [ 0.062555] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
  104. [ 0.062603] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
  105. [ 0.062666] TCP: Hash tables configured (established 4096 bind 4096)
  106. [ 0.062778] UDP hash table entries: 256 (order: 1, 8192 bytes)
  107. [ 0.062819] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  108. [ 0.063007] NET: Registered protocol family 1
  109. [ 0.063383] RPC: Registered named UNIX socket transport module.
  110. [ 0.063394] RPC: Registered udp transport module.
  111. [ 0.063400] RPC: Registered tcp transport module.
  112. [ 0.063405] RPC: Registered tcp NFSv4.1 backchannel transport module.
  113. [ 0.065154] workingset: timestamp_bits=30 max_order=17 bucket_order=0
  114. [ 0.073222] NFS: Registering the id_resolver key type
  115. [ 0.073258] Key type id_resolver registered
  116. [ 0.073265] Key type id_legacy registered
  117. [ 0.074194] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
  118. [ 0.074209] io scheduler noop registered
  119. [ 0.074215] io scheduler deadline registered
  120. [ 0.074401] io scheduler cfq registered (default)
  121. [ 0.074409] io scheduler mq-deadline registered
  122. [ 0.079083] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
  123. [ 0.080800] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
  124. [ 0.133720] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
  125. [ 0.136418] console [ttyS0] disabled
  126. [ 0.156592] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 31, base_baud = 1500000) is a U6_16550A
  127. [ 0.772552] console [ttyS0] enabled
  128. [ 0.777889] libphy: Fixed MDIO Bus: probed
  129. [ 0.781987] CAN device driver interface
  130. [ 0.786198] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  131. [ 0.792719] ehci-platform: EHCI generic platform driver
  132. [ 0.798174] ehci-platform 1c1d000.usb: EHCI Host Controller
  133. [ 0.803791] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 1
  134. [ 0.811667] ehci-platform 1c1d000.usb: irq 24, io mem 0x01c1d000
  135. [ 0.844056] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
  136. [ 0.850974] hub 1-0:1.0: USB hub found
  137. [ 0.854773] hub 1-0:1.0: 1 port detected
  138. [ 0.859134] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  139. [ 0.865334] ohci-platform: OHCI generic platform driver
  140. [ 0.870738] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
  141. [ 0.877380] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 2
  142. [ 0.885215] ohci-platform 1c1d400.usb: irq 25, io mem 0x01c1d400
  143. [ 0.958789] hub 2-0:1.0: USB hub found
  144. [ 0.962569] hub 2-0:1.0: 1 port detected
  145. [ 0.967627] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
  146. [ 0.974427] sun6i-rtc 1f00000.rtc: RTC enabled
  147. [ 0.978971] i2c /dev entries driver
  148. [ 0.982670] IR NEC protocol handler initialized
  149. [ 0.987208] IR RC5(x/sz) protocol handler initialized
  150. [ 0.992251] IR RC6 protocol handler initialized
  151. [ 0.996782] IR JVC protocol handler initialized
  152. [ 1.001304] IR Sony protocol handler initialized
  153. [ 1.005921] IR SANYO protocol handler initialized
  154. [ 1.010616] IR Sharp protocol handler initialized
  155. [ 1.015324] IR MCE Keyboard/mouse protocol handler initialized
  156. [ 1.021147] IR XMP protocol handler initialized
  157. [ 1.026134] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
  158. [ 1.034281] cpu cpu0: failed to get clock: -2
  159. [ 1.038649] cpufreq-dt: probe of cpufreq-dt failed with error -2
  160. [ 1.045442] sunxi-mmc 1c0f000.mmc: Got CD GPIO
  161. [ 1.104073] sunxi-mmc 1c0f000.mmc: base:0xe0876000 irq:23
  162. [ 1.110497] usbcore: registered new interface driver usbhid
  163. [ 1.116101] usbhid: USB HID core driver
  164. [ 1.120817] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01f015c0 not registered
  165. [ 1.128779] sun4i-codec 1c22c00.codec: Failed to register our card
  166. [ 1.135652] NET: Registered protocol family 17
  167. [ 1.140136] can: controller area network core (rev 20120528 abi 9)
  168. [ 1.146532] NET: Registered protocol family 29
  169. [ 1.150973] can: raw protocol (rev 20120528)
  170. [ 1.155252] can: broadcast manager protocol (rev 20161123 t)
  171. [ 1.160907] can: netlink gateway (rev 20130117) max_hops=1
  172. [ 1.166617] Key type dns_resolver registered
  173. [ 1.170984] Registering SWP/SWPB emulation handler
  174. [ 1.185890] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
  175. [ 1.194763] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:05 UTC (5)
  176. [ 1.202937] vcc3v0: disabling
  177. [ 1.205939] vcc5v0: disabling
  178. [ 1.208903] ALSA device list:
  179. [ 1.211865] #0: H3 Audio Codec
  180. [ 1.215688] Waiting for root device /dev/mmcblk0p2...
  181. [ 1.261436] mmc0: host does not support reading read-only switch, assuming write-enable
  182. [ 1.271933] mmc0: new high speed SDHC card at address 0007
  183. [ 1.277970] mmcblk0: mmc0:0007 SD08G 7.42 GiB
  184. [ 1.283998] mmcblk0: p1 p2
  185. [ 1.306457] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
  186. [ 1.316760] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
  187. [ 1.329889] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
  188. [ 1.337210] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
  189. [ 1.568623] random: fast init done
  190. [ 1.906811] random: crng init done
  191. [ 2.236449] EXT4-fs (mmcblk0p2): recovery complete
  192. [ 2.258173] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
  193. [ 2.266347] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
  194. [ 2.276273] devtmpfs: mounted
  195. [ 2.280341] Freeing unused kernel memory: 1024K
  196. [ 2.378421] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro,data=ordered
  197.  
  198. # cat /etc/asound.conf
  199. pcm.!default {
  200. type hw
  201. card 0
  202. device 0
  203. }
  204. ctl.!default {
  205. type hw
  206. card 0
  207. }
  208.  
  209.  
  210. # cat /proc/asound/cards
  211. 0 [Codec ]: H3_Audio_Codec - H3 Audio Codec
  212. H3 Audio Codec
  213.  
  214.  
  215. # aplay -l
  216. **** List of PLAYBACK Hardware Devices ****
  217. card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 []
  218. Subdevices: 1/1
  219. Subdevice #0: subdevice #0
  220.  
  221. With alsamixer "unmute "Line Out""
  222.  
  223.  
  224.  
  225.  
  226.  
  227. # speaker-test -c 2
  228. speaker-test 1.1.3
  229. Playback device is default
  230. Stream parameters are 48000Hz, S16_LE, 2 channels
  231. Using 16 octaves of pink noise
  232. Rate set to 48000Hz (requested 48000Hz)
  233. Buffer size range from 128 to 131072
  234. Period size range from 64 to 16384
  235. Using max buffer size 131072
  236. Periods = 4
  237. was set period_size = 16384
  238. was set buffer_size = 131072
  239. 0 - Front Left
  240. 1 - Front Right
  241.  
  242. No sound on the pins?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement