Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Ampak AP6212 wifi bluetooth - Linux support

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Ampak AP6212 wifi bluetooth - Linux support

    Has anyone managed to get the Ampak AP6212 (or similar model) wifi bluetooth chip to work under Linux? It appears to need some sort of gpio poke to wakeup, maybe?




    #2
    Digging into the issue a bit deeper it appears the Intel I2C driver is broken. I filed bug reports for it in Ubuntu and Fedora bug trackers.

    Code:
    [ 20.811692] i2c_designware 808622C1:06: I2C bus managed by PUNIT
    [ 20.912602] i2c_designware 808622C1:06: punit semaphore timed out, resetting
    [ 20.912723] i2c_designware 808622C1:06: PUNIT SEM: 2
    [ 20.912803] ------------[ cut here ]------------
    [ 20.912819] WARNING: CPU: 0 PID: 886 at drivers/i2c/busses/i2c-designware-baytrail.c:106 baytrail_i2c_acquire+0x13c/0x1f0 [i2c_designware_platform]
    [ 20.912821] Modules linked in: snd acpi_thermal_rel tpm_tis intel_soc_dts_iosf int340x_thermal_zone tpm_tis_core acpi_pad soundcore tpm i2c_designware_platform(+) i2c_designware_core spi_pxa2xx_platform nfsd auth_rpcgss nfs_acl lockd g
    race nls_utf8 isofs squashfs mmc_block crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel fjes i2c_hid sdhci_acpi sdhci mmc_core 8021q garp stp llc mrp hid_logitech_hidpp uas usb_storage cdc_ether usbnet r8152 hid_logitech_dj
    mii sunrpc scsi_transport_iscsi loop
    [ 20.912879] CPU: 0 PID: 886 Comm: systemd-udevd Not tainted 4.8.0-0.rc4.git0.1.fc25.x86_64 #1
    [ 20.912881] Hardware name: N/A CherryTrail/Type2 - Board Product Name, BIOS YT11.6W4x64.D003 05/17/2016
    [ 20.912885] 0000000000000286 000000007481af87 ffff8ef97997b9c0 ffffffff833e76cd
    [ 20.912891] 0000000000000000 0000000000000000 ffff8ef97997ba00 ffffffff830a1d7b
    [ 20.912896] 0000006a7997b9e0 ffff8ef978496028 00000000fffbbdb7 ffffffffc05196d0
    [ 20.912902] Call Trace:
    [ 20.912915] [<ffffffff833e76cd>] dump_stack+0x63/0x86
    [ 20.912922] [<ffffffff830a1d7b>] __warn+0xcb/0xf0
    [ 20.912927] [<ffffffff830a1ead>] warn_slowpath_null+0x1d/0x20
    [ 20.912932] [<ffffffffc05188bc>] baytrail_i2c_acquire+0x13c/0x1f0 [i2c_designware_platform]
    [ 20.912938] [<ffffffffc052c233>] i2c_dw_init+0x23/0x420 [i2c_designware_core]
    [ 20.912942] [<ffffffffc052cff9>] i2c_dw_probe+0x39/0x1d0 [i2c_designware_core]
    [ 20.912947] [<ffffffffc05184a2>] dw_i2c_plat_probe+0x1e2/0x420 [i2c_designware_platform]
    [ 20.912954] [<ffffffff8353307b>] platform_drv_probe+0x3b/0xa0
    [ 20.912958] [<ffffffff8352cf5c>] ? devices_kset_move_last+0x4c/0x90
    [ 20.912961] [<ffffffff83530ea3>] driver_probe_device+0x223/0x430
    [ 20.912965] [<ffffffff8353118f>] __driver_attach+0xdf/0xf0
    [ 20.912968] [<ffffffff835310b0>] ? driver_probe_device+0x430/0x430
    [ 20.912972] [<ffffffff8352e82c>] bus_for_each_dev+0x6c/0xc0
    [ 20.912975] [<ffffffff835305ae>] driver_attach+0x1e/0x20
    [ 20.912978] [<ffffffff8352ffc0>] bus_add_driver+0x170/0x270
    [ 20.912981] [<ffffffffc051d000>] ? 0xffffffffc051d000
    [ 20.912984] [<ffffffff83531ab0>] driver_register+0x60/0xe0
    [ 20.912987] [<ffffffffc051d000>] ? 0xffffffffc051d000
    [ 20.912990] [<ffffffff83532ff6>] __platform_driver_register+0x36/0x40
    [ 20.912995] [<ffffffffc051d017>] dw_i2c_init_driver+0x17/0x1000 [i2c_designware_platform]
    [ 20.913000] [<ffffffff83002190>] do_one_initcall+0x50/0x180
    [ 20.913006] [<ffffffff832272f9>] ? kmem_cache_alloc_trace+0x159/0x1b0
    [ 20.913010] [<ffffffff831b7b46>] ? do_init_module+0x27/0x1ef
    [ 20.913013] [<ffffffff831b7b7e>] do_init_module+0x5f/0x1ef
    [ 20.913018] [<ffffffff8312e3a4>] load_module+0x22c4/0x29e0
    [ 20.913021] [<ffffffff8312af70>] ? __symbol_put+0x60/0x60
    [ 20.913026] [<ffffffff8312ec33>] SYSC_init_module+0x173/0x190
    [ 20.913030] [<ffffffff8312ed6e>] SyS_init_module+0xe/0x10
    [ 20.913034] [<ffffffff83003c57>] do_syscall_64+0x67/0x160
    [ 20.913039] [<ffffffff838060e1>] entry_SYSCALL64_slow_path+0x25/0x25
    [ 20.913042] ---[ end trace e787777b154d2d89 ]---
    [ 20.913045] i2c_designware 808622C1:06: couldn't acquire bus ownership
    [ 20.913177] i2c_designware: probe of 808622C1:06 failed with error -110

    Comment

    Working...
    X