Bug 14987 - trackpad unstable on macbook pro with bcm5974 driver
Summary: trackpad unstable on macbook pro with bcm5974 driver
Status: RESOLVED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-04 22:12 UTC by Chris AtLee
Modified: 2012-02-22 21:10 UTC (History)
4 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Chris AtLee 2010-01-04 22:12:45 UTC
On linux 2.6.30 and 2.6.31 on my macbook pro, the keyboard and trackpad stop
responding occasionally.  I see messages like this in the system log:

[29552.773474] bcm5974: bcm5974: could not read from device
[29552.773483] bcm5974: mode switch failed
[29552.784494] bcm5974: bcm5974: could not read from device
[29552.784501] bcm5974: mode switch failed
[29552.830223] hub 5-0:1.0: port 2 disabled by hub (EMI?),
re-enabling...
[29552.830235] usb 5-2: USB disconnect, address 34
[29553.112176] usb 5-2: new full speed USB device using uhci_hcd and
address 35
[29553.292693] usb 5-2: New USB device found, idVendor=05ac,
idProduct=0230
[29553.292702] usb 5-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[29553.292709] usb 5-2: Product: Apple Internal Keyboard / Trackpad
[29553.292714] usb 5-2: Manufacturer: Apple, Inc.
[29553.292927] usb 5-2: configuration #1 chosen from 1 choice
[29553.302802] input: Apple, Inc. Apple Internal Keyboard / Trackpad as
/devices/pci0000:00/0000:00:1d.2/usb5/5-2/5-2:1.0/input/input327
[29553.302959] apple 0003:05AC:0230.0141: input,hidraw1: USB HID v1.11
Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on
usb-0000:00:1d.2-2/input0
[29553.319516] usb 5-2: ctrl urb status -75 received
[29553.319649] apple 0003:05AC:0230.0142: hidraw2: USB HID v1.11 Device
[Apple, Inc. Apple Internal Keyboard / Trackpad] on
usb-0000:00:1d.2-2/input1
[29553.320775] input: bcm5974 as
/devices/pci0000:00/0000:00:1d.2/usb5/5-2/5-2:1.2/input/input328
[29553.321224] hub 5-0:1.0: port 2 disabled by hub (EMI?),
re-enabling...
[29553.321233] usb 5-2: USB disconnect, address 35
[29553.608169] usb 5-2: new full speed USB device using uhci_hcd and
address 36
[29553.788672] usb 5-2: New USB device found, idVendor=05ac,
idProduct=0230
[29553.788680] usb 5-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[29553.788687] usb 5-2: Product: Apple Internal Keyboard / Trackpad
[29553.788692] usb 5-2: Manufacturer: Apple, Inc.
[29553.788885] usb 5-2: configuration #1 chosen from 1 choice
[29553.798726] input: Apple, Inc. Apple Internal Keyboard / Trackpad as
/devices/pci0000:00/0000:00:1d.2/usb5/5-2/5-2:1.0/input/input329
[29553.798886] apple 0003:05AC:0230.0143: input,hidraw1: USB HID v1.11
Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on
usb-0000:00:1d.2-2/input0
[29553.851553] usb 5-2: ctrl urb status -75 received
Comment 1 Dmitry Torokhov 2010-01-04 23:17:24 UTC
Looks like USB-side is getting unhappy for some reason...
Comment 2 Chris AtLee 2010-01-05 08:09:50 UTC
I should mention that whatever driver is handling the trackpad (evdev?) in 2.6.26 works fine, it just doesn't support things like scrolling, tapping, right-click, etc.
Comment 3 Steven Noonan 2010-07-04 05:26:24 UTC
I get this same issue on 2.6.{33,34} and Linus latest tree. Someone suggested that bcm5974 might need to be loaded before usbhid, but this voodoo did nothing special. I just get "Input/output error" no matter what I do. Has there been any movement on fixing this issue?
Comment 4 Dmitry Torokhov 2010-07-04 07:23:42 UTC
There was another report of bcm misbehaving that was cured by enabling transaction translators:

CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
Comment 5 sesselastronaut 2010-10-07 07:50:28 UTC
i'm havin this annoying problem too running 2.6.32-25-generic-pae and previous kernel dmesg reports:
...
[52154.616049] usb 7-2: new full speed USB device using uhci_hcd and address 126
[52154.807393] usb 7-2: configuration #1 chosen from 1 choice
[52154.820338] input: Apple, Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.0/input/input510
[52154.820535] apple 0003:05AC:0231.01F7: input,hidraw1: USB HID v1.11 Keyboard [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input0
[52155.138176] usb 7-2: ctrl urb status -75 received
[52155.138292] apple 0003:05AC:0231.01F8: hidraw2: USB HID v1.11 Device [Apple, Inc. Apple Internal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input1
[52155.140559] input: bcm5974 as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.2/input/input511
[52155.157167] bcm5974: bcm5974: could not read from device
[52155.157173] bcm5974: mode switch failed
[52155.169163] bcm5974: bcm5974: could not read from device
[52155.169166] bcm5974: mode switch failed
[52155.312101] hub 7-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
[52155.312113] usb 7-2: USB disconnect, address 126
[52155.608038] usb 7-2: new full speed USB device using uhci_hcd and address 127
[52155.799372] usb 7-2: configuration #1 chosen from 1 choice
...
so if there's any voodoo or cure i'm happy to know
Comment 6 Greg Kroah-Hartman 2012-02-22 21:10:20 UTC
All USB bugs should be sent to the linux-usb@vger.kernel.org mailing 
list, and not entered into bugzilla.  Please bring this issue up there,
if it is still a problem in the latest kernel release.

Note You need to log in before you can comment on or make changes to this bug.