July Update Errors (2015.08.03)

  1. When using the OSMC config app, selecting the option for “Pi config” does nothing.
  2. Deselecting “Enable Mouse and Touch Screen Support” in kodi does not actually disable keyboard and mouse support.

Device: Raspberry Pi 2
Installation media: MicroSDCard
Connection: Wired, static ip and dns
Peripherals: Wireless Keyboard and Mouse
Storage Device: Samba shares via networking (all working)
OSMC version: 2015.07-1"
XBMC version: 15.1-RC1
Codecs: mpeg2, vc1 both purchased and inserted to config.txt Confirmed working via vcgencmd
Audio/Video Output: HDMI
Overclocked: No
Config.txt Extras:

start_x=1
disable_overscan=1
hdmi_ignore_cec_init=1
gpu_mem=256
decode_MPG2=0x9652366e
decode_WVC1=0x6bf91c46
dtparam=spi=on

Full debug log showcasing the two issues above: http://paste.osmc.io/umefosagub.vhdl

Relevant portion of the non-debug log:

23:52:38  36.150669 T:1742742560  NOTICE:  StorageServer Module loaded RUN
23:52:38  36.151096 T:1742742560  NOTICE: StorageClient-2.5.4 Starting server
23:57:04 302.986572 T:1636299808  NOTICE: Thread JobWorker start, auto delete: true
23:57:26 325.069611 T:1592648736  NOTICE: Previous line repeats 2 times.
23:57:26 325.069885 T:1592648736  NOTICE: Thread LanguageInvoker start, auto delete: false
23:57:27 325.146393 T:1592648736  NOTICE: -->Python Interpreter Initialized<--
23:57:28 327.001770 T:1751131168   ERROR: EXCEPTION: Non-Existent Control 300
00:01:11 549.742310 T:1729360928  NOTICE: config_tools.read_config received: pos0: /boot/config.txt
00:01:11 549.748352 T:1729360928  NOTICE: config_tools.read_config [0.00553107261658]  returns: {'disable_overscan': '1', 'dtparam': 'spi=on', 'hdmi_ignore_cec_init': '1', 'decode_MPG2': '0x9652364e', 'start_x': '1', 'gpu_mem': '256', 'decode_WVC1': '0x6bf91c16'}
00:01:13 551.619019 T:1729360928   ERROR: Exception in thread Thread-20:
                                            Traceback (most recent call last):
                                              File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
                                                self.run()
                                              File "/usr/share/kodi/addons/service.osmc.settings/resources/lib/CompLogger.py", line 61, in wrapper
                                                func(*args, **kwargs)
                                              File "/usr/share/kodi/addons/script.module.osmcsetting.pi/resources/osmc/OSMCSetting.py", line 366, in run
                                                self.populate_pi_settings_dict()
                                              File "/usr/share/kodi/addons/service.osmc.settings/resources/lib/CompLogger.py", line 71, in wrapper
                                                result 	= func(*args, **kwargs)
                                              File "/usr/share/kodi/addons/script.module.osmcsetting.pi/resources/osmc/OSMCSetting.py", line 345, in populate_pi_settings_dict
                                                setting_value = translate_method(setting_value)
                                              File "/usr/share/kodi/addons/service.osmc.settings/resources/lib/CompLogger.py", line 71, in wrapper
                                                result 	= func(*args, **kwargs)
                                              File "/usr/share/kodi/addons/script.module.osmcsetting.pi/resources/osmc/OSMCSetting.py", line 865, in translate_gpu_mem
                                                self.me.setSetting('gpu_mem_1024', str(val1024))
                                            NameError: global name 'val1024' is not defined
00:02:53 652.079346 T:1729360928  NOTICE: Thread JobWorker start, auto delete: true

Can you provide a full config.txt file not a partial one ?

The crash is being caused by the gpu_mem_1024 setting not being parsed properly but you don’t show a gpu_mem_1024 line in your config.txt…

Also your debug log link seems to be invalid - can you try again with your link please.

The config thing is a bug, will be fixed in the next version.

Check back in a few hours and I will have a fix that will get it working straight away for you.

That is the full config.txt file. It has 7 lines in it.

Same debug log: http://paste.osmc.io/xepokasivo.vhdl

New debug log: http://paste.osmc.io/icitoratew.vhdl

OK, the file has been fixed in github, and you can bring it onto your device by going to MyOSMC - Updates - Manual Controls - Apply HotFix and entering the code: [deprecated]

You will be given a URL when it completes and post that here to confirm the fix worked.

Sorry it’s taken so long. I was actually mid-packing when I did the update and have moved to another state. I should have internet connected on Sunday and will try the hot fix ASAP.

Hot fix applied. The rpi config option now works. Keyboard issue still stands.

Just to point out - the setting is called enable mouse and touchscreen support not enable mouse and keyboard support:

http://kodi.wiki/view/Settings/System

(You seem confused in your original post)

You cannot disable keyboard support in Kodi using a GUI preferences setting to my knowledge.

Apologies. I knew that, but wasn’t sitting at the TV when I responded. My keyboard has built in mouse support via motion control. If I uncheck the mouse and touchscreen support, the mouse no longer selects menu items as it passes them, but it still appears.