NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT v
« Previous 1 … 59 60 61 62 63 … 115 Next »
GBPVR and Wakeup-On-Lan

 
  • 0 Vote(s) - 0 Average
GBPVR and Wakeup-On-Lan
joecru
Offline

Member

Posts: 135
Threads: 26
Joined: Aug 2004
#11
2004-09-08, 10:19 PM
Hi Guys,

I got the response from Hauppauge about WOL.

This is not currently supported although some setups will wake up when the unit wakes up, its an odity but apparently its somthing to do with the way the mvp goes searching that triggers some peopls WOL to work.

And this reply was from SHSPVR,

This has been discussed before.
It's a "bootstrap" problem.

The MVP get's it's initial software from the server - so it can't really wake up the server until it has some software to do it with.
( chicken 'n' egg ).

HOWEVER - I'm not saying it's impossible - just not very easy.
To get the MVP to do this would require rewriting / reflashing the bootloader.

This has some problems.
1. We don't have the sourcecode for the bootloader
2. It's really easy to end up with a brick.

There is an intermediate solution of leaving the MVP permanently on - but the Hauppauge software in the MVP will reboot if it doesn't see the server occasionally.

Another solution would be an external wakeup event to the PC - but that would require some electronics.




Regards
Joe
Regards

[COLOR="black"][COLOR="Blue"]4 X MVPs
Win Vista
Hauppauge PVR 350
Dell Inspirion - 531[/COLOR][/COLOR]
lagrian
Offline

Member

Posts: 79
Threads: 16
Joined: Feb 2004
#12
2004-09-09, 04:16 PM
or you can use 'Wake on PME' if you use the MVP connected straight to your server via a cross-over cable,

Basically any activity detected on the PCI bus will wake the server up , so when I pushed the power button for the MVP it sent some (can be any packet at all) packets to my server so then the BIOS detects activity on the bus and wakes the PC up.
lagrian
Offline

Member

Posts: 79
Threads: 16
Joined: Feb 2004
#13
2004-09-09, 04:21 PM
sorry I should add to that that no-one in the past could replicate this setup.

Also it only worked on a cross-over cable setup so I was thinking it might be that the network connection is blipped very quickly when you push the power button and that the network being unconnected then connected again might cause the wake up.

To be honest I never got to the bottom and have moved away from the MVP as a cleint so I can't test for anyone.
janviet
Offline

Member

Posts: 50
Threads: 9
Joined: Apr 2004
#14
2004-09-10, 12:15 PM
Hi Joe,

Since I had never witnessed a reboot of my MVP, other than when it was power cycled, I decided to do a little test. I switched on my MVP and started a server. When the MVP had completely downloaded dongle.bin, I switched off the server to see if the MVP would return to its boot screen (with the server off, the MVP will stay at the boot screen if it ever reboots). I let the MVP sit for 5 hours (part of the time in standby, but mostly fully awake (i.e. the MVP)) and it never rebooted...

I know this doesn't proof conclusively that the MVP never reboots when it can't find a server, but it does make it likely that it indeed only reboots when it is power cycled.

So, where am I going with this? I disagree with the reply you got at the shspvr forum. I still think that putting WOL code in dongle.bin is a good solution. Only when an MVP is power cycled, will it need to fetch a new dongle.bin.

So, with the WOL code in dongle.bin (and not in the MVP's boot loader) WOL will work every time an MVP is woken up out of standby (i.e. using the power button on the remote). It will only not work after power cycling an MVP (i.e. pulling the power plug and putting it back in), but who regularly power cycles his MVP? I don't.

The nicest solution would be that the server puts its own MAC address somewhere in dongle.bin when it uploads it to an MVP. The MVP uses this MAC address to send a WOL packet to every time it wakes up from standby.

Adding WOL code sounds like a minor undertaking for Hauppauge, and I wonder why they are not willing to accommodate us.

Regards,

Jan
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#15
2004-09-10, 05:27 PM
I agree that WOL would be put in the dongle.bin. I hardly ever remove the power from my MVP. I believe this WOL feature could be added without help from Hauppuage, but unfortunately I know I dont have the time to do it myself.

Someone would need to setup there linux machine to be able to build a dongle.bin, as described in the linux section of shspvr.com. Effectively you to create the same dongle as Hauppauge, using their pre-existing binaries for the couple of closed source programs from the original dongle.bin, but add a new program that is responsible for 'tailing' the log of the hauppauge mvp binary (which is quite verbose) looking for the 'coming out of standby' message. When you see this message, send the WOL packet.
joecru
Offline

Member

Posts: 135
Threads: 26
Joined: Aug 2004
#16
2004-09-10, 09:19 PM
Hi Guys,

The WOL or Magic Packet is an ethernet packet that contains an adapter's MAC Address, repeated 16 times in the data field.
So how can that be added to the Dongle.bin file.

See Info Below from a Linux Site hope this gives you programmer guys some ideas.

Wake-On-LAN is the generic name for the AMD "Magic Packet" technology. It's very similar to the PCMCIA modem "wake on ring" signal line. The basic idea is that the network adapter has a very-low-power mode to monitor the network for special packet data that will wake up the machine.

The Scyld Wake-up program
Waking up the target machine requires knowing the station address of the target adapter. If a machine has multiple network interfaces, you must identify the one with the WOL cable attached and use that interface's station address.

Download the wake-up program, ether-wake.c . Compile it as suggested by the compile-command at the bottom of the file.

After loading the driver on the target machine, record the Ethernet station address in the detection message. Shut the target machine down and do a soft-power-off. Do not switch power completely off with the power supply switch, or the card will lose its WOL configuration.

From the control machine run something like

[root@vaio log]# ~becker/diag/ether-wake 00:50:04:7c:6e:8c

with the correct station address for your card. This will turn on the target machine.
Supported Adapters
This feature is incorporated in most recent network chips. The list here is only a sample.

WOL was on a special version of the Intel i82557 (EEPro100B), and is now standard on the i82558 (EEPro100+) and i82559. See http://developer.intel.com/design/networ...558pb.htm.

Intel motherboards with on-board 100base* ethernet use the i82557 chip, but most have the updated firmware and a seperate Wake-On-LAN chip. See
http://developer.intel.com/design/motherbd/dk/index.htm
http://developer.intel.com/design/mother...index.htm.

Other chips with this feature are the AMD Fast-PCnet (rare), later versions of the Intel/Digital 21143, the 3Com Cyclone and Tornado (starting Jan or Feb 1998 as the 3c905-revB), and the Symbios chip (but not the nearly-identical gigabit Yellowfin chip).

Complete support requires a low-power transceiver, compatible motherboard, and the right ATX power supply. An ATX power supply provides a low-current stand-by 5V source even when powered off. For wake-on-LAN to work the stand-by power should be enough to power some of the motherboard logic, and the receiver and the address-matching section of the network adapter. Neither power supplied nor power needed is well specified, so not all combinations of components will work.

Although a few adapters and motherboards can source stand-by power through previously unassigned pins on the PCI connector, most systems need a three wire "WOL" cable to connect the stand-by power and wake-up signal from the motherboard to the network adapter.

Options for the 'ether-wake' program
The ether-wake program accepts the following options: -b Send wake-up packet to the broadcast address.
-D Increase the debug level.
-i ifname Use interface ifname instead of the default "eth0".
-p password Append the four or six byte password PW to the packet. (See password section.)
-v Increase the verbosity level. This is useful for examining the actual packet generated.
-V Show the program version string.


WOL Password
A few chip types have an optional WOL password that must be appended in order for the WOL packet to be accepted. This password is either four or six bytes long. A password may be specified in hex (Ethernet address) or dotted decimal (Internet address) format. For example

-p 00:22:44:66:88:aa
-p 192.168.1.1




Regards
Joe
Regards

[COLOR="black"][COLOR="Blue"]4 X MVPs
Win Vista
Hauppauge PVR 350
Dell Inspirion - 531[/COLOR][/COLOR]
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#17
2004-09-22, 02:09 PM
If i get the time to put together a linux box, I'm going to take a look into this. I'll let yous know when i have a linux box together to build on

Cheers,
Colin.
joecru
Offline

Member

Posts: 135
Threads: 26
Joined: Aug 2004
#18
2004-09-22, 07:58 PM
Hi Colin,

Go for it. If I can help, give me a shout. re testing etc.
Regards

[COLOR="black"][COLOR="Blue"]4 X MVPs
Win Vista
Hauppauge PVR 350
Dell Inspirion - 531[/COLOR][/COLOR]
colin
Offline

Senior Member

Posts: 683
Threads: 39
Joined: Nov 2003
#19
2004-09-24, 03:46 PM
Well I finally got linux setup, though the dhcp stuff is misbehaving, but that aside I have downloaded the bits for the cross compiler, etc. and I'll see if i can build a new dongle.bin with telnetd on it to play with.

Sub, do you still have a dongle.bin with telnetd built in it which is usuable with GBPVR?

Joecru, do you have a pointer to the wake-ether.c file? I would like to have a read of the src.

Cheers,
Colin.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#20
2004-09-24, 04:27 PM
[b Wrote:Quote[/b] ]Sub, do you still have a dongle.bin with telnetd built in it which is usuable with GBPVR?
I never managed to get one, but if you're offering, I wouldn't mind one...
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (7): « Previous 1 2 3 4 5 … 7 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Step-by-step instructions on how to get PCH A100 to wake the GBPVR PC? ww4397 30 11,535 2011-07-24, 02:52 PM
Last Post: mvallevand
  upgrading from pvrx2(gbpvr) to Npvr on popcorn hour stustunz 8 4,693 2011-01-19, 02:10 PM
Last Post: jksmurf
  MVP / GBPVR - just got a 1080p LCD tv.. Dave72 3 2,169 2010-12-14, 04:39 AM
Last Post: mvallevand
  PCH with GBPVR running not able to access network shares on Windows Home Server (WHS) jeffers 3 2,439 2010-07-19, 12:40 PM
Last Post: mvallevand
  I'm VERY impressed with NMT and GBPVR, that you devs! Mysteryman 10 4,555 2010-06-19, 03:22 AM
Last Post: Ryansplace
  Current status of GBPVR, PCH drbenjamin 2 2,250 2010-04-16, 04:15 AM
Last Post: drbenjamin
  Watching .TS files on my MVP, not in GBPVR emulation mode Probedude 1 1,882 2010-03-16, 11:32 AM
Last Post: mvallevand
  Video stutter with M34a and GBPVR eurochild 8 3,415 2010-02-28, 04:52 PM
Last Post: mvallevand
  Noobie Questions about PCH and GBPVR nurowolf 2 2,089 2010-01-19, 02:35 AM
Last Post: nurowolf
  No streaming video - PCH & GBPVR cooper43 22 8,000 2010-01-12, 03:17 AM
Last Post: cooper43

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode