Difference between revisions of "GlobalCache GC-100"

From LinuxMCE
Jump to: navigation, search
(sitc4tdelacv)
(Undo revision 9243 by BasolOrico (Talk) Spam removal - Time to install ReCAPTCHA folks.)
Line 1: Line 1:
[http://kitten.xxuz.com/last-minute-travel.html last minute travel uk] [http://spray.ikwb.com/data/consolidate-your.html card consolidate consolidate credit debt debt] [http://calve.x24hr.com/description/traktor-film.html traktor film] [http://allons.www1.biz/topic/boys-wearing-a-training.html boys wearing a training bra] [http://moveth.ygto.com/alma-car-auction.html alma car auction] [http://hoars.25u.com/blog/oz-dvd.html oz dvd] [http://bames.ikwb.com/used-bowflex.html 2 bowflex ultimate used] [http://columbia-house.mioforum.com/ club columbia dvd house member] [http://killes.zyns.com/sitemap.html http] [http://chaff.isasecret.com/small/free-black-sex.html free black sex movie clip] [http://await.ikwb.com/library/shakespeare-characters.html shakespeare characters macbeth] [http://drum.got-game.org/new/aggressive-skate.html aggressive skate video clips] [http://erlook.ikwb.com/froogle.html froogle] [http://recks.fartit.com/styles/kitsap-lake.html kitsap lake] [http://taketh.isasecret.com/wiki/funny-thing.html forum funny happened thing way] [http://knead.justdied.com/html/datalounge.html datalounge] [http://twinn.justdied.com/q/hanting.html hanting] [http://ewood.isasecret.com/blog/penetration-sex.html double penetration picture sex] [http://cydnu.got-game.org/styles/amateur-cum-gay.html amateur cum gay lured man sex video] [http://oddity-physical.mioforum.com/ oddity physical] [http://sided.mywww.biz/description/msn-skins-downloads.html msn skins downloads] [http://banff-canada.mioforum.com/ banff canada] [http://growth.zyns.com/comments/puppeteer.html penis puppeteer] [http://fists.isasecret.com/pages/terminology-medical.html quick and easy medical terminology] [http://livest.www1.biz/wwwticklecom.html www.tickle.com] [http://pear.x24hr.com/view/jewish-music-passover.html jewish music passover rap video] [http://2005-ford-explorer.uni-nail.com/ 2005 ford explorer] [http://erlook.ikwb.com/sticky-paws.html sticky paws] [http://loading-movie-clips.libero-delirium.in/ loading movie clips in flash] [http://sighed.zyns.com/bronze-art.html bronze art] [http://unmade.x24hr.com/description/magnifying-glass.html magnifying glass pendant] [http://searce.isasecret.com/text/clavia.html clavia] [http://bosko.ikwb.com/ivideomax-302.html ivideomax 3.0.2] [http://regard.zyns.com/small/a-physical-exam.html a physical exam] [http://exercise-videos.zonempower.in/ exercise videos karen voight] [http://kitten.xxuz.com/boobed-women.html big boobed woman] [http://bedash.isasecret.com/knit-booties.html knit booties] [http://regard.zyns.com/small/marin-caterers.html marin caterers] [http://jewels.zyns.com/directory/antarctic-treaty.html antarctic treaty] [http://growth.zyns.com/comments/tradestation-trading.html forex system tradestation trading] [http://killes.zyns.com/web/rustic-cabin-decor.html rustic cabin decor] [http://recks.fartit.com/styles/sweaty-women.html sweaty women] [http://oaken.isasecret.com/blog/hitch-movie.html hitch movie script] [http://vouch.mynumber.org/blog/thin.html thin] [http://fists.isasecret.com/pages/quaker-oatmeal.html quaker oatmeal cookie] [http://fists.isasecret.com/pages/wedding-invitation.html wedding invitation] [http://canopy.xxxy.info/after-hours-video.html after hours video] [http://regard.zyns.com/small/phone-directory.html phone directory lake charles la] [http://spray.ikwb.com/data/vacuum-cups.html vacuum cups] [http://haven.ikwb.com/resources/cumshots.html cum movie shot] [http://haven.ikwb.com/resources/treehouse-tv.html treehouse tv] [http://chingon.voodoo-ref.com/ chingon] [http://dexter.zyns.com/pasta-bar-boston.html pasta bar boston] [http://broth.x24hr.com/blog/janitor.html janitor] [http://searce.isasecret.com/text/lucias-mama.html lucias mama] [http://elephant-man-video.i-amoco.in/ elephant man video clip] [http://lizard.x24hr.com/blog/american-air-filter.html american air filter] [http://calve.x24hr.com/description/public-record-security.html public record security social] [http://drum.got-game.org/new/kendal-square-movie.html kendal square movie theater] [http://saturn.sexidude.com/small/lake-ontario-canada.html lake ontario canada map] [http://kam-karen-movie.i-amoco.in/ kam karen movie] [http://website-for-downloading.uni-nail.com/ website for downloading music] [http://drives.xxuz.com/rubber-floor-matting.html rubber floor matting] [http://bosko.ikwb.com/alicia-key-girlfriend.html alicia key girlfriend video] [http://diadem.fartit.com/college-girls.html college girls hot tub] [http://ordanace-survey.uni-nail.com/ ordanace survey symbols] [http://bodied.25u.com/one-to-one-relationship.html one to one relationship sql server] [http://spends.longmusic.com/directory/lara-croft.html lara croft] [http://bodied.25u.com/craig-morgan.html craig morgan] [http://aiming.isasecret.com/library/j-kwon.html j-kwon] [http://real-estate-in-burlington.mioforum.com/ burlington estate ky real] [http://taught.freewww.info/article/busty-brittany.html busty brittany] [http://gnawn.isasecret.com/q/science-fiction.html science fiction art work] [http://bedash.isasecret.com/ice-gell.html ice gell] [http://erlook.ikwb.com/whites-boots.html whites boots] [http://searce.isasecret.com/text/elementay.html elementay] [http://cavil.x24hr.com/web/elizabeth-heller.html elizabeth heller video] [http://vouch.mynumber.org/blog/nudism-family.html nudism family] [http://abc-news-video.esavant.in/ abc news video source] [http://arise.x24hr.com/text/jack-black-movie.html jack black movie list] [http://tercel.zyns.com/water-level-meters.html water level meters] [http://checks.fartit.com/content/pink-sex-bracelet.html pink sex bracelet] [http://nica.uni-nail.com/ nica] [http://coher.isasecret.com/idaho-movie-times.html idaho movie times] [http://bosko.ikwb.com/it-lean-video.html it lean video wit] [http://in-the-movie.sewenty.in/ sin city movie cast] [http://ewood.isasecret.com/blog/cipap.html cipap] [http://whole-house-vacuum.sugaryblog.com/ whole house vacuum] [http://lizard.x24hr.com/blog/ford-thunderbird.html ford thunderbird repair manual] [http://mchammer.isasecret.com/ps1exe.html ps1.exe] [http://kitten.xxuz.com/pitts-sales-inc.html pitts sales inc] [http://spends.longmusic.com/directory/revenue-recognition.html software revenue recognition] [http://scolds.freewww.info/blog/humulin-l.html humulin l] [http://drives.xxuz.com/shutters-manufactures.html shutters manufactures] [http://bames.ikwb.com/airline-ticket.html cheap special airline ticket] [http://scopes.www1.biz/anima-chicks.html anima chicks] [http://wincot.serveusers.com/web/reflective-safety.html reflective safety materials] [http://scopes.www1.biz/texas-holdem.html texas holdem free] [http://amusing-video.trustee-planet.in/ amusing video clip] [http://kitten.xxuz.com/street-lights.html street lights] [http://chaff.isasecret.com/small/weather-in-paris.html forecast france paris weather] [http://dexter.zyns.com/styphnic-acid.html styphnic acid] [http://recks.fartit.com/styles/irven-johnson.html irven johnson] [http://scopes.www1.biz/star-wars-soundtrack.html star war episode 3 soundtrack] [http://writer.uni-nail.com/ writer] [http://quench.justdied.com/resources/bennington.html bennington chester] [http://episode-free-naruto.sitenavigate.in/ episode free naruto video] [http://growth.zyns.com/comments/body-detox.html body detox] [http://arise.x24hr.com/text/anal-cream-pie.html anal cream pie videos] [http://regard.zyns.com/small/sprint-pcs-customer.html sprint pcs customer service] [http://george.myftp.info/content/piloting-schools.html piloting schools in canada] [http://cydnu.got-game.org/styles/kaskade-steppin.html kaskade steppin out video] [http://resum.isasecret.com/skull-quiz.html skull quiz] [http://taught.freewww.info/article/exercise-equipment.html exercise equipment rowing machine] [http://crare.xxxy.info/cold-war-history.html cold war history] [http://filly.xxuz.com/los-angeles-tax.html los angeles tax preperation] [http://powerpc-linux-distribution.voodoo-ref.com/ powerpc linux distribution] [http://aiming.isasecret.com/library/pixy-stix-ingredients.html pixy stix ingredients] [http://romish.portrelay.com/description/nikon-6t-review.html nikon 6t review] [http://employee-express.voodoo-ref.com/ employee express] [http://quench.justdied.com/resources/online-auction.html online auction sale] [http://quench.justdied.com/resources/odd-couple-the.html odd couple the play] [http://regard.zyns.com/small/qpws.html qpws] [http://anger-back-in.mioforum.com/ anger back in looking] [http://ignomy.zyns.com/temperance-movement.html temperance movement thermometer coldest drink] [http://livest.www1.biz/what-is-foreign.html managing foreign exchange risk] [http://cydnu.got-game.org/styles/emma-starr-videos.html emma starr videos] [http://assemblage-definition.sugaryblog.com/ assemblage definition] [http://pacify.x24hr.com/library/sanglier-ltd.html sanglier ltd] [http://taught.freewww.info/article/louvered-panels.html louvered panel] [http://sighed.zyns.com/air-hammers.html air champion hammer] [http://pop-goes-the-world.uni-nail.com/ pop goes the world] [http://pacify.x24hr.com/library/emo-style.html emo girl hair picture picture style] [http://spends.longmusic.com/directory/l-art-de-jouir.html l art de jouir sarah young] [http://drum.got-game.org/new/aaru-movie-tamil.html aaru movie tamil] [http://revile.x24hr.com/adoption-in-russia.html adoption international russia] [http://revile.x24hr.com/wesley-college.html college degree wesley] [http://knead.justdied.com/html/sputnik-1.html sputnik 1] [http://modest.serveusers.com/online-birthday.html online birthday gifts] [http://diadem.fartit.com/we-do-not-celebrate.html we do not celebrate halloween] [http://bames.ikwb.com/singapore-radio.html singapore radio channels] [http://livest.www1.biz/insider-information.html insider information sec] [http://lizard.x24hr.com/blog/eye-disorders-in.html cat disorder eye] [http://landfat.org.in/sitemap.html www] [http://bonny.portrelay.com/web/nikon-camera.html nikon camera bag] [http://fists.isasecret.com/pages/vivid-movies.html movie porn vivid] [http://jpeg-movie.sewenty.in/ jpeg movie] [http://aiming.isasecret.com/library/round-folding.html round folding table] [http://scolds.freewww.info/blog/chef-coats.html womens chef coat] [http://vouch.mynumber.org/blog/wwwmarriottcom.html www.marriott.com] [http://pear.x24hr.com/view/kristina-bella.html kristina bella free movies] [http://ignomy.zyns.com/j-tyler-ballance.html j. tyler ballance] [http://resum.isasecret.com/bam-margera-logo.html bam margera logo] [http://bames.ikwb.com/aaa-south.html aaa auto club south] [http://oaken.isasecret.com/blog/area-51-pc-game.html area 51 pc game] [http://fists.isasecret.com/pages/will-smith-switch.html will smith, switch] [http://hoars.25u.com/blog/boys-forced-to.html boys forced to wear dresses] [http://await.ikwb.com/library/map-persia-river.html map persia river] [http://feste.isasecret.com/new/swiss-army-watch.html swiss army watch band] [http://twinn.justdied.com/q/delta-airline.html delta airline fare] [http://levell.mywww.biz/q/biker-girls-parties.html biker girls parties] [http://ignomy.zyns.com/infant-bonnet.html infant bonnet] [http://japanese-porn-movie.sewenty.in/ japanese porn movie free download] [http://bodied.25u.com/infloor-heating.html infloor heating sizing] [http://erlook.ikwb.com/old-blonde-sex.html old blonde sex] [http://allons.www1.biz/topic/young-russian.html young russian model] [http://livest.www1.biz/canon-eos-20d.html canon eos 20d] [http://qualifying-dependents.uni-nail.com/ qualifying dependents] [http://sissy-training.uni-nail.com/ sissy training stories] [http://revile.x24hr.com/evangalion.html evangalion] [http://recks.fartit.com/styles/ourworldcs.html ourworld.cs] [http://bodied.25u.com/ultrasound-transducers.html ultrasound transducers] [http://ebony-free-movies.ferratu.in/ free ebony sex movie] [http://really.longmusic.com/blog/young-teens.html young teens] [http://checks.fartit.com/content/sonic-my-dvd.html sonic my dvd 6 crack] [http://katrina-kaif.sitenavigate.in/ katrina kaif boom video] [http://canopy.xxxy.info/alley-baggett.html alley baggett movie clips] [http://blown.longmusic.com/comments/christy-shake.html christy shake] [http://bonny.portrelay.com/web/avions-billet.html avions billet chers pas] [http://drum.got-game.org/new/elektra-marvel.html elektra marvel movie] [http://aiming.isasecret.com/library/wwe-pics.html wwe john cena pic] [http://drum.got-game.org/new/i-if-knew-music.html i if knew music never video] [http://erlook.ikwb.com/jasmin-st-claire.html jasmin st claire gang bang] [http://oaken.isasecret.com/blog/vandal-proof.html vandal proof mailboxes] [http://pacify.x24hr.com/library/executive-baskets.html executive baskets houston] [http://oaken.isasecret.com/blog/accord-parts.html accord performance part] [http://jewels.zyns.com/directory/latex-fetish.html latex fetish site] [http://instructional.gloomyfind.in/ instructional worship dance video] [http://lizard.x24hr.com/blog/andersons-big.html andersons big screen tv] [http://bames.ikwb.com/jasmine-st-claire.html jasmine st claire] [http://sacred.ygto.com/mariska.html mariska] [http://levell.mywww.biz/q/spud-guns.html spud gun plan] [http://batch.got-game.org/acoustic-beginner.html acoustic beginner guitar introduction lesson video] [http://ignomy.zyns.com/bills.html bills] [http://blown.longmusic.com/comments/new-mitsubishi.html new mitsubishi eclipse 2006] [http://pear.x24hr.com/view/long-teen-sex.html long teen sex movie] [http://abash.isasecret.com/small/keep-fishin-music.html keep fishin music video] [http://recks.fartit.com/styles/sugar.html sugar] [http://recks.fartit.com/styles/rc18t.html rc18t] [http://bedash.isasecret.com/birthday-horoscopes.html birthday horoscopes]
 
 
  {| align="right"
 
  {| align="right"
 
   | __TOC__
 
   | __TOC__

Revision as of 20:39, 27 February 2008

GC100.jpg

GC100 is a device which allows you to have remote connection almost anywhere. It's a network device which will forward all your data to :

  • couple of serial ports
  • IR senders and/or sensors
  • several relays

For more details about the product check manufacturer web site.

Send IR codes

LinuxMCE implementation of GC100 assumes that in device tree we'll have children and the messages are actually addressed to them instead of GC100 itself.

So when you are sending "ON" to TV controlled by GC100, the message is routed to the GC100, it finds infrared code for "ON" for that specific TV, sends a command to gc100 to send a specific infrared sequence, which will blink IR sender connected to specific port, and the TV will turn on.

The only two commands that GC100 implements itself are : CMD_Send_Code used to test which IR is suitable for your equipment and CMD_Learn_IR used to learn new IR codes.

Learn IR codes

The learning device is actually unrelated to GC100. It may be plugged into one of GC100's serial ports (don't forget to set them to 9600 bps), or in regular serial port, just be sure you specified right port in GC100 device data.

There are several other devices that support learning of infrared codes : IRTrans, Tira, USB_UIRT.

Learning is done from web page. When clicking "Learn" gc100 will start a thread that will try to get data from the port. If nothing is received in 30 seconds the thread will die. The page will continue to refresh trying to see if anything was added, but after 30 seconds it's useless.

Sensors

The gc100 jacks are by default configured as IR transmitters, but they can be configured to function as sensors. The sensors are, in their most basic form, two wires connected to a jack plug. When you cross them, a "sensor tripped" event is emitted. I am not currently aware of how this is supposed to function, who will intercept the event and how will it react to it. One idea for using a sensor is attaching a doorbell button to it, which, when pressed, will notify you in some way.

How to

Install

The device is not quite plug&play. You have to perform a factory reset and to add it from orbiter ("Add GC100" button).

A script will do some tricks with IP, will submit some pages on GC100's interface and so on. It will install needed software and after that it should say that device is ready to use (don't forget to quickreload)

Before the first use

  • Insert proper wires in relays, devices in serial ports, IR LEDs and/or sensors.
  • Go to device's webpage and set proper inputs/outputs, baud rates and so on.
  • Add child devices in LinuxMCE-admin webpage and set proper device data to match the wiring.

This should do it.

Changes in LinuxMCE 0710 beta 4

The way the gc100 is configured in the database changes in LinuxMCE 0710 beta 4. If you are upgrading from a previous release and have a gc100 set up, you will have to reconfigure it.

The device tree will now have children for each relay, transmitter and sensor port. These are autodetected depending on the settings made to the gc100 itself and updated as the settings change.

If until now you would put a TV directly under the gc100, you will have to put it under a transmitter child from now on. This will tell the gc100 which port to use to send the code, instead of sending it using all available transmitters like it did until now. This will allow you to add more IR devices which use the same codes without stepping on each other's toes, since the IR codes will be routed just to the target device. The old functionality is still in place and you can still add a TV directly under the gc100, but make sure you mark the checkbox that says "Don't autoconfigure" if you don't want the gc100 to manage its children, so your device remains in its place.

This is also true for relays. Add your lights, or other devices that support On and Off commands, under the relay children. The On and Off commands will be routed to the right relay this way.

Known Problems

MAC detection

--Nite man 06:03, 25 January 2008 (PST) To solve the MAC detection problem replace the function get_gc100mac() in the script /usr/pluto/bin/gc100-conf.pl by new one below:

sub get_gc100mac {
   my($mac, $page, $ret);

   `curl http://192.168.1.70/Commands.cgi -o gc100mac1 --silent`;
   `curl http://192.168.1.101/Commands.cgi -o gc100mac2 --silent`;

   open FILE, "gc100mac1";
   $ret = read FILE, $page, -s "gc100mac1";
   close FILE;

   unless($page) {
       open FILE, "gc100mac2";
       $ret = read FILE, $page, -s "gc100mac2";
       close FILE;
   }

   ($mac) = $page =~ /((?:[\dA-F]{2}-){5}[\dA-F]{2})/i;

   if($mac) {
       $mac =~ tr/\-/\:/;
       loggc("Mac Found $mac\n");
       system "rm -f gc100mac1 gc100mac2";
       return $mac;
   } else { exit 1 }

}

Currently the support for the gc100 in LinuxMCE is broken, at least for some models or firmware versions. The /usr/pluto/bin/gc100-conf.pl script is for some reason unable to determine the gc100's MAC Adress after it has been reset to factory defaults. As a result it is only half configured and not added to the system properly.

The only known workaround [1] [2] at this time is to manually edit the perl script, and hardcode the MAC address of your gc100. In short, find this line in the script:

sub get_gc100mac {

Then insert this line immediately following it (replace 00:00:00:00:00:00 with the adress of your gc100):

return "00:00:00:00:00:00";

As a result it should look something like this now:

        exit(4);
  }
} 
    
sub get_gc100mac {
  
  return "00:00:00:00:00:00";
  
  `curl http://192.168.1.70/Commands.cgi -o gc100mac1 --silent`;
  `curl http://192.168.1.101/Commands.cgi -o gc100mac2 --silent`;
  open(FILE,"gc100mac1");
  @data1 = <FILE>;
  close(FILE);

Reset the gc100 to factory defaults if necessary and you should be able to add it from an orbiter as described above.

Another possible workaround might be described on the Plutohome wiki for the gc100, under Complete Manual Install.

Firmware versions known to be affected:

  • 2.4-06 (GC100-06)

Serial Port

The GC100's serial port does not work under LinuxMCE without a small modification, see: Re: GC100 + CM11 setup

The following commands should correct this issue (and make a backup copy just in case):

mv /usr/pluto/bin/gc100-serial-bridge.sh /usr/pluto/bin/gc100-serial-bridge.sh.backup
sed -e 's/false/0/g' /usr/pluto/bin/gc100-serial-bridge.sh.backup >/usr/pluto/bin/gc100-serial-bridge.sh

It basicly replaces false with 0 in the /usr/pluto/bin/gc100-serial-bridge.sh file. Afterwards a reboot may be in order.

Firmware version 3.0 and later

gc100 with firmware version 3.0 and later is Plug&Play, but not yet supported as such by LinuxMCE. It implements a DHCP client and also has a discovery beacon. Because it is able to get an IP address from the DHCP server, you won't be able to add it using the manual method describe here when using a default installation. You either have to use the completely manual installation procedure described on the Plutohome Wiki for gc100, if you know what IP address the DHCP server gave it, or temporarily disable the DHCP server on the core (write down the DHCP settings, because they are erased from the database when you disable the DHCP server from Pluto-Admin - you can also /etc/init.d/dhcp3-server stop, add the gc100 and /etc/init.d/dhcp3-server start, without erasing the database).

Implementation details

In gc100.cpp there is a lot of code for format conversion and other stuff. Practically it's not a big deal it receives a command, find a proper IR sequence and sends it to gc100.

Operating the relays, IR transmitters, and sensors

The gc100 software architecture uses two threads to communicate with the gc100 regarding relays, IR transmitters and sensors, one for sending messages (SocketThread) and one for receiving (EventThread). The reason for this is that the gc100 protocol isn't completely a request-reply protocol, even if it seems like that at first. The gc100 can initiate a transmission when a sensor is tripped, enough to break the request-reply paradigm. The program was designed to treat the communication as asynchronous. Messages are sent to the device without expecting a reply, and the replies are treated as independent events and state change reports, without linking a request to a reply in the program logic (except for the initialization phase).