From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis Henriques Subject: Problem with ACPI video Date: Wed, 03 Sep 2008 22:45:03 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from main.gmane.org ([80.91.229.2]:37597 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752342AbYICVuH (ORCPT ); Wed, 3 Sep 2008 17:50:07 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Kb0Ek-0002CN-6y for linux-acpi@vger.kernel.org; Wed, 03 Sep 2008 21:50:02 +0000 Received: from ip-89-234-106-36.lmk.metro.digiweb.ie ([89.234.106.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2008 21:50:02 +0000 Received: from henrix by ip-89-234-106-36.lmk.metro.digiweb.ie with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Sep 2008 21:50:02 +0000 Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: linux-acpi@vger.kernel.org It seems that there is a problem with my video card. I got the following message: [...] [ 14.705248] input: Video Bus as /class/input/input4 [ 14.757151] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no) [ 14.757624] proc_dir_entry 'VGA' already registered [ 14.757673] Pid: 3093, comm: modprobe Not tainted 2.6.27-rc5-00006-gbef69ea #1 [ 14.757723] [ 14.757724] Call Trace: [ 14.757816] [] proc_register+0x1dc/0x210 [ 14.757866] [] proc_mkdir_mode+0x3d/0x60 [ 14.757913] [] proc_mkdir+0x11/0x20 [ 14.757963] [] acpi_video_bus_add+0x1e9/0xd55 [video] [ 14.758011] [] ? sysfs_do_create_link+0xc8/0x160 [ 14.758060] [] acpi_device_probe+0x49/0x8c [ 14.758108] [] driver_probe_device+0xa2/0x1e0 [ 14.758156] [] __driver_attach+0x8b/0x90 [ 14.758202] [] ? __driver_attach+0x0/0x90 [ 14.758249] [] bus_for_each_dev+0x6b/0xa0 [ 14.758297] [] ? kmem_cache_alloc+0x86/0xc0 [ 14.758344] [] driver_attach+0x1c/0x20 [ 14.758391] [] bus_add_driver+0x1f8/0x270 [ 14.758439] [] ? acpi_video_init+0x0/0x5e [video] [ 14.758487] [] driver_register+0x70/0x160 [ 14.758535] [] ? acpi_video_init+0x0/0x5e [video] [ 14.758582] [] acpi_bus_register_driver+0x3e/0x40 [ 14.758630] [] acpi_video_init+0x3c/0x5e [video] [ 14.758677] [] _stext+0x40/0x1a0 [ 14.758726] [] sys_init_module+0xad/0x1e0 [ 14.758772] [] system_call_fastpath+0x16/0x1b [ 14.758818] [ 14.768981] acpi device:29: registered as cooling_device3 [ 14.769252] input: Video Bus as /class/input/input5 [ 14.817141] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no) [ 14.905143] ACPI: Battery Slot [BAT1] (battery present) [...] It seems that acpi_video_bus_add function is invoked twice and, the second time, it fails (maybe it is supposed to be invoked twice...). Anyway, I can not tell you what was the first kernel where this problem occured since the laptop is new and had this problem on all kernels I tried (this one is Linus git-tree 2.6.27-rc5-00006-gbef69ea). Also found out that I have two directories /proc/acpi/video/VGA/. After looking at the code, I found the following code: if (!strcmp(device->pnp.bus_id, "VID")) { if (instance) device->pnp.bus_id[3] = '0' + instance; instance ++; } in drivers/acpi/video.c. Is this code supposed to solve a similar problem as the one I am facing? Please let me know whether you need any additional information to help me solving this problem. -- Luis