Re: [Mactel-support] [Bug 337935] Re: [Jaunty] MacBook 5.1 touchpad not fully supported (Alpha 5 of Jaunty)

2009-03-29 Thread rydberg
Ricky Campbell wrote:
 Good idea Eric. I think that is easier than maintaining a package.

I'm glad you found a workaround, since this problem got tougher with the
new 2.6.28 kernel.

 
 usbhid code is at bitmath.org git repo though...
 http://bitmath.org/code/usbhid-dkms/
 

The possibility to control the mouse interface was moved to the hid
module, which is now built into the kernel. You'd have to hack the
usbhid module with something like this
untested-and-not-compiled-and-unsupported piece of code:

diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c
index 606369e..2fe49ab 100644
--- a/drivers/hid/usbhid/hid-core.c
+++ b/drivers/hid/usbhid/hid-core.c
@@ -1012,7 +1012,15 @@ static int hid_probe(struct usb_interface *intf,
const struct usb_device_id *id
hid-driver_data = usbhid;
usbhid-hid = hid;

-   ret = hid_add_device(hid);
+   /* ignore the mouse interface of the WELLSPRING3 devices */
+   if (hid-type == HID_TYPE_USBMOUSE 
+   hid-vendor = 0x05ac 
+   (hid-product == 0x0236 ||
+hid-product == 0x0237 ||
+hid-product == 0x0238))
+   ret = -ENODEV;
+   else
+   ret = hid_add_device(hid);
if (ret) {
if (ret != -ENODEV)
dev_err(intf-dev, can't add hid device:
%d\n, ret);

I am leaving this snippet as a pointer to a possible solution for anyone
who feels like picking it up. Please understand that I will not
regularly answer emails regarding this or other jaunty issues. I will
hopefully see you gentlemen during the karmic work, as that is the next
release I will involve myself in.

So long,
Henrik

-- 
[Jaunty] MacBook 5.1 touchpad not fully supported (Alpha 5 of Jaunty)
https://bugs.launchpad.net/bugs/337935
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Mactel-support] [Bug 337935] Re: [Jaunty] MacBook 5.1 touchpad not fully supported (Alpha 5 of Jaunty)

2009-03-21 Thread rydberg
P. Dunbar wrote:
 I've installed the bcm5974-dkms for jaunty from the mactel ppa and still
 can not get any .fdi profiles to do anything.
 

The conjecture is that the built-in HID module is stealing the mouse
interface. To confirm, please reboot and attach the full output of dmesg.

Henrik

-- 
[Jaunty] MacBook 5.1 touchpad not fully supported (Alpha 5 of Jaunty)
https://bugs.launchpad.net/bugs/337935
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Mactel-support] [Bug 337935] Re: [Jaunty] MacBook 5.1 touchpad not fully supported (Alpha 5 of Jaunty)

2009-03-21 Thread rydberg
P. Dunbar wrote:
 Here is my dmesg output on a clean boot.
 
 ** Attachment added: dmesg output
http://launchpadlibrarian.net/24189298/dmesg.out
 

Mm, this line says the trackpad is added as a raw input device:

[   10.121135] apple 0003:05AC:0236.0002: input,hidraw2: USB HID v1.11
Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on
usb-:00:04.0-6/input0

So, most likely, bcm5974 cannot claim the device. To confirm, it should
suffice to see that the line below returns no output:

grep bcm5974 /proc/bus/input/devices

The problem is that I cannot off-hand think of a way to set the
ignore-mouse quirks in the jaunty kernel; things were moved around quite
a bit, and it seems to me some of the quirks possibilities were removed.
Compiling a custom kernel is of course always an option.

Henrik

-- 
[Jaunty] MacBook 5.1 touchpad not fully supported (Alpha 5 of Jaunty)
https://bugs.launchpad.net/bugs/337935
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Mactel-support] [Bug 337935] Re: [Jaunty] MacBook 5.1 touchpad not fully supported (Alpha 5 of Jaunty)

2009-03-19 Thread rydberg
Ed K wrote:
 I'm also experiencing this issue. Opening up xev the trackpad doesn't
 produce any events on anything other than left click (I don't know if it
 should be expected to if the problem is simply that the FDI is not being
 utilized).
 

The jaunty kernel does not include the necessary changes for the
MacBook5-1 to work, but the bcm5974-dkms package solves the problem and
is now available in the Mactel PPA.

Henrik

-- 
[Jaunty] MacBook 5.1 touchpad not fully supported (Alpha 5 of Jaunty)
https://bugs.launchpad.net/bugs/337935
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs