← Back to team overview

ubuntu-multiseat team mailing list archive

Re: [Bug 1407399] Re: loginctl attach fails with DVD drive

 

​It fails both with a single argument (sr0 or sg1) or with both.

Attached is the strace​


** Attachment added: "strace.txt"
   https://bugs.launchpad.net/bugs/1407399/+attachment/4384497/+files/strace.txt

-- 
You received this bug notification because you are a member of Ubuntu
Multiseat, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1407399

Title:
  loginctl attach fails with DVD drive

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  Using Ubuntu 14.10 in a multiseat setup I cannot assing the DVD drive
  to the secondary seat:

  root@host:~# COLUMNS=300 loginctl seat-status seat0  | grep host
  		  ├─/sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sr0
  		  ├─/sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/scsi_generic/sg1
  root@host:~# loginctl attach seat-1 /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sr0 /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/scsi_generic/sg1
  Failed to issue method call: Invalid argument

  Assigning USB devices and graphics cards and and sound cards works
  fine.

  System and package info:

  root@host:~# lsb_release -rd
  Description:	Ubuntu 14.10
  Release:	14.10
  root@host:~# apt-cache policy systemd
  systemd:
    Installed: 208-8ubuntu8.1
    Candidate: 208-8ubuntu8.1
    Version table:
   *** 208-8ubuntu8.1 0
          500 http://de.archive.ubuntu.com/ubuntu/ utopic-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       208-8ubuntu8 0
          500 http://de.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
  root@host:~# uname -a
  Linux brho 3.16.0-28-generic #38-Ubuntu SMP Fri Dec 12 17:37:40 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

  seat-1 exists and has lots of other stuff attached:
  root@host:~# loginctl seat-status seat-1
  seat-1
          Sessions: *c3 c2
           Devices:
                    ├─/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
                    │ drm:card1
                    ├─/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/graphics/fb1
                    │ [MASTER] graphics:fb1 "nouveaufb"
                    ├─/sys/devices/pci0000:00/0000:00:14.0/usb2/2-11
                    │ usb:2-11
                    │ ├─/sys/devices/pci0000:00/0000:00:14.0/usb2/2-11/2-11.1
                    │ │ usb:2-11.1
                    │ │ └─/sys/devices/pci0000:00/0000:00:14.0/usb2/2-11/2-11.1/2-11.1:1.0/0003:03F0:0024.0003/input/input15
                    │ │   input:input15 "CHICONY HP Basic USB Keyboard"
                    │ ├─/sys/devices/pci0000:00/0000:00:14.0/usb2/2-11/2-11.2/2-11.2:1.0/0003:04A5:7008.0004/input/input16
                    │ │ input:input16 "NOVATEK USB MULTIMEDIA KEYBOARD"
                    │ └─/sys/devices/pci0000:00/0000:00:14.0/usb2/2-11/2-11.2/2-11.2:1.1/0003:04A5:7008.0005/input/input17
                    │   input:input17 "NOVATEK USB MULTIMEDIA KEYBOARD"
                    ├─/sys/devices/pci0000:00/0000:00:14.0/usb2/2-12/2-12:1.0/0003:046D:C404.0001/input/input6
                    │ input:input6 "Logitech Trackball"
                    ├─/sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/input/input7
                    │ input:input7 "UVC Camera (046d:0990)"
                    ├─/sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0/video4linux/video0
                    │ video4linux:video0 "UVC Camera (046d:0990)"
                    ├─/sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.2/sound/card1
                    │ sound:card1 "Q9000"
                    └─/sys/devices/pci0000:00/0000:00:1b.0/sound/card2
                      sound:card2 "PCH"
                      ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card2/input18
                      │ input:input18 "HDA Intel PCH Front Mic"
                      ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card2/input19
                      │ input:input19 "HDA Intel PCH Rear Mic"
                      ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card2/input20
                      │ input:input20 "HDA Intel PCH Line"
                      ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card2/input21
                      │ input:input21 "HDA Intel PCH Line Out Front"
                      ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card2/input22
                      │ input:input22 "HDA Intel PCH Line Out Surround"
                      ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card2/input23
                      │ input:input23 "HDA Intel PCH Line Out CLFE"
                      └─/sys/devices/pci0000:00/0000:00:1b.0/sound/card2/input24
                        input:input24 "HDA Intel PCH Front Headphone"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1407399/+subscriptions


References