Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.79 KB | None | 0 0
  1. dmesg
  2. [ 0.000000] Booting Linux on physical CPU 0x0
  3. [ 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
  4. [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
  5. [ 0.000000] CPU: div instructions available: patching division code
  6. [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  7. [ 0.000000] OF: fdt:Machine model: FriendlyARM NanoPi NEO
  8. [ 0.000000] Memory policy: Data cache writealloc
  9. [ 0.000000] On node 0 totalpages: 131072
  10. [ 0.000000] free_area_init_node: node 0, pgdat c094d000, node_mem_map dfba0000
  11. [ 0.000000] Normal zone: 1024 pages used for memmap
  12. [ 0.000000] Normal zone: 0 pages reserved
  13. [ 0.000000] Normal zone: 131072 pages, LIFO batch:31
  14. [ 0.000000] psci: probing for conduit method from DT.
  15. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
  16. [ 0.000000] percpu: Embedded 14 pages/cpu @dffb5000 s24716 r8192 d24436 u57344
  17. [ 0.000000] pcpu-alloc: s24716 r8192 d24436 u57344 alloc=14*4096
  18. [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
  19. [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
  20. [ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
  21. [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
  22. [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
  23. [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
  24. [ 0.000000] Memory: 510692K/524288K available (5120K kernel code, 310K rwdata, 1356K rodata, 1024K init, 266K bss, 13596K reserved, 0K cma-reserved, 0K highmem)
  25. [ 0.000000] Virtual kernel memory layout:
  26. [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
  27. [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
  28. [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
  29. [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
  30. [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
  31. [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
  32. [ 0.000000] .text : 0xc0008000 - 0xc0600000 (6112 kB)
  33. [ 0.000000] .init : 0xc0800000 - 0xc0900000 (1024 kB)
  34. [ 0.000000] .data : 0xc0900000 - 0xc094d900 ( 311 kB)
  35. [ 0.000000] .bss : 0xc094f000 - 0xc09918f4 ( 267 kB)
  36. [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  37. [ 0.000000] Hierarchical RCU implementation.
  38. [ 0.000000] Build-time adjustment of leaf fanout to 32.
  39. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
  40. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=4
  41. [ 0.000000] NR_IRQS:16 nr_irqs:16 16
  42. [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
  43. [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
  44. [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  45. [ 0.000017] Switching to timer-based delay loop, resolution 41ns
  46. [ 0.000157] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
  47. [ 0.000389] Console: colour dummy device 80x30
  48. [ 0.000420] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
  49. [ 0.000433] pid_max: default: 32768 minimum: 301
  50. [ 0.000537] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  51. [ 0.000546] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  52. [ 0.001178] CPU: Testing write buffer coherency: ok
  53. [ 0.001503] /cpus/cpu@0 missing clock-frequency property
  54. [ 0.001517] /cpus/cpu@1 missing clock-frequency property
  55. [ 0.001527] /cpus/cpu@2 missing clock-frequency property
  56. [ 0.001539] /cpus/cpu@3 missing clock-frequency property
  57. [ 0.001550] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
  58. [ 0.001809] Setting up static identity map for 0x40100000 - 0x40100058
  59. [ 0.002437] smp: Bringing up secondary CPUs ...
  60. [ 0.013098] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
  61. [ 0.023766] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
  62. [ 0.034427] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
  63. [ 0.034483] smp: Brought up 1 node, 4 CPUs
  64. [ 0.034503] SMP: Total of 4 processors activated (192.00 BogoMIPS).
  65. [ 0.034509] CPU: All CPU(s) started in HYP mode.
  66. [ 0.034514] CPU: Virtualization extensions available.
  67. [ 0.035232] devtmpfs: initialized
  68. [ 0.038996] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
  69. [ 0.039218] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  70. [ 0.039300] pinctrl core: initialized pinctrl subsystem
  71. [ 0.040134] NET: Registered protocol family 16
  72. [ 0.040474] DMA: preallocated 256 KiB pool for atomic coherent allocations
  73. [ 0.041519] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
  74. [ 0.041529] hw-breakpoint: maximum watchpoint size is 8 bytes.
  75. [ 0.052804] SCSI subsystem initialized
  76. [ 0.053029] libata version 3.00 loaded.
  77. [ 0.053261] usbcore: registered new interface driver usbfs
  78. [ 0.053320] usbcore: registered new interface driver hub
  79. [ 0.053378] usbcore: registered new device driver usb
  80. [ 0.053595] pps_core: LinuxPPS API ver. 1 registered
  81. [ 0.053603] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  82. [ 0.053624] PTP clock support registered
  83. [ 0.053831] Advanced Linux Sound Architecture Driver Initialized.
  84. [ 0.054704] clocksource: Switched to clocksource arch_sys_counter
  85. [ 0.062631] NET: Registered protocol family 2
  86. [ 0.063137] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
  87. [ 0.063187] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
  88. [ 0.063249] TCP: Hash tables configured (established 4096 bind 4096)
  89. [ 0.063313] UDP hash table entries: 256 (order: 1, 8192 bytes)
  90. [ 0.063353] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  91. [ 0.063543] NET: Registered protocol family 1
  92. [ 0.063925] RPC: Registered named UNIX socket transport module.
  93. [ 0.063936] RPC: Registered udp transport module.
  94. [ 0.063941] RPC: Registered tcp transport module.
  95. [ 0.063946] RPC: Registered tcp NFSv4.1 backchannel transport module.
  96. [ 0.065398] futex hash table entries: 1024 (order: 4, 65536 bytes)
  97. [ 0.066052] workingset: timestamp_bits=30 max_order=17 bucket_order=0
  98. [ 0.074243] NFS: Registering the id_resolver key type
  99. [ 0.074288] Key type id_resolver registered
  100. [ 0.074295] Key type id_legacy registered
  101. [ 0.075380] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
  102. [ 0.075395] io scheduler noop registered
  103. [ 0.075401] io scheduler deadline registered
  104. [ 0.075544] io scheduler cfq registered (default)
  105. [ 0.080640] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
  106. [ 0.082368] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
  107. [ 0.135641] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
  108. [ 0.138291] console [ttyS0] disabled
  109. [ 0.158458] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 31, base_baud = 1500000) is a U6_16550A
  110. [ 0.765884] console [ttyS0] enabled
  111. [ 0.769906] [drm] Initialized
  112. [ 0.774105] libphy: Fixed MDIO Bus: probed
  113. [ 0.778244] CAN device driver interface
  114. [ 0.782368] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  115. [ 0.788907] ehci-platform: EHCI generic platform driver
  116. [ 0.794331] ehci-platform 1c1d000.usb: EHCI Host Controller
  117. [ 0.799947] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 1
  118. [ 0.807827] ehci-platform 1c1d000.usb: irq 24, io mem 0x01c1d000
  119. [ 0.834728] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
  120. [ 0.841585] hub 1-0:1.0: USB hub found
  121. [ 0.845411] hub 1-0:1.0: 1 port detected
  122. [ 0.849730] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  123. [ 0.855942] ohci-platform: OHCI generic platform driver
  124. [ 0.861329] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
  125. [ 0.867968] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 2
  126. [ 0.875842] ohci-platform 1c1d400.usb: irq 25, io mem 0x01c1d400
  127. [ 0.949379] hub 2-0:1.0: USB hub found
  128. [ 0.953157] hub 2-0:1.0: 1 port detected
  129. [ 0.958209] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
  130. [ 0.965025] sun6i-rtc 1f00000.rtc: RTC enabled
  131. [ 0.969584] i2c /dev entries driver
  132. [ 0.973286] IR NEC protocol handler initialized
  133. [ 0.977825] IR RC5(x/sz) protocol handler initialized
  134. [ 0.982868] IR RC6 protocol handler initialized
  135. [ 0.987404] IR JVC protocol handler initialized
  136. [ 0.991927] IR Sony protocol handler initialized
  137. [ 0.996545] IR SANYO protocol handler initialized
  138. [ 1.001242] IR Sharp protocol handler initialized
  139. [ 1.005953] IR MCE Keyboard/mouse protocol handler initialized
  140. [ 1.011775] IR XMP protocol handler initialized
  141. [ 1.016774] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
  142. [ 1.024933] cpu cpu0: failed to get clock: -2
  143. [ 1.029295] cpufreq-dt: probe of cpufreq-dt failed with error -2
  144. [ 1.036162] sunxi-mmc 1c0f000.mmc: Got CD GPIO
  145. [ 1.094728] sunxi-mmc 1c0f000.mmc: base:0xe0875000 irq:23
  146. [ 1.101367] usbcore: registered new interface driver usbhid
  147. [ 1.106976] usbhid: USB HID core driver
  148. [ 1.111859] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01f015c0 not registered
  149. [ 1.119823] sun4i-codec 1c22c00.codec: Failed to register our card
  150. [ 1.126635] NET: Registered protocol family 17
  151. [ 1.131101] can: controller area network core (rev 20120528 abi 9)
  152. [ 1.137541] NET: Registered protocol family 29
  153. [ 1.141983] can: raw protocol (rev 20120528)
  154. [ 1.146273] can: broadcast manager protocol (rev 20161123 t)
  155. [ 1.151932] can: netlink gateway (rev 20130117) max_hops=1
  156. [ 1.157662] Key type dns_resolver registered
  157. [ 1.162036] Registering SWP/SWPB emulation handler
  158. [ 1.173739] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
  159. [ 1.181916] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:05 UTC (5)
  160. [ 1.190102] vcc3v0: disabling
  161. [ 1.193072] vcc5v0: disabling
  162. [ 1.196050] ALSA device list:
  163. [ 1.199015] #0: H3 Audio Codec
  164. [ 1.202810] Waiting for root device /dev/mmcblk0p2...
  165. [ 1.207911] usb 1-1: new high-speed USB device number 2 using ehci-platform
  166. [ 1.212128] mmc0: host does not support reading read-only switch, assuming write-enable
  167. [ 1.214346] mmc0: new high speed SDHC card at address 0007
  168. [ 1.214979] mmcblk0: mmc0:0007 SD08G 7.42 GiB
  169. [ 1.229813] mmcblk0: p1 p2
  170. [ 1.238021] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
  171. [ 1.248171] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
  172. [ 1.260747] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
  173. [ 1.268067] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
  174. [ 1.386392] random: fast init done
  175. [ 1.426142] hub 1-1:1.0: USB hub found
  176. [ 1.429985] hub 1-1:1.0: 4 ports detected
  177. [ 1.717934] random: crng init done
  178. [ 1.754709] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
  179. [ 2.004710] usb 1-1.4: new high-speed USB device number 4 using ehci-platform
  180. [ 2.343834] EXT4-fs (mmcblk0p2): recovery complete
  181. [ 2.354975] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
  182. [ 2.363110] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
  183. [ 2.373863] devtmpfs: mounted
  184. [ 2.377961] Freeing unused kernel memory: 1024K
  185. [ 2.511333] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro,data=ordered
  186.  
  187. cat /proc/asound/cards
  188. 0 [Codec ]: H3_Audio_Codec - H3 Audio Codec
  189. H3 Audio Codec
  190.  
  191. cat /etc/asound.conf
  192. pcm.!default {
  193. type hw
  194. card 0
  195. device 0
  196. }
  197. ctl.!default {
  198. type hw
  199. card 0
  200. }
  201.  
  202.  
  203.  
  204. # aplay -l
  205. **** List of PLAYBACK Hardware Devices ****
  206. card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 []
  207. Subdevices: 1/1
  208. Subdevice #0: subdevice #0
  209.  
  210.  
  211.  
  212.  
  213.  
  214. amixer contents
  215. numid=17,iface=MIXER,name='Line In Capture Switch'
  216. ; type=BOOLEAN,access=rw------,values=2
  217. : values=off,off
  218. numid=12,iface=MIXER,name='Line In Playback Switch'
  219. ; type=BOOLEAN,access=rw------,values=2
  220. : values=off,off
  221. numid=4,iface=MIXER,name='Line In Playback Volume'
  222. ; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
  223. : values=3
  224. | dBscale-min=-4.50dB,step=1.50dB,mute=0
  225. numid=3,iface=MIXER,name='Line Out Playback Switch'
  226. ; type=BOOLEAN,access=rw------,values=2
  227. : values=off,off
  228. numid=2,iface=MIXER,name='Line Out Playback Volume'
  229. ; type=INTEGER,access=rw---R--,values=1,min=0,max=31,step=0
  230. : values=0
  231. | dBrange-
  232. rangemin=0,,rangemax=1
  233. | dBscale-min=-99999.99dB,step=0.00dB,mute=1
  234. rangemin=2,,rangemax=31
  235. | dBscale-min=-43.50dB,step=1.50dB,mute=0
  236.  
  237. numid=20,iface=MIXER,name='Line Out Source Playback Route'
  238. ; type=ENUMERATED,access=rw------,values=2,items=2
  239. ; Item #0 'Stereo'
  240. ; Item #1 'Mono Differential'
  241. : values=0,0
  242. numid=7,iface=MIXER,name='Mic1 Boost Volume'
  243. ; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
  244. : values=4
  245. | dBrange-
  246. rangemin=0,,rangemax=0
  247. | dBscale-min=0.00dB,step=0.00dB,mute=0
  248. rangemin=1,,rangemax=7
  249. | dBscale-min=24.00dB,step=3.00dB,mute=0
  250.  
  251. numid=18,iface=MIXER,name='Mic1 Capture Switch'
  252. ; type=BOOLEAN,access=rw------,values=2
  253. : values=off,off
  254. numid=13,iface=MIXER,name='Mic1 Playback Switch'
  255. ; type=BOOLEAN,access=rw------,values=2
  256. : values=off,off
  257. numid=5,iface=MIXER,name='Mic1 Playback Volume'
  258. ; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
  259. : values=3
  260. | dBscale-min=-4.50dB,step=1.50dB,mute=0
  261. numid=8,iface=MIXER,name='Mic2 Boost Volume'
  262. ; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
  263. : values=4
  264. | dBrange-
  265. rangemin=0,,rangemax=0
  266. | dBscale-min=0.00dB,step=0.00dB,mute=0
  267. rangemin=1,,rangemax=7
  268. | dBscale-min=24.00dB,step=3.00dB,mute=0
  269.  
  270. numid=19,iface=MIXER,name='Mic2 Capture Switch'
  271. ; type=BOOLEAN,access=rw------,values=2
  272. : values=off,off
  273. numid=14,iface=MIXER,name='Mic2 Playback Switch'
  274. ; type=BOOLEAN,access=rw------,values=2
  275. : values=off,off
  276. numid=6,iface=MIXER,name='Mic2 Playback Volume'
  277. ; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
  278. : values=3
  279. | dBscale-min=-4.50dB,step=1.50dB,mute=0
  280. numid=9,iface=MIXER,name='ADC Gain Capture Volume'
  281. ; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0
  282. : values=3
  283. | dBscale-min=-4.50dB,step=1.50dB,mute=0
  284. numid=10,iface=MIXER,name='DAC Playback Switch'
  285. ; type=BOOLEAN,access=rw------,values=2
  286. : values=off,off
  287. numid=1,iface=MIXER,name='DAC Playback Volume'
  288. ; type=INTEGER,access=rw---R--,values=1,min=0,max=63,step=0
  289. : values=63
  290. | dBscale-min=-73.08dB,step=1.16dB,mute=0
  291. numid=11,iface=MIXER,name='DAC Reversed Playback Switch'
  292. ; type=BOOLEAN,access=rw------,values=2
  293. : values=off,off
  294. numid=15,iface=MIXER,name='Mixer Capture Switch'
  295. ; type=BOOLEAN,access=rw------,values=2
  296. : values=off,off
  297. numid=16,iface=MIXER,name='Mixer Reversed Capture Switch'
  298. ; type=BOOLEAN,access=rw------,values=2
  299. : values=off,off
  300.  
  301.  
  302. alsamixer ... "LineOut Volume" set 0 0dB
  303.  
  304.  
  305. # speaker-test -twav -c2
  306.  
  307. speaker-test 1.1.3
  308.  
  309. Playback device is default
  310. Stream parameters are 48000Hz, S16_LE, 2 channels
  311. WAV file(s)
  312. Rate set to 48000Hz (requested 48000Hz)
  313. Buffer size range from 128 to 131072
  314. Period size range from 64 to 16384
  315. Using max buffer size 131072
  316. Periods = 4
  317. was set period_size = 16384
  318. was set buffer_size = 131072
  319. 0 - Front Left
  320. 1 - Front Right
  321.  
  322. => no audio at the line out pins ???
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement