Page 1 of 1

Gembird 300Mbps dongle not working in OpenElec with Kodi

Posted: Tue Jul 07, 2015 10:54 am
by MWW1977
Hi Guys,

I have a question about a wifi dongle I bought for my Pi2.
I bought it hoping I would get the Pi2 up and running with NOOBS...but that didn.t turn out like I wanted to.
So I bought a OpenElec SD-card with Kodi installed. After I connected all the things to the Pi2 (mouse, keyboard and wifi dongle) I plugged in the power supply. Every thing worked great...except for the wifi dongle. My network did not pop-up on the wifi settings screen. So I don't think it's supported in OpenElec.
Is that true? Can I make it work? Or do I have to buy a new wifi dongle?

Thanks in advance for helping!

With kind regards,
Mike

Re: Gembird 300Mbps dongle not working in OpenElec with Kodi

Posted: Tue Jul 07, 2015 11:00 am
by fruitoftheloom
MWW1977 wrote:Hi Guys,

I have a question about a wifi dongle I bought for my Pi2.
I bought it hoping I would get the Pi2 up and running with NOOBS...but that didn.t turn out like I wanted to.
So I bought a OpenElec SD-card with Kodi installed. After I connected all the things to the Pi2 (mouse, keyboard and wifi dongle) I plugged in the power supply. Every thing worked great...except for the wifi dongle. My network did not pop-up on the wifi settings screen. So I don't think it's supported in OpenElec.
Is that true? Can I make it work? Or do I have to buy a new wifi dongle?

Thanks in advance for helping!

With kind regards,
Mike
http://www.gembird.com/item.aspx?id=8282

RTL8192EU Chipset is afaiaa not natively supported in OpenElec


fyi NOOBS is an installer/chooser and not the Operating System, you would likely had installed Raspbian OS, see this for Raspbian Driver:

viewtopic.php?f=45&t=103989

Re: Gembird 300Mbps dongle not working in OpenElec with Kodi

Posted: Tue Jul 07, 2015 11:26 am
by MWW1977
Thanks for your fast reply Fruitoftheloom! :D
Then I'll use this dongle for a windows pc and order a new dongle the reseller confirmed me would work with OpenElec.
They sell it specificly with Pi's with OpenElec/Kodi installed.
If it doesn't work I could sent it back to them. :D
https://www.sossolutions.nl/raspberry-p ... s/300-mbps
(it's a Dutch site)

Kind regards,
Mike

Re: Gembird 300Mbps dongle not working in OpenElec with Kodi

Posted: Tue Jul 07, 2015 11:31 am
by MWW1977
Oh...one more thing: I want to take the Pi with me on my holliday so I can watch movies I have on a portable harddrive.
But when I connect the Harddrive to the Pi2 it's underpowered. Can this be solved with a powered USB hub?
Connect the harddrive to the powered USB HUB and the hub to the Pi2?
https://www.sossolutions.nl/raspberry-p ... chakelaars

Thanks!

Re: Gembird 300Mbps dongle not working in OpenElec with Kodi

Posted: Tue Jul 07, 2015 11:39 am
by fruitoftheloom
MWW1977 wrote:Oh...one more thing: I want to take the Pi with me on my holliday so I can watch movies I have on a portable harddrive.
But when I connect the Harddrive to the Pi2 it's underpowered. Can this be solved with a powered USB hub?
Connect the harddrive to the powered USB HUB and the hub to the Pi2?
https://www.sossolutions.nl/raspberry-p ... chakelaars

Thanks!
The RPi B+ and 2B should be able to power a 2.5" USB Hard Drive see the following blog:

https://projects.drogon.net/testing-set ... berry-pi-b


In a nutshell you add the following to the 'config.txt' file

Code: Select all

max_usb_current=1

Re: Gembird 300Mbps dongle not working in OpenElec with Kodi

Posted: Tue Jul 07, 2015 12:00 pm
by MWW1977
Okay....but I'm not a programmer. Though this I can handle. :lol: Cut and past if you ask me.
But what I mean is that I don't know how to change the .txt file or in what program for that matter.
Can I just unplug the SD-card...insert it in a windows pc and change the file with notepad?
Or must it be done from within kodi? But Kodi is a media program...not editor.
At that part I get stuck. :oops:

Re: Gembird 300Mbps dongle not working in OpenElec with Kodi

Posted: Tue Jul 07, 2015 1:00 pm
by fruitoftheloom
MWW1977 wrote:Okay....but I'm not a programmer. Though this I can handle. :lol: Cut and past if you ask me.
But what I mean is that I don't know how to change the .txt file or in what program for that matter.
Can I just unplug the SD-card...insert it in a windows pc and change the file with notepad?
Or must it be done from within kodi? But Kodi is a media program...not editor.
At that part I get stuck. :oops:
Can I just unplug the SD-card...insert it in a windows pc and change the file with notepad?

Yes that will work ;)

Re: Gembird 300Mbps dongle not working in OpenElec with Kodi

Posted: Tue Jul 07, 2015 1:53 pm
by MWW1977
Okay, thanks for your reply.
I'm a bit scared because I already wrecked a 16GB sd-card and my OpenElec is just working fine now. :mrgreen:
But I'll give it a go tonight! ;)

Re: Gembird 300Mbps dongle not working in OpenElec with Kodi

Posted: Wed Jul 08, 2015 11:46 am
by MWW1977
I've inserted the SD-card into a windows laptop....opent up the config.txt file but I get stuck again.
The artikel say's to put the line "safe_mode_gpio=4" or "max_usb_current=1" in the config file....but it doesn't say were it needs to be written down. :(
From the file contence I see it is devided into "chapters" like Memory, Overclocking, overscan, ect. but I have no idea were to put the "max_usb_current=1". I'm to scared I f*ck up the coding and need to buy another pre-installed OpenElec sd-card :mrgreen:
Done here you see the content of my config.txt file.
I hope someone can direct me to the location were I need to put that line in.

Thanks in advance from a newbie. :geek:

Code: Select all

################################################################################
#      This file is part of OpenELEC - http://www.openelec.tv
#      Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#      Inspired and partly copied from:
#  http://youresuchageek.blogspot.fr/2012/09/howto-raspberry-pi-openelec-on.html
#
#  OpenELEC 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 of the License, or
#  (at your option) any later version.
#
#  OpenELEC 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.  If not, see <http://www.gnu.org/licenses/>.
################################################################################
# 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=112
  gpu_mem_512=160
  gpu_mem_1024=256

################################################################################
# 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#Overclocking_configuration
################################################################################

# 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=700
# core_freq=250
# sdram_freq=400
# 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/viewtopic.php?f=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

# Doesn't sent initial active source message.
# Avoids bringing CEC (enabled TV) out of standby and channel switch when
# rebooting.
  hdmi_ignore_cec_init=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
################################################################################

Re: Gembird 300Mbps dongle not working in OpenElec with Kodi

Posted: Wed Jul 08, 2015 12:18 pm
by JimmyN
You can add it to the very bottom, it doesn't matter. If you want dress it up to look like the rest and add a little info on how the settings got there do this

Code: Select all

################################################################################
# End of default configuration
################################################################################

################################################################################
# User added configuration 
max_usb_current=1
safe_mode_gpio=4
################################################################################

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

Re: Gembird 300Mbps dongle not working in OpenElec with Kodi

Posted: Wed Jul 08, 2015 12:34 pm
by MWW1977
Thanks for the reply JimmyN. :D
But in your code add there's still the "safe_mode_gpio=4" line.
From reading the artikel provided by fruitoftheloom I thought the "max_usb..." code replaced the "save_mode..." code.
But I'll just put it in the config.txt file. Don't think it can do much harm.

Thanks again for helping me out!
With kind regards,
Mike Wellink
The Netherlands

Re: Gembird 300Mbps dongle not working in OpenElec with Kodi

Posted: Wed Jul 08, 2015 12:42 pm
by JimmyN
I was just providing an example and clarifying where you could put changes, not the actual entries.

Code: Select all

The artikel say's to put the line "safe_mode_gpio=4" or "max_usb_current=1" in the config file....but it doesn't say were it needs to be written down.
I guess I shouldn't have used both entries in my example.

Re: Gembird 300Mbps dongle not working in OpenElec with Kodi

Posted: Wed Jul 08, 2015 1:04 pm
by MWW1977
:oops: :oops: :oops:
Hahahahaha...I told you I'm a newbie... :lol: :lol: :lol: :lol: :lol: