This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352: HIDKeyBoard cannot be entered

Part Number: AM3352
Other Parts Discussed in Thread: DA8XX, CC2564MODN

Hi,

SDK: linux v 6.0

The customer connects a standard input device HIDKeyBoard to the am335x custom board by USB, and the device is successfully connected, but no input is returned when using function gets().

Below is the log. 

[ 1.624450] usb 1-1: new full-speed USB device number 2 using musb-hdrc
[ 1.793640] usb 1-1: New USB device found, idVendor=26f1, idProduct=8801
[ 1.800659] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.808288] usb 1-1: Product: HIDKeyBoard
[ 1.812530] usb 1-1: Manufacturer: TMS
[ 1.816436] usb 1-1: SerialNumber: 1234567890abcd

  • Hi Nancy,

    It seems like the HIDKeyBoard is not a standard USB HID device. Please provide the full kernel boot log with the KIDKeyBoard enumerated.

  • hi:

    U-Boot SPL 2013.01.01-g07d175f-dirty (Sep 14 2015 - 17:16:53)
    only for Mediate WIFI Probe!
    mpu_pll = 550 MHz


    U-Boot 2013.01.01-g07d175f-dirty (Sep 14 2015 - 17:16:53)

    DRAM: 64 MiB
    WARNING: Caches not enabled
    NAND: WP
    512 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Using default environment

    In: serial
    Out: serial
    Err: serial
    Net: Net Initialization Skipped
    No ethernet found.
    Hit any key to stop autoboot: 0
    Booting from nand ...

    NAND read: device 0 offset 0x280000, size 0x2b8888
    2853000 bytes read: OK
    ## Booting kernel from Legacy Image at 80007fc0 ...
    Image Name: Linux-3.2.0-ga75e3d3
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2724224 Bytes = 2.6 MiB
    Load Address: 80008000
    Entry Point: 80008000
    XIP Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [ 0.000000] Linux version 3.2.0-ga75e3d3 (keanu@KeanusUbuntu) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #262 Wed Aug 24 16:40:06 CST 2016
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine: am335xevm
    [ 0.000000] Memory policy: ECC disabled, Data cache writeback
    [ 0.000000] AM335X ES2.1 (neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 16256
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=7,2048 rootfstype=ubifs rootwait=1ip=192.168.18.8:192.168.18.180:192.168.18.1:255.255.255.0::eth0:off
    [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
    [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Memory: 64MB = 64MB total
    [ 0.000000] Memory: 59336k/59336k available, 6200k 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 : 0xc4800000 - 0xff000000 ( 936 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc04be000 (4824 kB)
    [ 0.000000] .init : 0xc04be000 - 0xc04f3000 ( 212 kB)
    [ 0.000000] .data : 0xc04f4000 - 0xc054bd28 ( 352 kB)
    [ 0.000000] .bss : 0xc054bd4c - 0xc0576088 ( 169 kB)
    [ 0.000000] NR_IRQS:396
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [ 0.000000] Total of 128 interrupts on 1 active controller
    [ 0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
    [ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [ 0.000000] Console: colour dummy device 80x30
    [ 0.000152] Calibrating delay loop... 548.86 BogoMIPS (lpj=2744320)
    [ 0.048706] pid_max: default: 32768 minimum: 301
    [ 0.048858] Security Framework initialized
    [ 0.048950] Mount-cache hash table entries: 512
    [ 0.049377] CPU: Testing write buffer coherency: ok
    [ 0.070800] omap_hwmod: gfx: failed to hardreset
    [ 0.087493] omap_hwmod: pruss: failed to hardreset
    [ 0.088775] print_constraints: dummy:
    [ 0.089202] NET: Registered protocol family 16
    [ 0.091705] OMAP GPIO hardware version 0.1
    [ 0.094482] omap_mux_init: Add partition: #1: core, flags: 0
    [ 0.097167] ehrpwm.0 regist succeed
    [ 0.097381] linux backlight regist succeed
    [ 0.147979] da8xx_lcdc_lidd.0: alias fck already exists
    [ 0.148254] BVS-pro LCD init succeed!!!
    [ 0.148315]
    [ 0.148315] adding i2c bus now
    [ 0.148315]
    [ 0.148376] omap_i2c.1: alias fck already exists
    [ 0.148681]
    [ 0.148681] adding i2c bus now
    [ 0.148681]
    [ 0.148712] omap_i2c.2: alias fck already exists
    [ 0.149414] CC2564MODN init done.
    [ 0.150665]
    [ 0.150665] start to init omap-gpmc
    [ 0.150665]
    [ 0.151428] _omap_mux_get_by_name: Could not find signal ain0.ain0
    [ 0.151458] _omap_mux_get_by_name: Could not find signal vrefp.vrefp
    [ 0.151489] _omap_mux_get_by_name: Could not find signal vrefn.vrefn
    [ 0.153198] edma.0: alias fck already exists
    [ 0.153228] edma.0: alias fck already exists
    [ 0.153259] edma.0: alias fck already exists
    [ 0.178314] bio: create slab <bio-0> at 0
    [ 0.180664] usbcore: registered new interface driver usbfs
    [ 0.181030] usbcore: registered new interface driver hub
    [ 0.181243] usbcore: registered new device driver usb
    [ 0.181427] musb-ti81xx musb-ti81xx: musb0, board_mode=0x12, plat_mode=0x2
    [ 0.181793] musb-ti81xx musb-ti81xx: musb1, board_mode=0x12, plat_mode=0x1
    [ 0.182983] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [ 0.198608] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
    [ 0.201446] Switching to clocksource gp timer
    [ 0.219360] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [ 0.219543] musb-hdrc musb-hdrc.0: dma type: pio
    [ 0.219879] MUSB0 controller's USBSS revision = 4ea20800
    [ 0.219909] musb0: Enabled SW babble control
    [ 0.220611] musb-hdrc musb-hdrc.0: USB Peripheral mode controller at c483c000 using PIO, IRQ 18
    [ 0.220733] musb-hdrc musb-hdrc.1: dma type: pio
    [ 0.221038] MUSB1 controller's USBSS revision = 4ea20800
    [ 0.221069] musb-hdrc musb-hdrc.1: host: value of mode reg=80 regval(80)
    [ 0.221069] musb1: Enabled SW babble control
    [ 0.221252] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 0.221374] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [ 0.221618] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 0.221649] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 0.221649] usb usb1: Product: MUSB HDRC host driver
    [ 0.221679] usb usb1: Manufacturer: Linux 3.2.0-ga75e3d3 musb-hcd
    [ 0.221679] usb usb1: SerialNumber: musb-hdrc.1
    [ 0.222656] hub 1-0:1.0: USB hub found
    [ 0.222686] hub 1-0:1.0: 1 port detected
    [ 0.223419] musb-hdrc musb-hdrc.1: USB Host mode controller at c483e800 using PIO, IRQ 19
    [ 0.223907] NET: Registered protocol family 2
    [ 0.224121] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.224487] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    [ 0.224548] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.224578] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.224609] TCP reno registered
    [ 0.224609] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.224639] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.224884] NET: Registered protocol family 1
    [ 0.225219] RPC: Registered named UNIX socket transport module.
    [ 0.225219] RPC: Registered udp transport module.
    [ 0.225219] RPC: Registered tcp transport module.
    [ 0.225250] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.225738] omap-gpmc omap-gpmc: GPMC revision 6.0
    [ 0.225738] Registering NAND on CS0
    [ 0.230712] VFS: Disk quotas dquot_6.5.2
    [ 0.230804] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.231384] msgmni has been set to 115
    [ 0.235168] alg: No test for stdrng (krng)
    [ 0.235900] io scheduler noop registered
    [ 0.235931] io scheduler deadline registered
    [ 0.235992] io scheduler cfq registered (default)
    [ 0.236328] pwm register name is ehrpwm.0:0
    [ 0.236724] PWMSS: ehrpwm channel [0] init done!
    [ 0.236755] pwm register name is ehrpwm.0:1
    [ 0.237030] PWMSS: ehrpwm channel [1] init done!
    [ 0.237365] pwm_request: pwm name is ehrpwm.0:1
    [ 0.237396]
    [ 0.237396] ehrpwm: The clk freq is 100000000
    [ 0.237457] pwm-backlightpwm-backlight pwm-backlight: got pwm for backlight
    [ 0.238128] da8xx_lcdc_lidd da8xx_lcdc_lidd.0: lidd-fb:LCD_VERSION_2
    [ 0.238128] da8xx_lcdc_lidd da8xx_lcdc_lidd.0: GLCD: Found Topfoison_TF16002A-V0 panel
    [ 0.359527] da8xx_lcdc_lidd da8xx_lcdc_lidd.0: GLCD: FB kmalloc succeed!
    [ 0.359527] vram_size=0x1e000,vram_virt=0xffde0000,vram_phys=0x83f00000
    [ 0.360076] da8xx_lcdc_lidd da8xx_lcdc_lidd.0: GLCD: irq get succeed
    [ 0.363189] da8xx_lcdc_lidd da8xx_lcdc_lidd.0: GLCD: FB register succeed!
    [ 0.364044] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [ 1.074035] console [ttyO0] enabled
    [ 1.078674] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [ 1.086608] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [ 1.096923] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [ 1.104827] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [ 1.115112] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [ 1.123565] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
    [ 1.134185] loop: module loaded
    [ 1.137786] (stk) :sysfs entries created
    [ 1.141937] (stk) : debugfs entries created
    [ 1.150878] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.158294] omap2-nand driver initializing
    [ 1.165405] ONFI flash detected
    [ 1.168975] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-bit)
    [ 1.178314] Creating 8 MTD partitions on "omap2-nand.0":
    [ 1.184600] 0x000000000000-0x000000020000 : "SPL"
    [ 1.191192] 0x000000020000-0x000000040000 : "SPL.backup1"
    [ 1.198364] 0x000000040000-0x000000060000 : "SPL.backup2"
    [ 1.207794] 0x000000060000-0x000000080000 : "SPL.backup3"
    [ 1.214904] 0x000000080000-0x000000260000 : "U-Boot"
    [ 1.223937] 0x000000260000-0x000000280000 : "U-Boot Env"
    [ 1.230957] 0x000000280000-0x000000780000 : "Kernel"
    [ 1.240295] 0x000000780000-0x000020000000 : "File System"
    [ 1.461517] UBI: attaching mtd7 to ubi0
    [ 1.465606] UBI: physical eraseblock size: 131072 bytes (128 KiB)
    [ 1.472198] UBI: logical eraseblock size: 126976 bytes
    [ 1.477966] UBI: smallest flash I/O unit: 2048
    [ 1.482940] UBI: VID header offset: 2048 (aligned 2048)
    [ 1.489227] UBI: data offset: 4096
    [ 1.612274] usb 1-1: new full-speed USB device number 2 using musb-hdrc
    [ 1.784179] usb 1-1: New USB device found, idVendor=26f1, idProduct=8801
    [ 1.791198] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 1.798828] usb 1-1: Product: HIDKeyBoard
    [ 1.803070] usb 1-1: Manufacturer: TMS
    [ 1.806976] usb 1-1: SerialNumber: 1234567890abcd
    [ 4.207824] UBI: max. sequence number: 1657
    [ 4.228149] UBI: attached mtd7 to ubi0
    [ 4.232177] UBI: MTD device name: "File System"
    [ 4.238006] UBI: MTD device size: 504 MiB
    [ 4.243286] UBI: number of good PEBs: 4036
    [ 4.248199] UBI: number of bad PEBs: 0
    [ 4.252868] UBI: number of corrupted PEBs: 0
    [ 4.257568] UBI: max. allowed volumes: 128
    [ 4.262420] UBI: wear-leveling threshold: 4096
    [ 4.267333] UBI: number of internal volumes: 1
    [ 4.272003] UBI: number of user volumes: 1
    [ 4.276702] UBI: available PEBs: 0
    [ 4.281372] UBI: total number of reserved PEBs: 4036
    [ 4.286560] UBI: number of PEBs reserved for bad PEB handling: 40
    [ 4.292968] UBI: max/mean erase counter: 2/1
    [ 4.297485] UBI: image sequence number: 1593206285
    [ 4.302734] UBI: background thread "ubi_bgt0d" started, PID 454
    [ 4.352142] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [ 4.358612] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    [ 4.368164] davinci_mdio.0: probed
    [ 4.371734] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
    [ 4.380798] mousedev: PS/2 mouse device common for all mice
    [ 4.389312] ==ft5x0x_ts_init==
    [ 4.392608] ==ft5x0x_ts_probe=
    [ 4.395812] we are using adapter: OMAP I2C adapter
    [ 4.400817] we get i2c0 work now
    [ 4.404266] ==kzalloc=
    [ 4.407714] input: ft5x06_ts as /devices/virtual/input/input0
    [ 4.472717] [FST] FT55x0x Firmware version = 0x0
    [ 4.478118] [FST] FT55x0x touch threshold = 25x
    [ 4.483978] [FST] FT55x0x touch threshold = 5x
    [ 4.488677] ==probe over =
    [ 4.491790] ret=0
    [ 4.495330] rtc-ds1307 2-0068: SET TIME!
    [ 4.500610] we will in rtc_device_register
    [ 4.507934] rtc-ds1307 2-0068: rtc core: registered ds1339 as rtc0
    [ 4.515106] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc1
    [ 4.524871] i2c /dev entries driver
    [ 4.529235] Linux media interface: v0.10
    [ 4.533599] Linux video capture interface: v2.00
    [ 4.541198] usbcore: registered new interface driver uvcvideo
    [ 4.547241] USB Video Class driver (1.1.1)
    [ 4.552368] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 4.561340] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
    [ 4.570159] cpuidle: using governor ladder
    [ 4.577087] cpuidle: using governor menu
    [ 4.581756] omap4_aes_mod_init: loading AM33X AES driver
    [ 4.587493] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [ 4.596527] omap4_aes_probe: probe() done
    [ 4.600982] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [ 4.607177] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [ 4.622283] omap4_sham_probe: probe() done
    [ 4.627838] tiadc tiadc: attached adc driver
    [ 4.634918] oprofile: hardware counters not available
    [ 4.640228] oprofile: using timer interrupt.
    [ 4.644744] nf_conntrack version 0.5.0 (927 buckets, 3708 max)
    [ 4.653839] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 4.659545] TCP cubic registered
    [ 4.662963] NET: Registered protocol family 17
    [ 4.670715] Registering the dns_resolver key type
    [ 4.675750] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 4.684020] ThumbEE CPU extension supported.
    [ 4.688598] mux: Failed to setup hwmod io irq -22
    [ 4.694305] Power Management for AM33XX family
    [ 4.699157] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [ 4.708343] Copied the M3 firmware to UMEM
    [ 4.712738] Cortex M3 Firmware Version = 0x181
    [ 4.717926] sr_init: platform driver register failed
    [ 4.725708] clock: disabling unused clocks to save power
    [ 4.747955] Detected MACID=c4:ed:ba:8b:93:d8
    [ 4.753692] cpsw: Detected MACID = c4:ed:ba:8b:93:da
    [ 4.763031] input: gpio-keys as /devices/platform/gpio-keys/input/input1
    [ 4.771972] rtc-ds1307 2-0068: setting system clock to 2000-01-01 00:00:10 UTC (946684810)
    [ 4.823883] UBIFS: recovery needed
    [ 4.939727] UBIFS: recovery completed
    [ 4.944458] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [ 4.950775] UBIFS: file system size: 97136640 bytes (94860 KiB, 92 MiB, 765 LEBs)
    [ 4.958862] UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
    [ 4.966552] UBIFS: media format: w4/r0 (latest is w4/r0)
    [ 4.972656] UBIFS: default compressor: lzo
    [ 4.976959] UBIFS: reserved for root: 0 bytes (0 KiB)
    [ 4.985290] VFS: Mounted root (ubifs filesystem) on device 0:13.
    [ 4.992034] Freeing init memory: 212K
    INIT: version 2.88 booting
    Starting udev
    [ 7.414184] Disabling lock debugging due to kernel taint
    [ 7.423370]
    [ 7.423370] ProbeFPGA_char_init()
    [ 7.432464] EDMA channel 52 request successful!
    [ 7.437530] EDMA init mission accomplished!
    [ 7.442047] Power_OFF request failed!
    [ 7.445892] In_Charging request failed!
    [ 7.449920] LEDs init done!
    [ 7.452850] FPGA_DONE input as 0
    [ 7.456268] FPGA GPIO init done
    [ 7.459564] ProbeFPGA driver register & init completed!
    [ 7.459564]
    Configuring network interfaces... [ 8.242767] net eth0: CPSW phy found : id is : 0x7c0f1
    done.
    Tue Nov 19 22:47:00 UTC 2019
    INIT: Entering runlevel: 5
    Starting system message bus: Unknown username "pulse" in message bus configuration file
    dbus.
    Starting Dropbear SSH server: dropbear.
    Starting network benchmark server: netserver.
    This is a Mediate bladder scanner BVS-pro.
    Starting BVS-pro app...
    Stopping Bootlog daemon: bootlogd.

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org am335x-evm ttyO0

    Arago 2013.05 am335x-evm ttyO0

    am335x-evm login: "UTF-8"
    QFont( "DejaVu Sans,12,-1,5,50,0,0,0,0,0" )
    QFont( "WenQuanYi Micro Hei,12,-1,5,50,0,0,0,0,0" )
    nation is : "cn" load is true
    we're running in "/"
    start BVS-pro probe init
    [ 10.796539] FPGA open now.
    [ 10.813873]
    [ 10.813903] ehrpwm: The clk freq is 100000000
    [ 10.849182] write address is 0x0.
    [ 10.852691] write content is 32.
    [ 10.856140] FPGA write accomplished.
    [ 10.867584] write address is 0x2.
    [ 10.871063] write content is 4.
    [ 10.874359] FPGA write accomplished.
    [ 10.883300] write address is 0x4.
    [ 10.886779] write content is 45000.
    [ 10.890441] FPGA write accomplished.
    [ 10.899291] write address is 0x8.
    [ 10.902770] write content is 40000.
    [ 10.906433] FPGA write accomplished.
    [ 10.915252] write address is 0xc.
    [ 10.918731] write content is 40.
    [ 10.922119] FPGA write accomplished.
    [ 10.930938] write address is 0xe.
    [ 10.934417] write content is 15365.
    [ 10.938079] FPGA write accomplished.
    [ 10.950103] write address is 0x14.
    [ 10.953735] write content is 389.
    [ 10.957183] FPGA write accomplished.
    [ 10.966278] write address is 0x16.
    [ 10.969848] write content is 8.
    [ 10.973114] FPGA write accomplished.
    [ 10.982025] write address is 0x1a.
    [ 10.985595] write content is 15.
    [ 10.988983] FPGA write accomplished.
    [ 10.997833] write address is 0x1c.
    [ 11.001403] write content is 2600.
    [ 11.004974] FPGA write accomplished.
    [ 11.013824] write address is 0x86.
    [ 11.017395] write content is 29491.
    [ 11.021057] FPGA write accomplished.
    [ 11.029937] write address is 0x88.
    [ 11.033508] write content is 1.
    [ 11.036804] FPGA write accomplished.
    [ 11.045593] write address is 0x8a.
    [ 11.049163] write content is 64766.
    [ 11.052795] FPGA write accomplished.
    [ 11.064361] write address is 0x8c.
    [ 11.067932] write content is 1736.
    [ 11.071472] FPGA write accomplished.
    [ 11.080474] write address is 0x8e.
    [ 11.084045] write content is 62856.
    [ 11.087707] FPGA write accomplished.
    [ 11.096557] write address is 0x90.
    [ 11.100128] write content is 19459.
    [ 11.103790] FPGA write accomplished.
    [ 11.112640] write address is 0x92.
    [ 11.116210] write content is 62856.
    [ 11.119842] FPGA write accomplished.
    [ 11.128723] write address is 0x94.
    [ 11.132263] write content is 1736.
    [ 11.135833] FPGA write accomplished.
    [ 11.144714] write address is 0x96.
    [ 11.148254] write content is 64766.
    [ 11.151916] FPGA write accomplished.
    [ 11.160766] write address is 0x20.
    [ 11.164337] write content is 4.
    [ 11.167633] FPGA write accomplished.
    call c func end, our pid is 959
    open db succeed.

    db version code: 2
    scanTime Column index: 5
    open db in BVSpro(), records : 0
    brightness 50
    brightness 50
    sleeptime 8 ; offtime 8
    [ 11.436859] write address is 0x18.
    [ 11.440643] write content is 1.
    [ 11.444030] FPGA write accomplished.
    [ 11.468811] write address is 0x18.
    [ 11.472381] write content is 0.
    [ 11.476898] FPGA write accomplished.
    [ 11.485900] write TGC FIFO accomplished!
    [ 11.490020] FPGA write accomplished.
    [ 11.499053] write address is 0x22.
    [ 11.502624] write content is 1026.
    [ 11.506195] FPGA write accomplished.
    TGC 100 ; motorphase 1026
    in screensaver::restore now
    connect succeed

  • Hi Nancy,

    The log doesn't have the USB keyboard enumeration log which I asked.

    Anyway, if attach this USB keyboard to a Linux PC, does the gets() application work on the PC?

  • Hi,

    USB keyboard is working on the LinuxPc or windowsPC.

    On this board ,first define SCANNER_DEV "/dev/input/event3"

    fd = open(SCANNER_DEV, O_RDWR);

    read(fd,&buff,sizeof(struct input_event))

    In the /etc/udev/rules.d ,

    SUBSYSTEM=="usb", KERNEL=="1-1", ATTR{idVendor}=="26f1",ATTR{idProduct}=="8801", SYMLINK+="input/event3"

    but i can't get a correct info from the HIDkeyboard.

  • Hi Nancy,

    If the HID keyboard is a standard USB HID keyboard class device, you shouldn't need the udev rule.

    Kernel v3.2 is very old and no longer supported. Please ask the customer to test the latest Processor SDK v6.3.

  • Hi

     Use a standard keyboard (levono keyboard),connect to my board, Still no input data

  • Kernel v3.2 is very old and no longer supported. Please ask the customer to test the latest Processor SDK v6.3.

  • Is it 64-bit for ti-processor-sdk-linux-am335x-evm-06.03.00.106-linux-x86 install.bin?I can't open it in Ubuntu12

  • I believe it is 32-bit. You need to install 32-bit libs on Ubuntu.

    What is Ubuntu12? It sounds very old, the current popular versions of Ubuntu is 18.04 or 20.04.