DETROIT (AP) – The Dallas Stars snapped out of their slump.

Mike Ribeiro, Loui Eriksson, Krys Barch and Jamie Langenbrunner scored, helping Dallas beat the Detroit Red Wings 4-1 Thursday night.

“I think that’s desperate hockey for us,” Barch said.

The Stars had lost five straight and were in a 2-10-1 slump, falling from one of the top spots in the Western Conference to a tie for last place in the Pacific Division entering the game.

“I think a win like this can give us the boost we need,” Ribeiro said.

Tomas Holmstrom scored a power-play goal with 3:31 left, allowing the Red Wings to avoid getting shut out for the third time this month.

That wasn’t much consolation for Detroit.

The Central Division-leading Red Wings have lost consecutive games, both at home, after winning five straight.

Detroit has been uncharacteristically bad at Joe Louis Arena lately, going 7-9-2 since early December.

“You can’t have success unless you’re dominant at home,” coach Mike Babcock said. “If I could explain it, I’d straighten it out.”

Detroit starts a five-game road trip Saturday at Buffalo before going across the country to play three games in California and one at Phoenix.

“Maybe we’re fortunate, going on the road,” Babcock said. “Maybe we can get our act together.”

Dallas’ Kari Lehtonen had 38 saves and Detroit’s Jimmy Howard had 21.

The Red Wings had a goal by Brian Rafalski waived off because Holmstrom backed into Lehtonen outside the crease.

“I thought it should’ve been a goal,” Babcock said. “But I don’t think you can point fingers at anything but ourselves.”

The Stars got a boost from the return of Barch and Adam Burish after both missed the previous eight games with facial injuries.

“It was great to have them back because they’re the leaders in this room,” Ribeiro said.

The Red Wings had a lackluster start and the Stars took advantage, scoring twice late in the first — including Eriksson’s short-handed goal with 23 seconds left in the period — and took a 3-0 lead midway through the game.

After Holmstrom scored late in the third period, Detroit pulled Howard to add an extra skater and Langenbrunner had an empty-net goal for the Stars.

“They were more desperate than we were,” Red Wings defenseman Nicklas Lidstrom said.

Dallas, which has won four of its past six games in Detroit, won the season series 3-1 against the Red Wings.

“You always want to take down the best,” Barch said.

(© Copyright 2011 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)