I have been fighting the problem of figuring out how to compile two drivers. In this case I will stick to this one for now and post later about the other one if needed after this one gets resolved.
The current hardware is a JBonest dualband AC Adapter for extending WIFI range and allowing for better speeds and connectivity.
The first problems I noticed when trying to configure the make file for compilation was that it was missing settings for CONFIG_PLATFORM_ARM_RPI out of the box, so I added them as so:
Code: Select all
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ANDROID_X86 = n
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
CONFIG_PLATFORM_JB_X86 = n
CONFIG_PLATFORM_ARM_S3C2K4 = n
CONFIG_PLATFORM_ARM_PXA2XX = n
CONFIG_PLATFORM_ARM_S3C6K4 = n
CONFIG_PLATFORM_ARM_RPI = yCode: Select all
ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
ARCH := arm
CROSS_COMPILE :=
KVER := $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
INSTALL_PREFIX :=
endifCode: Select all
root@kali:/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51# make
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.4.50-v7/build M=/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51 modules
make[1]: Entering directory '/usr/src/kernel'
WARNING: Symbol version dump ./Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.o
In file included from /tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/drv_types.h:95:0,
from /tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.c:22:
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/hal_com.h:412:13: error: ‘file_path’ redeclared as different kind of symbol
extern char file_path[PATH_LENGTH_MAX];
^~~~~~~~~
In file included from include/linux/cgroup.h:16:0,
from include/net/netprio_cgroup.h:17,
from include/linux/netdevice.h:48,
from /tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/osdep_service_linux.h:35,
from /tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/osdep_service.h:41,
from /tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/drv_types.h:32,
from /tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.c:22:
include/linux/fs.h:2574:14: note: previous declaration of ‘file_path’ was here
extern char *file_path(struct file *, char *, int);
^~~~~~~~~
In file included from /tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/drv_types.h:65:0,
from /tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.c:22:
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.c: In function ‘btinfo_evt_dump’:
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^~~~~~~~
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.c:3293:2: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "cid:0x%02x, len:%u\n", info->cid, info->len);
^~~~~~~~~~~~~~~
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^~~~~~~~
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.c:3296:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "byte2:%s%s%s%s%s%s%s%s\n"
^~~~~~~~~~~~~~~
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^~~~~~~~
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.c:3308:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "retry_cnt:%u\n", info->retry_cnt);
^~~~~~~~~~~~~~~
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^~~~~~~~
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.c:3311:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "rssi:%u\n", info->rssi);
^~~~~~~~~~~~~~~
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/rtw_debug.h:187:19: error: void value not ignored as it ought to be
#define _seqdump seq_printf
^
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/include/rtw_debug.h:242:7: note: in expansion of macro ‘_seqdump’
if(_seqdump(sel, fmt, ##arg)) /*rtw_warn_on(1)*/; \
^~~~~~~~
/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.c:3314:3: note: in expansion of macro ‘DBG_871X_SEL_NL’
DBG_871X_SEL_NL(sel, "byte5:%s%s\n"
^~~~~~~~~~~~~~~
scripts/Makefile.build:258: recipe for target '/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.o' failed
make[2]: *** [/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.o] Error 1
Makefile:1402: recipe for target '_module_/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51' failed
make[1]: *** [_module_/tmp/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51] Error 2
make[1]: Leaving directory '/usr/src/kernel'
Makefile:1563: recipe for target 'modules' failed
make: *** [modules] Error 2
Below is required information requested:
uname -a
Code: Select all
Linux kali 4.4.50-v7 #1 SMP Fri Apr 21 01:18:29 CDT 2017 armv7l GNU/LinuxCode: Select all
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.50-v7 (root@builder) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) ) #1 SMP Fri Apr 21 01:18:29 CDT 2017
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] cma: Reserved 8 MiB at 0x3a800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 241664
[ 0.000000] free_area_init_node: node 0, pgdat 808e0a00, node_mem_map b9fa6000
[ 0.000000] Normal zone: 2124 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 241664 pages, LIFO batch:31
[ 0.000000] [bcm2709_smp_init_cpus] enter (9540->f3003010)
[ 0.000000] [bcm2709_smp_init_cpus] ncores=4
[ 0.000000] PERCPU: Embedded 13 pages/cpu @b9f62000 s22720 r8192 d22336 u53248
[ 0.000000] pcpu-alloc: s22720 r8192 d22336 u53248 alloc=13*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: 239540
[ 0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 dma.dmachans=0x7f35 bcm2709.boardrev=0xa02082 bcm2709.serial=0xb062afa2 bcm2709.uart_clock=48000000 smsc95xx.macaddr=B8:27:EB:62:AF:A2 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.fiq_fix_enable=2 console=ttyS0,115200 kgdboc=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rootflags=noload net.ifnames=0
[ 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: 938944K/966656K available (6436K kernel code, 440K rwdata, 1732K rodata, 484K init, 772K bss, 19520K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xbb800000 - 0xff800000 (1088 MB)
lowmem : 0x80000000 - 0xbb000000 ( 944 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x808023b0 (8169 kB)
.init : 0x80803000 - 0x8087c000 ( 484 kB)
.data : 0x8087c000 - 0x808ea0e8 ( 441 kB)
.bss : 0x808ed000 - 0x809ae22c ( 773 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] Architected cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000008] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000025] Switching to timer-based delay loop, resolution 52ns
[ 0.000285] Console: colour dummy device 80x30
[ 0.001338] console [tty1] enabled
[ 0.001383] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.001452] pid_max: default: 32768 minimum: 301
[ 0.001789] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001832] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002810] Disabling cpuset control group subsystem
[ 0.002869] Initializing cgroup subsys io
[ 0.002921] Initializing cgroup subsys memory
[ 0.002987] Initializing cgroup subsys devices
[ 0.003032] Initializing cgroup subsys freezer
[ 0.003073] Initializing cgroup subsys net_cls
[ 0.003114] Initializing cgroup subsys perf_event
[ 0.003155] Initializing cgroup subsys net_prio
[ 0.003206] Initializing cgroup subsys pids
[ 0.003273] CPU: Testing write buffer coherency: ok
[ 0.003364] ftrace: allocating 21587 entries in 64 pages
[ 0.053182] CPU0: update cpu_capacity 1024
[ 0.053251] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.053285] [bcm2709_smp_prepare_cpus] enter
[ 0.053438] Setting up static identity map for 0x8240 - 0x8274
[ 0.055123] [bcm2709_boot_secondary] cpu:1 started (0) 17
[ 0.055474] [bcm2709_secondary_init] enter cpu:1
[ 0.055512] CPU1: update cpu_capacity 1024
[ 0.055518] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.055907] [bcm2709_boot_secondary] cpu:2 started (0) 18
[ 0.056168] [bcm2709_secondary_init] enter cpu:2
[ 0.056189] CPU2: update cpu_capacity 1024
[ 0.056194] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.056561] [bcm2709_boot_secondary] cpu:3 started (0) 17
[ 0.056742] [bcm2709_secondary_init] enter cpu:3
[ 0.056762] CPU3: update cpu_capacity 1024
[ 0.056768] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.056829] Brought up 4 CPUs
[ 0.056927] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.056956] CPU: All CPU(s) started in HYP mode.
[ 0.056982] CPU: Virtualization extensions available.
[ 0.057645] devtmpfs: initialized
[ 0.068420] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.068795] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.069506] pinctrl core: initialized pinctrl subsystem
[ 0.070078] NET: Registered protocol family 16
[ 0.075260] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.082020] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.082069] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.082240] Serial: AMBA PL011 UART driver
[ 0.082390] uart-pl011 3f201000.uart: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[ 0.082619] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.145312] bcm2835-dma 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0x1
[ 0.145924] SCSI subsystem initialized
[ 0.146126] usbcore: registered new interface driver usbfs
[ 0.146236] usbcore: registered new interface driver hub
[ 0.146353] usbcore: registered new device driver usb
[ 0.152724] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-04-19 13:30
[ 0.179932] clocksource: Switched to clocksource arch_sys_counter
[ 0.223371] FS-Cache: Loaded
[ 0.223683] CacheFiles: Loaded
[ 0.236030] NET: Registered protocol family 2
[ 0.236899] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.237037] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.237247] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.237361] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.237429] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.237682] NET: Registered protocol family 1
[ 0.238038] RPC: Registered named UNIX socket transport module.
[ 0.238070] RPC: Registered udp transport module.
[ 0.238097] RPC: Registered tcp transport module.
[ 0.238125] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.239159] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 0.240598] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.254229] VFS: Disk quotas dquot_6.6.0
[ 0.254563] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.256841] FS-Cache: Netfs 'nfs' registered for caching
[ 0.257790] NFS: Registering the id_resolver key type
[ 0.257868] Key type id_resolver registered
[ 0.257896] Key type id_legacy registered
[ 0.263234] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.263402] io scheduler noop registered
[ 0.263438] io scheduler deadline registered
[ 0.263508] io scheduler cfq registered (default)
[ 0.266051] BCM2708FB: allocated DMA memory fac10000
[ 0.266098] BCM2708FB: allocated DMA channel 0 @ f3007000
[ 0.316787] Console: switching to colour frame buffer device 228x61
[ 0.346984] bcm2835-rng 3f104000.rng: hwrng registered
[ 0.347228] vc-cma: Videocore CMA driver
[ 0.347348] vc-cma: vc_cma_base = 0x00000000
[ 0.347487] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 0.347643] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 0.347998] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[ 0.363279] brd: module loaded
[ 0.372046] loop: module loaded
[ 0.373114] vchiq: vchiq_init_state: slot_zero = 0xbac80000, is_master = 0
[ 0.374875] Loading iSCSI transport class v2.0-870.
[ 0.375674] usbcore: registered new interface driver smsc95xx
[ 0.375894] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.576357] Core Release: 2.80a
[ 0.576464] Setting default values for core params
[ 0.576634] Finished setting default values for core params
[ 0.777160] Using Buffer DMA mode
[ 0.777267] Periodic Transfer Interrupt Enhancement - disabled
[ 0.777435] Multiprocessor Interrupt Enhancement - disabled
[ 0.777596] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.777736] Dedicated Tx FIFOs mode
[ 0.778153] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbac04000 dma = 0xfac04000 len=9024
[ 0.778450] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.785662] dwc_otg: Microframe scheduler enabled
[ 0.785713] WARN::hcd_init_fiq:415: FIQ on core 1 at 0x80458c70
[ 0.792531] WARN::hcd_init_fiq:416: FIQ ASM at 0x80458fd4 length 36
[ 0.799370] WARN::hcd_init_fiq:441: MPHI regs_base at 0xbb87e000
[ 0.806153] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.812947] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.819709] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[ 0.826465] Init: Port Power? op_state=1
[ 0.833157] Init: Power Port (0)
[ 0.839888] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.846646] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.853355] usb usb1: Product: DWC OTG Controller
[ 0.860164] usb usb1: Manufacturer: Linux 4.4.50-v7 dwc_otg_hcd
[ 0.867011] usb usb1: SerialNumber: 3f980000.usb
[ 0.874581] hub 1-0:1.0: USB hub found
[ 0.881292] hub 1-0:1.0: 1 port detected
[ 0.888488] dwc_otg: FIQ enabled
[ 0.888498] dwc_otg: NAK holdoff enabled
[ 0.888506] dwc_otg: FIQ split-transaction FSM enabled
[ 0.888545] Module dwc_common_port init
[ 0.888812] usbcore: registered new interface driver usb-storage
[ 0.895744] mousedev: PS/2 mouse device common for all mice
[ 0.903042] bcm2835-cpufreq: min=600000 max=1200000
[ 0.909863] sdhci: Secure Digital Host Controller Interface driver
[ 0.916498] sdhci: Copyright(c) Pierre Ossman
[ 0.923382] sdhost: log_buf @ bac07000 (fac07000)
[ 0.989960] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 0.998865] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[ 1.005423] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[ 1.050048] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.056992] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.063863] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.070724] usbcore: registered new interface driver usbhid
[ 1.077498] usbhid: USB HID core driver
[ 1.084330] Indeed it is in host mode hprt0 = 00021501
[ 1.089973] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.093017] mmc0: new high speed SDHC card at address aaaa
[ 1.093737] mmcblk0: mmc0:aaaa AGGCD 29.7 GiB
[ 1.094030] Initializing XFRM netlink socket
[ 1.094074] NET: Registered protocol family 17
[ 1.094241] Key type dns_resolver registered
[ 1.094789] Registering SWP/SWPB emulation handler
[ 1.095663] registered taskstats version 1
[ 1.098859] mmcblk0: p1 p2
[ 1.099291] Key type encrypted registered
[ 1.099380] vc-sm: Videocore shared memory driver
[ 1.099389] [vc_sm_connected_init]: start
[ 1.099963] [vc_sm_connected_init]: end - returning 0
[ 1.101307] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[ 1.101675] of_cfs_init
[ 1.101761] of_cfs_init: OK
[ 1.113992] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.115540] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.117088] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.119869] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.210004] mmc1: new high speed SDIO card at address 0001
[ 1.246945] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: noload
[ 1.253292] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.263745] devtmpfs: mounted
[ 1.270730] Freeing unused kernel memory: 484K (80803000 - 8087c000)
[ 1.409995] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.416797] Indeed it is in host mode hprt0 = 00001101
[ 1.594447] systemd[1]: System time before build time, advancing clock.
[ 1.620254] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.626979] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.634595] hub 1-1:1.0: USB hub found
[ 1.641365] hub 1-1:1.0: 5 ports detected
[ 1.701225] NET: Registered protocol family 10
[ 1.726759] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.749315] random: systemd: uninitialized urandom read (16 bytes read, 58 bits of entropy available)
[ 1.758932] random: systemd: uninitialized urandom read (16 bytes read, 59 bits of entropy available)
[ 1.769661] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 1.777496] systemd[1]: Detected architecture arm.
[ 1.828929] systemd[1]: Set hostname to <kali>.
[ 1.916083] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 66 bits of entropy available)
[ 1.920164] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.921326] random: systemd: uninitialized urandom read (16 bytes read, 66 bits of entropy available)
[ 1.956153] random: systemd-cryptse: uninitialized urandom read (16 bytes read, 66 bits of entropy available)
[ 1.960623] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 66 bits of entropy available)
[ 1.961036] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 66 bits of entropy available)
[ 2.020346] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.027969] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.038327] smsc95xx v1.0.4
[ 2.103383] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:62:af:a2
[ 2.144831] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 72 bits of entropy available)
[ 2.325558] random: systemd: uninitialized urandom read (16 bytes read, 73 bits of entropy available)
[ 2.333844] random: systemd: uninitialized urandom read (16 bytes read, 73 bits of entropy available)
[ 2.350018] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
[ 2.474679] usb 1-1.3: New USB device found, idVendor=054c, idProduct=005d
[ 2.482554] usb 1-1.3: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[ 2.490321] usb 1-1.3: Product: SCE USB Keyboard Hub
[ 2.498118] usb 1-1.3: Manufacturer: Sony Computer Entertainment Inc.
[ 2.508755] hub 1-1.3:1.0: USB hub found
[ 2.517191] hub 1-1.3:1.0: 2 ports detected
[ 2.536948] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 2.554317] systemd[1]: Listening on Journal Socket (/dev/log).
[ 2.571269] systemd[1]: Reached target Remote File Systems.
[ 2.588433] systemd[1]: Listening on udev Kernel Socket.
[ 2.605522] systemd[1]: Listening on LVM2 poll daemon socket.
[ 2.623182] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.641140] systemd[1]: Listening on Syslog Socket.
[ 2.659374] systemd[1]: Listening on udev Control Socket.
[ 2.678321] systemd[1]: Created slice System Slice.
[ 2.720346] systemd[1]: Mounting Debug File System...
[ 2.739902] systemd[1]: Reached target Swap.
[ 2.760283] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 2.780220] systemd[1]: Created slice User and Session Slice.
[ 2.799992] usb 1-1.3.1: new full-speed USB device number 5 using dwc_otg
[ 2.801755] systemd[1]: Mounting POSIX Message Queue File System...
[ 2.830576] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 2.849354] systemd[1]: Listening on Journal Socket.
[ 2.924604] usb 1-1.3.1: New USB device found, idVendor=054c, idProduct=005c
[ 2.930562] systemd[1]: Starting Load Kernel Modules...
[ 2.942670] usb 1-1.3.1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 2.942679] usb 1-1.3.1: Product: SCE USB Keyboard
[ 2.942697] usb 1-1.3.1: Manufacturer: Sony Computer Entertainment Inc.
[ 2.975480] input: Sony Computer Entertainment Inc. SCE USB Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/0003:054C:005C.0001/input/input0
[ 2.992053] systemd[1]: Starting Set the console keyboard layout...
[ 3.016683] systemd[1]: Starting File System Check on Root Device...
[ 3.031515] hid-generic 0003:054C:005C.0001: input,hidraw0: USB HID v1.00 Keyboard [Sony Computer Entertainment Inc. SCE USB Keyboard] on usb-3f980000.usb-1.3.1/input0
[ 3.048475] systemd[1]: Listening on LVM2 metadata daemon socket.
[ 3.170618] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 3.193243] systemd[1]: Reached target Slices.
[ 3.214205] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 3.234300] systemd[1]: Reached target Paths.
[ 3.254117] systemd[1]: Reached target Encrypted Volumes.
[ 3.274820] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 3.308823] systemd[1]: Starting Journal Service...
[ 3.332354] systemd[1]: Created slice system-getty.slice.
[ 3.366145] systemd[1]: Mounted Debug File System.
[ 3.388058] systemd[1]: Mounted POSIX Message Queue File System.
[ 3.411260] systemd[1]: Started Load Kernel Modules.
[ 3.438413] systemd[1]: Started File System Check on Root Device.
[ 3.461140] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 3.483598] systemd[1]: Started Journal Service.
[ 3.634753] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[ 4.031553] systemd-journald[164]: Received request to flush runtime journal from PID 1
[ 4.560924] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[ 4.583999] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 4.873140] usbcore: registered new interface driver brcmfmac
[ 5.013702] cfg80211: World regulatory domain updated:
[ 5.013716] cfg80211: DFS Master region: unset
[ 5.013717] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 5.013731] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 5.013739] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5.013746] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 5.013754] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 5.013763] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 5.013770] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 5.013776] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 5.013783] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 5.096951] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Dec 15 2015 18:10:45 version 7.45.41.23 (r606571) FWID 01-cc4eda9c
[ 5.127434] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[ 5.987673] random: nonblocking pool is initialized
[ 6.791191] Bluetooth: Core ver 2.21
[ 6.802370] NET: Registered protocol family 31
[ 6.813291] Bluetooth: HCI device and connection manager initialized
[ 6.824154] Bluetooth: HCI socket layer initialized
[ 6.835344] Bluetooth: L2CAP socket layer initialized
[ 6.846315] Bluetooth: SCO socket layer initialized
[ 6.865262] Netfilter messages via NETLINK v0.30.
[ 7.322861] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 7.334185] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.865636] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 7.916035] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[ 7.925656] brcmfmac: brcmf_add_if: ignore IF event
[ 7.940952] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 7.951146] brcmfmac: power management disabled
[ 8.476963] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 8.487000] brcmfmac: power management disabled
[ 8.876089] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[ 8.885588] brcmfmac: brcmf_add_if: ignore IF event
[ 8.896122] brcmfmac: brcmf_p2p_create_p2pdev: set p2p_disc error
[ 8.929028] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 30.749972] usb 1-1.4: new high-speed USB device number 6 using dwc_otg
[ 30.870685] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=a811
[ 30.880395] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 30.889423] usb 1-1.4: Product: 802.11ac WLAN Adapter
[ 30.898574] usb 1-1.4: Manufacturer: Realtek
[ 30.907369] usb 1-1.4: SerialNumber: 00e04c000001
[ 47.139972] usb 1-1.5: new low-speed USB device number 7 using dwc_otg
[ 47.268257] usb 1-1.5: New USB device found, idVendor=046d, idProduct=c521
[ 47.277729] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 47.287109] usb 1-1.5: Product: USB Receiver
[ 47.296882] usb 1-1.5: Manufacturer: Logitech
[ 47.328270] input: Logitech USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:046D:C521.0002/input/input1
[ 47.338763] hid-generic 0003:046D:C521.0002: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-3f980000.usb-1.5/input0
[ 47.371141] input: Logitech USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.1/0003:046D:C521.0003/input/input2
[ 47.440964] hid-generic 0003:046D:C521.0003: input,hiddev0,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-3f980000.usb-1.5/input1
[ 90.800496] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 90.800555] brcmfmac: power management disabled
[ 91.607000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 163.099916] device wlan0 entered promiscuous mode
[ 185.651175] device wlan0 left promiscuous mode
[ 226.879823] usb 1-1.2: new high-speed USB device number 8 using dwc_otg
[ 227.340580] usb 1-1.2: New USB device found, idVendor=1e1d, idProduct=1103
[ 227.340603] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 227.340617] usb 1-1.2: Product: SS3
[ 227.340630] usb 1-1.2: Manufacturer: Kanguru
[ 227.340642] usb 1-1.2: SerialNumber: 07074B95DD1F3858
[ 227.341612] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 227.341981] scsi host0: usb-storage 1-1.2:1.0
[ 228.340680] scsi 0:0:0:0: Direct-Access Kanguru SS3 PMAP PQ: 0 ANSI: 6
[ 228.342909] sd 0:0:0:0: [sda] 61767680 512-byte logical blocks: (31.6 GB/29.5 GiB)
[ 228.343572] sd 0:0:0:0: [sda] Write Protect is off
[ 228.343597] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 00
[ 228.343882] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 228.373930] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 228.547366] sda: sda1
[ 228.549466] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 234.832986] fuse init (API version 7.23)Code: Select all
Bus 001 Device 007: ID 046d:c521 Logitech, Inc. Cordless Mouse Receiver
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x046d Logitech, Inc.
idProduct 0xc521 Cordless Mouse Receiver
bcdDevice 57.00
iManufacturer 1 Logitech
iProduct 2 USB Receiver
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 59
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 4 RR57.00_B0016
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 98mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 67
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 79
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
Bus 001 Device 006: ID 0bda:a811 Realtek Semiconductor Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0bda Realtek Semiconductor Corp.
idProduct 0xa811
bcdDevice 2.00
iManufacturer 1 Realtek
iProduct 2 802.11ac WLAN Adapter
iSerial 3 00e04c000001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 60
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 6
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 802.11ac WLAN Adapter
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 3
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x09 EP 9 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 12
bNumDeviceCaps 1
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000002
Link Power Management (LPM) Supported
Device Status: 0x0001
Self Powered
Bus 001 Device 005: ID 054c:005c Sony Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x054c Sony Corp.
idProduct 0x005c
bcdDevice 0.01
iManufacturer 3 Sony Computer Entertainment Inc.
iProduct 2 SCE USB Keyboard
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 2 SCE USB Keyboard
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 2 SCE USB Keyboard
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 65
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
Bus 001 Device 004: ID 054c:005d Sony Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 8
idVendor 0x054c Sony Corp.
idProduct 0x005d
bcdDevice 0.01
iManufacturer 3 Sony Computer Entertainment Inc.
iProduct 1 SCE USB Keyboard Hub
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 2 SCE USB Keyboard
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 2 SCE USB Keyboard
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000d
Per-port power switching
Compound device
Per-port overcurrent protection
bPwrOn2PwrGood 22 * 2 milli seconds
bHubContrCurrent 100 milli Ampere
DeviceRemovable 0x02
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0103 power enable connect
Port 2: 0000.0100 power
Device Status: 0x0000
(Bus Powered)
Bus 001 Device 008: ID 1e1d:1103 Lumension Security
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x1e1d Lumension Security
idProduct 0x1103
bcdDevice 1.10
iManufacturer 1 Kanguru
iProduct 2 SS3
iSerial 3 07074B95DD1F3858
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 498mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 22
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000006
Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 2
Lowest fully-functional device speed is High Speed (480Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 2047 micro seconds
Device Status: 0x0000
(Bus Powered)
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 1
bMaxPacketSize0 64
idVendor 0x0424 Standard Microsystems Corp.
idProduct 0xec00 SMSC9512/9514 Fast Ethernet Adapter
bcdDevice 2.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 4
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 1
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 2 TT per port
bMaxPacketSize0 64
idVendor 0x0424 Standard Microsystems Corp.
idProduct 0x9514 SMC9514 Hub
bcdDevice 2.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 1 Single TT
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 2 TT per port
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 5
wHubCharacteristic 0x000d
Per-port power switching
Compound device
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 1 milli Ampere
DeviceRemovable 0x02
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0503 highspeed power enable connect
Port 2: 0000.0503 highspeed power enable connect
Port 3: 0000.0103 power enable connect
Port 4: 0000.0503 highspeed power enable connect
Port 5: 0000.0303 lowspeed power enable connect
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.04
iManufacturer 3 Linux 4.4.50-v7 dwc_otg_hcd
iProduct 2 DWC OTG Controller
iSerial 1 3f980000.usb
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x0008
Ganged power switching
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0503 highspeed power enable connect
Device Status: 0x0001
Self PoweredAfter commenting out a few of the macro statements used in rtw_cmd.c and hal_com.h. A few of the errors have disappeared. Also using the command
Code: Select all
make moduleslines 410-414 of hal_com.h
Code: Select all
#ifdef CONFIG_LOAD_PHY_PARA_FROM_FILE
extern char *rtw_phy_file_path;
/*extern char file_path[PATH_LENGTH_MAX];*/ <-- duplicate as it is defined somewhere else in kernel tree.
#define GetLineFromBuffer(buffer) strsep(&buffer, "\n")
#endif
Code: Select all
void btinfo_evt_dump(void *sel, void *buf) // This should be ok since it should not need debug code in a release build.
{
/*struct btinfo *info = (struct btinfo *)buf;
DBG_871X_SEL_NL(sel, "cid:0x%02x, len:%u\n", info->cid, info->len);
if (info->len > 2)
DBG_871X_SEL_NL(sel, "byte2:%s%s%s%s%s%s%s%s\n"
, info->bConnection?"bConnection ":""
, info->bSCOeSCO?"bSCOeSCO ":""
, info->bInQPage?"bInQPage ":""
, info->bACLBusy?"bACLBusy ":""
, info->bSCOBusy?"bSCOBusy ":""
, info->bHID?"bHID ":""
, info->bA2DP?"bA2DP ":""
, info->bFTP?"bFTP":""
);
if (info->len > 3)
DBG_871X_SEL_NL(sel, "retry_cnt:%u\n", info->retry_cnt);
if (info->len > 4)
DBG_871X_SEL_NL(sel, "rssi:%u\n", info->rssi);
if (info->len > 5)
DBG_871X_SEL_NL(sel, "byte5:%s%s\n"
, info->eSCO_SCO?"eSCO_SCO ":""
, info->Master_Slave?"Master_Slave ":""
);*/
}Code: Select all
# make modules
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.4.50-v7/build M=/root/Desktop/jbonest/Driver/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51 modules
make[1]: Entering directory '/usr/src/kernel'
WARNING: Symbol version dump ./Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /root/Desktop/jbonest/Driver/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.o
/bin/sh: 1: ./scripts/recordmcount: Exec format error
scripts/Makefile.build:258: recipe for target '/root/Desktop/jbonest/Driver/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.o' failed
make[2]: *** [/root/Desktop/jbonest/Driver/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/core/rtw_cmd.o] Error 2
Makefile:1402: recipe for target '_module_/root/Desktop/jbonest/Driver/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51' failed
make[1]: *** [_module_/root/Desktop/jbonest/Driver/linux/driver/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51/rtl8821AU_linux_v4.3.14_13455.20150212_BTCOEX20150128-51] Error 2
make[1]: Leaving directory '/usr/src/kernel'
Makefile:1563: recipe for target 'modules' failed
make: *** [modules] Error 2