LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-05-2011, 09:06 PM   #1
the3dfxdude
Member
 
Registered: May 2007
Posts: 730

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
bttv & radeon return from suspend


Hello all,

In 2.6.37rc and later, there began an issue with regard to resuming my bttv card after suspend. The problem is that the tuner device is no longer seen upon resume after suspend. Luckily, I have found that the issue appears only when both bttv & radeon are loaded prior to suspend. So I am able to resolve/avoid the issue if

1) bttv loaded & radeon unloaded
2) bttv unloaded & radeon loaded

So I have two questions, first, the work-around is like this, assuming bttv is always loaded prior to suspend:

Code:
rmmod bttv
sleep 1
/usr/sbin/pm-suspend
modprobe bttv
I would like to have this executed from the Xfce suspend button as a work around for the time being. Does anyone know the right place?


The second question is more hardware controller specific. Does anyone know a way to find the culprit device or driver or have debugged suspend issues? Don't say just bisect the kernel--I've been down this path. The problem is intermittent, meaning it is completely possible to startup-suspend-resume just fine with any kernel version. There is required a certain level of activity of something, but I don't know what. My thought is that generally that you set the tuner frequency, unmute, and wait a while, hoping it is triggered. This makes for a very slow bisect. Not only that, there were several kernel bugs with both radeon and bttv during v2.6.37rc1 that complicates things further.

While I may revisit bisecting, I would like to have a pretty good idea on what to focus on. I have already tried to slim down the kernel to the key drivers during bisect, but I want to look more how the interaction of the two drivers plays into it. What I need is some background on suspend, some hardware specs, or some type of suspend debugger/hints where to look. Since the tuner is a dead simple device, it is hard to see where it could go wrong. So perhaps it is the PCI bus. The radeon card is PCI-X, and the tuner card is PCI. But it could also be I2C or SMBUS? Also note that in the prior kernel, 2.6.36, it is perfectly fine.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE 4.4.3 does not return from suspend :( em21701 Slackware 0 05-06-2010 07:25 PM
how to tell my graphics board driver in linux? ## return from suspend laptop problem# mkultra329 Linux - Newbie 2 02-13-2010 08:54 AM
bttv & xawtv toedoe Slackware 3 01-26-2008 02:35 AM
BTTV cards running under the new radeon drivers? ravalox Linux - Software 0 06-26-2004 10:06 AM
installing bttv & v4l jhome4u Linux - Software 2 03-24-2004 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration