LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 02-01-2012, 09:21 AM   #1
rodercot
LQ Newbie
 
Registered: Feb 2012
Location: Ottawa, Canada
Distribution: myth
Posts: 4

Rep: Reputation: Disabled
kernel 3.3rc2 - imon_mce not working on boot but WORKS after Suspend and Resume


Hello,

first post on LQ. I have a test machine with a NEW Asus P8H61-i and I3 2120 cpu with 8Gb of ram and a Nvidia GT-430.

I have been testing kernels from Mainline to fix the supend issues with Sandy Bridge Platforms.

Here is where I am at, I have Mythbuntu 10.04 loaded and fully updated I have installed kernel 3.3rc2 but tested 3.3rc1 and the daily kernels prior to that. The kernel installs fine other than some realtek firmware issues. I installed the x-swat ppa and update the nvidia driver it loads fine, I updated alsa 1.0.25 and it compiles and installs fine.

So here is the issue.

I installed ir-keytable as the new kernel has the lirc bridge and imon modules in it. reconfigure lirc 0.8.6 to use devinput and devinput/by-id for the imon vfd and to not load the old modules. ir-keytable sees the imon as rc0. restart lirc and I have no response from the remote with irw or ir-keytable -t.

So I dwnld .0.9.0 lirc compile it and install; stop lirc 0.8.6. I ran lirc .0.9.0 from a cli with a --no daemon and created a lircd.pid it loads fine and waits for a client. open up a new terminal and run irw, still no response.

OK the funky part. Now I suspend the system (WORKS NOW on 3.3rc2) and then resume and lirc now works in mythbuntu and in xbmc and I get a full report via irw for what keys I am pressing. but if I restart the system (reboot) then no reponse from lirc until I suspend and resume.

I have looked at the logs for Xorg, pm-suspend, syslog, checked dmesg etc.. I can post some of those snippets here as well if needed.

I also added sysbus wakeup call for device usb 1-1 in rc.local but this did not do anything to help the issues, It seems none of that is required anymore ACPI enables and disable the power button, usb hid ehci etc on suspend and resume.

I am going to start to change some bios setting on the board one at a time and test and then try adding no apci to kernel boot line and see what happens.

not sure where to go to diagnose this issue so any help would be greatly welcomed.

Regards,

Dave

Last edited by rodercot; 02-03-2012 at 02:13 PM.
 
Old 02-02-2012, 06:25 AM   #2
rodercot
LQ Newbie
 
Registered: Feb 2012
Location: Ottawa, Canada
Distribution: myth
Posts: 4

Original Poster
Rep: Reputation: Disabled
having a quick look in the syslog (tail) via ssh when I suspend the system I see these three lines

Feb 2 07:12:59 fusion kernel: [ 560.092760] pcieport 0000:00:1c.4: wake-up capability enabled by ACPI
Feb 2 07:12:59 fusion kernel: [ 560.108715] ehci_hcd 0000:00:1d.0: wake-up capability enabled by ACPI
Feb 2 07:12:59 fusion kernel: [ 560.124593] ehci_hcd 0000:00:1a.0: wake-up capability enabled by ACPI

This is where the trouble is I think. ehci_hcd is waking up the 1a device which is the imon. BUT it is already awake at least when I issue a cat /proc/acpi/wakeup the usb device for the imon is enabled and as well I added a sysbus wakeup call in my rc.local for the imon which is on usb 1-1 port. and if I reboot and check that it says enabled not disabled.

So I am not sure if something changed in the new kernel for handling wakeup devices or if something else needs to be changed in Addition now.

i have loaded and unloaded modules trying to pinpoint the one that is the issue with no luck so far.

Thanks,

Dave

Last edited by rodercot; 02-02-2012 at 06:30 AM.
 
Old 02-02-2012, 09:31 AM   #3
rodercot
LQ Newbie
 
Registered: Feb 2012
Location: Ottawa, Canada
Distribution: myth
Posts: 4

Original Poster
Rep: Reputation: Disabled
posted a bug to launchpad, hopefully it will be accepted. The above issues I can reporduce in Lucid, Maverick, Natty and Oneiric immediately after upgrading to any 3.0 > kernel.

https://bugs.launchpad.net/ubuntu/+s...ux/+bug/925524

rgds,

Dave
 
Old 02-03-2012, 02:13 PM   #4
rodercot
LQ Newbie
 
Registered: Feb 2012
Location: Ottawa, Canada
Distribution: myth
Posts: 4

Original Poster
Rep: Reputation: Disabled
got it all patched actually it was pretty easy to build the module outside of the kernel with the installed mainline debs. I thought it would have been a all day affair - LOL. here is a link to how I did. Thanks to Jarod Wilson for the patch and a couple of the threads on-line for the Makefile creation.

https://bugs.launchpad.net/ubuntu/+s...524/comments/7

rgds,

Dave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bluetooth not working after resume from suspend on hp pavilion dv3000 TDMBG Linux - Laptop and Netbook 2 01-06-2011 01:10 PM
Custom pm-utils suspend/resume hook stopped working TDMBG Linux - Software 0 04-04-2010 02:44 PM
Suspend Works But Resume Fails on Fedora 10 eegerda Linux - Laptop and Netbook 11 09-28-2009 02:02 AM
Suspend to disk in opensuse 11.0 works but resume loses the router. petermcp Suse/Novell 2 06-26-2008 07:06 AM
FreeNx suspend/resume function not working. bladehaze Ubuntu 1 09-14-2005 08:21 AM


All times are GMT -5. The time now is 07:43 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration