Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Why Powered USB Is Going to Fail

Posted by CowboyNeal on Sat Mar 31, 2007 09:07 AM
from the gloom-and-doom dept.
An anonymous reader writes "Patrick McFarland, famous Free Software Magazine author, has written a two part article about why Powered USB is not taking off at home. (part 2 is also available) He includes a lengthy history on why USB took off in the first place, and then continues on to explain what we gain by allowing Powered USB to power all our devices."
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.

Why Powered USB Is Going to Fail 50 Comments More | Login /

 Full
 Abbreviated
 Hidden
More | Login
Keybindings Beta
Q W E
A S D
Loading ... Please wait.
  • I agree (Score:5, Interesting)

    by MrNaz (730548) on Saturday March 31 2007, @09:08AM (#18555301) Homepage
    Agreed.I've never been a big fan of USB. The concept is fantastic, a unified connector that links just about any device to any other and can charge them is a great idea. However I am still bitter the Firewire lost out. It has more bandwidth, has sturdier connectors, and can deliver far more power. Being able to just plug one cable to power and link a hard drive would be great, I have one of those external IDE enclosures, and having *another* power brick is just silly.

    Being able to charge high draw devices through Firewire would rock. Powering my laptop from my PC would be great, especially if it will be syncing files at the same time, allowing me to leave the power brick in my laptop case and not have to get it out after getting home.

    In my eagerness to get this post in first, I didn't read the article before I started typing. He says it all the same way I would. So to all of you who haven't RTFA'd, do it to find out the rest of this comment's points. Now lets see if I can still get this in first...
    • Re: (Score:3, Interesting)

      Try a 2 1/2" drive instead of a 3 1/2". The smaller drives don't require a separate 12V supply and are easily powered by USB.
      • Re: (Score:2)

        True, somewhere in the 50 mA range for a 2 Gb model I saw. That's pretty remarkable, when you think about it. Of course, the cost-per-bit is substantially higher that for a 3.5" drive.
      • Re:I agree (Score:5, Informative)

        by repvik (96666) <repvik@kynisk.com> on Saturday March 31 2007, @10:00AM (#18555633) Homepage
        Bzzzt! Wrong. There's no guarantee that 2.5" drives do not require more than 0.5A @ 5V. I've got four drives in front of me, and three of them require 0.7A.

        Not only that, but the 2.5" drives are more expensive, slower, and has way less storage capacity.
        [ Parent ]
        • I've got a 2.5" external drive case that uses two USB wires. One goes to a standard USB plug on the case, and the other goes to a connector that's just a power socket. Standard USB supports a given amount of power per connector, so this is getting around
      • Re: (Score:2)

        True. Actually, there were very, very few Firewire enclosures that could power a 3.5" drive. Actually, the only one I've seen was from Weibetech and they discontinued it. Those enclosures were too expensive. The 2.5" drives are too slow and low capacity
      • Re: (Score:3, Interesting)

        At Frys they now sell a USB to IDE drive adaptor that is a 'molded cable' adaptor for attaching an 'out of the case' 2-1/2" Hard Drive to your machine. Very handy for transferring data from drives that have been pulled from a laptop, also good for 'inject
    • Re:I agree (Score:5, Interesting)

      by diablo-d3 (175104) <pmcfarland@adterrasperaspera.com> on Saturday March 31 2007, @09:20AM (#18555389) Homepage
      Hi, I'm the guy who wrote the article in question. Yeah, I had laptops-charging-while-syncing in mind as well when I wrote the article, its only a step up from PDAs who charge while syncing (which already is done via normal USB on some PDAs).

      I'm a fan of Firewire as well, which is mainly why I wrote this article in the first place. Powered USB handles all the power issues (except for the flaws I noted in my article), and a future USB 3.0 revision will catch USB up to Firewire 800 over 9 pin cables (as opposed to the new over-CAT5 and over-Optical versions that are really for special use applications and completely outside the realm of desktop computing), so I just don't see why they don't clean up Powered USB and either integrate it into USB 3.0, or release it as a more official optional extension.

      USB may have killed Firewire, but that doesn't mean USB is ready to replace it quite yet; the fact Firewire 800 was even released, and supported on non-Apple devices pretty much proves that.
      [ Parent ]
      • Re: (Score:2, Informative)

        If I could pass back one comment on the article, there seems to be a few grammatical errors in there. The article itself is very interesting but poor grammar detracts from its impact.

        By 2000, some computers were not shipping with hardly any legacy ports at all
        That's not just a double negative, I don't think that even makes sense.

        I will tell you why Powered USB will never be widely excepted
        • Re: (Score:2, Informative)

          I also noticed this:

          "Second, I suggest the USB Working Group should releases USB 3.0 already."

          Assuming the word "releases" was just a simple typo and that he really intended to say "release", it still wouldn't have sounded right.
      • Looking at the design of the port, it appears to add four more pins exclusively for power. So why the "one voltage" limitation? Even if you reserve one pin for a redundant ground -- the USB data cable and power cable may be connected to two different circu
      • Powered USB will not fail (Score:3, Informative)

        Powered USB will not fail. It is already a success - in the Point Of Sale market for which it was intended.

        The reason why the USB-IF did not adopt this is because of IBM's patent schticks. Without this issue they probably would have ratified the 12v versio
        • Re: (Score:3, Informative)

          Agreed... but I think a balance is necessary - increased power efficiency, but there are some devices and applications that need more power than the standard allows.

          A typo? I have a 17" MacBook Pro that supports FW800 just fine.
          Not a typo... poster was o
    • Re: (Score:2)

      Firewire has two types of connector. One of them isn't sturdy at all.
    • Re:I agree (Score:4, Interesting)

      by Ruie (30480) on Saturday March 31 2007, @10:45AM (#18555993) Homepage

      Agreed.I've never been a big fan of USB. The concept is fantastic, a unified connector that links just about any device to any other and can charge them is a great idea. However I am still bitter the Firewire lost out. It has more bandwidth, has sturdier connectors, and can deliver far more power. Being able to just plug one cable to power and link a hard drive would be great, I have one of those external IDE enclosures, and having *another* power brick is just silly.

      One thing the author of the article missed is the original purpose of parallel and joystick ports. They were called "parallel digital input/output port" and "scientific port". The parallel port was meant for general purpose digital I/O (so you control relays or tell whether a contact is closed or not) and the scientific port could be used to connect thermocouples for example.

      These were "starter" ports that made the computer useful in the lab or in the factory without purchasing additional components. Nowadays a special expansion card or external device are necessary to get back the same capability. The cheapest are around $100, but this quickly ratchets up to $1000 and more for anything capable.

      One thing to keep in mind is that the original IBM PC (which was before XT and before AT) had a fairly slow processor (6 or 8 Mhz ? - can't recall) and the audio-range sampling rates of parallel port and joystick port matched them well. Nowadays we have Ghz cpus, but anything that captures faster than 100 Mhz is expensive - with Ghz cards costing more than the cost of the computer.

      [ Parent ]
      • Re:I agree (Score:4, Informative)

        by that this is not und (1026860) on Saturday March 31 2007, @12:15PM (#18556655)
        Nowadays a special expansion card or external device are necessary to get back the same capability. The cheapest are around $100

        You're correct, but to be fair in comparision, back when those ports were popular on the IBM-PC, the parallel, serial, and joystick ports were themselves expensive add-on cards.

        The PC and PC-XT had NO built in I/O. You had to plug in EVERYTHING as expansion cards, includng floppy controller card, hd controller card, serial card, parallel (which you could get built on with the MDA monochrome text-only video card), game port card, video card. None of these were built in 'on the motherboard.' On the original PC it wasn't hard to tie up all five expansion slots, since you also didn't get 640K on the motherboard, so had to plug extra RAM in _brace_yourself_ an expansion card in other I/O slot.

        Thus the rise of the 'AST Six-Pack' and other multifuntion cards, which gave you seral/parallel/memory/realtime-clock/etc. all on one card (a card that cost about what people pay now for a whole system at Wal-Mart.)
        [ Parent ]
    • Re:I agree (Score:5, Insightful)

      by jelle (14827) on Saturday March 31 2007, @06:01PM (#18560415) Homepage
      USB always makes me struggle which way to put the connector in. Firewire is a little better, but still, you'd think that the people who make connectors would be able to come up with either a connector that makes it obvious which way it goes in, or one where it doesn't matter how it goes in.

      We're still in the 'connector stone-age' if you ask me...

      [ Parent ]
      • Re:I agree (Score:4, Informative)

        by jwdav (1003969) on Saturday March 31 2007, @01:33PM (#18557339)
        I think you have it backwards, unless you have a PC or FireWire Card that doesn't support bus master. It is not uncommon to find marginal FireWire support on PC's, but most consumer & pro electronics, as well as all Apple products offer full Firewire support.

        USB requires a host CPU; FireWire does not.

        FireWire uses a "Peer-to-Peer" architecture in which the peripherals are intelligent and can negotiate bus conflicts to determine which device can best control a data transfer

        USB 2.0 uses a "Master-Slave" architecture in which the computer handles all arbitration functions and dictates data flow to, from and between the attached peripherals (adding additional system overhead and resulting in slower, less-efficient data flow control)

        USB 2.0

        1.5 Mbit/s 12Mbit/s 480Mbit/s supported.
        USB controller is required to control the bus and data transfer.
        Cable up to 5 m.
        Up to 127 devices supported.
        Power supply to external devices is 500 mA/5V (max).
        Full compatibility with USB 1.1 devices.

        FireWire (IEEE1394)

        100 Mbit/s to 800Mbit/s supported.
        Works without control, devices communicate peer-to-peer.
        Cable up to 4.5 m.
        Up to 63 devices supported.
        Power supply to external devices is 1.25A/12V (max.).
        [ Parent ]
  • by Joe The Dragon (967727) on Saturday March 31 2007, @09:37AM (#18555481)
    like offloading work from the cpu as the older and slow fire wire 400 bus is faster then the usb 2 bus and it can be used to link 2 systems together with out a special cable.
    • Re: (Score:3, Informative)

      like offloading work from the cpu as the older and slower fire wire 400 bus is faster then the usb 2 bus and it can be used to link 2 systems together with out a special cable

      I don't think USB will ever support peer to peer. USB 1.0 was designed to have a
      • Re: (Score:3, Informative)

        You can sort of fake peer to peer with USB. For example, a device that is 2 USB devices that look like network or serial devices back to back in a device. It's not REAL peer to peer since the host can't use that to mediate direct data transfer betwen (for

    • by goombah99 (560566) on Saturday March 31 2007, @10:08AM (#18555707)
      Powered WiFI is going to take over!
      [ Parent ]
  • I might take this guy more seriously if his post wasn't full of spelling and grammar errors.
    • This is slashdot; brotherhood of tech poets, code warriors, immortals of nerdome. We don't need no grammar.
      • Re: (Score:2)

        Damnation. That Usenet law about speling flames holds on fora as well.

        In my defense, I've never seen the correct spelling used. Thanks for the fix.
  • I sincerely hope powered USB fails (Score:5, Insightful)

    by Thagg (9904) <thad@hammerhead.com> on Saturday March 31 2007, @10:06AM (#18555687) Homepage Journal
    I don't feel that computer designers should really have to think about some peripheral device sucking 50 watts out of a connection on the motherboard. If you want power, get a cord. If you want portable power, bring a battery. Just having one fewer cable on a desk is not a problem worth solving this way.

    Laptops, for instance, are designed around very limited power budgets. If you plug a 1000 watt USB hair dryer into it, how long are the batteries going to last?

    A solution I would be in favor of is building lower power peripherals. Building 500 GB flash hard-drive replacements than run on half-a-watt should be possible in a couple of years. Building very low power OLED displays should be possible. Building low-power devices is something that is a win in every possible way, and should be encouraged -- the USB power limitation is a great way to stimulate this!

    That said, I'm really sorry I passed up the USB-powered heated typing gloves I saw in Shinjuku last fall...

    Thad Beier
    • by swillden (191260) * <shawn-sd@willden.org> on Saturday March 31 2007, @10:58AM (#18556079) Homepage Journal

      I don't feel that computer designers should really have to think about some peripheral device sucking 50 watts out of a connection on the motherboard.

      Why not? Sure it's another factor in motherboard design, but as long as the USB peripheral and the controller can negotiate the power demands, then it's easy enough to make sure it's not going to burn anything out. If a device would draw more power than the mobo would supply, the controller simply wouldn't power it. That would make USB-deliverable power another feature by which to compare mobos.

      Just having one fewer cable on a desk is not a problem worth solving this way.

      I disagree. Perhaps I would agree if it were only one cable, but it's not. It's often four or five cables. My desktop, for example, has two printers, a scanner, speakers and a monitor, plus the CPU, so that's six power cables and six data cables (including the network). Worse, the six power cables require two power strips (because the wall warts cover more than one outlet on a typical power strip), so there are an additional two cables, for a total of 14 cables under my desk, for that one computer. Powered USB, if done right, could conceivably eliminate both power strips and all but one of the power cables, so instead of 14 cables, I'd have seven. Even better, the routing of the seven would be cleaner, since all of the peripheral cables connect to the computer and the compute is the only one that connects to the wall. That's well worth doing.

      Laptops, for instance, are designed around very limited power budgets. If you plug a 1000 watt USB hair dryer into it, how long are the batteries going to last?

      Not long, of course, but if I want to do that, and if the laptop can deliver the juice (unlikely in your example, but we could construct another that was more feasible), why shouldn't I be able to? They're my batteries and the power in them is mine to spend as I please.

      A solution I would be in favor of is building lower power peripherals. Building 500 GB flash hard-drive replacements than run on half-a-watt should be possible in a couple of years. Building very low power OLED displays should be possible. Building low-power devices is something that is a win in every possible way, and should be encouraged -- the USB power limitation is a great way to stimulate this!

      Given the increasing move to portables and the apparently-insurmountable limitations of batteries, I think that problem takes care of itself. Low-power USB-powered devices would have an inherent mobility advantage that would drive their sales over hungrier devices. They'd also be cooler and quieter, which also tends to please buyers. There's no reason to impose an artificial barrier which makes classes of devices that can't quite reach the 0.5A mark completely infeasible.

      [ Parent ]
      • Wireless (Score:5, Interesting)

        by shmlco (594907) on Saturday March 31 2007, @01:35PM (#18557347) Homepage
        "Perhaps I would agree if it were only one cable, but it's not. It's often four or five cables. My desktop, for example, has two printers, a scanner, speakers and a monitor, plus the CPU, so that's six power cables and six data cables (including the network)"

        So? Work smarter. I have a 17" Apple MacBook Pro on my desk and it has exactly ONE cable connected to it: the MagSafe power connector.

        The mouse I use (when I use one) is Bluetooth. My printer and speakers are plugged into an AirPort Express across the room. A 500GB hard drive and the big HP color laser are plugged into an Extreme in the next room, which is where the DSL line comes in and besides, it's quieter that way. Backups to the HD, while slower, are scheduled and occur in the background, so who cares how fast they happen? The network is obviously wireless, and 802.11n due to the Extreme.

        I have a USB-powered Canon scanner, and I plug it in when I need to scan something (rare).

        The Apple AirPort Extreme and Express are great options, and work on Macs and PCs. I think Belkin also has a wireless USB hub for PCs.

        In short, if you have too many wires, then get rid of them.
        [ Parent ]
        • Re:Wireless (Score:4, Insightful)

          by swillden (191260) * <shawn-sd@willden.org> on Saturday March 31 2007, @02:07PM (#18557631) Homepage Journal

          So? Work smarter. I have a 17" Apple MacBook Pro on my desk and it has exactly ONE cable connected to it: the MagSafe power connector.

          Right, so you get rid of some cables at the expense of accepting a small, low-resolution screen with limited contrast and small, slow data storage. Not a good tradeoff for me, at least (as compared to the 23" 1920x1440 CRT and striped 320 GiB 3Gbps SATA drives on my desktop).

          If a laptop can accomodate your computing needs and fits into your budget, then certainly it's a good way to eliminate (some) cables.

          My printer and speakers are plugged into an AirPort Express across the room.

          Which means you haven't gotten rid of any of those power cables (or the power strip, most likely), you've just moved them away from your desk. Not a bad thing, certainly, but not as good as eliminating them. Now imagine how clean it would be if the AirPort Express supported powered USB devices, and your external drive and printer ran from that.

          Also, I should point out that my LAN is GigE for a reason. I move a lot of big files around and even 100BaseT is annoyingly slow (I can't saturate the GigE, but I get transfer rates about 3x as fast as 100BaseT could handle). I have an 802.11g WiFi network, but even my laptop is plugged into the GigE when I'm at my desk, because WiFi is just too slow when you need to move data.

          I have a USB-powered Canon scanner, and I plug it in when I need to scan something (rare).

          So there are two more cables on your desk, though one of them isn't typically attached to your computer. Again, powered USB would eliminate one of them.

          The Apple AirPort Extreme and Express are great options, and work on Macs and PCs. I think Belkin also has a wireless USB hub for PCs.

          Certainly, if they work for you and if you don't mind paying for them. Also, I don't think they work for Linux, except for the music playing option (I'd like to be wrong here!). They don't, however, really remove the need for cables so much as allow you to spread the cables around a little more. That's not bad, but it's not as good as eliminating them.

          [ Parent ]
            • Re: (Score:3, Interesting)

              The MBPs screen is 1680x1050, not exactly low-res,

              It's marginally acceptable resolution but it's still small and low-contrast. However, I have to give on this point, because my CRT couldn't be powered off of USB anyway, since it draws up to 200W according to the UL label.

              160GB internal drive (probably get a 300GB internal this summer)

              Still too small for me, and m

    • by kabz (770151) on Saturday March 31 2007, @12:11PM (#18556623) Homepage Journal
      I can turn my laptop into a portable wireless hairdryer by running warcraft.
      [ Parent ]
  • by cnaumann (466328) on Saturday March 31 2007, @10:08AM (#18555705)
    I love the idea of those USB power strips. Imagine being able to power your notebook off of one! That could end the different power brick for every notebook mess.

    On USB 2.0 vs. FireWire400/800: I know that this subject as been beat to death, but anyway... Higher speed are always nice, but I am not often limited by the bus speed. What I LOVE about USB is that the specification is open. Anyone can download it. You can build your own USB gizmos in your basement; no large investment is required. There are plenty of chips that support USB available in small quantities (like 1 or 2). You can even make USB look just like a serial port, making said gizmos compatable with LABView with no driver fuss. Try that with FireWire! Now if I could make all my little lab gizmos powered off the USB bus as well, heck, I might never go home.

    I know FireWire is popular for video transfer, but isn't that what DVI is for? For data transfer, you don't have to run DVI in real time, and you can run 3.9 Gbits/sec over DVI today.
    • Re: (Score:2, Informative)

      Hooking up a DVI cable to a video camera wouldn't be very size efficient. And there'd be no audio transfer, so while HDMI would be better, the Firewire camera protocol isn't just sending video like a monitor does, it's actually sending the raw video (kind
  • yes, but no (Score:2, Insightful)

    Powered USB sounds like a mess. But I wouldn't count those people out. Keep in mind that USB 1.0 looked like it was never going to make it compared to FireWire.

    Furthermore, with wireless USB, the whole thing is up in the air: wireless data with wired pow
  • When I saw the subject, I thought this might be about another problem that I have been considering: wall power sockets for small gadgets. It seems somewhat inefficient to take the 12v output of a solar array or mini wind turbine then invert this to mains v
  • by Glasswire (302197) <glasswireNO@SPAMgmail.com> on Saturday March 31 2007, @10:29AM (#18555881) Homepage
    ... to succeed: For the same reason there is are NO standards for external power bricks for laptops/printers/scanners/hubs etc. Because there is a high margin add-on market from manufacturers to replace proprietary power devices (when lost) with expensive branded units which are probably about 5x to 10x the cost of what generic units would if there was a some common defined types (V/ma/connector-types) which would be universal. A move to efficent USB power would undercut this business in the same way, so the only standard that will be agreed upon will be an unworkable one. Firewire never replaced USB because it had licence encumberences (cost more to use), alas.
  • by Alioth (221270) <dyls@alioth.net> on Saturday March 31 2007, @10:46AM (#18555997) Homepage Journal
    I'm not entirely sure that I can take an article seriously that asserts the IBM PC was the "first home computer that took off". Firstly, it too expensive to even be considered a home computer. I think the first home computer that took off in the US was probably the Commodore 64. In Britain and most of Europe, the first home computer that took off was probably the Sinclair Spectrum. The PC didn't take off until much, much later as a home computer - really, not until the early 1990s (by which time, we were already on the second generation of home computers to take off, the Amiga and ST, and to a lesser extent, updated versions of the Spectrum and BBC Micro)
    • You could argue whether the IBM PC gets first billing, or the Apple II, or the Commodore 64, I suppose; depends a lot on what you mean by "took off". But his discussion of busses also talks about USB like it was the first of its kind, a radical idea appea
  • Other Reasons (Score:5, Interesting)

    by Apreche (239272) on Saturday March 31 2007, @04:28PM (#18559193) Homepage Journal
    There are some other reasons why USB was adopted so widely. First off, it was hotplug. All the other ports like PS/2, Serial and Paralell required you to restart your computer if you wanted to change what was plugged in. USB finally allowed you to change devices while the computer was on. Imagine iPods or thumb drives if USB was not hotplug!

    The other advantage of USB was that the plug is simple. It's just a rectangle that goes in a rectangular hole. You can't put it in backwards. There are no screws to hold it in. It's very approachable. Unlike serial, paralell or game ports, which look like they belong in the back of the computer and not the front, USBs are safe to put on the front of just about anything. The design of the port itself invites people to use it, rather than scare them away.

    These are the other reasons USB is awesome, and also yet more reasons why Powered USB will not work. Adding any sort of extra plug will just make USB scary again. The only way I see powered USB working is if you find a way to transmit that power with a connector that is identical to the existing USB port.
    • Re: (Score:2, Funny)

      Tell her you have a really big penis. She'll know you're lying, but that's OK, because she'll know you speak with a forked tongue, and then her imagination will take over.
    • Re: (Score:2, Funny)

      by Anonymous Coward
      Don't tell her - just do it while she's sleeping
    • by Hal_Porter (817932) on Saturday March 31 2007, @10:22AM (#18555823)
      theres this girl I like and I really want to eat her out. I could spend hours pleasuring her. How do I ask her?

      Register for callbacks on device enumeration.

      Once she has enumerated, check her device descriptor bDeviceClass for class USB_HUMAN and bDeviceSubClass for HETEROSEXUAL_WOMAN. These steps are very important, do not omit them. If these are zeros in the Device Descriptor, iterate through all the Interface Descriptors. Note, if there is more than one Interface Descriptor, it may be best to skip the device.

      Now send a class request, SET_FEATURE ( HUMAN_ORAL_SEX ). If she doesn't stall the request, you are good to go. Some targets have a bug where the request are stalled incorrectly a few times. In this case, you should retry a few times, but not too many, unless BUILD_OPTION_EMO_LOSER is defined in which case you should retry an unlimited number of times until the OS bugchecks. Actually, if that is defined, you can skip the class and subclass post enumeration checks too.
      [ Parent ]
      • Re: (Score:2)

        If there is more than one interface descriptor, that's the best time to accept the device. C'mon! And never, ever throw out the return code BISEXUAL_WOMAN, or worse still, an array of them!

    • Re: (Score:2)

      Powered USB hubs. That's what runs my keyboard, webcam, and scanner. In fact nothing that really requires power is hooked into the comp directly(because all that is connected directly has external power supply). The power brick is really tiny too for it. I
    • Re: (Score:2)

      Powered USB will encourage manufacturers to design peripherals which consume more power, which will negatively impact the earth.

      Those peripherals are plugged directly into mains power today. Do you really think that USB powered devices would draw more t

    • Re: (Score:2)

      Powered USB will encourage manufacturers to design peripherals which consume more power, which will negatively impact the earth.

      The energy used in data centers and all the computers in the world is minuscule to the energy required to produce meat for human
    • Re: (Score:2)

      Mostly amount of power. DVD drives, some harddrives, laptops could be driven off the USB power, but they're not, they require a separate add on plug. It's not a bad idea, though I picture it a bit like christmas lights, someone plugging in a chain of 100 d
    • Re: (Score:2, Interesting)

      by Anonymous Coward
      If you'd have bothered to read the article carefully, you'd see that "Powered USB" is a different standard then USB 2.0 (which is what your Sansa uses), with different cables and higher power output. "Regular USB" is fine for powering small devices, like
    • Re: (Score:3, Insightful)

      Actually, DC to DC voltage conversion is cheap and small (and efficient) these days, thanks to IC switching PSU controllers. Only big part left is just the coil (which is still fairly small).

      With regard to the article, it looks like the new Powered USB sp