Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 205984 Details for
Bug 287019
sys-kernel/gentoo-sources-2.6.31 breaks Synaptics on HP Pavilion 9500
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Small retarded debugging patch which actually makes sense
synpatch.patch (text/plain), 2.93 KB, created by
George Kadianakis (RETIRED)
on 2009-10-04 03:56:56 UTC
(
hide
)
Description:
Small retarded debugging patch which actually makes sense
Filename:
MIME Type:
Creator:
George Kadianakis (RETIRED)
Created:
2009-10-04 03:56:56 UTC
Size:
2.93 KB
patch
obsolete
>Index: linux-2.6.31-gentoo/drivers/input/mouse/synaptics.c >=================================================================== >--- linux-2.6.31-gentoo.orig/drivers/input/mouse/synaptics.c >+++ linux-2.6.31-gentoo/drivers/input/mouse/synaptics.c >@@ -116,7 +116,7 @@ static int synaptics_model_id(struct psm > { > struct synaptics_data *priv = psmouse->private; > unsigned char mi[3]; >- >+ printk(KERN_INFO "synaptics: Right before synaptics_send_cmd() in synaptics_model_id()"); > if (synaptics_send_cmd(psmouse, SYN_QUE_MODEL, mi)) > return -1; > priv->model_id = (mi[0]<<16) | (mi[1]<<8) | mi[2]; >@@ -132,6 +132,7 @@ static int synaptics_capability(struct p > struct synaptics_data *priv = psmouse->private; > unsigned char cap[3]; > >+ printk(KERN_INFO "synaptics: Right before synaptics_send_cmd() (1) in synaptics_capability()"); > if (synaptics_send_cmd(psmouse, SYN_QUE_CAPABILITIES, cap)) > return -1; > priv->capabilities = (cap[0] << 16) | (cap[1] << 8) | cap[2]; >@@ -146,6 +147,7 @@ static int synaptics_capability(struct p > priv->capabilities = 0; > > if (SYN_EXT_CAP_REQUESTS(priv->capabilities) >= 1) { >+ printk(KERN_INFO "synaptics: Right before synaptics_send_cmd() (2) in synaptics_capability()"); > if (synaptics_send_cmd(psmouse, SYN_QUE_EXT_CAPAB, cap)) { > printk(KERN_ERR "Synaptics claims to have extended capabilities," > " but I'm not able to read them."); >@@ -171,7 +173,8 @@ static int synaptics_identify(struct psm > { > struct synaptics_data *priv = psmouse->private; > unsigned char id[3]; >- >+ >+ printk(KERN_INFO "synaptics: Right before synaptics_send_cmd() in synaptics_identify()"); > if (synaptics_send_cmd(psmouse, SYN_QUE_IDENTIFY, id)) > return -1; > priv->identity = (id[0]<<16) | (id[1]<<8) | id[2]; >@@ -189,9 +192,11 @@ static int synaptics_resolution(struct p > struct synaptics_data *priv = psmouse->private; > unsigned char res[3]; > >+ printk(KERN_INFO "synaptics: Right before SYN_ID_MAJOR in synaptics_resolution()!"); > if (SYN_ID_MAJOR(priv->identity) < 4) > return 0; > >+ printk(KERN_INFO "synaptics: Right before synaptics_send_cmd() in synaptics_resolution()!") > if (synaptics_send_cmd(psmouse, SYN_QUE_RESOLUTION, res)) > return 0; > >@@ -222,6 +227,8 @@ static int synaptics_set_absolute_mode(s > struct synaptics_data *priv = psmouse->private; > > priv->mode = SYN_BIT_ABSOLUTE_MODE; >+ >+ printk(KERN_INFO "synaptics: Right before SYN_ID_MAJOR() (2) in synaptics_set_absolute_mode()"); > if (SYN_ID_MAJOR(priv->identity) >= 4) > priv->mode |= SYN_BIT_DISABLE_GESTURE; > if (SYN_CAP_EXTENDED(priv->capabilities)) >@@ -679,6 +686,7 @@ int synaptics_init(struct psmouse *psmou > > priv->pkt_type = SYN_MODEL_NEWABS(priv->model_id) ? SYN_NEWABS : SYN_OLDABS; > >+ printk(KERN_INFO "synaptics: Right before SYN_ID_MAJOR in synaptics_init()!"); > printk(KERN_INFO "Synaptics Touchpad, model: %ld, fw: %ld.%ld, id: %#lx, caps: %#lx/%#lx\n", > SYN_ID_MODEL(priv->identity), > SYN_ID_MAJOR(priv->identity), SYN_ID_MINOR(priv->identity),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 287019
:
205983
| 205984 |
206147
|
206149
|
206150
|
206153
|
206155