findkeyboards does not find Samsung N150 keyboard

Bug #881158 reported by John Serock on 2011-10-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udev (Ubuntu)

Bug Description

udev version is 173-0ubuntu4 on Ubuntu 11.10.

When I run /lib/udev/findkeyboards, the output is:
AT keyboard: no device node found

I expected the output to be:
AT keyboard: input/event4

The udevadm trigger command in the findkeyboards script finds two devices:

$ udevadm trigger --dry-run --verbose --property-match=ID_INPUT_KEYBOARD=1

The /devices/platform/i8042/serio0 parent device has the atkbd DRIVER.

When the script runs the following command for the first device, the command fails with exit status 5.

$ udevadm info --query name --path=/sys/devices/platform/i8042/serio0/input/input4
no device node found
$ echo $?

It appears that the -e option on the first line of the script causes the script to exit before the script can query the second device, which would be successful if it got that far:

$ udevadm info --query name --path=/sys/devices/platform/i8042/serio0/input/input4/event4

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: udev 173-0ubuntu4
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
 [ 1089.799494] audit_printk_skb: 6 callbacks suppressed
 [ 1089.799502] type=1400 audit(1319497730.741:31): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=5823 comm="apparmor_parser"
 [ 1089.800880] type=1400 audit(1319497730.745:32): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=5823 comm="apparmor_parser"
 [ 1089.907450] type=1400 audit(1319497730.849:33): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=5858 comm="apparmor_parser"
 [ 1089.909038] type=1400 audit(1319497730.853:34): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=5858 comm="apparmor_parser"
Date: Mon Oct 24 19:19:00 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20111007.1)
MachineType: SAMSUNG ELECTRONICS CO., LTD. N150/N210/N220
 PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=a1e47fbd-09cb-4cd1-91ff-c017086a83c9 ro quiet splash acpi_backlight=vendor rfkill.default_state=0 vt.handoff=7
SourcePackage: udev
UpgradeStatus: No upgrade log present (probably fresh install) 03/25/2010
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: 08JI.M073.20100325.JIP
dmi.board.asset.tag: SAMSUNG N150/N210/N220
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr08JI.M073.20100325.JIP:bd03/25/2010:svnSAMSUNGELECTRONICSCO.,LTD.:pnN150/N210/N220:pvrNotApplicable:rvnSAMSUNGELECTRONICSCO.,LTD.:rnN150/N210/N220:rvrNotApplicable:cvnSAMSUNGELECTRONICSCO.,LTD.:ct10:cvrN/A: N150/N210/N220
dmi.product.version: Not Applicable

Related branches

John Serock (john-serock) wrote :
Martin Pitt (pitti) wrote :

Fixed upstream in commit 8ab7a9be03441db21. This will be fixed in udev 175.

Changed in udev (Ubuntu):
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udev - 175-0ubuntu1

udev (175-0ubuntu1) precise; urgency=low

  [ Loïc Minier ]
  * Update Vcs fields for precise.

  [ Steve Langasek ]
  * debian/udev.initramfs-hook: we aren't using pkill anymore, so don't put
    it in the initramfs.

  [ Martin Pitt ]
  * Unapply patches, they are not meant to be applied in the bzr branch.
  * New upstream releases 174 and 175:
    - Daemon moved to /lib/udev/udevd
    - path_id, usb_id, input_id tools are built-in commands now
    - fusectl filesystem is no longer mounted directly from udev
    - The long deprecated keys: SYSFS=, ID=, BUS= have been removed
    - The udev control socket is now created in /run/udev/control
    - The rules to create persistent network interface and cdrom link
      rules automatically in /etc/udev/rules.d/ have been disabled by
    - Support for 'udevadm trigger --type=failed, and the
      RUN{fail_event_on_error} attribute was removed.
    - Various keymap fixes (LP: #606599, #637695, #696671, #763525, #770680,
      LP: #795694)
    - Unbreak findkeyboards (LP: #881158)
    - Lots of bug fixes.
  * debian/rules: Explicitly enable persistent net/cdrom rule generator by
    default. Upstream default changed, but this seems too much a change for
    12.04 LTS.
  * Drop move-input_id-to-default-rules.patch, race-condition-on-exit: Applied
  * jack-detection.patch: Port to new upstream version.
  * load-fbcon.patch, use_run_tmpfs: Unfuzz.
  * debian/udev.install, debian/udev-udeb.install, debian/udev.initramfs-hook,
    debian/udev.initramfs-top, debian/udev.installer-startup,
    debian/udev.udev-finish.init, debian/udev.upstart: Update to changed
    location of udevd (/sbin → /lib/udev) and the three now builtin _id
  * debian/libudev0.symbols: Add new symbol from this release.
 -- Martin Pitt <email address hidden> Thu, 10 Nov 2011 08:49:07 +0100

Changed in udev (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers