Date: Mon, 23 Nov 2020 17:07:22 -0600 From: Jason Bacon <bacon4000@gmail.com> To: freebsd-ppc@freebsd.org Subject: Re: Touchpad not working on PowerBook G4 12" Message-ID: <e0f3a765-7a73-b619-0ed0-1a2aec45ff03@gmail.com> In-Reply-To: <094535f6-fe2a-52c2-081f-36d1985ac49e@freebsd.org> References: <mailman.79.1605960001.90586.freebsd-ppc@freebsd.org> <72EE0C64-301B-4B59-BB84-1B55B1D6B0E3@gmail.com> <094535f6-fe2a-52c2-081f-36d1985ac49e@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Not sure if this situation even shares any code with x86, but if you're=20 getting mouse function in a VT but not X11: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251149 Another possibility is software cursor, which I usually use to dodge=20 regressions that occasionally come with xorg updates. FreeBSD coral.acadix=C2=A0 bacon ~ 1003: more=20 /etc/X11/xorg.conf.d/20-swcursor.conf Section "Device" =C2=A0=C2=A0=C2=A0 Identifier "Device0" =C2=A0=C2=A0=C2=A0 Option "SWCursor" "on" EndSection I'd be interested in some feedback on sysutils/desktop-installer on the=20 g4.=C2=A0 I've tested it on an iMac G5 and a PowerMac G5. Regards, =C2=A0=C2=A0=C2=A0 JB On 11/23/20 2:03 PM, Nathan Whitehorn wrote: > Try adding moused_enable=3D"YES" and moused_port=3D"/dev/ams0" to=20 > /etc/rc.conf? > -Nathan > > On 11/23/20 2:46 PM, Omar Willey wrote: >> On Nov 21, 2020, at 4:00 AM, Brandon Bergren <bdragon@FreeBSD.org>=20 >> wrote: >>> >>> On Thu, Nov 19, 2020, at 1:30 AM, Omar Willey wrote: >>>> Hi, >>>> >>>> I'm coming back to FreeBSD after a long, long absence and I've made = >>>> it a >>>> project to revive this PowerBook g4 aluminum 12" 640MB/867gHz with=20 >>>> FreeBSD >>>> 12.2 >>> Do you have the specific model number handy? >> Yes, this is a PowerBook 6,1 Model A1010/1931, or M8760LL/A if you=20 >> prefer. PowerPC 7455 processor with the NVIDIA GeForce4 420 Go video=20 >> card. I already had to struggle with the rubbish Nvidia graphics, and = >> created a /usr/local/etc/X11/xorg.conf.d/driver-nvidia.conf just to=20 >> get X11 visible. >> >>>> I've managed to get X working with a window manager and file=20 >>>> manager for a >>>> minimal desktop but I cannot get the touchpad to work in X at all. >>>> >>>> I first tried loading the wsp(4) driver as a module in=20 >>>> /boot/loader.conf, >>>> then tried the older atp(4) separately, but the device isn't=20 >>>> binding to >>>> /dev/atp0. >>> These are for trackpads connected over internal USB, which were only = >>> on later PowerBook G4s and newer machines. Given the specs you=20 >>> listed I think it's likely that yours is one of the older ones that=20 >>> predate this type of touchpad >> Ah, yes. It is certainly an ADB touchpad. Leading to the next=20 >> question... >> >>>> dmesg says: >>>> >>>> ams0: <ADB Mouse> at device 3 on adb0 >>>> ams0: ADB Mouse =3D 0xd (Extended Mode) >>>> ams0: 2-button 400-dpi Touchpad >>> This is an ADB attachment, not a USB attachment. This implies that=20 >>> that your touchpad is at /dev/ams0. >> I thought so, too. After removing moused_port=3D=E2=80=9C/dev/atp0=E2=80= =9D and=20 >> reverting to default, I see the touchpad is at /dev/ams0 but not=20 >> doing anything. I=E2=80=99ve rebuilt the kernel to ensure the old adb = driver=20 >> is present. Xorg.0.log tells me: >> >> [=C2=A0=C2=A0=C2=A0 48.939] (II) config/udev: Adding input device Syst= em mouse=20 >> (/dev/input/event0) >> [=C2=A0=C2=A0=C2=A0 48.940] (**) System mouse: Applying InputClass "li= binput pointer=20 >> catchall" >> [=C2=A0=C2=A0=C2=A0 48.940] (II) LoadModule: "libinput" >> [=C2=A0=C2=A0=C2=A0 48.943] (II) Loading=20 >> /usr/local/lib/xorg/modules/input/libinput_drv.so >> [=C2=A0=C2=A0=C2=A0 49.943] (II) Module libinput: vendor=3D"X.Org Foun= dation" >> [=C2=A0=C2=A0=C2=A0 49.943]=C2=A0=C2=A0=C2=A0=C2=A0 compiled for 1.20.= 9, module version =3D 0.30.0 >> [=C2=A0=C2=A0=C2=A0 49.943]=C2=A0=C2=A0=C2=A0=C2=A0 Module class: X.Or= g XInput Driver >> [=C2=A0=C2=A0=C2=A0 49.943]=C2=A0=C2=A0=C2=A0=C2=A0 ABI class: X.Org X= Input driver, version 24.1 >> [=C2=A0=C2=A0=C2=A0 49.944] (II) Using input driver 'libinput' for 'Sy= stem mouse' >> [=C2=A0=C2=A0=C2=A0 49.944] (**) System mouse: always reports core eve= nts >> [=C2=A0=C2=A0=C2=A0 49.944] (**) Option "Device" "/dev/input/event0" >> [=C2=A0=C2=A0=C2=A0 49.946] (**) Option "_source" "server/udev" >> [=C2=A0=C2=A0=C2=A0 50.105] (II) event0=C2=A0 - System mouse: is tagge= d by udev as: Mouse >> [=C2=A0=C2=A0=C2=A0 50.109] (II) event0=C2=A0 - System mouse: device i= s a pointer >> [=C2=A0=C2=A0=C2=A0 50.113] (II) event0=C2=A0 - System mouse: device r= emoved >> [=C2=A0=C2=A0=C2=A0 50.117] (**) Option "config_info" "udev:/dev/input= /event0" >> [=C2=A0=C2=A0=C2=A0 50.118] (II) XINPUT: Adding extended input device = "System mouse"=20 >> (type: MOUSE, id 6) >> [=C2=A0=C2=A0=C2=A0 50.122] (**) Option "AccelerationScheme" "none" >> [=C2=A0=C2=A0=C2=A0 50.122] (**) System mouse: (accel) selected scheme= none/0 >> [=C2=A0=C2=A0=C2=A0 50.122] (**) System mouse: (accel) acceleration fa= ctor: 2.000 >> [=C2=A0=C2=A0=C2=A0 50.122] (**) System mouse: (accel) acceleration th= reshold: 4 >> [=C2=A0=C2=A0=C2=A0 50.136] (II) event0=C2=A0 - System mouse: is tagge= d by udev as: Mouse >> [=C2=A0=C2=A0=C2=A0 50.139] (II) event0=C2=A0 - System mouse: device i= s a pointer >> >> But still no mouse activity. >> >> Then I added a simple mouse.conf to /usr/local/etc/X11/xorg.conf.d=20 >> using libinput as the driver, but that simply gave me a black screen. = >> I tried it again with the advice from Ch 11 of the FreeBSD FAQ. >> >>> Section "InputDevice" >>> =C2=A0=C2=A0=C2=A0 Identifier=C2=A0=C2=A0=C2=A0 "Mouse0=E2=80=9D >>> =C2=A0=C2=A0=C2=A0 Driver=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 "adb" >>> =C2=A0=C2=A0=C2=A0 Option=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 "Protocol" "SysMouse" >>> =C2=A0=C2=A0=C2=A0 Option=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 "Device" "/dev/sysmouse=E2=80=9D >>> EndSection >> But still nothing. >> >> Where should I look for the next step? Something in sysctl.conf? >> >> =E2=80=94Omar >> >>> =C2=A0 Brandon Bergren >>> =C2=A0 bdragon@FreeBSD.org >>> >> _______________________________________________ >> freebsd-ppc@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc >> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"= >> > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" --=20 Earth is a beta site.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e0f3a765-7a73-b619-0ed0-1a2aec45ff03>