Skip to content

[Question] How to handle devices on non-standard busses #835

Closed
@nik012003

Description

@nik012003

Hi, I have my tablet's pen working on a downstream branch of linux mainline ( https://gitlab.postmarketos.org/panpanpanpan/sm8150-mainline ) and it will soon get supported by postmarket os and other distros.
The devices uses the spi bus, and is registered as such in the touchscreen/pen driver ( ts->input_dev->id.bustype = BUS_SPI ), without vendor/product ids.
What's the best option here to get it running with libwacom? Should I register it on a fake an I2C/usb bus on the drvier and assign an arbirary vid/pid? Or should I add SPI bus support in libwacom? in that case, how would I handle identification of the device since SPI doesn't really have vendor ids like usb does? systemd/evdev solves this by allowing dmi pattern matching for input devices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions