Author Topic: usb wireless mouse  (Read 3204 times)

Offline johndoe_71rus

  • Full Member
  • ***
  • Posts: 242
  • Karma: +3/-1
    • View Profile
usb wireless mouse
« on: December 27, 2013, 01:16:33 am »
Cubieboard2, android 4.2.2 build from SDK 1.05.
Connect wireless mouse dongle to usb

Code: [Select]
I/USB3G   ( 1247): event { 'add', '/devices/platform/sw-ohci.2/usb5/5-1', 'usb', '', 189, 515 }
I/USB3G   ( 1247): path : '/sys/devices/platform/sw-ohci.2/usb5/5-1'
I/USB3G   ( 1247): VID :size 5,vid_path '/sys/devices/platform/sw-ohci.2/usb5/5-1/idVendor',VID  '276dI/USB3G   ( 1247): '.
I/USB3G   ( 1247): PID :size 5,Pid_path '/sys/devices/platform/sw-ohci.2/usb5/5-1/idProduct',PID  '1113
I/USB3G   ( 1247): '.
I/USB3G   ( 1247): cmd=/system/bin/usb_modeswitch.sh /system/etc/usb_modeswitch.d/276d_1113 &,
I/USB3G   ( 1247): excute ret:0,err:No buffer space available
I/USB3G   ( 1247): free cmd
D/EventHub( 2038): No input device configuration file found for device 'YS G Mouse'.
I/EventHub( 2038): New device: id=12, fd=173, path='/dev/input/event5', name='YS G Mouse', classes=0x80000003, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false
I/InputReader( 2038): Device added: id=12, name='YS G Mouse', sources=0x00000101
D/WindowManager( 2038): --------------ro.sw.hidesoftkbwhenhardkbin
I/ActivityManager( 2038): Config changes=1400 {1.3 ?mcc?mnc ru_RU ldltr sw768dp w1024dp h768dp 160dpi xlrg land -touch -keyb/v/h dpad/v s.21}
E/EventHub( 2038): could not get driver version for /dev/input/mouse2, Not a typewriter
D/EventHub( 2038): No input device configuration file found for device 'YS G Mouse'.
I/EventHub( 2038): New device: id=13, fd=175, path='/dev/input/event6', name='YS G Mouse', classes=0x80000169, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false
I/InputReader( 2038): Device added: id=13, name='YS G Mouse', sources=0x01002713
I/ActivityManager( 2038): Config changes=1400 {1.3 ?mcc?mnc ru_RU ldltr sw768dp w1024dp h768dp 160dpi xlrg land -touch -keyb/v/h dpad/v s.22}
I/InputAttributes( 2451): InputType.TYPE_NULL is specified
E/SurfaceFlinger( 1241): ro.sf.lcd_density must be defined as a build property
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
D/dalvikvm(18029): GC_CONCURRENT freed 1091K, 45% free 5673K/10252K, paused 4ms+45ms, total 114ms
I/InputAttributes( 2451): InputType.TYPE_NULL is specified
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
D/WindowManager( 2038): keycode is 25 , and POWER is 26
D/GpioService( 2038): mFlickerEnable = true
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
D/WindowManager( 2038): keycode is 25 , and POWER is 26
D/GpioService( 2038): mFlickerEnable = true
D/WindowManager( 2038): keycode is 25 , and POWER is 26
V/audio_hw_primary( 1244): start_output_stream, line: 1345
V/audio_hw_primary( 1244): select_output_device, devices: 80000006, mode: 0
D/LatinIME( 2451): key event 25
Offered to choose layout for the keyboard. No mouse cursor.

The same mouse connected via usb hub

Code: [Select]
I/USB3G   ( 1247): event { 'add', '/devices/platform/sw-ohci.2/usb5/5-1', 'usb', '', 189, 516 }
I/USB3G   ( 1247): path : '/sys/devices/platform/sw-ohci.2/usb5/5-1'
I/USB3G   ( 1247): VID :size 5,vid_path '/sys/devices/platform/sw-ohci.2/usb5/5-1/idVendor',VID  '05e3I/USB3G   ( 1247): '.
I/USB3G   ( 1247): PID :size 5,Pid_path '/sys/devices/platform/sw-ohci.2/usb5/5-1/idProduct',PID  '0606
I/USB3G   ( 1247): '.
I/USB3G   ( 1247): cmd=/system/bin/usb_modeswitch.sh /system/etc/usb_modeswitch.d/05e3_0606 &,
I/USB3G   ( 1247): excute ret:0,err:No buffer space available
I/USB3G   ( 1247): free cmd
I/USB3G   ( 1247): event { 'add', '/devices/platform/sw-ohci.2/usb5/5-1/5-1.1', 'usb', '', 189, 517 }
I/USB3G   ( 1247): path : '/sys/devices/platform/sw-ohci.2/usb5/5-1/5-1.1'
I/USB3G   ( 1247): VID :size 5,vid_path '/sys/devices/platform/sw-ohci.2/usb5/5-1/5-1.1/idVendor',VID  '05e3
I/USB3G   ( 1247): '.
I/USB3G   ( 1247): PID :size 5,Pid_path '/sys/devices/platform/sw-ohci.2/usb5/5-1/5-1.1/idProduct',PID  '0606
I/USB3G   ( 1247): '.
I/USB3G   ( 1247): cmd=/system/bin/usb_modeswitch.sh /system/etc/usb_modeswitch.d/05e3_0606 &,
I/USB3G   ( 1247): excute ret:0,err:No buffer space available
I/USB3G   ( 1247): free cmd
V/audio_hw_primary( 1244): start_output_stream, line: 1345
V/audio_hw_primary( 1244): select_output_device, devices: 80000006, mode: 0
V/audio_hw_primary( 1244): ****LINE:1311,FUNC:select_output_device
V/audio_hw_primary( 1244): use AUDIO_HDMI to playback audio
V/alsa_pcm( 1244): pcm_open_req, playback card: 1, device: 0, req_rate: 44100
V/alsa_pcm( 1244): size rate is 9
V/alsa_pcm( 1244): pcm_open_req try channels: 2, rate: 44100
V/alsa_pcm( 1244): pcm_open_req OK config->rate: 44100
V/audio_hw_primary( 1244): do not use out resampler
D/dalvikvm(18029): GC_CONCURRENT freed 1574K, 46% free 6536K/12036K, paused 3ms+8ms, total 45ms
I/Choreographer(18029): Skipped 87 frames!  The application may be doing too much work on its main thread.
I/USB3G   ( 1247): event { 'add', '/devices/platform/sw-ohci.2/usb5/5-1/5-1.2', 'usb', '', 189, 518 }
I/USB3G   ( 1247): path : '/sys/devices/platform/sw-ohci.2/usb5/5-1/5-1.2'
I/USB3G   ( 1247): VID :size 5,vid_path '/sys/devices/platform/sw-ohci.2/usb5/5-1/5-1.2/idVendor',VID  '276d
I/USB3G   ( 1247): '.
I/USB3G   ( 1247): PID :size 5,Pid_path '/sys/devices/platform/sw-ohci.2/usb5/5-1/5-1.2/idProduct',PID  '1113
I/USB3G   ( 1247): '.
I/USB3G   ( 1247): cmd=/system/bin/usb_modeswitch.sh /system/etc/usb_modeswitch.d/276d_1113 &,
I/USB3G   ( 1247): excute ret:0,err:No buffer space available
I/USB3G   ( 1247): free cmd
D/EventHub( 2038): No input device configuration file found for device 'YS G Mouse'.
I/EventHub( 2038): New device: id=15, fd=151, path='/dev/input/event5', name='YS G Mouse', classes=0x80000003, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false
I/InputReader( 2038): Device added: id=15, name='YS G Mouse', sources=0x00000101
D/WindowManager( 2038): --------------ro.sw.hidesoftkbwhenhardkbin
I/ActivityManager( 2038): Config changes=1400 {1.3 ?mcc?mnc ru_RU ldltr sw768dp w1024dp h768dp 160dpi xlrg land -touch -keyb/v/h dpad/v s.27}
E/EventHub( 2038): could not get driver version for /dev/input/mouse2, Not a typewriter
D/EventHub( 2038): No input device configuration file found for device 'YS G Mouse'.
I/EventHub( 2038): New device: id=16, fd=175, path='/dev/input/event6', name='YS G Mouse', classes=0x80000169, configuration='', keyLayout='/system/usr/keylayout/Generic.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false
I/InputReader( 2038): Device added: id=16, name='YS G Mouse', sources=0x01002713
I/ActivityManager( 2038): Config changes=1400 {1.3 ?mcc?mnc ru_RU ldltr sw768dp w1024dp h768dp 160dpi xlrg land -touch -keyb/v/h dpad/v s.28}
I/InputAttributes( 2451): InputType.TYPE_NULL is specified
E/SurfaceFlinger( 1241): ro.sf.lcd_density must be defined as a build property
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/InputAttributes( 2451): InputType.TYPE_NULL is specified
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
D/dalvikvm( 2038): GC_CONCURRENT freed 1949K, 31% free 8313K/11944K, paused 14ms+7ms, total 178ms
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
D/WindowManager( 2038): keycode is 25 , and POWER is 26
D/GpioService( 2038): mFlickerEnable = true
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
I/SurfaceFlinger( 1241): GraphicBufferAlloc::createGraphicBuffer
D/WindowManager( 2038): keycode is 25 , and POWER is 26
D/GpioService( 2038): mFlickerEnable = true
D/LatinIME( 2451): key event 25
Mouse work fine. But вщтбе work after power off/reboot. Need reconnect dongle.

How to fix the problem?
Cubieboard2 / Android 4.2.2 / Cubieez 7.4@3.4.79+patwood