Re: psm0: unable to allocate IRQ

From: Chris <bsd-lists_at_bsdforge.com>
Date: Mon, 03 Oct 2022 16:32:23 UTC
On 2022-10-03 08:05, Rodney W. Grimes wrote:
>> On 2022-10-02 17:45, Chris wrote:
>> > I've spent the last 2 days attempting to get a fresh install of
>> > stable/13-n252407-f42139db639 working on a Dell Inspiron 5755.
>> 
>> Just attempted it again with the
>> 14.0-CURRENT-amd64-20220930-42dc8696df5-258315 image, with the
>> same results. Yet Linux && Windows work as intended. Any thoughts
>> on how I might track the problem down in FreeBSD?
>> Thanks.
>> 
>> > The problem I struggled with was getting the trackpad (synaptics?)
>> > to be recognized and function. As it is, it's only ever recognized
>> > as a mouse, and then, only if i kldload(8) ums(4). I'm pretty
>> > sure this is on a psm(4). But any attempts to use psm fail with
>> > psm0: unable to allocate IRQ.
>> > An error I found in dmesg(8) on a verbose boot. Anybody familiar
>> > with this, or have any thoughts on how I might track this down?
>> >
>> > To rule out hardware; I installed Slackware along side the
>> > FreeBSD install, and it has no trouble creating a full featured
>> > trackpad under the MATE DE.
> 
> And in Slackware did it show up as a psm device,
> and if it did what IRQ is it using.
> 
> Or what I suspect, is it shows up as a USB device.

Mr. Grimes, you're wise well beyond your years.
IOW Thanks! You nailed it.

# lsusb
Bus 004 Device 003: ID 8087:07dc Intel Corp.
Bus 004 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 004: ID 06cb:75bf Synaptics, Inc.  
<===================================
Bus 003 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card 
Reader Controller
Bus 003 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 064e:920b Suyin Corp. Integrated_Webcam_HD
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

# lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
     |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
         |__ Port 1: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
         |__ Port 1: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
     |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
         |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, 
Driver=rtsx_usb, 480M
         |__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 
12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
     |__ Port 2: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
     |__ Port 2: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M

Now. If I can only figure out why FreeBSD's Synaptics module
only polls psm(4).

Thanks, Rodney!

--chris