|
发表于 2014-9-10 15:41:46
26516 浏览 32 回复
linux+Qt下声音出不来
我是全能版scp,刷linux+Qt,使用音频播放器,报错:Audio Error initialising audio.
又刷成Android,用暴风影音,能播出声音。
对比一下两个系统的开机启动信息,关于声卡部分是一致的:
Samsung Audio Subsystem Driver, (c) 2011 Samsung Electronics
audss_init: RCLK SRC[busclk]
asoc: wm8960-hifi <-> samsung-i2s.0 mapping ok
asoc: wm8960-hifi <-> samsung-i2s.0 mapping ok
Samsung SRP driver, (c) 2010 Samsung Electronics
SRP: Driver successfully probed
ALSA device list:
#0: iTOP-4412-Audio
用户层设备文件
root@android:/etc # ls -l /dev/snd
crw-rw---- system audio 116, 0 2012-01-01 00:00 controlC0
crw-rw---- system audio 116, 24 2012-01-01 00:00 pcmC0D0c
crw-rw---- system audio 116, 16 2012-01-01 00:00 pcmC0D0p
crw-rw---- system audio 116, 25 2012-01-01 00:00 pcmC0D1c
crw-rw---- system audio 116, 17 2012-01-01 00:00 pcmC0D1p
crw-rw---- system audio 116, 33 2012-01-01 00:00 timer
这些都有的,说明linux内核驱动至少应该是没有问题的,应该是驱动上了,
对ALSA不熟,不知道是不是用户层还有什么配置没设置好而导致声音出不来? |
|
|
|
|
|
|
|
发表于 2014-9-10 17:01:49
|
|
|
|
|
|
|
楼主|
发表于 2014-9-10 17:29:47
[root@iTOP-4412]# dmesg
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.0.15 (root@ubuntu) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #4 SMP PREEMPT Tue Nov 12 22:12:32 AMST 2013
[ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: SMDK4X12
[ 0.000000] NR_BANKS too low, ignoring high memory
[ 0.000000] **************************
[ 0.000000] reserve_panic_dump_area!!
[ 0.000000] **************************
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] CPU EXYNOS4412 (id 0xe4412011)
[ 0.000000] exynos4_init_clocks: initializing clocks
[ 0.000000] S3C24XX Clocks, Copyright 2004 Simtec Electronics
[ 0.000000] s3c_register_clksrc: clock audiocdclk has no registers set
[ 0.000000] audiocdclk: no parent clock specified
[ 0.000000] s3c_register_clksrc: clock armclk has no registers set
[ 0.000000] exynos4_setup_clocks: registering clocks
[ 0.000000] exynos4_setup_clocks: xtal is 24000000
[ 0.000000] EXYNOS4: PLL settings, A=1000000000, M=800000000, E=96000000 V=350000000
[ 0.000000] EXYNOS4: ARMCLK=1000000000, DMC=400000000, ACLK200=24000000
[ 0.000000] ACLK160=160000000, ACLK133=133333333, ACLK100=100000000
[ 0.000000] EXYNOS4: ACLK400=24000000 ACLK266=800000000
[ 0.000000] uclk1: source is mout_mpll_user (6), rate is 100000000
[ 0.000000] uclk1: source is mout_mpll_user (6), rate is 100000000
[ 0.000000] uclk1: source is mout_mpll_user (6), rate is 100000000
[ 0.000000] uclk1: source is mout_mpll_user (6), rate is 100000000
[ 0.000000] sclk_csis: source is xusbxti (1), rate is 1500000
[ 0.000000] sclk_csis: source is xusbxti (1), rate is 1500000
[ 0.000000] sclk_cam0: source is xusbxti (1), rate is 1500000
[ 0.000000] sclk_cam1: source is xusbxti (1), rate is 1500000
[ 0.000000] sclk_fimc: source is xusbxti (1), rate is 1500000
[ 0.000000] sclk_fimc: source is xusbxti (1), rate is 1500000
[ 0.000000] sclk_fimc: source is xusbxti (1), rate is 1500000
[ 0.000000] sclk_fimc: source is xusbxti (1), rate is 1500000
[ 0.000000] sclk_fimd: source is xusbxti (1), rate is 1500000
[ 0.000000] sclk_fimd: source is xusbxti (1), rate is 1500000
[ 0.000000] sclk_mfc: source is mout_mfc0 (0), rate is 200000000
[ 0.000000] sclk_g3d: source is mout_g3d0 (0), rate is 41666666
[ 0.000000] sclk_pwi: source is xusbxti (1), rate is 1500000
[ 0.000000] On node 0 totalpages: 515840
[ 0.000000] Normal zone: 1472 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 186944 pages, LIFO batch:31
[ 0.000000] HighMem zone: 2622 pages used for memmap
[ 0.000000] HighMem zone: 324802 pages, LIFO batch:31
[ 0.000000] PERCPU: Embedded 7 pages/cpu @c0d55000 s6272 r8192 d14208 u32768
[ 0.000000] pcpu-alloc: s6272 r8192 d14208 u32768 alloc=8*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: 511746
[ 0.000000] Kernel command line: root=/dev/mmcblk0p2 rootfstype=ext4 init=/linuxrc console=ttySAC2,115200
[ 0.000000] log_buf_len: 524288
[ 0.000000] early log buf free: 127675(97%)
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 736MB 1279MB = 2015MB total
[ 0.000000] Memory: 1654080k/1654080k available, 409280k reserved, 1309696K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xfea00000 - 0xffe00000 ( 20 MB)
[ 0.000000] vmalloc : 0xee800000 - 0xf6000000 ( 120 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xee000000 ( 736 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .init : 0xc0008000 - 0xc003d000 ( 212 kB)
[ 0.000000] .text : 0xc003d000 - 0xc0868000 (8364 kB)
[ 0.000000] .data : 0xc0868000 - 0xc0909dc0 ( 648 kB)
[ 0.000000] .bss : 0xc090c3d0 - 0xc0945300 ( 228 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:456
[ 0.000000] Calibrating delay loop... 1992.29 BogoMIPS (lpj=4980736)
[ 0.045000] pid_max: default: 32768 minimum: 301
[ 0.045000] Mount-cache hash table entries: 512
[ 0.045000] Initializing cgroup subsys debug
[ 0.045000] Initializing cgroup subsys cpuacct
[ 0.045000] Initializing cgroup subsys freezer
[ 0.045000] CPU: Testing write buffer coherency: ok |
|
|
|
|
|
|
|
楼主|
发表于 2014-9-10 17:35:54
[ 0.045000] **********panic_dump_test****************
[ 0.045000] There is no valid panic information in memory
[ 0.045000] **************************
[ 0.045000] L310 cache controller enabled
[ 0.045000] l2x0: 16 ways, CACHE_ID 0x4100c4c8, AUX_CTRL 0x7e470001, Cache size: 1048576 B
[ 0.075000] CPU1: Booted secondary processor
[ 0.095000] CPU2: Booted secondary processor
[ 0.115000] CPU3: Booted secondary processor
[ 0.115000] Brought up 4 CPUs
[ 0.115000] SMP: Total of 4 processors activated (7969.17 BogoMIPS).
[ 0.120000] print_constraints: dummy:
[ 0.120000] NET: Registered protocol family 16
[ 0.120000] sensor_hw_init: line = 290
[ 0.130000] exynos4_pmu_init: PMU supports 4412(96)
[ 0.130000] EXYNOS4: Initializing architecture
[ 0.130000] panic_file create OK !!
[ 0.130000] samsung-pd samsung-pd.0: power domain registered
[ 0.130000] samsung-pd samsung-pd.1: power domain registered
[ 0.130000] samsung-pd samsung-pd.2: power domain registered
[ 0.130000] samsung-pd samsung-pd.5: power domain registered
[ 0.130000] samsung-pd samsung-pd.4: power domain registered
[ 0.130000] samsung-pd samsung-pd.6: power domain registered
[ 0.130000] samsung-pd samsung-pd.7: power domain registered
[ 0.130000] s3c24xx-pwm s3c24xx-pwm.1: tin at 100000000, tdiv at 100000000, tin=divclk, base 8
[ 0.130000] UMP: UMP device driver loaded
[ 0.145000] bio: create slab <bio-0> at 0
[ 0.150000] SCSI subsystem initialized
[ 0.150000] usbcore: registered new interface driver usbfs
[ 0.150000] usbcore: registered new interface driver hub
[ 0.150000] usbcore: registered new device driver usb
[ 0.150000] i2c-gpio i2c-gpio.0: using pins 42 (SDA) and 43 (SCL)
[ 0.150000] +s5m8767_pmic_probe()
[ 0.150000] print_constraints: vdd_mif range: 900 <--> 1100 mV at 1100 mV
[ 0.155000] print_constraints: vdd_arm range: 850 <--> 1450 mV at 1200 mV
[ 0.155000] print_constraints: vdd_int range: 875 <--> 1200 mV at 1000 mV
[ 0.155000] print_constraints: vdd_g3d range: 750 <--> 1500 mV at 1100 mV
[ 0.155000] print_constraints: vdd_m12 range: 750 <--> 1500 mV at 1200 mV
[ 0.155000] print_constraints: vdd12_5m range: 750 <--> 1500 mV at 1200 mV
[ 0.155000] print_constraints: vddf28_emmc range: 750 <--> 3000 mV at 2850 mV
[ 0.160000] print_constraints: VDDQ_M12: 1500 mV
[ 0.160000] print_constraints: VDD18_2M: 1800 mV
[ 0.160000] print_constraints: VDD10_MIPI: 1000 mV
[ 0.165000] print_constraints: VDD33_LCD: 3300 mV
[ 0.165000] print_constraints: VDD18_MIPI: 1800 mV
[ 0.165000] print_constraints: VDD33_UOTG: 3300 mV
[ 0.170000] print_constraints: VDD10_USH: 1000 mV
[ 0.170000] print_constraints: VDD18_HSIC: 1800 mV
[ 0.170000] print_constraints: DC33V_TP: 3300 mV
[ 0.175000] print_constraints: VDD28_CAM: 2800 mV
[ 0.175000] print_constraints: VDD28_AF: 2800 mV
[ 0.175000] print_constraints: VDDA28_2M: 2800 mV
[ 0.180000] print_constraints: VDD28_TF: 2800 mV
[ 0.180000] print_constraints: VDD33_A31: 3300 mV
[ 0.180000] print_constraints: VDD18_CAM: 1800 mV
[ 0.185000] print_constraints: VDD18_A31: 1800 mV
[ 0.185000] print_constraints: GPS_1V8: 1800 mV
[ 0.185000] print_constraints: DVDD12: 1200 mV
[ 0.190000] -s5m8767_pmic_probe()
[ 0.190000] s5m87xx 1-0066: S5M87xx MFD probe done!!!
[ 0.190000] s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
[ 0.190000] s3c-i2c s3c2440-i2c.3: i2c-3: S3C I2C adapter
[ 0.190000] s3c-i2c s3c2440-i2c.4: i2c-4: S3C I2C adapter
[ 0.190000] s3c-i2c s3c2440-i2c.5: i2c-5: S3C I2C adapter
[ 0.190000] s3c-i2c s3c2440-i2c.6: i2c-6: S3C I2C adapter
[ 0.190000] s3c-i2c s3c2440-i2c.7: i2c-7: S3C I2C adapter
[ 0.190000] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.190000] Bluetooth: Core ver 2.16
[ 0.190000] NET: Registered protocol family 31
[ 0.190000] Bluetooth: HCI device and connection manager initialized
[ 0.190000] Bluetooth: HCI socket layer initialized
[ 0.190000] Bluetooth: L2CAP socket layer initialized
[ 0.190000] Bluetooth: SCO socket layer initialized
[ 0.190000] Switching to clocksource mct-frc
[ 0.191713] NET: Registered protocol family 2
[ 0.191787] Switched to NOHz mode on CPU #0
[ 0.191921] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.192014] Switched to NOHz mode on CPU #3
[ 0.192021] Switched to NOHz mode on CPU #2
[ 0.192027] Switched to NOHz mode on CPU #1
[ 0.192524] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.194024] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[ 0.194828] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.194845] TCP reno registered
[ 0.194859] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.194896] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.195175] NET: Registered protocol family 1
[ 0.195331] Trying to unpack rootfs image as initramfs...
[ 0.235818] Freeing initrd memory: 680K
[ 0.235912] PMU: registered new PMU device of type 0
[ 0.236079] Exynos4 : ARM Clock down on idle mode is enabled
[ 0.236957] regulator_consumer_probe: loading tc4-regulator-consumer
[ 0.236977] Register vdd_consumer_early_suspend done
[ 0.237587] Loaded driver for PL330 DMAC-0 s3c-pl330
[ 0.237603] DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32
[ 0.237959] Loaded driver for PL330 DMAC-1 s3c-pl330
[ 0.237975] DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[ 0.238075] Loaded driver for PL330 DMAC-2 s3c-pl330
[ 0.238090] DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[ 0.256488] highmem bounce pool size: 64 pages
[ 0.256677] ashmem: initialized
[ 0.264986] fuse init (API version 7.16)
[ 0.265339] msgmni has been set to 673
[ 0.265955] io scheduler noop registered
[ 0.265969] io scheduler deadline registered
[ 0.266026] io scheduler cfq registered (default)
[ 0.271684]
[ 0.271688] CPU type:
[ 0.271699] Exynos 4412
[ 0.281911] FIMD src sclk = 800000000
[ 0.281926] parent clock: 800000000, vclk: 65475000, vclk div: 12 |
|
|
|
|
|
|
|
楼主|
发表于 2014-9-10 17:42:31
[ 0.281949] (s3cfb_backlight_on, 304): VLED_ON
[ 0.286966] (s3cfb_backlight_on, 327): LCD_PWM_ON
[ 0.291978] (s3cfb_backlight_on, 347): TP1_EN_ON
[ 0.296994] s3cfb s3cfb.0: registered successfully
[ 0.297319] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.595269] s5pv210-uart.0: ttySAC0 at MMIO 0x13800000 (irq = 16) is a S3C6400/10
[ 0.680059] s5pv210-uart.1: ttySAC1 at MMIO 0x13810000 (irq = 20) is a S3C6400/10
[ 0.760057] s5pv210-uart.2: ttySAC2 at MMIO 0x13820000 (irq = 24) is a S3C6400/10
[ 1.739447] console [ttySAC2] enabled
[ 1.785059] s5pv210-uart.3: ttySAC3 at MMIO 0x13830000 (irq = 28) is a S3C6400/10
[ 1.865982] SI GPS Initialize
[ 1.867735] max485_ctl Initialize
[ 1.877060] brd: module loaded
[ 1.881699] loop: module loaded
[ 1.883391] pmem: 0 init
[ 1.886188] pmem_gpu1: 0 init
[ 1.889481] i2c i2c-5: mpu_probe: 0
[ 1.892316] i2c i2c-5: mpu_probe: irq:379
[ 1.896306] <6>mldl_cfg:Reset MPU6050 B1
[ 1.922667] mldl_cfg:Force to use default sensitivity(131,16384)
[ 1.931320] i2c i2c-5: Installing irq using 379
[ 1.934372] i2c i2c-5: Module Param interface = mpuirq
[ 1.939765] i2c i2c-5: inv_mpu_register_slave: +mpu6050 Type 1: Addr: 68 IRQ: 379, Adapt: 5
[ 1.948369] i2c i2c-5: Installing accelirq irq using 379
[ 1.953363] i2c i2c-5: mpu_probe: init successfully.
[ 1.958260] i2c-core: driver [mpu6050B1] using legacy suspend method
[ 1.964503] i2c-core: driver [mpu6050B1] using legacy resume method
[ 1.970758] mpu_init: Probe name mpu6050B1
[ 1.975595] smsc911x: Driver version 2008-10-21
[ 1.980735] smsc911x-mdio: probed
[ 1.982698] smsc911x smsc911x: eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
[ 1.992794] smsc911x smsc911x: eth0: MAC Address: 00:80:00:23:45:67
[ 1.999014] usbcore: registered new interface driver dm9601
[ 2.004505] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.010858] ehci_hcd: block sizes: qh 64 qtd 96 itd 160 sitd 96
[ 2.010952]
[ 2.010955]
[ 2.010957] [usb_host_phy_init]++++++++++++++
[ 2.018235] [XJ] cp -> ap wakeup host: 1
[ 2.022271] s5p-ehci s5p-ehci: reset hcs_params 0x1313 dbg=0 cc=1 pcc=3 ordered ports=3
[ 2.022295] s5p-ehci s5p-ehci: reset hcc_params 2a016 thresh 1 uframes 256/512/1024 park LPM
[ 2.022317] s5p-ehci s5p-ehci: S5P EHCI Host Controller
[ 2.027360] s5p-ehci s5p-ehci: new USB bus registered, assigned bus number 1
[ 2.034447] s5p-ehci s5p-ehci: park 0
[ 2.034460] s5p-ehci s5p-ehci: support lpm
[ 2.034487] s5p-ehci s5p-ehci: irq 134, io mem 0x12580000
[ 2.039768] s5p-ehci s5p-ehci: reset command 0080b02 park=3 ithresh=8 period=1024 Reset HALT
[ 2.039796] s5p-ehci s5p-ehci: init command 0010005 (park)=0 ithresh=1 period=512 RUN
[ 2.045041] s5p-ehci s5p-ehci: USB 0.0 started, EHCI 1.00
[ 2.049034] usb usb1: default language 0x0409
[ 2.049063] usb usb1: udev 1, busnum 1, minor = 0
[ 2.049078] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice=0300
[ 2.057140] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.064341] usb usb1: New USB device Class: Class=9, SubClass=0, Protocol=0
[ 2.071285] usb usb1: Product: S5P EHCI Host Controller
[ 2.076492] usb usb1: Manufacturer: Linux 3.0.15 ehci_hcd
[ 2.081873] usb usb1: SerialNumber: s5p-ehci
[ 2.086403] usb usb1: usb_probe_device
[ 2.086420] usb usb1: configuration #1 chosen from 1 choice
[ 2.086451] usb usb1: adding 1-0:1.0 (config #1, interface 0)
[ 2.086618] hub 1-0:1.0: usb_probe_interface
[ 2.086633] hub 1-0:1.0: usb_probe_interface - got id
[ 2.086649] hub 1-0:1.0: USB hub found
[ 2.089855] hub 1-0:1.0: 3 ports detected
[ 2.093854] hub 1-0:1.0: standalone hub
[ 2.093867] hub 1-0:1.0: individual port power switching
[ 2.093882] hub 1-0:1.0: individual port over-current protection
[ 2.093898] hub 1-0:1.0: power on to power good time: 20ms
[ 2.093920] hub 1-0:1.0: local power source is good
[ 2.093935] hub 1-0:1.0: enabling power on all ports
[ 2.094439] usbcore: registered new interface driver cdc_acm
[ 2.099494] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.107479] Initializing USB Mass Storage driver...
[ 2.112468] usbcore: registered new interface driver usb-storage
[ 2.118330] USB Mass Storage support registered.
[ 2.123159] usbcore: registered new interface driver usbserial
[ 2.128746] usbserial: USB Serial Driver core
[ 2.133220] mousedev: could not register psaux device, error: -16
[ 2.139161] mousedev: PS/2 mouse device common for all mice
[ 2.145265] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 2.151982] input: samsung-keypad as /devices/platform/samsung-keypad/input/input1
[ 2.159304] usbcore: registered new interface driver xpad
[ 2.164440] usbcore: registered new interface driver usb_acecad
[ 2.170236] acecad: v3.2:USB Acecad Flair tablet driver
[ 2.175547] usbcore: registered new interface driver aiptek
[ 2.180999] aiptek: v2.3 (May 2, 2007):Aiptek HyperPen USB Tablet Driver (Linux 2.6.x)
[ 2.188896] aiptek: Bryan W. Headley/Chris Atenasio/Cedric Brun/Rene van Paassen
[ 2.196308] s5p-ehci s5p-ehci: GetStatus port:3 status 001803 0 ACK POWER sig=j CSC CONNECT
[ 2.196332] hub 1-0:1.0: port 3: status 0501 change 0001
[ 2.196463] usbcore: registered new interface driver gtco
[ 2.201658] GTCO usb driver version: 2.00.0006
[ 2.206013] usbcore: registered new interface driver hanwang
[ 2.211829] usbcore: registered new interface driver kbtab
[ 2.217195] kbtab: v0.0.2:USB KB Gear JamStudio Tablet driver
[ 2.223028] usbcore: registered new interface driver wacom
[ 2.228392] wacom: v1.52:USB Wacom tablet driver
[ 2.233753] S3C24XX RTC, (c) 2004,2006 Simtec Electronics
[ 2.238459] s3c_rtc_gettime() 2112-1-1 0:11:12
[ 2.242809] s3c_rtc_gettime() 2112-1-1 0:11:12
[ 2.247552] using rtc device, s3c, for alarms
[ 2.251412] s3c-rtc s3c64xx-rtc: rtc core: registered s3c as rtc0
[ 2.260536] s5m_rtc_read_time: 2012/1/1 0:11:13(0)
[ 2.264939] s5m_rtc_read_alarm: 2000/0/1 0:0:0(-1)
[ 2.270156] s5m_rtc_read_time: 2012/1/1 0:11:13(0)
[ 2.273632] s5m-rtc s5m-rtc: rtc core: registered s5m-rtc as rtc1
[ 2.279950] s5m-rtc s5m-rtc: RTC CHIP NAME: s5m-rtc
[ 2.284517] i2c /dev entries driver
[ 2.288933] Linux media interface: v0.10
[ 2.292097] lirc_dev: IR Remote Control driver registered, major 252 |
|
|
|
|
|
|
|
楼主|
发表于 2014-9-10 17:51:20
[ 2.298243] IR NEC protocol handler initialized
[ 2.298255] hub 1-0:1.0: state 7 ports 3 chg 0008 evt 0000
[ 2.298283] hub 1-0:1.0: port 3, status 0501, change 0000, 480 Mb/s
[ 2.302753] IR RC5(x) protocol handler initialized
[ 2.307508] IR RC6 protocol handler initialized
[ 2.312022] IR JVC protocol handler initialized
[ 2.316535] IR Sony protocol handler initialized
[ 2.321135] IR RC5 (streamzap) protocol handler initialized
[ 2.326690] IR LIRC bridge handler initialized
[ 2.331117] Linux video capture interface: v2.00
[ 2.335811] v4l2_i2c_drv_init: SR200PC20 called
[ 2.340975] s3c-csis: Samsung MIPI-CSIS0 driver probed successfully
[ 2.346508] s3c-csis: Samsung MIPI-CSIS1 driver probed successfully
[ 2.350170] s5p-ehci s5p-ehci: port 3 high speed
[ 2.350185] s5p-ehci s5p-ehci: GetStatus port:3 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 2.352857] Initialize JPEG driver
[ 2.356348] s5p-jpeg s5p-jpeg: JPEG driver is registered to /dev/video12
[ 2.362939] s5p-jpeg s5p-jpeg: JPEG driver is registered to /dev/video11
[ 2.369663] i2c i2c-0: attached s5p_ddc into i2c adapter successfully
[ 2.376004] i2c-core: driver [s5p_ddc] using legacy suspend method
[ 2.382072] i2c-core: driver [s5p_ddc] using legacy resume method
[ 2.388150] S5P HPD Driver, (c) 2009 Samsung Electronics
[ 2.393805] S5P CEC Driver, (c) 2009 Samsung Electronics
[ 2.399539] MFC(Multi Function Codec - FIMV v5.x) registered successfully
[ 2.405044] usb 1-3: new high speed USB device number 2 using s5p-ehci
[ 2.412466] Samsung Graphics 2D driver, (c) 2011 Samsung Electronics
[ 2.418810] Mali: init_mali_clock mali_clock c0882b04
[ 2.426177] Mali: failed to get cpufreq level for 1200MHzMali: Mali device driver loaded
[ 2.443440] S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
[ 2.449432] s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
[ 2.457493] device-mapper: uevent: version 1.0.3
[ 2.461719] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
[ 2.465170] s5p-ehci s5p-ehci: port 3 high speed
[ 2.465186] s5p-ehci s5p-ehci: GetStatus port:3 status 001005 0 ACK POWER sig=se0 PE CONNECT
[ 2.469859] Bluetooth: HCI UART driver ver 2.2
[ 2.474249] Bluetooth: HCI H4 protocol initialized
[ 2.479018] Bluetooth: HCI BCSP protocol initialized
[ 2.483965] Bluetooth: HCILL protocol initialized
[ 2.488652] Bluetooth: HCIATH3K protocol initialized
[ 2.494092] cpuidle: using governor ladder
[ 2.498579] cpuidle: using governor menu
[ 2.501690] mshci: Mobile Storage Host Controller Interface driver
[ 2.507748] mshci: Copyright (c) 2011 Samsung Electronics Co., Ltd
[ 2.513993] clock source 0: sclk_dwmci (160000000 Hz)
[ 2.518956] dw_mmc dw_mmc: clock source 0: sclk_dwmci (160000000 Hz)
[ 2.525551] mmc0: Version ID 0x5342240a.
[ 2.529177] mjdbg: cmu_max_clcok:800000000
[ 2.533269] mjdbg: host->max_clk: 800000000
[ 2.537651] mmc0: FIFO WMARK FOR RX 0x11 WX 0x1. ###########
[ 2.545486] mmc0: MSHCI controller on samsung-mshci [dw_mmc] using IDMA
[ 2.550831] usb 1-3: udev 2, busnum 1, minor = 1
[ 2.550847] usb 1-3: New USB device found, idVendor=0424, idProduct=3503, bcdDevice=a1a0
[ 2.558713] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.560031] sdhci: Secure Digital Host Controller Interface driver
[ 2.560038] sdhci: Copyright(c) Pierre Ossman
[ 2.560132] s3c-sdhci s3c-sdhci.2: clock source 0: sclk_mmc (10666666 Hz)
[ 2.560183] mmc1: no vmmc regulator found
[ 2.560371] mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.2] using ADMA
[ 2.560383] wake enabled for irq 359
[ 2.597900] s3c-sdhci s3c-sdhci.3: clock source 0: sclk_mmc (10666666 Hz)
[ 2.598718] mmc0:mshci_set_clock, 400000@ration:4,11[mjdbg] cmu_set_clock: 400000
[ 2.598808] usb 1-3: New USB device Class: Class=9, SubClass=0, Protocol=2
[ 2.599084] usb 1-3: usb_probe_device
[ 2.599094] usb 1-3: configuration #1 chosen from 1 choice
[ 2.599225] usb 1-3: adding 1-3:1.0 (config #1, interface 0)
[ 2.599388] hub 1-3:1.0: usb_probe_interface
[ 2.599396] hub 1-3:1.0: usb_probe_interface - got id
[ 2.599405] hub 1-3:1.0: USB hub found
[ 2.599571] hub 1-3:1.0: 3 ports detected
[ 2.599578] hub 1-3:1.0: standalone hub
[ 2.599584] hub 1-3:1.0: ganged power switching
[ 2.599590] hub 1-3:1.0: global over-current protection
[ 2.599735] hub 1-3:1.0: TT per port
[ 2.599744] hub 1-3:1.0: TT requires at most 8 FS bit times (666 ns)
[ 2.599751] hub 1-3:1.0: power on to power good time: 0ms
[ 2.599941] hub 1-3:1.0: local power source is good
[ 2.599949] hub 1-3:1.0: no over-current condition exists
[ 2.599957] hub 1-3:1.0: enabling power on all ports
[ 2.610045] *******mmc0: inserted!!!!!******
[ 2.610853] mmc0: cmd 52 response timeout error
[ 2.613703] mmc0: cmd 52 response timeout error
[ 2.624823] mmc0: cmd 8 response timeout error
[ 2.627670] mmc0: cmd 5 response timeout error
[ 2.629474] mmc0: cmd 5 response timeout error
[ 2.631277] mmc0: cmd 5 response timeout error
[ 2.633079] mmc0: cmd 5 response timeout error
[ 2.635940] mmc0: cmd 55 response timeout error
[ 2.638785] mmc0: cmd 55 response timeout error
[ 2.641645] mmc0: cmd 55 response timeout error
[ 2.644490] mmc0: cmd 55 response timeout error
[ 2.680047] mmc2: no vmmc regulator found
[ 2.684114] mmc2: SDHCI controller on samsung-hsmmc [s3c-sdhci.3] using ADMA
[ 2.696441] usbcore: registered new interface driver usbhid
[ 2.698793] mmc0:mshci_set_clock, 50000000@ration:4,11[mjdbg] cmu_set_clock: 50000000
[ 2.703081] hub 1-3:1.0: port 2: status 0101 change 0001
[ 2.708384] usbhid: USB HID core driver
[ 2.709552] mmc0: new high speed DDR MMC card at address 0001
[ 2.709881] mmcblk0: mmc0:0001 MAG2WA 14.5 GiB
[ 2.711930] mmcblk0: p1 p2 p3 p4
[ 2.727157] Samsung Audio Subsystem Driver, (c) 2011 Samsung Electronics
[ 2.732465] audss_init: RCLK SRC[busclk]
[ 2.755064] *******mmc1: inserted!!!!!******
[ 2.800051] usb 1-3: link qh256-0001/d60e21c0 start 1 [1/0 us]
[ 2.800089] hub 1-3:1.0: state 7 ports 3 chg 0004 evt 0000
[ 2.801234] hub 1-3:1.0: port 2, status 0101, change 0000, 12 Mb/s
[ 2.816157] hub 1-3:1.0: port 2 not reset yet, waiting 10ms
[ 2.852992] asoc: wm8960-hifi <-> samsung-i2s.0 mapping ok
[ 2.860177] asoc: wm8960-hifi <-> samsung-i2s.0 mapping ok
[ 2.866188] Samsung SRP driver, (c) 2010 Samsung Electronics
[ 2.874549] mmc1: new high speed SDHC card at address aaaa
[ 2.878917] mmcblk1: mmc1:aaaa SL16G 14.8 GiB
[ 2.885252] usb 1-3.2: new full speed USB device number 3 using s5p-ehci
[ 2.890636] mmcblk1: p1
[ 2.898740] SRP: Driver successfully probed
[ 2.901634] ALSA device list:
[ 2.904396] #0: iTOP-4412-Audio
[ 2.907843] GACT probability NOT on
[ 2.911185] Mirror/redirect action on
[ 2.914813] u32 classifier
[ 2.917527] Actions configured
[ 2.920906] Netfilter messages via NETLINK v0.30.
[ 2.925065] *******mmc2: inserted!!!!!******
[ 2.929908] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 2.936745] ctnetlink v0.93: registering with nfnetlink.
[ 2.941287] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[ 2.948175] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[ 2.954247] xt_time: kernel timezone is -0000
[ 2.959824] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.963936] arp_tables: (C) 2002 David S. Miller
[ 2.968365] TCP cubic registered
[ 2.972402] NET: Registered protocol family 10
[ 2.979849] Mobile IPv6
[ 2.980871] ip6_tables: (C) 2000-2006 Netfilter Core Team |
|
|
|
|
|
|
|
楼主|
发表于 2014-9-10 17:58:11
[ 2.986221] usb 1-3.2: ep0 maxpacket = 8
[ 2.986466] IPv6 over IPv4 tunneling driver
[ 2.992069] usb 1-3.2: skipped 1 descriptor after interface
[ 2.992088] usb 1-3.2: skipped 1 descriptor after interface
[ 2.992312] usb 1-3.2: default language 0x0409
[ 2.993069] usb 1-3.2: udev 3, busnum 1, minor = 2
[ 2.993086] usb 1-3.2: New USB device found, idVendor=046d, idProduct=c52e, bcdDevice=2301
[ 2.999893] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.000079] *******mmc2: inserted!!!!!******
[ 3.002342] NET: Registered protocol family 17
[ 3.002371] NET: Registered protocol family 15
[ 3.020376] usb 1-3.2: New USB device Class: Class=0, SubClass=0, Protocol=0
[ 3.020411] Bluetooth: RFCOMM TTY layer initialized
[ 3.020424] Bluetooth: RFCOMM socket layer initialized
[ 3.020431] Bluetooth: RFCOMM ver 1.11
[ 3.020438] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.020444] Bluetooth: BNEP filters: protocol multicast
[ 3.020469] NET: Registered protocol family 35
[ 3.020754] EXYNOS4X12: Adaptive Support Voltage init
[ 3.020762] EXYNOS4X12(SG): ORIG : 2 MOD : 0 RESULT : 2
[ 3.020768] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 3.069222] usb 1-3.2: Product: USB Receiver
[ 3.069230] usb 1-3.2: Manufacturer: Logitech
[ 3.069508] usb 1-3.2: usb_probe_device
[ 3.069520] usb 1-3.2: configuration #1 chosen from 1 choice
[ 3.070322] usb 1-3.2: adding 1-3.2:1.0 (config #1, interface 0)
[ 3.070531] usbhid 1-3.2:1.0: usb_probe_interface
[ 3.070539] usbhid 1-3.2:1.0: usb_probe_interface - got id
[ 3.072451] input: Logitech USB Receiver as /devices/platform/s5p-ehci/usb1/1-3/1-3.2/1-3.2:1.0/input/input2
[ 3.072496] usb 1-3.2: link qh8-0e01/d48f00c0 start 2 [1/2 us]
[ 3.072694] generic-usb 0003:046D:C52E.0001: input: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-s5p-ehci-3.2/input0
[ 3.072756] usb 1-3.2: adding 1-3.2:1.1 (config #1, interface 1)
[ 3.072952] usbhid 1-3.2:1.1: usb_probe_interface
[ 3.072960] usbhid 1-3.2:1.1: usb_probe_interface - got id
[ 3.076211] input: Logitech USB Receiver as /devices/platform/s5p-ehci/usb1/1-3/1-3.2/1-3.2:1.1/input/input3
[ 3.076525] generic-usb 0003:046D:C52E.0002: input: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-s5p-ehci-3.2/input1
[ 3.124541] Registering SWP/SWPB emulation handler
[ 3.129236] DVFS : VDD_ARM Voltage table set with 2 Group
[ 3.135108] *******mmc2: inserted!!!!!******
[ 3.167662] exynos4_pm_hotplug_device_init: 0
[ 3.170622] EXYNOS4 PM-hotplug init function
[ 3.177816] regulator_init_complete: DC33V_TP: incomplete constraints, leaving on
[ 3.185125] regulator_init_complete: VDD18_2M: incomplete constraints, leaving on
[ 3.194028] regulator_init_complete: vdd_int range: incomplete constraints, leaving on
[ 3.200906] regulator_init_complete: vdd_arm range: incomplete constraints, leaving on
[ 3.208385] *******mmc2: inserted!!!!!******
[ 3.213066] regulator_init_complete: vdd_mif range: incomplete constraints, leaving on
[ 3.220576] ==ft5x0x_ts_init: reset==
[ 3.470370] input: ft5x0x_ts as /devices/virtual/input/input4
[ 3.480567] ft5x0x_ts 3-0038: Firmware version 0xa6
[ 3.483970] ft5x0x_ts 3-0038: FocalTech ft5x0x TouchScreen initialized
[ 3.491672] s5m_rtc_read_time: 2012/1/1 0:11:14(0)
[ 3.495264] s3c_rtc_settime() 2012-1-1 0:11:14
[ 3.499684] s5m_rtc_set_time: 2012/1/1 0:11:14(0)
[ 3.530059] s5m-rtc s5m-rtc: setting system clock to 2012-01-01 00:11:14 UTC (1325376674)
[ 3.536831] ctrl->mem.size = 0x5000000
[ 3.536841] ctrl->mem.base = 0x638f4000
[ 3.537070] FIMC0 registered successfully
[ 3.540812] ctrl->mem.size = 0x2000000
[ 3.540821] ctrl->mem.base = 0x5bff4000
[ 3.540968] FIMC1 registered successfully
[ 3.544790] ctrl->mem.size = 0x2000000
[ 3.544799] ctrl->mem.base = 0x618f4000
[ 3.544953] FIMC2 registered successfully
[ 3.548793] ctrl->mem.size = 0x3900000
[ 3.548802] ctrl->mem.base = 0x5dff4000
[ 3.548949] FIMC3 registered successfully
[ 3.552876] S5P TVOUT Driver v3.0 (c) 2010 Samsung Electronics
[ 3.585894] *************************************
[ 3.589116] SMM6260 Modem support for iTOP-4412
[ 3.593639] www.topeetboard.com
[ 3.596850] *************************************
[ 3.601606]
[ 3.601609] ---smm6260_cfg(): finish
[ 3.606685] wake enabled for irq 372
[ 3.610330] s5p_ehci_power: EHCI turns off
[ 3.610345] smm6260_set_active_state: AP>>CP: ACTIVE_STATE:0,0
[ 3.616124] smm_modem smm_modem: AP>>CP: SLAV_WUP:0,0
[ 3.621154] ---the first time simple enumeration for c2c
[ 3.626658] Freeing init memory: 212K
[ 3.654276] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts:
[ 4.025156] s3c_rtc_gettime() 2112-1-1 0:11:14
[ 4.099176] smsc911x smsc911x: eth0: MAC Address: 08:90:90:90:90:90
[ 4.115032] smsc911x smsc911x: eth0: SMSC911x/921x identified at 0xefc60000, IRQ: 358
[ 4.463067] usb 1-3.2: link qh2-0e01/d48e3a40 start 1 [1/2 us]
[ 15.060018] eth0: no IPv6 routers present
[ 62.560332] failed to copy MFC F/W during init |
|
|
|
|
|
|
|
楼主|
发表于 2014-9-11 09:29:16
测试
[root@iTOP-4412]# speaker-test -t wav
或者
[root@iTOP-4412]# aplay -t wav /usr/local/arm-alsa/share/sounds/alsa/Front_Right.wav
是能够播出声音的。
可是,Qt界面下的音乐播放器还是在打开mp3时报错:Error initialising audio.
嚓,难不成还得去研究一下音乐播放器的源码。。。。 |
|
|
|
|
|
|
|
发表于 2014-9-11 10:38:26
本帖最后由 topeet_sky 于 2014-9-11 10:39 编辑
我记得在/etc/init.d/rcS里面有配置声卡的命令:
amixer cset numid=5 127
amixer cset numid=6 1
amixer cset numid=30 8,0
amixer cset numid=40 1
amixer cset numid=43 1
amixer cset numid=47 1系统启动的时候在串口会有amix的信息打印出来,你看下你的板子有没有
|
|
|
|
|
|
|
|
楼主|
发表于 2014-9-11 10:47:15
这个配置/etc/init.d/rcS里有的。
根据Qt的错误信息,层层往上追查,现在追到AudioDevice:pen()
qtopia-free-2.2.0/qtopia/src/libraries/mediaplayer/audiodevice_qss.cpp
AudioDevicePrivate::AudioDevicePrivate()
{
connect( &c, SIGNAL(error(int)), this, SLOT(error(int)) );
}
void AudioDevice:pen()
{
d = new AudioDevicePrivate(this, f, chs, bps, needCompletedSignal);
connect(d, SIGNAL(deviceOpenError()), this, SIGNAL(deviceOpenError()));
}
\|/
qtopia-free-2.2.0/qtopia/src/libraries/mediaplayer/audiodevice_qss.cpp
void AudioDevicePrivate::error() void AudioDevicePrivate::deviceError()
{
emit deviceOpenError();
}
\|/
qtopia-free-2.2.0/qtopia/src/libraries/mediaplayer/loopcontrol.cpp
LoopControl:oopControl()
{
connect(audioDevice, SIGNAL(deviceOpenError()), this, SLOT(audioDeviceError()));
}
\|/
qtopia-free-2.2.0/qtopia/src/libraries/mediaplayer/loopcontrol.cpp
void LoopControl::audioDeviceError()
{
QMessageBox::critical(0, tr("Audio Error"), tr("<qt>Error initialising audio.</qt>"));
}
|
|
|
|
|
|
|
登录或注册
扫一扫关注迅为公众号
|