您尚未登录。

#1 2021-04-30 15:32:17 分享评论

linux小白
会员
注册时间: 2021-04-30
已发帖子: 6
积分: 3.5

请教一下大佬们,关于F1C100S的音频驱动问题

求助论坛大佬!!!
有没有大佬弄过tina下的F1C100S的音频驱动配置,
我把Device Drivers->Sound card support->Advanced Linux Sound Architecture->ALSA for audio support->Allwinner SoC Audio support都选上了,还是没法驱动声卡,系统启动时还提示了failed to open for pcm 0,0,但是我在系统内核中并没有找到找到这个驱动选项。
下面系统的启动过程

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.65 (cotodo@cotodo) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #17 Fri Apr 16 01:44:20 UTC 2021
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Allwinner A1X (Device Tree), model: sun3iw1p1
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] cma: CMA: failed to reserve 32 MiB
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat c056ed0c, node_mem_map c059e000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: enforcing=1 earlyprintk=sunxi-uart,0x01c25000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/nandd init=/pseudo_init rdinit=/rdinit partitions=bootlogo@nanda:env@nandb:boot@nandc:rootfs@nandd:rootfs_data@nande:misc@nandf:private@nandg:UDISK@nandh cma=32M fb_base=0x81f00000 androidboot.serialno=0000000000000000000 boot_type=5
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 32MB = 32MB total
[    0.000000] Memory: 26580k/26580k available, 6188k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc2800000 - 0xff000000   ( 968 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0468f74   (4484 kB)
[    0.000000]       .init : 0xc0469000 - 0xc04864e4   ( 118 kB)
[    0.000000]       .data : 0xc0488000 - 0xc056f688   ( 926 kB)
[    0.000000]        .bss : 0xc056f688 - 0xc059db80   ( 186 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]
[    0.000000] pll_cpu-set_default_rate=552000000 success!
[    0.000000] pll_video-set_default_rate=297000000 success!
[    0.000000] pll_ddr-set_default_rate=312000000 success!
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.005325] Calibrating delay loop... 275.25 BogoMIPS (lpj=1376256)
[    0.075248] pid_max: default: 32768 minimum: 301
[    0.080432] Mount-cache hash table entries: 512
[    0.086392] CPU: Testing write buffer coherency: ok
[    0.092174] Setting up static identity map for 0xc0368ad0 - 0xc0368b28
[    0.101481] devtmpfs: initialized
[    0.106978] pinctrl core: initialized pinctrl subsystem
[    0.112843] NET: Registered protocol family 16
[    0.117999] DMA: failed to allocate 256 KiB pool for atomic coherent allocation
[    0.126036] dump_class_init,844, success
[    0.134696] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
[    0.158243] bio: create slab <bio-0> at 0
[    0.163717] pwm module init!
[    0.168263] usbcore: registered new interface driver usbfs
[    0.174151] usbcore: registered new interface driver hub
[    0.179955] usbcore: registered new device driver usb
[    0.185551] Linux video capture interface: v2.00
[    0.190533] Advanced Linux Sound Architecture Driver Initialized.
[    0.198670] cfg80211: Calling CRDA to update world regulatory domain
[    0.206156] Switching to clocksource sun3i high-res couter
[    0.231082] get det_vbus is fail, 84
[    0.236553] NET: Registered protocol family 2
[    0.243235] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.250346] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.257013] TCP: Hash tables configured (established 512 bind 512)
[    0.263576] TCP: reno registered
[    0.266976] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.273094] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.280158] NET: Registered protocol family 1
[    0.300223] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.306965] msgmni has been set to 51
[    0.314365] io scheduler noop registered
[    0.318535] io scheduler cfq registered (default)
[    0.323515] [pm]aw_pm_init!
[    0.326796] [pm]valid
[    0.329204] [pm]valid
[    0.332026] [DISP]disp_module_init
[    0.342700] num_screens=1
[    0.345469] screen_id=0
[    0.348043] para->mclk[MOD_CLK_LCD1CH0]=0xc180c300
[    0.353089] para->mclk[MOD_CLK_LCD1CH1]=0xc180c400
[    0.358044] disp tv init
[    0.360708] tcon_clk=0xc180c300, tcon_clk_parent=0x0
[    0.365884] tcon_clk=0xc180c300, tcon_clk_parent=0xc18043c0
[    0.371632] tve_clk=0xc180c400, tve_clk_parent=0xc18043c0
[    0.377229] disp al tv init
[    0.383038] fetch script datadisp.screen2_output_type fail
[    0.389016] fetch script datadisp.screen2_output_mode fail
[    0.397380] fetch script datadisp.fb2_format fail
[    0.402640] fetch script datadisp.fb2_scaler_mode_enable fail
[    0.408875] fetch script datadisp.fb2_width fail
[    0.414035] fetch script datadisp.fb2_height fail
[    0.420075] [DISP]disp_module_init finish
[    0.438553] uart0: ttyS0 at MMIO 0x1c25000 (irq = 104) is a SUNXI
[    0.444995] sw_console_setup()1324 - console setup baud 115200 parity n bits 8, flow n
[    0.453218] console [ttyS0] enabled, bootconsole disabled
[    0.453218] console [ttyS0] enabled, bootconsole disabled
[    0.465766] misc dump reg init
[    0.471060] [NAND]SPIC0_BASE_ADDR f1c05000
[    0.476372] Failed to get dragonboard_flag
[    0.480922] [NAND]nand init start
[    0.484681] SpiNandHwInit: Start Nand Hardware initializing Nov  4 2018 05:15:38.....
[    0.493408] kernel: nand version: 3 6019 20181104 1256
[    0.499111] print_level is no used
[    0.502922] request spi gpio  ok!
[    0.506595] request tx DMA
[    0.509600] request general tx dma channel ok!
[    0.514560] request rx DMA
[    0.517563] request general rx dma channel ok!
[    0.522514] NAND_ClkRequest
[    0.525655] NAND_ClkRequest: get pll6 rate 200000000HZ
[    0.531429] SPI nand ID: 21aaef 0
[    0.535193] [SCAN_DBG] NandTwoPlaneOp: 1, DriverTwoPlaneOPCfg: 1, 0xffbfffff 
[    0.543149] id_number_ctl is no used
[    0.547112] _UpdateExtAccessFreqPara: no para.
[    0.552727] PHY_Scan_DelayMode: right delay mode 0x0
[    0.558705] PHY_Scan_DelayMode: right delay mode 0x800
[    0.564530] _get_spic_clk_v1: sclk0=0x32
[    0.568891] PHY_Scan_DelayMode: right delay mode,clk 50 MHz, bit[13]=0,bit[11]=0
[    0.577142] physic_info_read start!!
[    0.581135] physic_info_get_offset start!!
[    0.590438] physic_info_get_one_copy start!!
[    0.596247] block 13 page 40
[    0.599938] block 13 page 41
[    0.603707] block 13 page 42
[    0.607410] block 13 page 43
[    0.611102] block 13 page 44
[    0.614879] block 13 page 45
[    0.618568] block 13 page 46
[    0.622344] block 13 page 47
[    0.626039] block 13 page 48
[    0.629729] block 13 page 49
[    0.633496] block 13 page 50
[    0.637206] block 13 page 51
[    0.640895] block 13 page 52
[    0.644665] block 13 page 53
[    0.648354] block 13 page 54
[    0.652074] block 13 page 55
[    0.656429] physic info copy is ok
[    0.660223] 
[    0.660223] 
[    0.663614] [SCAN_DBG] ==============Nand Architecture Parameter==============
[    0.671629] [SCAN_DBG]    Nand Chip ID:         0xff21aaef 0xffffffff
[    0.678808] [SCAN_DBG]    Nand Chip Count:      0x1
[    0.684246] [SCAN_DBG]    Nand Chip Connect:    0x1
[    0.689653] [SCAN_DBG]    Sector Count Of Page: 0x4
[    0.695085] [SCAN_DBG]    Page Count Of Block:  0x40
[    0.700587] [SCAN_DBG]    Block Count Of Die:   0x400
[    0.706211] [SCAN_DBG]    Plane Count Of Die:   0x2
[    0.711615] [SCAN_DBG]    Die Count Of Chip:    0x1
[    0.717044] [SCAN_DBG]    Bank Count Of Chip:   0x1
[    0.722474] [SCAN_DBG]    Optional Operation:   0x6d
[    0.727975] [SCAN_DBG]    Access Frequence:     0x32
[    0.733500] [SCAN_DBG] =======================================================
[    0.733500] 
[    0.774957] secure storage updata ok!
[    0.779046] nand secure storage ok: 58,59
[    0.783587] start block:60
[    0.786598] [ND]boot start 
[    0.789695] [ND]boot :0xc1920000
[    0.793316] [ND]boot->magic :0xaa55a5a5
[    0.797567] [ND]boot->len :0x8000
[    0.801238] [ND]boot->no_use_block :0x21
[    0.805614] [ND]boot->uboot_start_block :0x8
[    0.810347] [ND]boot->uboot_next_block :0x3a
[    0.815106] [ND]boot->logic_start_block :0x21
[    0.819935] [ND]mbr len :4096
[    0.823250] [ND]_PARTITION len :2560
[    0.827212] [ND]_NAND_STORAGE_INFO len :512
[    0.831870] [ND]_FACTORY_BLOCK len :2048
[    0.836300] [NE]partition_num: 0,size :0x36e00,cross_talk 0
[    0.842526] [NE]part mbr size: 0x2000 type: 0
[    0.847358] [NE]part bootlogo size: 0x400 type: 0
[    0.852604] [NE]part env size: 0x200 type: 0
[    0.857338] [NE]part boot size: 0x3000 type: 0
[    0.862292] [NE]part rootfs size: 0xc800 type: 0
[    0.867414] [NE]part rootfs_data size: 0xc800 type: 0
[    0.873042] [NE]part misc size: 0x200 type: 0
[    0.877872] [NE]part private size: 0x200 type: 0
[    0.883017] [NE]part UDISK size: 0x18400 type: 0
[    0.888267] [ND]partition->size :224768
[    0.892551] [ND]partition->cross_talk :0
[    0.896896] [ND]partition->attribute :0
[    0.901146] [ND]partition->start.Chip_NO :0
[    0.905808] [ND]partition->start.Block_NO :33
[    0.910637] [ND]partition->end.Chip_NO :0
[    0.915107] [ND]partition->end.Block_NO :511
[    0.919840] [ND]partition->nand_disk[0].size :8192
[    0.925175] [ND]partition->nand_disk[0].type :0
[    0.930198] [ND]partition->nand_disk[1].size :1024
[    0.935531] [ND]partition->nand_disk[1].type :0
[    0.940552] [ND]partition->nand_disk[2].size :512
[    0.945789] [ND]partition->nand_disk[2].type :0
[    0.950810] [ND]partition->nand_disk[3].size :12288
[    0.956241] [ND]partition->nand_disk[3].type :0
[    0.961263] [ND]partition->nand_disk[4].size :51200
[    0.966694] [ND]partition->nand_disk[4].type :0
[    0.971716] [ND]partition->nand_disk[5].size :51200
[    0.977147] [ND]partition->nand_disk[5].type :0
[    0.982192] [ND]partition->nand_disk[6].size :512
[    0.987406] [ND]partition->nand_disk[6].type :0
[    0.992449] [ND]partition->nand_disk[7].size :512
[    0.997661] [ND]partition->nand_disk[7].type :0
[    1.002712] [ND]partition->nand_disk[8].size :99328
[    1.008118] [ND]partition->nand_disk[8].type :0
[    1.013168] [ND]partition->nand_disk[9].size :-1
[    1.018286] [ND]partition->nand_disk[9].type :-1
[    1.023427] [ND]partition->nand_disk[10].size :-1
[    1.028641] [ND]partition->nand_disk[10].type :-1
[    1.033876] [ND]partition->nand_disk[11].size :-1
[    1.039090] [ND]partition->nand_disk[11].type :-1
[    1.044329] [ND]partition->nand_disk[12].size :-1
[    1.049544] [ND]partition->nand_disk[12].type :-1
[    1.054780] [ND]partition->nand_disk[13].size :-1
[    1.059995] [ND]partition->nand_disk[13].type :-1
[    1.065233] [ND]partition->nand_disk[14].size :-1
[    1.070447] [ND]partition->nand_disk[14].type :-1
[    1.075684] [ND]partition->nand_disk[15].size :-1
[    1.080897] [ND]partition->nand_disk[15].type :-1
[    1.086135] [ND]partition->nand_disk[16].size :-1
[    1.091348] [ND]partition->nand_disk[16].type :-1
[    1.096586] [ND]partition->nand_disk[17].size :-1
[    1.101800] [ND]partition->nand_disk[17].type :-1
[    1.107039] [ND]partition->nand_disk[18].size :-1
[    1.112277] [ND]partition->nand_disk[18].type :-1
[    1.117490] [ND]partition->nand_disk[19].size :-1
[    1.122729] [ND]partition->nand_disk[19].type :-1
[    1.127943] [ND]partition->nand_disk[20].size :-1
[    1.133182] [ND]partition->nand_disk[20].type :-1
[    1.138395] [ND]partition->nand_disk[21].size :-1
[    1.143633] [ND]partition->nand_disk[21].type :-1
[    1.148847] [ND]partition->nand_disk[22].size :-1
[    1.154086] [ND]partition->nand_disk[22].type :-1
[    1.159301] [ND]partition->nand_disk[23].size :-1
[    1.164538] [ND]partition->nand_disk[23].type :-1
[    1.169752] [ND]phy_partition->PartitionNO :0
[    1.174604] [ND]phy_partition->SectorNumsPerPage :8
[    1.180008] [ND]phy_partition->PageNumsPerBlk :64
[    1.185245] [ND]phy_partition->TotalBlkNum :479
[    1.190266] [ND]phy_partition->FullBitmapPerPage :8
[    1.195694] [ND]phy_partition->FreeBlock :0
[    1.200330] [ND]phy_partition->TotalSectors :224768
[    1.205759] [ND]phy_partition->StartBlock.Chip_NO :0
[    1.211261] [ND]phy_partition->StartBlock.Block_NO :33
[    1.216979] [ND]phy_partition->EndBlock.Chip_NO :0
[    1.222312] [ND]phy_partition->EndBlock.Block_NO :511
[    1.227911] [ND]phy_partition->next_phy_partition :0
[    1.233438] [ND]phy_partition->PartitionNO 0  FACTORY BAD BLOCK:
[    1.240096] [ND]phy_partition->PartitionNO 0  NEW BAD BLOCK:
[    1.246394] [ND]build 1 phy_partition !
[    1.250646] [ND]nand_info->type :0
[    1.254441] [ND]nand_info->SectorNumsPerPage :8
[    1.259461] [ND]nand_info->BytesUserData :16
[    1.264218] [ND]nand_info->PageNumsPerBlk :64
[    1.269046] [ND]nand_info->BlkPerChip :512
[    1.273616] [ND]nand_info->FirstBuild :0
[    1.277964] [ND]nand_info->FullBitmap :0
[    1.282338] [ND]nand_info->bad_block_addr.Chip_NO :0
[    1.287838] [ND]nand_info->bad_block_addr.Block_NO :0
[    1.293459] [ND]nand_info->mbr_block_addr.Chip_NO :0
[    1.298961] [ND]nand_info->mbr_block_addr.Block_NO :0
[    1.304583] [ND]nand_info->no_used_block_addr.Chip_NO :0
[    1.310470] [ND]nand_info->no_used_block_addr.Block_NO :33
[    1.316572] [ND]nand_info->new_bad_block_addr.Chip_NO :0
[    1.322484] [ND]nand_info->new_bad_block_addr.Block_NO :0
[    1.328468] [ND]nand_info->new_bad_page_addr :65535
[    1.333896] [ND]nand_info->partition_nums :1
[    1.338627] [ND]sizeof partition:2384
[    1.342706] [ND]nand_info->partition:0:
[    1.346956] [ND]size:0x36e00
[    1.350147] [ND]cross_talk:0x0
[    1.353551] [ND]attribute:0x0
[    1.356841] [ND]start: chip:0 block:33
[    1.360994] [ND]end  : chip:0 block:511
[    1.365268] [ND]boot :0xc1920000
[    1.368846] [ND]boot->magic :0xaa55a5a5
[    1.373118] [ND]boot->len :0x8000
[    1.376791] [ND]boot->no_use_block :0x21
[    1.381137] [ND]boot->uboot_start_block :0x8
[    1.385894] [ND]boot->uboot_next_block :0x3a
[    1.390625] [ND]boot->logic_start_block :0x21
[    1.395478] [ND]mbr len :4096
[    1.398765] [ND]_PARTITION len :2560
[    1.402751] [ND]_NAND_STORAGE_INFO len :512
[    1.407385] [ND]_FACTORY_BLOCK len :2048
[    1.412133] [ND]nand_partition0
[    1.415796] [ND]nftl start:479,40
[    1.419701] [ND]first
[    1.561237] [ND]before second 479 439.
[    1.643124] [NE]recover_phy_page_mapping no used page 33!!
[    1.649228] [ND]recover 451 33
[    1.652696] [ND]free block nums is 451 !
[    1.657049] [NE]not power on gc 451!
[    1.661007] [ND]nftl ok!
[    1.663940] [ND]max_erase_times = 65000
[    1.670719]  nanda: unknown partition table
[    1.678125]  nandb: unknown partition table
[    1.685570]  nandc: unknown partition table
[    1.692879]  nandd: unknown partition table
[    1.699152]  nande: unknown partition table
[    1.705517]  nandf: unknown partition table
[    1.712869]  nandg: unknown partition table
[    1.719151]  nandh: unknown partition table
[    1.724744] [NAND]nand init end
[    1.729048] lradc_battery_probe:lradc_battery_probe ++++++
[    1.735263] lradc_battery_dts_parse:lradc_battery_dts_parse ++++++
[    1.742211] key base: f1c23400
[    1.745736] irq num: 114 !
[    1.748743] battery_data_hw_init:battery_data_hw_init ++++++
[    1.755136] lradc_battery_probe:lradc_battery_probe ------
[    1.761767] usbcore: registered new interface driver asix
[    1.767906] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.775624] ehci-platform: EHCI generic platform driver
[    1.781678] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.789248] zero gadget: Gadget Zero, version: Cinco de Mayo 2008
[    1.796122] zero gadget: zero ready
[    1.800560] /soc/usbc0@0: could not find phandle
[    1.805793] get regulator_io is no nocare
[    1.810394] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    1.818423] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    1.830165] hub 1-0:1.0: USB hub found
[    1.834502] hub 1-0:1.0: 1 port detected
[    1.839366] wrn: hcd is not enable, need not stop hcd
[    1.847720] failed to get gpio-spk and gpio_num
[    1.852900] headphonevol:59,spkervol:27,maingain:4,pa_sleep_time:350
[    1.860811] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node daudio0
[    1.869561] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node daudio0
[    1.878054] [daudio]request pinctrl handle 
[    1.882539] for audio failed
[    1.885971] sunxi-daudio: probe of 1c22000.daudio failed with error -22
[    1.894804] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    1.902861] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    1.910789] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    1.918566] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    1.926329] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    1.934894] sunxi-internal-cpudai 1c23c00.cpudai0-controller: ASoC: pcm constructor failed: -12
[    1.944646] sunxi-codec-machine sound.2: ASoC: can't create pcm SUNXI-CODEC :-12
[    1.952902] sunxi-codec-machine sound.2: ASoC: failed to instantiate card -12
[    1.961203] snd_soc_register_card failed -12
[    1.966076] sunxi-codec-machine: probe of sound.2 failed with error -12
[    1.974186] ipip: IPv4 over IPv4 tunneling driver
[    1.980550] gre: GRE over IPv4 demultiplexor driver
[    1.986090] ip_gre: GRE over IPv4 tunneling driver
[    1.993764] TCP: cubic registered
[    1.997459] Initializing XFRM netlink socket
[    2.002362] NET: Registered protocol family 17
[    2.007382] NET: Registered protocol family 15
[    2.012854] VFP support v0.3: not present
[    2.018493] [LCD]lcd_module_init
[    2.026199] [LCD]lcd_module_init finish
[    2.030825] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    2.038207] ALSA device list:
[    2.041514]   No soundcards found.
[    2.052074] VFS: Mounted root (squashfs filesystem) readonly on device 93:48.
[    2.064305] devtmpfs: mounted
[    2.068323] Freeing unused kernel memory: 116K (c0469000 - c0486000)
mount: mounting none on /dev failed: Resource busy
mount: mounting pstore on /sys/fs/pstore failed: No such file or directory
mount: mounting /dev/by-name/rootfs_data on /overlay failed: Invalid argument
Mount Failed: formating /dev/by-name/rootfs_data to ext4 ...
mke2fs 1.42.12 (29-Aug-2014)
[    3.691121] EXT4-fs (nande): mounted filesystem with ordered data mode. Opts: (null)
-- run rc.preboot --
-- set volume --
Failed to open mixer
-- play music --
-- end --
failed to open for pcm 0,0
mke2fs 1.42.12 (29-Aug-2014)
[    6.692062] EXT4-fs (nandh): mounted filesystem with ordered data mode. Opts: (null)
[    7.004420] usbip_core: module is from the staging directory, the quality is unknown, you have been warned.
[    7.026495] usbip_core: USB/IP Core v1.0.0
[    7.041223] usbip_host: module is from the staging directory, the quality is unknown, you have been warned.
[    7.062946] usbcore: registered new interface driver usbip-host
[    7.069554] usbip_host: USB/IP Host Driver v1.0.0
[    7.088435] vhci_hcd: module is from the staging directory, the quality is unknown, you have been warned.
[    7.123030] vhci_hcd vhci_hcd: USB/IP Virtual Host Controller
[    7.129453] vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 2
[    7.161479] hub 2-0:1.0: USB hub found
[    7.172242] hub 2-0:1.0: 8 ports detected
[    7.191470] vhci_hcd: USB/IP 'Virtual' Host Controller (VHCI) Driver v1.0.0
-- run rc.final --
insmod F1C200s-board
ax88772c start....
cat /sys/devices/soc/usbc0/usb_host
[    8.251888] 
[    8.251888] insmod_host_driver
[    8.251888] 
[    8.259089] /soc/usbc0@0: could not find phandle
[    8.264352] get regulator_io is no nocare
host_chose finished!
start udhcpc ---------------------
-- end --

最近编辑记录 linux小白 (2021-04-30 15:42:38)

离线

#2 2021-04-30 15:40:16 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

Re: 请教一下大佬们,关于F1C100S的音频驱动问题

什么问题呢?

离线

#3 2021-05-06 09:17:05 分享评论

linux小白
会员
注册时间: 2021-04-30
已发帖子: 6
积分: 3.5

Re: 请教一下大佬们,关于F1C100S的音频驱动问题

哇酷小二 说:

什么问题呢?

无法将芯片的音频驱动内核编入内核,我在/dev/snd目录下看到啥东西都没有的,大佬请问一下,知道这是怎么回事嘛

离线

#4 2021-05-06 09:25:03 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

Re: 请教一下大佬们,关于F1C100S的音频驱动问题

tina 编译的估计默认就已经驱动了集成声卡上面的麦克风和喇叭。

离线

#5 2021-05-06 09:46:30 分享评论

linux小白
会员
注册时间: 2021-04-30
已发帖子: 6
积分: 3.5

Re: 请教一下大佬们,关于F1C100S的音频驱动问题

哇酷小二 说:

tina 编译的估计默认就已经驱动了集成声卡上面的麦克风和喇叭。

enmm,那我用Tina里面自带的播放音频程序的时候,提示了pcm找不到

root@TinaLinux:/etc# tinyplay kaiji.wav 
failed to open for pcm 0,0

离线

#6 2021-05-06 09:48:06 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

Re: 请教一下大佬们,关于F1C100S的音频驱动问题

发一个 widora tiny200 tina3.5 固件@spi nor flash
http://whycan.com/t_6221.html
(出处:哇酷开发者社区)


F1C100s tina3 程序, 请教屏闪是怎么回事?
http://whycan.com/t_3156.html#p38277
(出处:哇酷开发者社区)

离线

#7 2021-05-06 09:58:42 分享评论

linux小白
会员
注册时间: 2021-04-30
已发帖子: 6
积分: 3.5

Re: 请教一下大佬们,关于F1C100S的音频驱动问题

哇酷小二 说:

发一个 widora tiny200 tina3.5 固件@spi nor flash
http://whycan.com/t_6221.html
(出处:哇酷开发者社区)


F1C100s tina3 程序, 请教屏闪是怎么回事?
http://whycan.com/t_3156.html#p38277
(出处:哇酷开发者社区)

啊,,大佬,这个都是一些视频的,而且和我的问题好像没啥关系

离线

#8 2021-05-06 10:01:35 分享评论

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,125
积分: 1907

Re: 请教一下大佬们,关于F1C100S的音频驱动问题

先测下这些固件能不能放声音

离线

#9 2021-05-06 11:03:25 分享评论

linux小白
会员
注册时间: 2021-04-30
已发帖子: 6
积分: 3.5

Re: 请教一下大佬们,关于F1C100S的音频驱动问题

哇酷小二 说:

先测下这些固件能不能放声音

还不是不能啊,,

离线

#10 2021-05-06 12:02:46 分享评论

linux小白
会员
注册时间: 2021-04-30
已发帖子: 6
积分: 3.5

Re: 请教一下大佬们,关于F1C100S的音频驱动问题

哇酷小二 说:

先测下这些固件能不能放声音

大佬,请问一下你知道在sun3iw1_daudio.c这个文件中下面这个位置失败的原因是什么吗

//代码太长我就不完全粘出来了
static int __init sunxi_daudio_platform_probe(struct platform_device *pdev){
....
	if (!sunxi_daudio->pinctrl) {
		sunxi_daudio->pinctrl = devm_pinctrl_get(&pdev->dev);
		if (IS_ERR_OR_NULL(sunxi_daudio->pinctrl)) {
			pr_warn("[daudio]request pinctrl handle ");
			pr_warn("for audio failed\n");
			return -EINVAL;
		}
	}
...
}

离线

#11 2021-05-09 19:20:02 分享评论

staunchheart
会员
注册时间: 2019-12-17
已发帖子: 186
积分: 185.5

Re: 请教一下大佬们,关于F1C100S的音频驱动问题

我用TINA+F1C100S也是搞定这个声音,
V3S 的可以,手册上的配置好好像不对。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn