From owner-freebsd-questions@FreeBSD.ORG Sat Jun 9 00:31:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2506E106566B for ; Sat, 9 Jun 2012 00:31:24 +0000 (UTC) (envelope-from davidcollins001@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id A2F1A8FC17 for ; Sat, 9 Jun 2012 00:31:23 +0000 (UTC) Received: by wibhj8 with SMTP id hj8so894989wib.13 for ; Fri, 08 Jun 2012 17:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:reply-to:to:subject:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=Dc42hG4cYYrvRJfJAhDk9g6bQjJTj9tRqkuh5dO7JtE=; b=M0TUDwveg/FW63mlemGM1M5lhsN4t5EtWC93ls9+iEUBaTKJrYu09lwDY3FiDLIN6d mtNGkavlbs2+U/ctpKzvmNklWkX+CUcTVKzI4Pdvur2XFRTadkng4VG7RCiQF7o+J2Ie 4CRxaLhvMwmUOCIbqZu8zQs+GuOXzYFtOPWqXlfa/fJuPZu6qrBSrQPuzssyDrz8jfxE VEf1mIQdC7PfvFqhf9GFrpiydI6Ow9ePWlze0CPvlsPT9IVrzNACiTaJWaZXhTBb1zGv 6i/Vhri37NooSG1vs9pxOJrQY4oyOB5+XrBreIMlPMQs7kmoGV+/NdZp+KMAUE4t5e9u qf2A== Received: by 10.180.109.197 with SMTP id hu5mr4345202wib.8.1339201882524; Fri, 08 Jun 2012 17:31:22 -0700 (PDT) Received: from hexley.local (b0fbed95.bb.sky.com. [176.251.237.149]) by mx.google.com with ESMTPS id fo7sm4840001wib.9.2012.06.08.17.31.21 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Jun 2012 17:31:21 -0700 (PDT) Date: Sat, 09 Jun 2012 01:31:22 +0100 From: David Collins To: freebsd-questions@freebsd.org Message-ID: <4fd2995a.m2TZej+KMYK1/gkZ%davidcollins001@gmail.com> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: XBMC home theater PC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: davidcollins001@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2012 00:31:24 -0000 Hi, I've recently got a Dell Optiplex 760 that I'm using as a home theatre PC set up with FreeBSD (9.0-STABLE) and XBMC. It's mostly working very well but there are just a couple of niggles I'd like to work out to see it working perfectly. 1. Suspend and resume is working well if the usb modules are kld(un/)loaded before and after suspend. I've just been gifted a radeon hd RV610 graphics card which seems quite nice. I'd like to get the card to work with suspend, but the card doesn't like resume If I do a kldunload/kldload on the radeonhd module or don't bother I see the following errors in /var/log/Xorg.0.log: > (EE) RADEONHD(0): RHDCSStop: Command Submission backend is not active! > rhd_crtc.c:586: DxModeRestore: Assertion '!RHD_CHECKDEBUGFLAG(rhdPtr, VGA_SETUP)' failed. > > FatalError re-entered, aborting > Server aborting or > Segmentation fault: 11 at address 0x4 > > Fatal server error: > Caught signal 11 (Segmentation fault: 11). Server aborting and in both cases, a load of: > (WW) RADEONHD(0): DRMCPIdle: DRM CP IDLE returned BUSY Also there are loads of the following in /var/log/messages: > Jun 8 21:13:02 xbmc kernel: info: [drm] wait idle failed status : 0xA0003030 0x00000003 Googling for these error messages returns threads dated around 2009. I would have thought that if this was an issue then it would have been solved, although they weren't related to suspend/resume. Has anyone else seen this error or know of a fix for it? Currency I just restart the X server on resume. 2. If the machine is powerd down I am able to WOL to boot the computer, but if I put the computer into suspend I am not able to. The nic light is still on but doesn't wake the computer. I'm wondering if this is the OS not the card in the same way as during a shutdown. Does anyone know of a solution to this or a work around? 3. Finally, I think this may be a bit of a shot in the dark, but is it possible to have a USB event wake the computer? I imagine that the hardware determines if this is possible (like WOL) and if not all the USB code has been unloaded from the kernel anyway. I'd still be interested to hear thoughts though. Regards, David Collins