Pressing usb keyboard multimedia keys doesn't print anything with sudo /lib/udev/keymap -i input/eventX

Bug #1222763 reported by cristian
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I've got a multimedia wireless keyboard. When I try to type:

/lib/udev/findkeyboards

I get:

USB keyboard: input/event4
AT keyboard: input/event3

Then, if I type:

sudo /lib/udev/keymap -i input/event4

pressing the multimedia keys print nothing in the command output
(while the standard keys print output as expected. Example:
scan code: 0x70018 key code: u).

I'm using the 3.2.0-41-generic kernel with Lubuntu 12.04, but this problem is present also in other kernel versions.

The udevadm info --export-db (with connected and not connected keyboard) output and the diff command output are attached to this bug report.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-41-generic 3.2.0-41.66
ProcVersionSignature: Ubuntu 3.2.0-41.66-generic 3.2.42
Uname: Linux 3.2.0-41-generic i686
NonfreeKernelModules: hsfengine
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: cristian 2095 F.... pulseaudio
CRDA: Error: [Errno 2] File o directory non esistente
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd0340000 irq 42'
   Mixer name : 'Conexant CX20549 (Venice)'
   Components : 'HDA:14f15045,103c30a5,00100100'
   Controls : 20
   Simple ctrls : 10
Date: Mon Sep 9 12:44:17 2013
HibernationDevice: RESUME=UUID=064559f1-c9e7-42f0-a382-e7875944d39f
InstallationMedia: Lubuntu 12.04 "Precise Pangolin" - Release i386 (20120423)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 003: ID 0e8f:0020 GreenAsia Inc. USB to PS/2 Adapter
MachineType: Hewlett-Packard Presario C500 (GH938EA#ABZ)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-41-generic root=UUID=c9efd375-d321-4352-8a84-729a93eacf3e ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-41-generic N/A
 linux-backports-modules-3.2.0-41-generic N/A
 linux-firmware N/A
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/09/2007
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.15
dmi.board.name: 30C6
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 78.10
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.15:bd03/09/2007:svnHewlett-Packard:pnPresarioC500(GH938EA#ABZ):pvrF.15:rvnHewlett-Packard:rn30C6:rvr78.10:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: Presario C500 (GH938EA#ABZ)
dmi.product.version: F.15
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
cristian (cristiancozzolino) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.11 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-saucy/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
description: updated
tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
cristian (cristiancozzolino) wrote :

After testing the 3.11 kernel on 12.04, I also launched a live of lubuntu 13.10. In this release, unfortunately, the /lib/udev/findkeyboards and sudo /lib/udev/keymap -i input/eventX commands no longer exist, that makes me unable to run tests on it.

Revision history for this message
Martin Pitt (pitti) wrote :

christian, on 13.10 (this also works on earlier versions), please install the "evtest" package and use "sudo evtest". This lets you choose your input device and basically gives the same information, but is a tad easier to use.

Revision history for this message
cristian (cristiancozzolino) wrote :

Thanks!. I've tried 'sudo evtest' on the saucy live. Unfortunately, I get the same results as the sudo /lib/udev/keymap -i input/eventX command. that is nothing in output when pressing the multimedia keys.

Revision history for this message
cristian (cristiancozzolino) wrote :

I've tried the keyboard without the ps2->usb adapter on lubuntu 12.10 (desktop pc). In this case, multimedia keys are recognized both by sudo /lib/udev/keymap -i input/eventX and by sudo evtest commands.

This is really strange because the multimedia keys work well even using the ps2->usb adapter (though they do not print anything with keymap and evtest commands).

What may be due to this bug (which does not allow debugging on the computers without ps2 ports)?

Revision history for this message
penalvch (penalvch) wrote :

cristian, could you please provide the full computer model as noted on the sticker (ex. Compaq Presario C500 CTO Notebook PC)?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
cristian (cristiancozzolino) wrote :

The bug does not occur with a PC in particular, I have already tried.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

cristian, ok. The information would still need to be provided as requested.

tags: added: kernel-bug-exists-upstream-v3.11 needs-full-computer-model needs-upstream-testing
removed: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Andreas Moog (ampelbein) wrote :

Christopher,

if you look at the original report you will see a line starting with dmi.modalias:

dmi.modalias: dmi:bvnHewlett-Packard:bvrF.15:bd03/09/2007:svnHewlett-Packard:pnPresarioC500(GH938EA#ABZ):pvrF.15:rvnHewlett-Packard:rn30C6:rvr78.10:cvnHewlett-Packard:ct10:cvrN/A:

This seems to be the full computer model information you requested. In any case, if the bug happens with multiple computers (which the bug reporter seems to have tested), I think that the make and model of the computer don't really matter.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Andreas Moog, especially for HP, unfortunately it is a common misconception that the dmi.modalias is the full computer model as noted on the sticker. However, for other vendors this information is always in the Bug Description (ex. Dell, Lenovo). One may go to the following URL for verification of this:
http://www8.hp.com/us/en/support-search.html?tab=1#/qryterm=hp%20Presario%20C500||&searchtype=s-002

As well, it would be important to know which model specifically from the sticker (not dmi.modalias) this is encountered with, as folks can be better prepared when making informed computer purchases.

Revision history for this message
Andreas Moog (ampelbein) wrote : Re: [Bug 1222763] Re: Pressing usb keyboard multimedia keys doesn't print anything with sudo /lib/udev/keymap -i input/eventX

On 25.01.2014 19:15, Christopher M. Penalver wrote:

> As well, it would be important to know which model specifically from the
> sticker (not dmi.modalias) this is encountered with, as folks can be
> better prepared when making informed computer purchases.

So, why would people not buy a specific model of computer, when the
problem obviously lies within the external, wireless keyboard? The
problem exists with different computers (see comment #7 and #9), so why
do you think the make and model matters?

--
Andreas Moog, Berliner Str. 29, 36205 Sontra/Germany
PGP-encrypted mails preferred (Key-ID: 74DE6624)
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.