I can't get my Pi to enable my licenses!
#1
Sad 
I bought a MPG2 and VC-1 codecs for the raspberry pi foundation and for the love of me I can't get them enabled! They have been added to the config.txt file and when I SSH them to see if they're enabled it says that it's disabled. I'm running XBMC 13.0 compiled on May 9. My config settings look like:

################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright © 2009-2012 Stephan Raue ([email protected])
# Inspired and partly copied from:
# http://youresuchageek.blogspot.fr/2012/0...ec-on.html
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
# Bootloader configuration - config.txt
################################################################################

################################################################################
# Memory (System/GPU configuration )
################################################################################

# default GPU memory split (do not change if you do not know what you are doing)
gpu_mem=128

# SDRAM size based GPU memory split, uncomment and setup to override 'gpu_mem'
gpu_mem_256=100
gpu_mem_512=128

################################################################################
# Overclocking settings
# WARNING: Do not change/enable if you do not know what you are doing!
# The System may become unstable or you can have data corruption or
# you can loose your warranty if you set wrong settings
#
# please read: http://elinux.org/RPi_config.txt#Overclo...figuration
################################################################################

# Overclock mode settings.
#
# default recommended values are: arm_freq | core_freq | sdram_freq | over_voltage
# no overclocking : 700 | 250 | 400 | 0
# mode 'Modest' : 800 | 300 | 400 | 0
# mode 'Medium' : 900 | 333 | 450 | 2
# mode 'High' : 950 | 450 | 450 | 6
# mode 'Turbo' : 1000 | 500 | 500 | 6

# arm_freq=950
# core_freq=450
# sdram_freq=500
# over_voltage=0

# set to 'force_turbo=1' to disable dynamic overclocking (you can lose your warranty!)
force_turbo=0

# If you have any data corruption using Turbo Mode and overclocking
# try with this setting uncommented
# If this still fails, try to use Medium mode without "over_voltage=2"
# If it ultimately keeps failing, forget about this until it gets fixed
# Use a more conservative mode that will works fine in any cases:
# initial_turbo=30

################################################################################
# Overscan settings
################################################################################

# Make display smaller to stop text spilling off the screen
# see also http://www.raspberrypi.org/phpBB3/viewto...67&t=15700
# overscan_scale=1
# disable_overscan=1

# Adapt overscan values to your needs
# overscan_left=57
# overscan_right=59
# overscan_top=20
# overscan_bottom=20

################################################################################
# various settings see also: http://elinux.org/RPi_config.txt
################################################################################

# Force HDMI even if unplugged or powered off
# hdmi_force_hotplug=1

################################################################################
# License keys to enable GPU hardware decoding for various codecs
# to obtain keys visit the shop at http://www.raspberrypi.com
################################################################################

# decode_MPG2=0x00000000
# decode_WVC1=0x00000000
# decode_DTS=0x00000000
# decode_DDP=0x00000000

################################################################################
# End of default configuration
# all values below this line were inserted from config.txt.bk (your old config)
# and can be merged with the above values
################################################################################



arm_freq=950
core_freq=450
sdram_freq=450
over_voltage=6
force_turbo=1
decode_MPG2=0x35f26e82
decode_WVC1=0x37f4a56b


What do I do?
Reply
#2
Did you reboot? config.txt is only read during boot.
Reply
#3
Yes, several times. I can only get wmv to play on dvdplayer but not omxplayer. Codecs still won't enable.
Reply
#4
Double check that you didn't make a mistake when sending your serial number to the Raspberry Pi foundation - that's the only other possible cause if the correct lines are in config.txt.
Kodi 18.3 - Mid 2007 Mac Mini, 4GB, 2TB HD, Windows 7 SP1
Kodi 18.3 - Vero4k, Raspberry Pi 2. OSMC.
Reply
#5
Serial number I sent is correct. When I added the lines into the config file, I just copied and paste the codecs onto the file and it never enabled.
Reply
#6
If they don't enable, the codes are definitely wrong.

If you're certain you didn't make a mistake with the serial number when buying the codes or entering them into config.txt I would contact the raspberry Pi foundation in case they made a mistake issuing the codes.

You don't have more than one Pi and sent the serial number for the wrong one ?
Kodi 18.3 - Mid 2007 Mac Mini, 4GB, 2TB HD, Windows 7 SP1
Kodi 18.3 - Vero4k, Raspberry Pi 2. OSMC.
Reply
#7
I have 2 pi's but I only looked up the serial number for the one I'm trying to add the codecs to.
Reply
#8
Also, don't copy paste. Type them in to avoid any extra line breaks etc.
Reply
#9
Did that too, didn't work.
Reply
#10
Is your over clock working? That will confirm if your config.txt is working.
Reply
#11
FWIW: I just uncommented the original entries and typed in the codes instead of inserting new lines at the bottom.
Check to make sure you provided the correct serial number when you sent it in to get your license codes.
Reply
#12
Report output of:
Code:
vcgencmd version
vcgencmd get_config str
vcgencmd codec_enabled MPG2
vcgencmd codec_enabled WVC1
grep -i serial /proc/cpuinfo
Reply
#13
I just found out the the serial number that I sent was wrong by 1 number. I SSH my Raspberry Pi and the serial number says: 00000000d83a6a5f

I've contacted the people to see if they can help me with the issue.
Reply
#14
UPDATE: I receive the proper codes and they work now! Thanks everyone, especially you popcornmix!
Reply

Logout Mark Read Team Forum Stats Members Help
I can't get my Pi to enable my licenses!0