[systemd-devel] multiseat broken with udl.ko - Fedora 18

poma pomidorabelisima at gmail.com
Fri Jan 18 19:24:28 PST 2013


On 01/18/2013 07:23 PM, Lennart Poettering wrote:
> On Fri, 18.01.13 16:57, poma (pomidorabelisima at gmail.com) wrote:
> 
>>
>> Bonne journée,
>>
>> If brackets can be of any help.
>> Lennart, have you tested this *new* Fedora's setup, or is this some kind
>> of zen puzzle?
>>
>> Once upon a time, Fedora 17
>> # CONFIG_DRM_UDL is not set
>> CONFIG_FB_UDL=m
>> multi-seat-x with udlfb.ko(DisplayLink kernel framebuffer driver) worked
>> like a charm.
>>
>> Present time, Fedora 18
>> CONFIG_DRM_UDL=m
>> # CONFIG_FB_UDL is not set
>> multi-seat-x with udl.ko is broken.
> 
> There have been some changes since the display link driver now is a
> proper dri driver. We had tested that a while ago and there were some
> issues but I thought they had all been fixed. I haven't tested this in
> the 2 months or so since then.

This sounds like something that was not a priority. Am I right?
Yeah, I understand that udl supersede and "…is based in large parts on
udlfb.c…"(Dave Airlie).

> Your bug report isn't too precise, can you elaborate?

Yep!

*Fedora 17*
…
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "vesa_modes" [/tmp/linux-3.7.3/drivers/video/udlfb.ko] undefined!
…
modprobe -v udlfb
insmod /lib/modules/3.7.3-201.fc18.x86_64/kernel/drivers/video/udlfb.ko
ERROR: could not insert 'udlfb': Unknown symbol in module, or unknown
parameter (see dmesg)
…
udlfb: Unknown symbol vesa_modes (err 0)
…
I assume that this will break multiseat even in Fedora 17 setup.

*Fedora 18*
/etc/udev/rules.d/72-persistent-seat.rules:
#  This is a custom udev rule file in addition to systemd's
/usr/lib/udev/rules.d/71-seat.rules

ACTION=="remove", GOTO="seat_end"

TAG=="uaccess", SUBSYSTEM!="sound", TAG+="seat"
SUBSYSTEM=="sound", KERNEL=="card*", TAG+="seat"
SUBSYSTEM=="input", KERNEL=="input*", TAG+="seat"
SUBSYSTEM=="graphics", KERNEL=="fb[0-9]*", TAG+="seat"
SUBSYSTEM=="usb", ATTR{bDeviceClass}=="09", TAG+="seat"

# Overfly FY-1016A USB-DVI graphics adapter
SUBSYSTEM=="graphics", ATTRS{idVendor}=="17e9",
ATTRS{idProduct}=="019e", ENV{ID_AUTOSEAT}="1", ENV{ID_FOR_SEAT}="fy"
# udevadm info -a -p /sys/class/graphics/fb1

# Chicony KG-0609 Wireless Keyboard with integrated Touchpad and
RG-0618U USB Wireless Receiver
SUBSYSTEM=="input", ATTRS{idVendor}=="04f2", ATTRS{idProduct}=="0618",
ENV{ID_SEAT}="seat-fy"
# "seat-graphics-pci-0000_00_04_1-usb-0_2"  => "seat-fy"
# udevadm info -a -p /sys/class/input/mouse1

TAG=="seat", ENV{ID_PATH}=="", IMPORT{builtin}="path_id"
TAG=="seat", ENV{ID_FOR_SEAT}=="", ENV{ID_PATH_TAG}!="",
ENV{ID_FOR_SEAT}="$env{SUBSYSTEM}-$env{ID_PATH_TAG}"

SUBSYSTEM=="input", ATTR{name}=="Wiebetech LLC Wiebetech",
RUN+="/usr/bin/loginctl lock-sessions"

LABEL="seat_end"
EOF

lsusb:
Bus 001 Device 006: ID 17e9:019e DisplayLink

dmesg:
…
usb 1-6: New USB device found, idVendor=17e9, idProduct=019e
usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-6: Product: FY USB-DVI
usb 1-6: Manufacturer: DisplayLink
usb 1-6: SerialNumber: USB_FY1704
…
[drm] Initialized drm 1.1.0 20060810
[drm] vendor descriptor length:1b data:1b 5f 01 00 19 05 00 01 03 00 04
Raw EDID:
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
usb 1-6: DVI-I-1: EDID invalid.
fb1: udldrmfb frame buffer device
drm: registered panic notifier
[drm] Initialized udl 0.0.1 20120220 on minor 0
usbcore: registered new interface driver udl
…

fbset:
Unknown video mode `/dev/fb1'

loginctl:
   SESSION        UID USER             SEAT
         1         42 gdm              seat0

/run/systemd/multi-session-x/seat-fy:
Section "ServerFlags"
        Option "AutoAddDevices" "True"
        Option "AllowEmptyInput" "True"
        Option "DontVTSwitch" "True"
EndSection
Section "InputClass"
        Identifier "Force Input Devices to Seat"
        Option "GrabDevice" "True"
EndSection
EOF

Adapter is powered on(super bright green LED), but connected
monitor(VGA) stays powered off(NO SYNC).
Regarding EDID,
/etc/modprobe.d/drm_kms_helper.conf:
options drm_kms_helper edid_firmware=edid/JC07-01-WVGA-848.edid poll=0
doesn't help.

Cheers,
poma





More information about the systemd-devel mailing list