Howdy! I recently dug up an old Gateway M275 of mine that previously ran Haiku (from the pre-beta days). Swapped out the old spinning rust for an SSD (using an IDE adapter), installed R1/beta5 on it, and it still runs pretty darn well - a lot snappier thanks to the SSD, and a lot more stable thanks to all the improvements between 2017 and now.
However, there’s one lingering issue: the built-in Wacom serial digitizer/stylus. Back during the last time I ran Haiku on this machine I made a post on this topic (which I figured would be rude to necro, hence this new post); the verdict from that was that “someone” would need to write an input server add-on that speaks ISDv4 over the digitizer’s serial connection (pc_serial0
).
With 8 more years of programming and troubleshooting experience under my belt, it’s probably time for that “someone” to be me… but now, when I try to reproduce those steps, the serial connection doesn’t show up at all! No available serial ports in SerialConnect, and nothing in /dev/ports/
. The serial connection (and stylus/digitizer) still works under other operating systems (namely: Porteus Linux), so this doesn’t seem like a hardware issue. Anything else I can do to troubleshoot why Haiku ain’t seeing the serial connection?
You could check the syslog for messages about pc_serial
. There have been some changes to the driver since 2017 (check the git log), it’s possible that something broke.
Also make sure that serial debugging is disabled in the kernel settings file. When kernel logs are sent to the serial port, this locks its use for the pc_serial driver. Normally this is disabled by default in beta releases but maybe we didn’t do this right this time?
Thanks for the quick responses!
Ain’t seeing anything obvious in syslog, unfortunately:
~> grep -i serial /boot/system/var/log/syslog
KERN: usb_serial: probing device: 0x0000/0x0000
KERN: usb_serial: probing device: 0x04c5/0x2028
KERN: PCI: info: Serial bus controller (USB controller, UHCI)
KERN: PCI: info: Serial bus controller (USB controller, UHCI)
KERN: PCI: info: Serial bus controller (USB controller, UHCI)
KERN: PCI: info: Serial bus controller (USB controller, EHCI)
KERN: PCI: info: Serial bus controller (FireWire (IEEE 1394), OHCI)
KERN: PCI: info: Serial bus controller (SMBus)
KERN: ata 0-0: serial number: 50026B76870F2D70
KERN: atapi 1-0: serial number:
KERN: PCI: info: Serial bus controller (USB controller, UHCI)
KERN: PCI: info: Serial bus controller (USB controller, UHCI)
KERN: PCI: info: Serial bus controller (USB controller, UHCI)
KERN: PCI: info: Serial bus controller (USB controller, EHCI)
KERN: PCI: info: Serial bus controller (FireWire (IEEE 1394), OHCI)
KERN: PCI: info: Serial bus controller (SMBus)
KERN: ata 0-0: serial number: 50026B76870F2D70
KERN: atapi 1-0: serial number:
KERN: PCI: info: Serial bus controller (USB controller, UHCI)
KERN: PCI: info: Serial bus controller (USB controller, UHCI)
KERN: PCI: info: Serial bus controller (USB controller, UHCI)
KERN: PCI: info: Serial bus controller (USB controller, EHCI)
KERN: PCI: info: Serial bus controller (FireWire (IEEE 1394), OHCI)
KERN: PCI: info: Serial bus controller (SMBus)
KERN: ata 0-0: serial number: 50026B76870F2D70
KERN: atapi 1-0: serial number:
KERN: usb_serial: probing device: 0x0000/0x0000
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/ports/usb_serial
KERN: pc_serial: scanning PCI bus (alt)...
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/ports/pc_serial
KERN: PCI: info: Serial bus controller (USB controller, UHCI)
KERN: PCI: info: Serial bus controller (USB controller, UHCI)
KERN: PCI: info: Serial bus controller (USB controller, UHCI)
KERN: PCI: info: Serial bus controller (USB controller, EHCI)
KERN: PCI: info: Serial bus controller (FireWire (IEEE 1394), OHCI)
KERN: PCI: info: Serial bus controller (SMBus)
KERN: ata 0-0: serial number: 50026B76870F2D70
KERN: atapi 1-0: serial number:
(EDIT: here’s the full syslog)
Kernel serial debugging also appears to be disabled (assuming there ain’t any other config files to worry about):
~> grep serial_debug /boot/home/config/settings/kernel/drivers/kernel
serial_debug_output false
#serial_debug_port 1
#serial_debug_speed 57600