Skip to contentSkip to conversation

remove debug info in acpi video

PATCH In review Zhenyu Wang 3 participants 6 messages Nov 13, 2007 – Nov 27, 2007 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove debug info in acpi video

Remove acpi video debug message.

---
 drivers/acpi/video.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
drivers/acpi/video.c +0 -3
index bac956b..9c8c8e6 100644
@@ -1782,9 +1782,6 @@ static void acpi_video_bus_notify(acpi_handle handle, u32 event, void *data)
 	struct input_dev *input;
 	int keycode;
 
-
-	printk("video bus notify\n");
-
 	if (!video)
 		return;
 
Signature · 1 line
1.5.3.3
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Zhenyu Wang

Remove acpi video debug message.

Quoted 28 lines
---
 drivers/acpi/video.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
drivers/acpi/video.c +0 -4
index bac956b..9c8c8e6 100644
@@ -1782,9 +1782,6 @@ static void acpi_video_bus_notify(acpi_handle
 handle, u32 event, void *data)
        struct input_dev *input;
        int keycode;
 
-
-       printk("video bus notify\n");
-
        if (!video)
                return;
 
--

1.5.3.3
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

No blacklight Re: [patch] remove debug info in acpi video

Since I begging to see this message on dmesg , when i press lid button , I don't have black light

Quoted 39 lines · Zhang Rui
Quoted 4 lines · Zhenyu Wang

Remove acpi video debug message.

Quoted 20 lines
---
 drivers/acpi/video.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
drivers/acpi/video.c +0 -4
index bac956b..9c8c8e6 100644
@@ -1782,9 +1782,6 @@ static void acpi_video_bus_notify(acpi_handle
 handle, u32 event, void *data)
        struct input_dev *input;
        int keycode;
 
-
-       printk("video bus notify\n");
-
        if (!video)
                return;
 
--
Quoted 8 lines

1.5.3.3
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Sérgio M. B.
#3 lore raw

Re: No blacklight Re: [patch] remove debug info in acpi video

Quoted 1 line · Sergio Monteiro Basto

Since I begging to see this message on dmesg ,

My patch just trys to remove that obvious debug printk, which keeps showing up on one HP laptop. Someone may rework acpi debug level support in acpi video driver.

Quoted 2 lines

when i press lid button , I don't have black light

No idea how could my simple patch cause your problem...

#4 lore raw

Re: No blacklight Re: [patch] remove debug info in acpi video

Quoted 1 line · Zhenyu Wang

No idea how could my simple patch cause your problem...

I'm not saying your patch cause the problem , I say when this messages begging to appears at more or less at same time my blacklight stops to works, but not saying that is direct related to this patch.

btw , after suspend to disk and resume , blacklight works! .

Just trying to help .

Thanks,

Signature · 1 line
Sérgio M. B.
#5 lore raw

RE: No blacklight Re: [patch] remove debug info in acpi video

Quoted 10 lines

-----Original Message-----
From: Sergio Monteiro Basto [mailto:[email protected]]
Sent: Tuesday, November 27, 2007 3:39 AM
To: Wang, Zhenyu Z
Cc: Zhang, Rui; [email protected]
Subject: Re: No blacklight Re: [patch] remove debug info in acpi video

Quoted 7 lines
Quoted 1 line · Zhenyu Wang

No idea how could my simple patch cause your problem...

I'm not saying your patch cause the problem , I say when this messages begging to appears at more or less at same time my blacklight stops to works, but not saying that is direct related to this patch.

If the hotkey events is handled via ACPI, which is true in your case, this debug message always appears no matter the backlight works or not. :)

Quoted 1 line

btw , after suspend to disk and resume , blacklight works! .

That's weird.
You can open a bug at http://bugzilla.kernel.org/enter_bug.cgi
And attach the acpidump.

Thanks,
Rui