Opened 10 years ago

Closed 7 months ago

#3927 closed bug (fixed)

MacBook keyboard/trackpad doesn't work

Reported by: awpeter Owned by: nobody
Priority: normal Milestone: R1
Component: System/Kernel Version: R1/pre-alpha1
Keywords: Cc: kvdmanya@…, planche2k@…
Blocked By: Blocking: #5886
Has a Patch: no Platform: All

Description

Just like in summary, i remember someone said that i should change the usb mode to polling (i compile haiku myself) and it worked then, but that's not really a solution.

Attachments (1)

syslogr41539.txt (424.8 KB ) - added by kvdman 8 years ago.
syslogr41539

Download all attachments as: .zip

Change History (18)

comment:1 by anevilyak, 10 years ago

Component: - GeneralDrivers/USB
Owner: changed from axeld to mmlr

If I'm not mistaken, this is a victim of ticket #5.

comment:2 by mmlr, 10 years ago

Component: Drivers/USBSystem/Kernel
Owner: changed from mmlr to nobody

It's another victim of not using the IO-APIC. I thought we had this already?

in reply to:  2 comment:3 by awpeter, 10 years ago

Sorry if it's already present, i didn't find this bug though.

comment:4 by kvdman, 10 years ago

Cc: kvdmanya@… added

You can find syslogs for a Macbook 2,1 and Macbook Pro 4,1 at the bottom of this ticket (tested with a rather recent build):

http://dev.haiku-os.org/attachment/ticket/4755

The trackpad & keyboards don't work on either.

comment:6 by luroh, 9 years ago

Blocking: 5886 added

comment:7 by andreasf, 9 years ago

Cc: planche2k@… added

comment:8 by kvdman, 8 years ago

In response to the first comment, this bug does not seem to be related to ticket #5. I've booted my Macbook with hrev41539, and the problem persists (no keyboard, no trackpad).

Note, I have to enable failsafe video, and disable ACPI in order to get the Macbook to boot. It will not boot otherwise, and I've tried every other possible boot combination.

Previously, the keyboard didn't work at all, even in Haiku's boot menu (safe mode settings). Then hrev41117 fixed that. It's odd that the keyboard will work in the boot menu, but not in Haiku.

I'm attaching a new syslog against hrev41539.

by kvdman, 8 years ago

Attachment: syslogr41539.txt added

syslogr41539

in reply to:  8 comment:9 by mmlr, 8 years ago

Replying to kvdman:

In response to the first comment, this bug does not seem to be related to ticket #5. I've booted my Macbook with hrev41539, and the problem persists (no keyboard, no trackpad).

Note, I have to enable failsafe video, and disable ACPI in order to get the Macbook to boot. It will not boot otherwise, ...

By disabling/removing ACPI you also disable the IO-APIC and with that the biggest chance of getting it working any better than before. So the comments are still fully valid. The real question (to go into a new bug report) is now why ACPI fails at all.

Previously, the keyboard didn't work at all, even in Haiku's boot menu (safe mode settings). Then hrev41117 fixed that. It's odd that the keyboard will work in the boot menu, but not in Haiku.

Not at all, it's simply a USB keyboard. It's running in legacy emulation at boot and would use USB HID later, if USB worked.

comment:10 by kvdman, 8 years ago

Hmm, I installed onto the hard disk and booted off the Haiku partition with just 'fail safe video' enabled in the boot settings and can now boot without problems. I was running off a CD before.

The keyboard and trackpad now work! (native video & audio don't), but everything else does.

Ticket can be closed.

comment:11 by anevilyak, 8 years ago

Can you try a CD with hrev41551 just to verify? This is probably the same issue that was going on in #5551, which is to say it was being tested with a CD, but the CD boot images were missing ACPI, which led to IO-APICs never being used.

comment:12 by kvdman, 8 years ago

yes, give me a min. well a couple, have to wait for the build factory. it's one revision behind 41551

Last edited 8 years ago by kvdman (previous) (diff)

comment:13 by kvdman, 8 years ago

Tested hrev41595, Can't get Haiku to boot anymore no matter what boot options I select. I get to the blue screen, and then at the top, there's about a 1.5" horizontal line on the LCD - locked hard.

in reply to:  13 comment:14 by mmlr, 8 years ago

Replying to kvdman:

Tested hrev41595, Can't get Haiku to boot anymore no matter what boot options I select. I get to the blue screen, and then at the top, there's about a 1.5" horizontal line on the LCD - locked hard.

This is on a CD again? Or in the harddisk install? Sounds like that could be a graphics driver problem. If you previously had to explicitly use failsafe video mode anyway. Can you check if it regressed the same way on the disk install or CD whichever you've not yet tested?

comment:15 by kvdman, 8 years ago

Was CD.

I'll try, but it seems somehow my CD drive is toasted, can't eject the CD anymore :(

Oddly, when I try to enable failsafe video, it still tries to load the intel extreme driver.

comment:16 by kvdman, 8 years ago

I'm getting a really strange behaviour. I did try booting again from an external Blu-ray drive and Haiku hrev41650 worked, just as 41595 did, and hrev41539. The only safe mode setting I select is fail safe video. The touchpad/keyboard problem is definitely gone, but it seems as I can only boot Haiku once successfully on all the revisions. After that, subsequent boot attempts (CD) of all revisions tested lead me to have a locked up system with a 1.5" horizontal white line at the top of the LCD! So, it works once, and that's it.

Would be good if the original person that files the ticket could also try to boot Haiku with a recent revision.

comment:17 by waddlesplash, 7 months ago

Resolution: fixed
Status: newclosed

That sounds like a graphics driver bug. At any rate we now use IO-APIC by default, and as per the previous comment this seems fixed generally.

Note: See TracTickets for help on using tickets.