No keyboard/mouse in Xbmc

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

No keyboard/mouse in Xbmc

Postby flfl » Sun Aug 04, 2013 12:03 pm

Hello,

On a fresh install of Archlinux, I get neither mouse nor keyboard input in Xbmc, although both work fine in X.
E.g., I can start X, open a terminal, type xbmc, and then I'm stuck as it responds neither to the keyboard or mouse.
Same if I start it from the console, ssh, or using a systemd service.
My user & the xbmc user have access to /dev/input devices (mouse/kbd work fine in regular X anyway)

I had not such issue with other distros such as openelec or xbian, so I don't think it's an hardware issue.

Any advice would be much appreciated.

Relevant bits of my Xorg.log below.



$this->bbcode_second_pass_code('', '
[ 51537.106] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event2)
[ 51537.106] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[ 51537.107] (II) LoadModule: "evdev"
[ 51537.108] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 51537.110] (II) Module evdev: vendor="X.Org Foundation"
[ 51537.111] compiled for 1.14.2, module version = 2.8.1
[ 51537.111] Module class: X.Org XInput Driver
[ 51537.111] ABI class: X.Org XInput driver, version 19.1
[ 51537.111] (II) Using input driver 'evdev' for 'USB Optical Mouse'
[ 51537.111] (**) USB Optical Mouse: always reports core events
[ 51537.112] (**) evdev: USB Optical Mouse: Device: "/dev/input/event2"
[ 51537.112] (--) evdev: USB Optical Mouse: Vendor 0x4b3 Product 0x310c
[ 51537.113] (--) evdev: USB Optical Mouse: Found 3 mouse buttons
[ 51537.113] (--) evdev: USB Optical Mouse: Found scroll wheel(s)
[ 51537.113] (--) evdev: USB Optical Mouse: Found relative axes
[ 51537.113] (--) evdev: USB Optical Mouse: Found x and y relative axes
[ 51537.113] (II) evdev: USB Optical Mouse: Configuring as mouse
[ 51537.114] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[ 51537.114] (**) evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[ 51537.114] (**) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 51537.114] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input3/event2"
[ 51537.115] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE, id 6)
[ 51537.115] (II) evdev: USB Optical Mouse: initialized for relative axes.
[ 51537.117] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1
[ 51537.118] (**) USB Optical Mouse: (accel) acceleration profile 0
[ 51537.118] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[ 51537.118] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[ 51537.122] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse0)
[ 51537.122] (II) No input driver specified, ignoring this device.
[ 51537.123] (II) This device may have been added with another device file.
[ 51537.126] (II) config/udev: Adding input device Microsoft Wired Keyboard 600 (/dev/input/event0)
[ 51537.127] (**) Microsoft Wired Keyboard 600: Applying InputClass "evdev keyboard catchall"
[ 51537.127] (II) Using input driver 'evdev' for 'Microsoft Wired Keyboard 600'
[ 51537.127] (**) Microsoft Wired Keyboard 600: always reports core events
[ 51537.128] (**) evdev: Microsoft Wired Keyboard 600: Device: "/dev/input/event0"
[ 51537.128] (--) evdev: Microsoft Wired Keyboard 600: Vendor 0x45e Product 0x751
[ 51537.128] (--) evdev: Microsoft Wired Keyboard 600: Found keys
[ 51537.128] (II) evdev: Microsoft Wired Keyboard 600: Configuring as keyboard
[ 51537.129] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input1/event0"
[ 51537.129] (II) XINPUT: Adding extended input device "Microsoft Wired Keyboard 600" (type: KEYBOARD, id 7)
[ 51537.129] (**) Option "xkb_rules" "evdev"
[ 51537.129] (**) Option "xkb_model" "pc104"
[ 51537.130] (**) Option "xkb_layout" "us"
[ 51537.465] (II) config/udev: Adding input device Microsoft Wired Keyboard 600 (/dev/input/event1)
[ 51537.466] (**) Microsoft Wired Keyboard 600: Applying InputClass "evdev keyboard catchall"
[ 51537.466] (II) Using input driver 'evdev' for 'Microsoft Wired Keyboard 600'
[ 51537.466] (**) Microsoft Wired Keyboard 600: always reports core events
[ 51537.466] (**) evdev: Microsoft Wired Keyboard 600: Device: "/dev/input/event1"
[ 51537.467] (II) evdev: Microsoft Wired Keyboard 600: Using mtdev for this device
[ 51537.468] (--) evdev: Microsoft Wired Keyboard 600: Vendor 0x45e Product 0x751
[ 51537.468] (--) evdev: Microsoft Wired Keyboard 600: Found 1 mouse buttons
[ 51537.468] (--) evdev: Microsoft Wired Keyboard 600: Found scroll wheel(s)
[ 51537.468] (--) evdev: Microsoft Wired Keyboard 600: Found relative axes
[ 51537.469] (--) evdev: Microsoft Wired Keyboard 600: Found absolute axes
[ 51537.469] (--) evdev: Microsoft Wired Keyboard 600: Found absolute multitouch axes
[ 51537.469] (--) evdev: Microsoft Wired Keyboard 600: Found x and y absolute axes
[ 51537.469] (--) evdev: Microsoft Wired Keyboard 600: Found keys
[ 51537.469] (II) evdev: Microsoft Wired Keyboard 600: Forcing relative x/y axes to exist.
[ 51537.469] (II) evdev: Microsoft Wired Keyboard 600: Configuring as mouse
[ 51537.469] (II) evdev: Microsoft Wired Keyboard 600: Configuring as keyboard
[ 51537.470] (II) evdev: Microsoft Wired Keyboard 600: Adding scrollwheel support
[ 51537.470] (**) evdev: Microsoft Wired Keyboard 600: YAxisMapping: buttons 4 and 5
[ 51537.470] (**) evdev: Microsoft Wired Keyboard 600: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 51537.471] (**) Option "config_info" "udev:/sys/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.1/input/input2/event1"
[ 51537.471] (II) XINPUT: Adding extended input device "Microsoft Wired Keyboard 600" (type: KEYBOARD, id 8)
[ 51537.471] (**) Option "xkb_rules" "evdev"
[ 51537.471] (**) Option "xkb_model" "pc104"
[ 51537.471] (**) Option "xkb_layout" "us"
[ 51537.474] (II) evdev: Microsoft Wired Keyboard 600: initialized for relative axes.
[ 51537.474] (WW) evdev: Microsoft Wired Keyboard 600: ignoring absolute axes.
[ 51537.475] (**) Microsoft Wired Keyboard 600: (accel) keeping acceleration scheme 1
[ 51537.476] (**) Microsoft Wired Keyboard 600: (accel) acceleration profile 0
[ 51537.476] (**) Microsoft Wired Keyboard 600: (accel) acceleration factor: 2.000
[ 51537.476] (**) Microsoft Wired Keyboard 600: (accel) acceleration threshold: 4
[ 51537.480] (II) config/udev: Adding input device Microsoft Wired Keyboard 600 (/dev/input/js0)
[ 51537.480] (II) No input driver specified, ignoring this device.
[ 51537.481] (II) This device may have been added with another device file.
[ 51537.533] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 51589.469] (EE) FBDEV(0): FBIOBLANK: Operation not permitted
[ 51589.470] (II) evdev: Microsoft Wired Keyboard 600: Using mtdev for this device')
flfl
 
Posts: 4
Joined: Sun Aug 04, 2013 11:50 am

Re: No keyboard/mouse in Xbmc

Postby sdjf » Sun Aug 04, 2013 3:32 pm

Please post which version you installed, was it from the foundation downloads page? And "cat /proc/version"
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: No keyboard/mouse in Xbmc

Postby flfl » Sun Aug 04, 2013 5:11 pm

Yes, I got it from the foundation's page (archlinux-hf-2013-07-22.img.zip).
In the mean time, I upgraded all packages using pacman -Syu

Kernel version: Linux version 3.6.11-14-ARCH+ (nobody@) (gcc version 4.7.2 (GCC) ) #1 PREEMPT Sun Jul 21 17:39:58 CDT 2013

XBMC versions: I tried both available versions, and have the same issue with both
alarm/xbmc-rbp 12.2-2
aur/xbmc-rbp-git 13.20130725-1 [installed]
flfl
 
Posts: 4
Joined: Sun Aug 04, 2013 11:50 am

Re: No keyboard/mouse in Xbmc

Postby flfl » Sun Aug 04, 2013 5:30 pm

xbmc.log, just in case
$this->bbcode_second_pass_code('', '17:14:19 T:3036680192 WARNING: Unable to determine Linux distribution
17:14:19 T:3036680192 NOTICE: Starting XBMC (12.2 Git:Unknown), Platform: Linux (Unknown, 3.6.11-14-ARCH+ armv6l). Built on Jun 9 2013
17:14:19 T:3036680192 NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
17:14:19 T:3036680192 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/xbmc
17:14:19 T:3036680192 NOTICE: special://masterprofile/ is mapped to: /var/lib/xbmc/.xbmc/userdata
17:14:19 T:3036680192 NOTICE: special://home/ is mapped to: /var/lib/xbmc/.xbmc
17:14:19 T:3036680192 NOTICE: special://temp/ is mapped to: /var/lib/xbmc/.xbmc/temp
17:14:19 T:3036680192 NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
17:14:19 T:3036680192 NOTICE: Local hostname: alarmpi
17:14:19 T:3036680192 NOTICE: Log File is located: /var/lib/xbmc/.xbmc/temp/xbmc.log
17:14:19 T:3036680192 NOTICE: -----------------------------------------------------------------------
17:14:19 T:3036680192 NOTICE: load settings...
17:14:19 T:3036680192 NOTICE: special://profile/ is mapped to: special://masterprofile/
17:14:19 T:3036680192 NOTICE: loading special://masterprofile/guisettings.xml
17:14:19 T:3036680192 NOTICE: Getting hardware information now...
17:14:19 T:3036680192 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
17:14:19 T:3036680192 NOTICE: Loaded playercorefactory configuration
17:14:19 T:3036680192 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
17:14:19 T:3036680192 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
17:14:19 T:3036680192 NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
17:14:19 T:3036680192 NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
<advancedsettings>
<video>
<defaultplayer>omxplayer</defaultplayer>
<defaultdvdplayer>omxplayer</defaultdvdplayer>
</video>
<audio>
<defaultplayer>omxplayer</defaultplayer>
<streamsilence>false</streamsilence>
</audio>
</advancedsettings>
17:14:19 T:3036680192 NOTICE: Getting hardware information now...
17:14:20 T:3036680192 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
17:14:20 T:3036680192 NOTICE: Default DVD Player: omxplayer
17:14:20 T:3036680192 NOTICE: Default Video Player: omxplayer
17:14:20 T:3036680192 NOTICE: Default Audio Player: omxplayer
17:14:20 T:3036680192 NOTICE: Disabled debug logging due to GUI setting. Level 0.
17:14:20 T:3036680192 NOTICE: Log level changed to 0
17:14:20 T:3036680192 NOTICE: Loading media sources from special://masterprofile/sources.xml
17:14:20 T:3036680192 ERROR: Error: Requested setting (audiooutput.guisoundmode) was not found. It must be case-sensitive
17:14:20 T:3036680192 NOTICE: Running database version Addons15
17:14:20 T:3036680192 NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
17:14:21 T:3026187328 NOTICE: Thread CEC Adapter start, auto delete: false
17:14:21 T:3015701568 NOTICE: Thread XBMC Peripherals start, auto delete: false
17:14:21 T:3036680192 NOTICE: Previous line repeats 1 times.
17:14 Copyright (c) 2012 Broadcom
version 8b570d997388ca7989be17
17:14:21 T:3036680192 NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi
17:14:21 T:3036680192 NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 60.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480 @ 60.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 60.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 60.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 720 x 576 for display 0 with 720 x 576 @ 50.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 50.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 50.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 24.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 25.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 1280 x 720 for display 0 with 1920 x 1080 @ 30.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 72.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 75.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 60.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 72.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 75.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 960 x 720 for display 0 with 1024 x 768 @ 60.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 960 x 720 for display 0 with 1024 x 768 @ 70.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 960 x 720 for display 0 with 1024 x 768 @ 75.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 960 x 720 for display 0 with 1152 x 864 @ 75.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 1152 x 720 for display 0 with 1280 x 800 @ 60.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 900 x 720 for display 0 with 1280 x 1024 @ 60.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 900 x 720 for display 0 with 1280 x 1024 @ 75.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 1152 x 720 for display 0 with 1440 x 900 @ 60.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 1152 x 720 for display 0 with 1680 x 1050 @ 60.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 1280 x 720 for display 0 with 1366 x 768 @ 60.000000 Hz
17:14:21 T:3036680192 NOTICE: Found resolution 1280 x 720 for display 0 with 1600 x 900 @ 60.000000 Hz
17:14:21 T:3036680192 NOTICE: Found (1280x720@60.000000) at 19, setting to RES_DESKTOP at 16
17:14:21 T:3036680192 NOTICE: Checking resolution 16
17:14:21 T:3036680192 NOTICE: GL_VENDOR = Broadcom
17:14:21 T:3036680192 NOTICE: GL_RENDERER = VideoCore IV HW
17:14:21 T:3036680192 NOTICE: GL_VERSION = OpenGL ES 2.0
17:14:21 T:3036680192 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
17:14:21 T:3036680192 NOTICE: GL_EXTENSIONS = GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32 GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_APPLE_rgb_422 GL_EXT_debug_marker
17:14:24 T:3026187328 ERROR: CecLogMessage - failed to release the previous LA
17:14:24 T:3026187328 ERROR: CecLogMessage - could not open a connection (try 1)
17:14:24 T:3036680192 NOTICE: Running database version Addons15
17:14:24 T:3036680192 NOTICE: Running database version ViewModes4
17:14:24 T:3036680192 NOTICE: Running database version Textures13
17:14:24 T:3036680192 NOTICE: Running database version MyMusic32
17:14:24 T:3036680192 NOTICE: Running database version MyVideos75
17:14:24 T:3036680192 NOTICE: Running database version TV22
17:14:24 T:3036680192 NOTICE: Running database version Epg7
:21 T:17:14:24 T:3036680192 NOTICE: initializing playlistplayer
17:14:24 T:3036680192 NOTICE: DONE initializing playlistplayer
17:14:26 T:2945037376 NOTICE: Thread CEC Adapter Update Thread start, auto delete: false
17:14:28 T:2935034944 NOTICE: Thread XBPyThread start, auto delete: false
17:14:28 T:3036680192 NOTICE: initialize done
17:14:28 T:3036680192 NOTICE: Running the application...
17:14:28 T:3036680192 ERROR: GLES: Vertical Blank Syncing unsupported
17:14:30 T:2926380096 NOTICE: Thread Jobworker start, auto delete: true
17:14:31 T:2935034944 NOTICE: -->Python Interpreter Initialized<--
17:14:31 T:3036680192 NOTICE: ES: Starting event server
17:14:31 T:2917991488 NOTICE: Thread CEventServer start, auto delete: false
17:14:31 T:2917991488 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
17:14:31 T:2917991488 NOTICE: UDP: Listening on port 9777
17:14:31 T:2909602880 NOTICE: Thread CTCPServer start, auto delete: false
17:14:31 T:3036680192 NOTICE: starting zeroconf publishing
17:14:31 T:2892825664 NOTICE: Thread Jobworker start, auto delete: true
17:14:31 T:2854261824 NOTICE: Thread CFileCache start, auto delete: false
17:14:32 T:3036406848 NOTICE: Thread CRssReader start, auto delete: false
17:14:33 T:2854261824 NOTICE: Thread CAlarmClock start, auto delete: false
17:14:50 T:2935034944 NOTICE: Thread CFileCache start, auto delete: false
17:15:03 T:3036680192 ERROR: Python script "service.xbmc.versioncheck" does not exist
3036680192 NOTICE: Raspberry PI firmware version: Jul 19 2013 23:48:50 ')
flfl
 
Posts: 4
Joined: Sun Aug 04, 2013 11:50 am

Re: No keyboard/mouse in Xbmc

Postby pepedog » Mon Aug 05, 2013 10:07 am

OK, I see this too.
Will work on it when I have time, it's just the latest image, maybe try for now
http://downloads.raspberrypi.org/images/archlinuxarm/archlinux-hf-2013-06-15/
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: No keyboard/mouse in Xbmc

Postby pepedog » Mon Aug 05, 2013 3:18 pm

$this->bbcode_second_pass_code('', 'nano /etc/udev/rules.d/raspberrypi.rules')
Paste this in
$this->bbcode_second_pass_code('', 'SUBSYSTEM=="vchiq|input", MODE="0777"
KERNEL=="mouse*|mice|event*", MODE="0777"')
Missed this when I started using pacstrap, sorry
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: No keyboard/mouse in Xbmc

Postby flyinghappy » Mon Aug 05, 2013 9:17 pm

So will this fix my issue, been going to troubleshoot a bit more, but if this works it will save me some time :)

My bluetooth mouse and keyboard work fine in XBMC, but if I leave a video playing for a long time, they stop working like they went to sleep and can't be woken up. Only happens in XBMC, if I'm in X they are fine.
flyinghappy
 
Posts: 12
Joined: Thu Nov 01, 2012 10:10 pm

Re: No keyboard/mouse in Xbmc

Postby pepedog » Mon Aug 05, 2013 10:00 pm

You might have a Bluetooth problem?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: No keyboard/mouse in Xbmc

Postby flyinghappy » Mon Aug 05, 2013 10:05 pm

No, it works great if I'm not in XBMC. If I let it sit overnight in openbox, they wake up fine, if I leave it sit in XBMC it's like they don't wake up.

I am starting XBMC from openbox as well.
flyinghappy
 
Posts: 12
Joined: Thu Nov 01, 2012 10:10 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 25 guests