[Bug 889226] Re: X fails to correctly find my USB input devices

Steve Langasek steve.langasek at canonical.com
Tue Nov 15 00:34:53 UTC 2011


Setting up udev (175-0ubuntu1) ...
Installing new version of config file /etc/init/udev.conf ...
restart: Job failed to restart

The problem is that udev is calling 'restart udev || true'.

- restart is the wrong interface.  This needs to be using invoke-rc.d instead.
- ignoring the return value is wrong.
- the restart is failing because restart is the wrong interface, with the wrong semantics - 'restart' causes the process to be kill -HUP'ed and respawned via the existing job configuration, *not* using the one from the just-upgraded package.  And there are crucial differences in the job file here, because udevd has moved on disk.  So of course trying to restart 'udevd' will fail, it needs to start up /lib/udev/udevd instead.

This will consistently cause udev to fail to restart for all users when
upgrading to precise, leading to difficult-to-diagnose bugs.  Should get
fixed for alpha-1.

** Changed in: udev (Ubuntu)
   Importance: Medium => High

** Changed in: udev (Ubuntu)
       Status: New => Triaged

** Changed in: udev (Ubuntu)
    Milestone: None => precise-alpha-1

** Also affects: udev (Ubuntu Precise)
   Importance: High
       Status: Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/889226

Title:
  X fails to correctly find my USB input devices

Status in “udev” package in Ubuntu:
  Triaged
Status in “udev” source package in Precise:
  Triaged

Bug description:
  For some reason, when I plug my USB kvm into my laptop today, X fails
  to register the attached input devices (keyboard and mouse).  The
  devices are correctly registered in the kernel, but X somehow gets the
  wrong device name for them: it's looking for non-existent event13 and
  event14, when the correct devices are event9 and event10.

  I'll attach the Xorg log separately, since this is all happening on :1
  instead of :0 (due to an unrelated bug).

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: xorg 1:7.6+7ubuntu7
  ProcVersionSignature: Ubuntu 3.1.0-3.3-generic 3.1.0
  Uname: Linux 3.1.0-3-generic x86_64
  .tmp.unity.support.test.0:
   
  ApportVersion: 1.25-0ubuntu1
  Architecture: amd64
  CompizPlugins: [core,bailer,detection,composite,opengl,decor,resize,mousepoll,compiztoolbox,grid,place,gnomecompat,imgpng,unitymtgrabhandles,wall,vpswitch,move,snap,regex,animation,session,workarounds,expo,ezoom,fade,scale,unityshell,switcher]
  CompositorRunning: None
  Date: Fri Nov 11 10:38:16 2011
  DistUpgraded: Log time: 2011-11-08 10:26:05.366825
  DistroCodename: precise
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
  GraphicsCard:
   Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])
     Subsystem: Lenovo Device [17aa:215a]
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
  MachineType: LENOVO 3249CTO
  PlymouthDebug: Error: [Errno 13] Permission denied: '/var/log/plymouth-debug.log'
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.1.0-3-generic root=/dev/mapper/hostname-root ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7
  SourcePackage: xorg
  UpgradeStatus: Upgraded to precise on 2011-11-08 (2 days ago)
  dmi.bios.date: 08/23/2010
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 6QET52WW (1.22 )
  dmi.board.name: 3249CTO
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr6QET52WW(1.22):bd08/23/2010:svnLENOVO:pn3249CTO:pvrThinkPadX201:rvnLENOVO:rn3249CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 3249CTO
  dmi.product.version: ThinkPad X201
  dmi.sys.vendor: LENOVO
  version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu7
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.27-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu4
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu4
  version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu3
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

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




More information about the foundations-bugs mailing list