Are There Alternatives to UPnP? 56
semanticgap asks: "I am thinking of putting together a PC based home entertainment system (media server in the basement talking to various computers around the house and controllable via some sort of a remote control device, etc.) as a fun project with emphasis on writing software. I've been reading up on the current state of affairs, and it looks like the protocol for this sort of a thing is UPnP (Universal Plug-n-Pray). It seems to provide all the functionality I want, but I don't like the fact that it is developed by Microsoft, nor do I like it in general - it relies heavily on things like UUID's, HTTPMU and other Microsoft-ish hacks. So I thought I'd ask Slashdot community - is UPnP going to gain acceptance, or are there alternatives to it?"
Misnomer (Score:1)
It can hardly be universal if it is proprietary to Microsoft. Instead, it will be Microsoft-centric and doubtful that other operating systems would use it.
Try ... (Score:1, Interesting)
The Linux UPnP Internet Gateway Device Project [freshmeat.net]
Are There Alternatives to UPnP? (Score:1, Funny)
Does Mac support UPnP? (Score:2, Troll)
Re:Does Mac support UPnP? (Score:1, Flamebait)
Since when is pointing out that you are clueless on the subject matter an insult? Geee, I'm sorry I hurt your feelings.
Hint: UPnP has to do with networks... not hardware you plug into your desktop.
Re:Does Mac support UPnP? (Score:2)
http://www.zeroconf.org/
This has been available on the PC since the release of Windows 98.
Re:Does Mac support UPnP? (Score:1, Flamebait)
Calling someone clueless is an insult. At least when you provide no logical, or rational, or information to support the position. Since you seem to persist in this, I will return in kind:
Learn a bit about Apples products, you fucking idiot, before you open your pie hole again. Ok?
Re:Does Mac support UPnP? (Score:1, Troll)
I see you are now resorting to insults rather than demonstrating that you know what you are talking about.
Re:Yes... (Score:1)
I just built a 2.53 GHz P4, 512MB DDR PC3200, GeForce 4 ti4600, 48X CD-RW, 80GB HD system for $1400. That's with a monitor, a good PSU, a quality case, and the Abit IT7 MAX motherboard. If you didn't know, that specific motherboard has 8 USB ports on it (some USB 2.0), 2 firewire ports, and built-in LAN.
That's not a crappy system. Trust me.. it'd probably out perform most Macs, if not all. (Unfortunately, I think it's a bit hard to benchmark equally between two operating systems, yet alone two different hardware types. Although I guess timing filters works.)
So what were you saying about Macs being better than PCs? Oh, I guess I didn't have my operating system pre-installed. Oh well.
Re:Yes... (Score:1, Offtopic)
Good for you. But you're comparing a home built system with commodity parts to a top quality system from a top notch vendor.
If you want to do price comparisons, compare Apples prices to IBMs. IBM is about the only quality PC manufacturer left anymore, now that Dell has gone the way of Gateway.
But its silly to compare something you put together yourself to something produced by a company with a warantee (And a warantee that covers the parts working together, rather than your collection which covers individual parts.) etc.
Furthermore, it doesn't sound like you saved that much money-- a comparable mac would cost about the same, if not less. And again, you're getting a quality system. I'm sure you bought what you think was the best quality parts, but you don't have the 100,000 unit experience with your suppliers that tier one manufacturers do. Hopefully you got good parts, but you don't have the guarantee.
So, based on your example, saying a comparable mac is cheaper is not ridiculous, it seems spot on. You could have saved $400 and gotten an iMac. Not as good a video card, but then that video card is about $400.
Re:Yes... (Score:1)
I run a P4-1.8ghz right now, but I have a feeling the next computer I get will definately be an Apple. They've just changed so much over the years that I can't help but to love them now.
Now only to get used to OSX's wierdnesses. (Every OS has them, just every one of them have different weirdnesses)
Re:Yes... (Score:2)
Why is it people think you can' upgrade imacs?
I even hear people say you can't upgrade powermacs, which is totally absurd.
Medal of Honor on my lowly iMac G4 runs at least 30fps at max resolution and with all the effects turned on. I really doubt that his experience is suffering on a nicer machine (And certainly not compared to a PC- the graphics card does all the work.) If he's getting 60fps instead of 80fps, then its silly to complain- you can't perceive more than about 30 fps anyway.
If he wanted a Ti video card, he could have bought one. I don't see what the big deal is-- PC weenies seem to think that you can't put a different video card in a mac.
Re:Yes... (Score:1)
Anyhow, MOH:AA is definately not the most demanding game. With newer, more demanding games like Battlefield 1942 and UT2k3, the Mac might maintain a good framerate most of the time, but there will be spots where it drops below 20. That's not a good thing.
Macs might be more polished, and I bet you can connect your camera to your Mac (since we all know that stuff like that on a PC is only done in hollywood), or whatever, but.. they're just not as fast for the price. Especially in the long term, when I don't have to buy a whole new system for a faster processor.
Re:Yes... (Score:2)
I've never had MOHAA crash on me.
I love how you're telling me how UT2k3 won't run fast on a Mac -=- this is a game that isn't even out yet.
You're just expressing your bigotry. You don't know how UT will perform.
Macs, generally, are faster and a bit cheaper than PCs. Even for gaming.
Re:Yes... (Score:1)
Re:Yes... (Score:2)
Just keep telling yourself that. A commodity 2ghz PC costs around 500 - 700$. A "top quality" pc costs 1000 - 1500$.
Rendezvous, Jini (Score:3, Informative)
http://developer.java.sun.com/developer/products/
Re:Rendezvous, Jini (Score:3, Informative)
The point is that if I were to write a piece of UPnP capable software, when the UPnP DVD players (or whatever) come out, chances are this software will be able to work with it. With Rendezvous - the device-specific interface is undefined.
Jini seems to be a Java-specific thing, so I'm not really interested in it.
Of course. (Score:2)
You, however, asked if there are alternatives. Of course there are. None will likely have the market penetration that uPnP will have but a possibly strong contender will be Apple's Rendevzous [apple.com], recently announced here on Slashdot. [slashdot.org] It uses Apple's "Open Source" license.
Re:Have you tried Linux? (Score:2, Interesting)
What the hell is Linux 8.0
Linux "numbering schemes" are a pile of marketing crap, made up by the distribution peoplel.
And if you bought a Banshee new then you are even more or a git than your "Linux 8.0" comment makes you out to be - I got one of those new about 3 years ago.
Why dont you go and learn what you are talking about before posting.
Linux isn't about version numbers, if anything the distributions should be numbered after the Kernel.
Besides running Debian as I do, I dont run ANY kind of version, I have the apps I need, the kernal I need and it works - who cares if its Linux XP or whatever.
No alternatives (Score:3, Funny)
There are no alternatives, you dumbass. It's universal plug and play.
Zeroconf, Rendezvous, SLP, & UPnP (Score:5, Informative)
Also note that MS isn't the only folks supplying UPnP, Intel also developed a lot which is now Open Sourced.
Rendevous & Zeroconf information:
Finally, for completeness here is UPnP:
JINI (Score:2)
Re:JINI (Score:1)
UPnP can be made really, really small and go on super cheap devices. Jini's architecture is cool, but it's got the darned Java albatross to carry around with it. Were it not for that, it may have had a chance.
We considered making Jini products, but gosh, it just didn't seem to scale down well enough.
By the way, don't use Intel's protocol stack as an example of how small UPnP can be. Size wasn't their primary concern, and it's as much as 10x as big as other stacks.
a few notes on UPnP (Score:5, Informative)
First, let me address UPnP and Microsoft. Yes, UPnP was originally conceived by MS, and MS has written themselves onto the steering committee forever. However, the UPnP membership agreement precludes any member from owning the technology outright, and says that anyone who offers technology to the forum must do so without encumberance. Even Microsoft. UPnP is NOT proprietary to MS.
Second, the technology. Everything in UPnP can be had for free. We've developed (and are successfully selling) two UPnP protocol stacks, one in ANSI C and one in Java. This was all home-grown, and we didn't need to license anything from anyone except the UPnP forum.
As mentioned before to use the technology, you need to be a UPnP Forum member. Membership is free, and the only real restriction is that anything you suggest for inclusion be done so without encumberance. Anyone can join. If you join, and don't want to donate technology, then don't bring it up. It's as easy as that.
The underlying standards are either pre-existing standards or build by the UPnP Forum. A case in point is Auto-IP, which does the ad-hoc network configuration. It's based on an IETF draft (draft-ietf-ipv4-autoconfig-05), which was originally authored by someone at Apple. I wouldn't be too surprised if it's very similar to Auto-IP. It's too bad that Apple didn't get involved earlier, we'd only have one uniform way to do this, instead of two Again, this isn't a MS invention.
There are a lot of UPnP implementations available. Intel did indeed provide a GPL protocol stack that you can download from their site. It builds on Linux nicely, and give you sample apps, etc. We have our two stacks that will begin appearing in cheap applicances Real Soon Now (tm) thanks to our silicon-builder-friends.
Alternatives to UPnP? Not really, at least not in one place. Many folks who responded to this message address only the Auto-IP part, where the box gets its IP address (FYI, Auto-IP on a net with DHCP is pretty much just DHCP). What they're missing is the juice of UPnP, where there's a protocol for device discovery and control. All the control and discovery is without any a-priori knowlege or configuration! (N.b., UPnP and Plug&Play are entirely different beasts: UPnP is on a network, Plug&Play and Kudzu are a single box)
E.g., your UPnP PVR is on a net with your UPnP phone (they're both coming). They know about each other, thanks to UPnP. Phone rings, PVR pauses automatically and puts up caller ID. You pick up the phone, talk, hang up, PVR starts again. Your washing machine tells you it's time to switch the load over, not only on the TV, but on your UPnP Zaurus or iPaq (reality today), or perhaps your electronic picture frame. You want to listen to your MP3 library from your home server. Easy. Your iPaq, Zaurus, stereo receiver, anything, knows in advance how to search for media sources, get a list of titles available, and start spooling it down. Click and go.
Our demos are much, much cooler than that even, but I don't know how much I can say.
To answer your question, sure there are alternatives, but they're in many disjoint parts. I'd suggest getting Intel's kit, and playing with it, seeing what you can do with it. Whether you do that, or play with disjoint parts, you'll be experimenting, but UPnP will take off fairly soon now.
Re:a few notes on UPnP (Score:2)
I think you should read the referenced document [zeroconf.org] more carefully, and follow the links in the post above yours [slashdot.org] you'd find that the IP auto-configuration method used by Apple Rendezvous and Microsoft UPnP is identical. It's all based on what the zeroconf guys did.
Yes both Apple's and Microsoft's solutions go further, but at the low level this stuff does interoperate.
Re:UUID's are not Microsoft-ish hacks (Score:1)
IMHO, the Rendezvous method of using DNS SRV records for service discovery is much better, because DNS has been around for ages, and we know it works. Only time will show what sorts of problems will appear with UPnP's HTTPU reliance.
First one that comes to mind is reliability - UDP doesn't perform well on busy networks (and its not unlikely that the network over which these packets will travel will indeed be busy - imagine 802.11b maxed out while a video is being streamed over it). UPnP requires devices to resend their messages after an interval because of UDP's unreliable nature - but if I hit "play" on my remote control, I want the thing to play instantly, not a few seconds later.
Another one is scale - large amounts of data can't be sent over UDP. As it looks right now, the packets shouldn't be large, but we don't know what the future holds - as devices get more complicated and support more features, the UPnP service description messages could get fairly large.
Of course the above is a moot point given that there are no other protocols that do this....
Re:UUID's are not Microsoft-ish hacks (Score:1)
on an unmanaged network. If you rely on DNS, that
sort of breaks one of the design goals, doesn't it?
From my view, it seems to be a pretty solid
protocol. That's not to say that there aren't
better ways to do things, but it's been a finished
protocol for two years now, which is a lot further
than it would have gotten had it been an academic
exercise to keep up with the perfect-way-to-do-it-today.
For any problem, you'll always find a better solution of you look long enough!
Re:UUID's are not Microsoft-ish hacks (Score:2)
He said Rendezvous, not DNS. Rendezvous is based on the DNS protocol, to create an unmanaged DNS solution.
-BrentRe:UUID's are not Microsoft-ish hacks (Score:1)
as they're "guaranteed" to be unique. A lot of
folks use the MAC address since they're supposedly
unique, but then munge them in some way, such as
munging them with the date the board was made,
or something like that. But what if you don't
have a MAC address?
Re:UUID's are not Microsoft-ish hacks (Score:2)
Re:Yes,... (Score:1)
Self-righteous bullshit (Score:1)
See, this is what defines a dumbass. The functionality is provided, the technology is here, you admit that this is what you need, but then you disparage it just because it was developed by microsoft. Swallow your perceived pride and just use the damn stuff instead of looking for a less-functional alternative.
Re:Self-righteous bullshit (Score:1)
IEEE Computer (Score:1)
The IEEE Computer Society [computer.org] Magazine published in August an article on this topic. There are a lot of alternatives to UPnP: Sun, Hewlett-Packard, Apple, etc.
Unfortunately, I don't have the magazine here, so I cannot say much. Here [computer.org] is the index of the magazine, here [computer.org] abstract of the article, and here [computer.org] is the article in PDF (but you must pay 19$ US for it).
If you are actually interested, e-mail me (pgq AT poboxes DOT com) and I'll send you a summary.