Page 28 of 29 FirstFirst ... 1826272829 LastLast
Results 271 to 280 of 287

Thread: [SOLVED] New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

  1. #271
    Join Date
    Jun 2010
    Beans
    3

    Re: [SOLVED] New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Hello
    I'm using the new 6.2 Macbook Pro.
    For some reason, my trackpad won't work on Gentoo, and I can't figure why. I tried Ubuntu 10.04, and it does work without any tweaking. I don't know why! I do know that when the usbhid module isn't loaded, the trackpad works fine.

    I'm not up to date with usbhid or udev, but it does sound like a quirk issue. Could anybody provide me with the tweaks performed on previous releases of Ubuntu to get the trackpad to work fine with usbhid?

    Thanks.

  2. #272
    Join Date
    May 2008
    Beans
    745

    Re: [SOLVED] New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Quote Originally Posted by muryoh View Post
    Hello
    I'm using the new 6.2 Macbook Pro.
    For some reason, my trackpad won't work on Gentoo, and I can't figure why. I tried Ubuntu 10.04, and it does work without any tweaking. I don't know why! I do know that when the usbhid module isn't loaded, the trackpad works fine.

    I'm not up to date with usbhid or udev, but it does sound like a quirk issue. Could anybody provide me with the tweaks performed on previous releases of Ubuntu to get the trackpad to work fine with usbhid?

    Thanks.
    Hi, do you use a ramdisk when booting up?

  3. #273
    Join Date
    Nov 2007
    Beans
    7

    Re: [SOLVED] New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    i'm havin problems with the trackpad and keyboard on a penryn macbook - due to my dmesg it's propably an issue with the bcm5974 driver...

    dmesg output:
    ...
    [176267.592140] apple 0003:05AC:0231.1A2F: hidraw1: USB HID v1.11 Device [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input1
    [176267.594143] input: bcm5974 as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.2/input/input6710
    [176267.660056] bcm5974: bcm5974: could not read from device
    [176267.660060] bcm5974: mode switch failed
    [176267.669053] bcm5974: bcm5974: could not read from device
    [176267.669055] bcm5974: mode switch failed
    [176267.750533] hub 7-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
    [176267.750538] usb 7-2: USB disconnect, address 96
    [176267.998294] usb 7-2: new full speed USB device using uhci_hcd and address 97
    [176268.229152] usb 7-2: configuration #1 chosen from 1 choice
    [176268.242485] input: Apple, Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/input/input6711
    [176268.242554] apple 0003:05AC:0231.1A30: input,hidraw0: USB HID v1.11 Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input0
    [176268.259067] usb 7-2: ctrl urb status -75 received

    this is on ubuntu karmic - any hints how to hunt this bug are welcome!

    just filled the following bug report:
    https://bugs.launchpad.net/ubuntu/+bug/601132
    Last edited by raumkundschafter; July 2nd, 2010 at 05:50 PM. Reason: bug report

  4. #274
    Join Date
    May 2008
    Beans
    745

    Re: [SOLVED] New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Quote Originally Posted by raumkundschafter View Post
    i'm havin problems with the trackpad and keyboard on a penryn macbook - due to my dmesg it's propably an issue with the bcm5974 driver...

    dmesg output:
    ...
    [176267.592140] apple 0003:05AC:0231.1A2F: hidraw1: USB HID v1.11 Device [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input1
    [176267.594143] input: bcm5974 as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.2/input/input6710
    [176267.660056] bcm5974: bcm5974: could not read from device
    [176267.660060] bcm5974: mode switch failed
    [176267.669053] bcm5974: bcm5974: could not read from device
    [176267.669055] bcm5974: mode switch failed
    [176267.750533] hub 7-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
    [176267.750538] usb 7-2: USB disconnect, address 96
    [176267.998294] usb 7-2: new full speed USB device using uhci_hcd and address 97
    [176268.229152] usb 7-2: configuration #1 chosen from 1 choice
    [176268.242485] input: Apple, Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/input/input6711
    [176268.242554] apple 0003:05AC:0231.1A30: input,hidraw0: USB HID v1.11 Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input0
    [176268.259067] usb 7-2: ctrl urb status -75 received

    this is on ubuntu karmic - any hints how to hunt this bug are welcome!

    just filled the following bug report:
    https://bugs.launchpad.net/ubuntu/+bug/601132
    Hi, thanks for the report. I am sorry, but this sounds like a known hardware (usb) problem. You will find references by searching for "ubuntu macbook disabled by hub (EMI?)".

  5. #275
    Join Date
    Jun 2010
    Beans
    3

    Re: [SOLVED] New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Quote Originally Posted by kosumi68 View Post
    Hi, do you use a ramdisk when booting up?
    I apologize for the long delay, I'm the one asking yet I'm the one forgetting about the post...
    No, I'm not using a ramdisk.
    Last edited by muryoh; July 8th, 2010 at 05:01 PM.

  6. #276
    Join Date
    Jun 2010
    Beans
    3

    Re: [SOLVED] New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    ok, got it. Sneaky kernel options did the trick : https://bugzilla.kernel.org/show_bug.cgi?id=14987

    Thanks

  7. #277
    Join Date
    Sep 2008
    Beans
    4

    Unhappy Re: [SOLVED] New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Has anyone else started to have problems with this driver recently? Overall it has worked wonders and on the odd occasion it would stop working I'd just toggle to text console rmmod+modprobe and a few seconds after switching back everything was fine again. Yesterday this no longer helped so I tried restarting X - still broken. Note that seemingly any variant of clicking (right left depending on number of fingers - but I've intentionally disabled tapping) still worked, just moving failed. In the end I rebooted and it was fine.

    This morning it was the same again (I'm currently using a USB mouse).

    Any and all suggestions are welcome. This is on a MacBookPro6,1 upgraded to Natty about a month ago. I've run Ubuntu on it ever since I got it (within a month or so of its release) and the module has never misbehaved before.

    Best / Jonas

    [Hmm, Seems like a "Heisenbug": I tried adding some debugging to the module and suddenly it worked again! Very annoying. ]
    Last edited by JonasPetersson; June 6th, 2011 at 10:36 AM. Reason: Some further info.

  8. #278
    Join Date
    Sep 2008
    Beans
    4

    Re: [SOLVED] New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    For the record, it just happened again and this time it stayed broken after i modprobed with debug=8. The situation is identical in that clicking appears to work, but movement hardly ever does anything. The debug flag yields some lines like these in dmesg:
    [836847.062151] bcm5974: switched to wellspring mode.
    [836847.077168] bcm5974: abs: p: +0255 w: +0015 x: +0402 y: +0396 nmin: 1 nmax: 1 n: 1 ibt: 0
    [836847.117028] bcm5974: abs: p: +0255 w: +0015 x: +0402 y: +0396 nmin: 1 nmax: 1 n: 1 ibt: 0
    [836850.392018] bcm5974: abs: p: +0255 w: +0015 x: +0978 y: +0159 nmin: 3 nmax: 3 n: 3 ibt: 0
    [836850.403021] bcm5974: abs: p: +0255 w: +0015 x: +0981 y: +0158 nmin: 3 nmax: 3 n: 3 ibt: 0

    That seems to indicate that report_tp_state() is called with fingers pressed (makes sense considering what I see) and that bcm5974_wellspring_mode() is called with on==true - whether that makes sense is somewhat beyond obvious to me at the moment...

    Any and all hints are welcome.

  9. #279
    Join Date
    Feb 2006
    Location
    The Netherlands
    Beans
    19
    Distro
    Ubuntu 6.06

    Re: [SOLVED] New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    The synclient command does not work on my Macbook Pro 7,1 using Ubuntu 11.04. When I'm typing on the keyboard the touchpad responds to clicks/movement. I believe I can use syndaemon to disable the touchpad while typing.

    Code:
    $ synclient -m 500
    Can't access shared memory area. SHMConfig disabled?
    Couldn't find synaptics properties. No synaptics driver loaded?
    The bcm5974 diag script:
    Code:
    $ /usr/src/bcm5974-1.1.9/scripts/bcm5974-diagnostics
    -----------------------------------------------------------------------
    * Kernel version: 2.6.38-8-generic
    * Synaptics version: 1.3.99+git20110116.0e27ce3a-0ubuntu12.1
    * USB device: Bus 004 Device 002: ID 05ac:0237 Apple, Inc. Internal Keyboard/Trackpad (ISO)
    * /lib/modules/2.6.38-8-generic/kernel/drivers/input/mouse/bcm5974.ko: exists
    * /etc/modules: bcm5974 no longer explicitly listed, good
    * /etc/modprobe.d/options: file not found
    * /etc/modprobe.d/bcm5974: no such file, good
    * /lib/modules/2.6.38-8-generic/modules.usbmap: maps to bcm5974, good
    * bcm5974: module is loaded
    * /proc/bus/input/devices: module is registered
    Couldn't find synaptics properties. No synaptics driver loaded?
    Can anyone point me in a direction to get the synclient working?

  10. #280
    Join Date
    Mar 2005
    Location
    NSW Australia
    Beans
    98
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [SOLVED] New kernel driver for the BCM5974 touchpad (Macbook Air, Penryn)

    Quote Originally Posted by JonasPetersson View Post
    Has anyone else started to have problems with this driver recently? Overall it has worked wonders and on the odd occasion it would stop working I'd just toggle to text console rmmod+modprobe and a few seconds after switching back everything was fine again. Yesterday this no longer helped so I tried restarting X - still broken. Note that seemingly any variant of clicking (right left depending on number of fingers - but I've intentionally disabled tapping) still worked, just moving failed. In the end I rebooted and it was fine.

    This morning it was the same again (I'm currently using a USB mouse).

    Any and all suggestions are welcome. This is on a MacBookPro6,1 upgraded to Natty about a month ago. I've run Ubuntu on it ever since I got it (within a month or so of its release) and the module has never misbehaved before.

    Best / Jonas

    [Hmm, Seems like a "Heisenbug": I tried adding some debugging to the module and suddenly it worked again! Very annoying. ]
    Similar story for me.

    MacBook Pro 4,1 Natty 11.04

    I'd say it started a month ago and just got worse over time.
    I have found out this:

    Apple keyboard and touchpad share a USB port or something like that. Hence we need a mode switch - so I gather.

    With touchpad bcm5974 removed, apple keyboard works fine.

    With apple keyboard hid_apple removed, touchpad works fine.

    With both loaded, both eventually become unusable and my USB hub seems to
    reset all the time and xorg loads and unload it's drivers making my situation unworkable.

    I too am using a USB mouse.

    This morning I thought it might be hardware since with a cold laptop, my machine was usable but as it warmed it got worse and eventually became unusable.

    But, on OS-X all is well. So must be a driver issue - perhaps hid_apple?

    How can I help?

    2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

    modinfo hid_apple
    filename: /lib/modules/2.6.38-8-generic/updates/dkms/hid-apple.ko

    modinfo bcm5974
    filename: /lib/modules/2.6.38-8-generic/updates/dkms/bcm5974.ko

    Jun 22 09:16:41 max kernel: [ 1682.040256] usb 7-2: new full speed USB device using uhci_hcd and address 42

    Jun 22 09:16:41 max kernel: [ 1682.270631] input: Apple, Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/input/input88

    Jun 22 09:16:41 max kernel: [ 1682.270931] apple 0003:05AC:0230.0052: input,hidraw1: USB HID v1.11 Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input0

    Jun 22 09:16:41 max kernel: [ 1682.284471] usb 7-2: ctrl urb status -75 received

    Jun 22 09:16:41 max kernel: [ 1682.284678] apple 0003:05AC:0230.0053: hidraw2: USB HID v1.11 Device [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input1

    Jun 22 09:16:41 max kernel: [ 1682.286701] input: bcm5974 as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.2/input/input89

    Jun 22 09:16:41 max kernel: [ 1682.290311] hub 7-0:1.0: port 2 disabled by hub (EMI?), re-enabling...

    Jun 22 09:16:41 max kernel: [ 1682.290323] usb 7-2: USB disconnect, address 42

    Jun 22 09:16:42 max kernel: [ 1682.820394] usb 7-2: new full speed USB device using uhci_hcd and address 43

    ad nausea

    [ 27965.540] (EE) xf86OpenSerial: Cannot open device /dev/input/event9
    Input/output error.
    [ 27965.540] (EE) Synaptics driver unable to open device
    [ 27965.540] (EE) PreInit returned 11 for "bcm5974"
    [ 27965.540] (II) UnloadModule: "synaptics"
    [ 27965.540] (II) Unloading synaptics
    [ 27965.580] (II) config/udev: removing device Apple, Inc. Apple Internal Keyboard / Tra
    ckpad
    [ 27965.580] (II) Apple, Inc. Apple Internal Keyboard / Trackpad: Close
    [ 27965.580] (II) UnloadModule: "evdev"
    [ 27965.580] (II) Unloading evdev
    [ 27966.254] (II) config/udev: Adding input device Apple, Inc. Apple Internal Keyboard / Trackpad (/dev/input/event8)
    [ 27966.254] (**) Apple, Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev keyboard catchall"
    [ 27966.254] (II) Using input driver 'evdev' for 'Apple, Inc. Apple Internal Keyboard / Trackpad'
    [ 27966.254] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 27966.254] (**) Apple, Inc. Apple Internal Keyboard / Trackpad: always reports core events
    [ 27966.254] (**) Apple, Inc. Apple Internal Keyboard / Trackpad: Device: "/dev/input/event8"
    [ 27966.280] (--) Apple, Inc. Apple Internal Keyboard / Trackpad: Found keys
    [ 27966.280] (II) Apple, Inc. Apple Internal Keyboard / Trackpad: Configuring as keyboard
    [ 27966.280] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/input/input1133/event8"
    [ 27966.280] (II) XINPUT: Adding extended input device "Apple, Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD)
    [ 27966.280] (**) Option "xkb_rules" "evdev"
    [ 27966.280] (**) Option "xkb_model" "macbook79"
    [ 27966.280] (**) Option "xkb_layout" "us"
    [ 27966.280] (**) Option "xkb_options" "lv3:ralt_switch"
    [ 27966.357] (II) config/udev: Adding input device bcm5974 (/dev/input/event9)
    [ 27966.357] (**) bcm5974: Applying InputClass "evdev touchpad catchall"
    [ 27966.357] (**) bcm5974: Applying InputClass "touchpad catchall"
    [ 27966.357] (II) Using input driver 'synaptics' for 'bcm5974'
    [ 27966.357] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
    [ 27966.357] (**) bcm5974: always reports core events
    [ 27966.357] (**) Option "Device" "/dev/input/event9"
    [ 27966.450] (EE) xf86OpenSerial: Cannot open device /dev/input/event9
    Input/output error.

    and it repeats every time.

    Here is my script to test removing apple keyboard module to test my touchpad driver:

    #!/bin/bash
    T=60

    logger "removing apple keyboard for $T seconds and installing touchpad..."
    rmmod hid_apple
    modprobe bcm5974
    sleep $T
    logger "installing apple keyboard and disabling touchpad"
    modprobe hid_apple
    rmmod bcm5974
    Last edited by philcolbourn; June 22nd, 2011 at 11:27 AM. Reason: My script

Page 28 of 29 FirstFirst ... 1826272829 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •