Keyboard/mouse, usb controllers and drives

these questions are for both models

are the internal keyboard/touchpad on a ps2 or usb bus? if usb, do they have their own controller, separate from the external ports? do one of the slow external usb ports have its own controller? (so you could assign that to dom0 for a trusted external mouse)

is there a switch or easy way to physically disable one of the internal drives? for example if you want both drives to mutually distrust each other, or one that you dont want the other reading?

Hi pixel,

On a Librem 13:

are the internal keyboard/touchpad on a ps2 or usb bus?

Both are on a PS/2 bus:


root@brigitte:~# cat /sys/bus/serio/devices/serio0/input/input0/name 
AT Translated Set 2 keyboard
root@brigitte:~# cat /sys/bus/serio/devices/serio1/input/input2/name 
ImPS/2 Generic Wheel Mouse

is there a switch or easy way to physically disable one of the internal drives? for example if you want both drives to mutually distrust each other, or one that you dont want the other reading?

There is no switch, but if you really need a hardware solution I guess you can quite easily rework both the M.2 and the SATA connectors to route the power path via the switches on the hinge, for example.

Cheers
дядя Вова

Thanks! are one of the usb ports on its own controller? id like to have an external mouse in dom0

Hi, sorry for the delay.

are one of the usb ports on its own controller? id like to have an external mouse in dom0

Nope. With a mouse connected to USB port on the left side:

root@brigitte:~# lsusb -t /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/11p, 480M |__ Port 1: Dev 12, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 4: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M |__ Port 4: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M |__ Port 5: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 5: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M

On the right side:

root@brigitte:~# lsusb -t /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/11p, 480M |__ Port 2: Dev 13, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 4: Dev 2, If 0, Class=Wireless, Driver=btusb, 12M |__ Port 4: Dev 2, If 1, Class=Wireless, Driver=btusb, 12M |__ Port 5: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 5: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M

I guess you can do that with an external hub anyway. Please note, though, that I’m by no means trying to encourage you to get a Librem laptop!

Cheers
дядя Вова