Keytouch scancodes/keycodes problem
Hi,
I tried to configure keytouch to use the special keys on my laptop keyboard (hp probook 5310m). I did follow the instructions in the wiki (https://wiki.archlinux.org/index.php/Keytouch) and created a keyboard configuration for the keys mute, volume up and volume down. Keytouch assigns following codes for the keys:
-Fn+F9: scancode: 160, keycode: Mute
-Fn+F11: scancode: 174, keycode: Volume up
-Fn+F12: scancode: 176, keycode: Volume down
This seems to be correct. Because when I use "/lib/udev/keymap -i input/event0" I get the following output when I press the special keys (values in brackets were added by me):
scan code: 0xA0 (160) key code: mute
scan code: 0xAE (174) key code: volumedown
scan code: 0xB0 (176) key code: volumeup
When I press one of the special keys, nothing happens. But when I press another special key (Screenlock (Fn+F6), scancode 138) the event for mute is executed (I see the OSD and the sound is muted/unmuted). So I don't know how to get keytouch to recognize the right special key beeing pressed.
Does anybody have an idea?
Thanks for any help.
Still having the problem . Doesn't even work in mplayer anymore.
Similar Messages
-
Keyboard remapping - scancodes/keycodes and Fn key
Hello,
I'm using Archlinux on a MacBook Pro and I'm overall pretty happy.
However I desperately want to swap my Fn and Control keys. I know that this is a tricky business but I also know that this can be done in OS X via a kext module, so I hope it can be done in Linux as well.
The output of showkey prints when I press Fn:
keycode 464 press
keycode 464 release
showkey -s however prints nothing when I press just Fn.
Here's the output of evtest:
Event: time 1396031474.937906, -------------- SYN_REPORT ------------
Event: time 1396031475.169971, type 1 (EV_KEY), code 464 (KEY_FN), value 1
It does not print an EV_MSC line as the Control key does:
Event: time 1396031475.561965, -------------- SYN_REPORT ------------
Event: time 1396031475.729966, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e0
Event: time 1396031475.729966, type 1 (EV_KEY), code 29 (KEY_LEFTCTRL), value 1
So, it looks like my plan to remap the keys using scancodes (via setkeycodes) will not work. Remapping via loadkeys (keycode 464 = Control) also does not work - the Fn+<letter> combination is treated as if just the letter has been pressed.
I will appreciate any kind of help as I am pretty stuck at this point.
Thanks!
P.S.: Sorry if the topic is in the wrong forum.I do not have a Thinkvantage folder in Control Panel.
I was unable to find any reference on Lenovo's site for the T500 for keyboard customization.
I took you original advice, before editing, and installed the Keyboard customizer for the T400. This works as expected for the T500. I looked through the programs supplied by Lenovo for the T500 and could not find any program for the keyboard on my system.
I have removed some of the less than useful Lenovo configuration and control programs maybe that is the reason for the missing Control Panel folder. Many seem to be slow to get things right and often get things wrong, but that is another thread. I do not understand why IBM and now Lenovo keep making programs that are redundant with small gain relative to standard Windows features. I have found the WiFi and Wired networking particularly difficult to get working smoothly. The only solution is to turn off the WiFi.
Now if you have a reason for 4 displays, 2 ATi, and 2 Intel Mobile in the windows display confguration panel on my system I will be forever grateful.
Anyway thank you for you help in finding a solution to my external keyboard customization problem. -
CR2008 KeyCode problem/question
Hello everyone,
I have Visual Studio 2008 SP1 and I just bought the upgrade version of Crystal Reports 2008. I installed the CR2008 without any problems. Every time I open Crystal Reports 2008 by clicking in All Programs -> Crystal Reports 2008 -> Crystal Reports 2008 I get a windows asking for a valid KeyCode. Then I then opened the License Manager and when I try to add the KeyCode it says:
License Type
Selected KeyCode: Production
All Keycodes: Production
Report Creating API
Selected KeyCode: NO
All Keycodes: NO
If I click OK it says that the KeyCode is invalid
Then I installed CR2008 SP1 and I get the same problem. So I installed CR2008 SP FP13 but I'm still having the same problem.
Is this normal for the upgrade version? if not, does anyone have any idea on how can I get this working?
ThanksHi,
Please try to check the Crystal Report, install first the Crystal Report and if it running ok and the if the error appears, if not then install the Visual Studio,
regards,
Clint -
Hi,
I'm trying to use '+' and '-' keys in a KeyListener, but the keyCode returned aren't those defined by Java :
VK_PLUS = 521
'+' keyCode = 107
VK_MINUS = 45
'-' keyCode = 109
I know there are problems with the localization, but it seemed that these standard keys where correctly managed. Can someone give me an explication ?
Thanks...Instead of event.getKeyCode(), try using event.getKeyChar();
Chris -
Keycode problem tryng to access BO Crystal Reports Explorer
Hi,
I´m receiving the message "You do not have the correct keycode installed to use this option" when trying to access BO XI R2 Crystal Reports Explorer, and I don't know why, because i have already registered the product and it´s the only application of the suite not working and asking me "a correct keycode". Is it possible that it has to do with the evaluation, temporary keycode used during setup? Must I get an unlimited license for BO XI R2 in order this app to work? Or exists a way to use a separate keycode only for this app? Please help me
MAURICIOHi,
The link you provide points to SAP marketplace logon validation, but because of the fact that I don´t have a marketplace user and password, it is necessary for me to request a password. Then, I try to generate one using Option 2 and for that the system asks for "Customer or Installation number" (and suggest that it should be found in System -> Status or Help -> About).
How can I find Customer or Installation number, in my BusinessObjects Enterprise XI software?
THANKS ! -
Hi,
I have a little problem with my swing application. My aplication is like this:
A JFrame witch contains a JPanel witch contains a JSplitPane witch contains one left and one right element witch are both a JPanel with a JList with more elements in it. I used ActionMap and InputMap classes of the split to implement a TAB key action. The action was to give focus to one list at a time when the TAB key was pressed. That's fine so far, but when i tried to implement an action for the F76 key i got into problems. I used the same ActionMap-InputMap pair, but the listener isn't called, but instead it does exactly what the TAB key does:switching focus. I've noticed that there was exactly this action defined for that input map for F6. So i deleted it , but this strange thing still ocuurs. How can i force my application to do what i want on F6 and not what it wants? I don't know if this helps but: i'm using a RedHat 7.2 system (with the latest upgrades), and i didn't tested my application on other system, or other jdk than the one i'm curently using:1.3.1_01 .
Please help.
Thanks.I used the following code
private void initMater() {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
catch(Exception e) {}
// after the look and feel is installed we override .....
Object obj = new UIDefaults.LazyInputMap(new Object[] {
"UP", "negativeIncrement",
"DOWN", "positiveIncrement",
"LEFT", "negativeIncrement",
"RIGHT", "positiveIncrement",
"KP_UP", "negativeIncrement",
"KP_DOWN", "positiveIncrement",
"KP_LEFT", "negativeIncrement",
"KP_RIGHT", "positiveIncrement",
"HOME", "selectMin",
"END", "selectMax"
// "F8", "startResize", NO !
// "F6", "toggleFocus" NO !
UIManager.put("SplitPane.ancestorInputMap",obj); -
Keytouch doesn't map keys properly
Hello,
I've a Logitech Desktop Wave Keyboard (Cordless) and I tried configuring the special keys via keytouch, but it doesn't seem to work. I always get this error:
keytouch-init: Failed to set keycode:
keycode 142 to scancode 8450 (0x2102)
keytouch-init: Failed to set keycode:
keycode 140 to scancode 729618 (0xb2212)
keytouch-init: Failed to set keycode:
keycode 171 to scancode 729603 (0xb2203)
keytouch-init: Failed to set keycode:
keycode 226 to scancode 729603 (0xb2203)
keytouch-init: Failed to set keycode:
keycode 163 to scancode 729397 (0xb2135)
keytouch-init: Failed to set keycode:
keycode 164 to scancode 729421 (0xb214d)
keytouch-init: Failed to set keycode:
keycode 115 to scancode 729449 (0xb2169)
keytouch-init: Failed to set keycode:
keycode 114 to scancode 729450 (0xb216a)
keytouch-init: Failed to set keycode:
keycode 113 to scancode 729442 (0xb2162)
keytouch-init: Failed to set keycode:
keycode 165 to scancode 729398 (0xb2136)
keytouch-init: Failed to set keycode:
keycode 166 to scancode 729399 (0xb2137)
keytouch-init: Failed to set keycode:
keycode 212 to scancode 733317 (0xb3085)
keytouch-init: Failed to set keycode:
keycode 177 to scancode 733344 (0xb30a0)
keytouch-init: Failed to set keycode:
keycode 178 to scancode 733343 (0xb309f)
I made a config file for my keyboard via keytouch-editor. I had to change the scan codes manually to 6 digits instead of the 3 the editor spits out. Here it is:
<keyboard>
<file-info>
<syntax-version>1.1</syntax-version>
<last-change format="%d-%m-%Y">24-10-2009</last-change>
<author></author>
</file-info>
<keyboard-info>
<keyboard-name>
<manufacturer>Logitech</manufacturer>
<model>My Wave</model>
</keyboard-name>
</keyboard-info>
<key-list>
<key>
<name>Sleep</name>
<scancode>65666</scancode>
<keycode>SLEEP</keycode>
<default-action action-type="plugin">
<plugin-name>Lock Screen</plugin-name>
<plugin-function>Lock Screen</plugin-function>
</default-action>
</key>
<key>
<name>Calc</name>
<scancode>786834</scancode>
<keycode>CALC</keycode>
<default-action>kcalc || gnome-calculator || xcalc</default-action>
</key>
<key>
<name>Media Center</name>
<scancode>786819</scancode>
<keycode>CONFIG</keycode>
<default-action>kcontrol || gnome-control-center</default-action>
</key>
<key>
<name>Music</name>
<scancode>786819</scancode>
<keycode>MEDIA</keycode>
<default-action>kcontrol || gnome-control-center</default-action>
</key>
<key>
<name>Next song</name>
<scancode>786613</scancode>
<keycode>NEXTSONG</keycode>
<default-action action-type="plugin">
<plugin-name>XMMS</plugin-name>
<plugin-function>Next</plugin-function>
</default-action>
</key>
<key>
<name>Play/Pause</name>
<scancode>786637</scancode>
<keycode>PLAYPAUSE</keycode>
<default-action action-type="plugin">
<plugin-name>XMMS</plugin-name>
<plugin-function>Play/Pause</plugin-function>
</default-action>
</key>
<key>
<name>Volume Up</name>
<scancode>786665</scancode>
<keycode>VOLUMEUP</keycode>
<default-action action-type="plugin">
<plugin-name>Amixer</plugin-name>
<plugin-function>Volume increase</plugin-function>
</default-action>
</key>
<key>
<name>Volume Down</name>
<scancode>786666</scancode>
<keycode>VOLUMEDOWN</keycode>
<default-action action-type="plugin">
<plugin-name>Amixer</plugin-name>
<plugin-function>Volume decrease</plugin-function>
</default-action>
</key>
<key>
<name>Mute</name>
<key>
<name>Mute</name>
<scancode>786658</scancode>
<keycode>MUTE</keycode>
<default-action action-type="plugin">
<plugin-name>Amixer</plugin-name>
<plugin-function>Mute</plugin-function>
</default-action>
</key>
<key>
<name>Previous song</name>
<scancode>786614</scancode>
<keycode>PREVIOUSSONG</keycode>
<default-action action-type="plugin">
<plugin-name>XMMS</plugin-name>
<plugin-function>Previous</plugin-function>
</default-action>
</key>
<key>
<name>Stop CD</name>
<scancode>786615</scancode>
<keycode>STOPCD</keycode>
<default-action action-type="plugin">
<plugin-name>XMMS</plugin-name>
<plugin-function>Stop</plugin-function>
</default-action>
</key>
<key>
<name>Camera</name>
<scancode>790533</scancode>
<keycode>CAMERA</keycode>
<default-action></default-action>
</key>
<key>
<name>Scroll Up</name>
<scancode>790560</scancode>
<keycode>SCROLLUP</keycode>
<default-action action-type="plugin">
<plugin-name>Scroll</plugin-name>
<plugin-function>Up</plugin-function>
</default-action>
</key>
<key>
<name>Scroll Down</name>
<scancode>790559</scancode>
<keycode>SCROLLDOWN</keycode>
<default-action action-type="plugin">
<plugin-name>Scroll</plugin-name>
<plugin-function>Down</plugin-function>
</default-action>
</key>
</key-list>
</keyboard>
The only key that is working is the "Stop" button, but it doesn't work properly since it decreases the volume.
I know I am not the only one with this problem, it appeared here and here.
If you look carefully, you would see that the scancodes that appear in the error message aren't the scancodes entered in the config file!
Thanks in advance, Ido.Hi, Christie. If you're planning to fling your Powerbook out the window, please be sure to open the window first, and give me time to get out there in the yard to catch it before it lands.
What you need is DiskWarrior (the best option) or TechTool Pro, which should resolve the "keys out of order" problem in your hard disk directory in just a few minutes. That problem may have been caused when you forced the machine to shut down after it began to whine, or it may have been present beforehand. Directory corruption of that kind is most often caused by abnormal operations like forced shutdowns and freezes, but it can also cause them later on if it isn't corrected. A failing hard drive can also cause its own directory to be corrupted, and bad RAM and other hardware faults are also possible causes of directory damage. But much more often the culprit is just a one-time glitch in software that can be remedied using DiskWarrior or TTPro and won't soon recur (as it's likely to do very soon if there's an underlying hardware cause).
If you have a complete, recent backup of your hard drive, another option to consider is erasing the drive completely and restoring everything to it from your backup. That too will write a new, undamaged directory to the disk, but it's more tedious than using DiskWarrior or TTPro. Of course it's also free. -
LIRC-0.9.1: Remote not working, scancodes, config issues
Hi,
I'm using arch (kernel 3.16.0-2-ARCH #1 SMP PREEMPT x86_64 GNU/Linux), a TechnoTrend USB IR Receiver and my custom remote (not covered by existing configs). I installed lirc and lirc-utils via testing repo (lirc-0.9.1). My problem is that I can access my device, but irw gives me no output at all.
At first some outputs:
ir-keytable:
Found /sys/class/rc/rc0/ (/dev/input/event17) with:
Driver ttusbir, table rc-tt-1500
Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
Enabled protocols: RC-5
Name: TechnoTrend USB IR Receiver
bus: 3, vendor/product: 0b48:2003, version: 0x0101
Repeat delay = 500 ms, repeat period = 125 ms
output of "ir-keytable -t" for numbers 1-6 on my remote:
Testing events. Please, press CTRL-C to abort.
1408117586.815011: event type EV_MSC(0x04): scancode = 0x01
1408117586.815011: event type EV_SYN(0x00).
1408117586.934967: event type EV_MSC(0x04): scancode = 0x01
1408117586.934967: event type EV_SYN(0x00).
1408117587.702986: event type EV_MSC(0x04): scancode = 0x02
1408117587.702986: event type EV_SYN(0x00).
1408117588.366958: event type EV_MSC(0x04): scancode = 0x03
1408117588.366958: event type EV_SYN(0x00).
1408117588.486983: event type EV_MSC(0x04): scancode = 0x03
1408117588.486983: event type EV_SYN(0x00).
1408117589.094926: event type EV_MSC(0x04): scancode = 0x04
1408117589.094926: event type EV_SYN(0x00).
1408117589.214920: event type EV_MSC(0x04): scancode = 0x04
1408117589.214920: event type EV_SYN(0x00).
1408117590.926837: event type EV_MSC(0x04): scancode = 0x05
1408117590.926837: event type EV_SYN(0x00).
1408117591.046834: event type EV_MSC(0x04): scancode = 0x05
1408117591.046834: event type EV_SYN(0x00).
1408117592.446769: event type EV_MSC(0x04): scancode = 0x06
1408117592.446769: event type EV_SYN(0x00).
1408117592.566769: event type EV_MSC(0x04): scancode = 0x06
1408117592.566769: event type EV_SYN(0x00).
My remote config file looks like this:
# Please make this file available to others
# by sending it to <[email protected]>
# this config file was automatically generated
# using lirc-0.9.0(devinput) on Thu Aug 7 15:10:35 2014
# contributed by
# brand: Test
# model no. of remote control:
# devices being controlled by this remote:
begin remote
name BlackFlatOne
bits 16
eps 30
aeps 100
pre_data_bits 16
pre_data 0x0001
post_data_bits 32
post_data 0x00000001
gap 132799
toggle_bit 0
begin codes
KEY_POWER 0x0c
KEY_MUTE 0x0a
KEY_SELECT 0x38
KEY_Z 0x0f
KEY_1 0x01
KEY_2 0x02
KEY_3 0x03
KEY_4 0x04
KEY_5 0x05
KEY_6 0x06
KEY_7 0x07
KEY_8 0x08
KEY_9 0x09
KEY_0 0x00
KEY_TV 0x1e
KEY_LEFT 0x11
KEY_RIGHT 0x10
KEY_UP 0x20
KEY_DOWN 0x21
KEY_ENTER 0x0d
KEY_CHANNELUP 0x12
KEY_CHANNELDOWN 0x13
KEY_VOLUMEUP 0x2b
KEY_VOLUMEDOWN 0x2c
KEY_STOP 0x0b
KEY_RECORD 0x1f
KEY_CAMERA 0x0e
KEY_ESC 0x29
end codes
end remote
I start lirc manually with
lircd --driver=devinput --device=/dev/input/by-id/usb-TechnoTrend_AG_TT-USB_Infrared_Device-event-ir BlackFlatOne -n
After starting lirc, I start irw, but I get no response at all when pressing buttons on my remote.
I already tried a
cat /dev/input/by-id/usb-TechnoTrend_AG_TT-USB_Infrared_Device-event-ir
(lirc and irw not running, of course) and this gives me cryptic symbols when pressing buttons on my remote, so the IR receiver doesn't seem to be the problem.
I'm wondering if the scancodes in my config are ok for a devinput-device, because the latest "official" lircd.conf.devinput looks like that:
# generated by devinput.sh
begin remote
name devinput
bits 16
eps 30
aeps 100
pre_data_bits 16
pre_data 0x0001
post_data_bits 32
post_data 0x00000001
gap 132799
toggle_bit 0
begin codes
KEY_0 11
KEY_102ND 86
KEY_1 2
KEY_2 3
KEY_3 4
KEY_4 5
KEY_5 6
KEY_6 7
KEY_7 8
KEY_8 9
KEY_9 10
KEY_A 30
KEY_AB 0x196
KEY_ADDRESSBOOK 0x1ad
KEY_AGAIN 129
So I'm wondering about the different lengths of the keycodes (e.g. 0x0d vs 0x1ad -> 2 vs 3 digits).
Can anyone help me out with this issue ?
Am I missing something ?
How do I have to format the scancodes/keycodes the correct way for version 0.9.1 ?Hi,
I'm using arch (kernel 3.16.0-2-ARCH #1 SMP PREEMPT x86_64 GNU/Linux), a TechnoTrend USB IR Receiver and my custom remote (not covered by existing configs). I installed lirc and lirc-utils via testing repo (lirc-0.9.1). My problem is that I can access my device, but irw gives me no output at all.
At first some outputs:
ir-keytable:
Found /sys/class/rc/rc0/ (/dev/input/event17) with:
Driver ttusbir, table rc-tt-1500
Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
Enabled protocols: RC-5
Name: TechnoTrend USB IR Receiver
bus: 3, vendor/product: 0b48:2003, version: 0x0101
Repeat delay = 500 ms, repeat period = 125 ms
output of "ir-keytable -t" for numbers 1-6 on my remote:
Testing events. Please, press CTRL-C to abort.
1408117586.815011: event type EV_MSC(0x04): scancode = 0x01
1408117586.815011: event type EV_SYN(0x00).
1408117586.934967: event type EV_MSC(0x04): scancode = 0x01
1408117586.934967: event type EV_SYN(0x00).
1408117587.702986: event type EV_MSC(0x04): scancode = 0x02
1408117587.702986: event type EV_SYN(0x00).
1408117588.366958: event type EV_MSC(0x04): scancode = 0x03
1408117588.366958: event type EV_SYN(0x00).
1408117588.486983: event type EV_MSC(0x04): scancode = 0x03
1408117588.486983: event type EV_SYN(0x00).
1408117589.094926: event type EV_MSC(0x04): scancode = 0x04
1408117589.094926: event type EV_SYN(0x00).
1408117589.214920: event type EV_MSC(0x04): scancode = 0x04
1408117589.214920: event type EV_SYN(0x00).
1408117590.926837: event type EV_MSC(0x04): scancode = 0x05
1408117590.926837: event type EV_SYN(0x00).
1408117591.046834: event type EV_MSC(0x04): scancode = 0x05
1408117591.046834: event type EV_SYN(0x00).
1408117592.446769: event type EV_MSC(0x04): scancode = 0x06
1408117592.446769: event type EV_SYN(0x00).
1408117592.566769: event type EV_MSC(0x04): scancode = 0x06
1408117592.566769: event type EV_SYN(0x00).
My remote config file looks like this:
# Please make this file available to others
# by sending it to <[email protected]>
# this config file was automatically generated
# using lirc-0.9.0(devinput) on Thu Aug 7 15:10:35 2014
# contributed by
# brand: Test
# model no. of remote control:
# devices being controlled by this remote:
begin remote
name BlackFlatOne
bits 16
eps 30
aeps 100
pre_data_bits 16
pre_data 0x0001
post_data_bits 32
post_data 0x00000001
gap 132799
toggle_bit 0
begin codes
KEY_POWER 0x0c
KEY_MUTE 0x0a
KEY_SELECT 0x38
KEY_Z 0x0f
KEY_1 0x01
KEY_2 0x02
KEY_3 0x03
KEY_4 0x04
KEY_5 0x05
KEY_6 0x06
KEY_7 0x07
KEY_8 0x08
KEY_9 0x09
KEY_0 0x00
KEY_TV 0x1e
KEY_LEFT 0x11
KEY_RIGHT 0x10
KEY_UP 0x20
KEY_DOWN 0x21
KEY_ENTER 0x0d
KEY_CHANNELUP 0x12
KEY_CHANNELDOWN 0x13
KEY_VOLUMEUP 0x2b
KEY_VOLUMEDOWN 0x2c
KEY_STOP 0x0b
KEY_RECORD 0x1f
KEY_CAMERA 0x0e
KEY_ESC 0x29
end codes
end remote
I start lirc manually with
lircd --driver=devinput --device=/dev/input/by-id/usb-TechnoTrend_AG_TT-USB_Infrared_Device-event-ir BlackFlatOne -n
After starting lirc, I start irw, but I get no response at all when pressing buttons on my remote.
I already tried a
cat /dev/input/by-id/usb-TechnoTrend_AG_TT-USB_Infrared_Device-event-ir
(lirc and irw not running, of course) and this gives me cryptic symbols when pressing buttons on my remote, so the IR receiver doesn't seem to be the problem.
I'm wondering if the scancodes in my config are ok for a devinput-device, because the latest "official" lircd.conf.devinput looks like that:
# generated by devinput.sh
begin remote
name devinput
bits 16
eps 30
aeps 100
pre_data_bits 16
pre_data 0x0001
post_data_bits 32
post_data 0x00000001
gap 132799
toggle_bit 0
begin codes
KEY_0 11
KEY_102ND 86
KEY_1 2
KEY_2 3
KEY_3 4
KEY_4 5
KEY_5 6
KEY_6 7
KEY_7 8
KEY_8 9
KEY_9 10
KEY_A 30
KEY_AB 0x196
KEY_ADDRESSBOOK 0x1ad
KEY_AGAIN 129
So I'm wondering about the different lengths of the keycodes (e.g. 0x0d vs 0x1ad -> 2 vs 3 digits).
Can anyone help me out with this issue ?
Am I missing something ?
How do I have to format the scancodes/keycodes the correct way for version 0.9.1 ? -
[SOLVED] Wrong scancodes for Ctrl, Super and Alt on keyboard
I have bought this keyboard and I'm having an issue with it that I can't figure out. Under Archlinux, the Control, Super and Alt key are interpreted as the Shift key. I have tested it on a tablet running Android and its behavior is identical however when testing it under a laptop running Windows 8 it behaved correctly.
I've checked the scancodes and keycodes using showkey and all of the 3 problem keys match the Shift key's scancode / keycode.
When pluging in the keyboard, this is what dmesg outputs:
[ 3151.870872] usb 1-2: new low-speed USB device number 13 using xhci_hcd
[ 3152.040418] usb 1-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 3152.040428] usb 1-2: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 3152.043548] input: SONiX USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:0C45:7603.0011/input/input33
[ 3152.094113] hid-generic 0003:0C45:7603.0011: input,hidraw0: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-0000:00:14.0-2/input0
[ 3152.107227] input: SONiX USB Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:0C45:7603.0012/input/input34
[ 3152.158239] hid-generic 0003:0C45:7603.0012: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-0000:00:14.0-2/input1
Any help in figuring out the issue is highly appreciated.
Last edited by stormhaden (2015-05-04 13:51:29)Turns out I wasn't searching for my problem using the right keywords. After some variation in the search terms I have found this driver: https://bitbucket.org/Swoogan/aziokbd. I gave it a try and it seems to fix the problem.
-
Logitech Multimedia Keyboard (key not working)
I got a new Logitech Multimedia Keyboard and using xbindkeys I got almost all the keys mapped.
There is one key, however, (the Messenger key) that does not seem to be recognized at all.
It does not show when I use "xbindkeys -k", nor when I use "xev" and there is no "action" whatsoever when I press this key. Yet, being the key there I should be able to map it.
Does anyone have any ideas as to how could I find out and/or map this key?
In all honesty, it is not just about the key ... I can just as well use key-combinations and get Gaim going, but I want to know why it is "invisible". I other words, I want to understand the problem.
Thanks in advance.
RCopied from gentoo-wiki (and edited for Arch):
If pressing a key doesn't do anything at all (ie, xev produeces no output), run the following command in an X terminal:
dmesg
You will probably see some lines like these:
Code: Output of dmesg
atkbd.c: Unknown key released (translated set 2, code 0x96 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e016 <keycode>' to make it known.
This means that the kernel doesn't have keycodes mapped to your keyboard's scancodes. You will have to add one line in /etc/rc.local for each missing key as follows:
File: /etc/rc.local
setkeycodes e008 136
setkeycodes e016 150
... And so on ...
Where the first number (e008) is what you see in dmesg, and the second number (136) is an unused keycode in your kernel. In general you can find a good keycode by taking the last 2 digits of this first number, converting it from hex (base-16) to decimal (base-10) and adding 128.
This will set up the proper scancode - keycode mapping every boot. To set them up without rebooting, run the following as root:
sh /etc/rc.local
After you have the proper mappings setup, restart X and try running xev again, to ensure that a keycode is displayed for each multimedia key you want to use. -
Extremely slow performance in comparison to RDC-based report
Today our application uses the Crystal Reports RDC. In the last
ten years we have made good experience with Crystal Reports.
In the next few months we want to migrate our application to
JAVA.
Because the reports offer a great reuse-potential, we would like
to implement them via CR4E.
But during the first benchmark tests we made a very bad experience.
Running (Printing) in CR4E the reports needed from 20 up to 480 percent
more time in comparison to the RDC-based reports.
When using POJOs need from 25 up to 570 percent more time.
When printing the reports from within the CR2008 designer there is
no performance difference.
The reports have from 4 to 82 pages.
We didn´t expect such a huge performance difference.
Is CR4E in general slower than the RDC-based Crystal Reports?
Or are there any parameters in CR4E in addition to the RDC-based
solution for tuning the reports?
Edited by: Rainer Graedtke on Nov 9, 2009 2:44 PMHi Ted,
thanks for the fast response.
Is there another "datasource option" with better performance than POJO?
In the upcoming JAVA-version of our application we would like to "feed"
our reports from memory, not from the underlying database.
One more statement concerning our performance problem:
In our reports we make extensive use of subreports.
Each report has the minimum of two subreports, one for the pageheader,
one for the pagefooter.
This is necessary because we have changing headers and footers
depending on the contents of the details.
The report with the largest performance loss contains 29 subreports!
RDC-based it prints in 10 seconds, Java-based we need over 50 seconds.
Is there any suggestion how to improve the performance of our reports in
JAVA/CR4E other than reducing the number of subreports?
Another question concerning the keycode-problem:
We have designed the reports in the CR2008 Designer and we want to run
them under CR4E. Is this a valid approach?
Sincerely Rainer
Edited by: Rainer Graedtke on Nov 10, 2009 10:51 AM -
[SOLVED]Fn keys broken after update
Hi,
After a system upgrade the fn keys controlling the keyboard backlight don't work. Other fn keys work fine
Update log:
[2013-09-20 17:55] [PACMAN] starting full system upgrade
[2013-09-20 17:58] [PACMAN] upgraded dbus (1.6.12-1 -> 1.6.14-1)
[2013-09-20 17:58] [ALPM] warning: /etc/systemd/logind.conf installed as /etc/systemd/logind.conf.pacnew
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> systemd 205 restructures the cgroup hierarchy and changes internal
[2013-09-20 17:58] [ALPM-SCRIPTLET] protocols. You should reboot at your earliest convenience.
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> The "timestamp" hook for mkinitcpio no longer exists. If you used
[2013-09-20 17:58] [ALPM-SCRIPTLET] this hook, you must remove it from /etc/mkinitcpio.conf. A "systemd"
[2013-09-20 17:58] [ALPM-SCRIPTLET] hook has been added which provides this functionality, and more.
[2013-09-20 17:58] [PACMAN] upgraded systemd (204-3 -> 207-3)
[2013-09-20 17:58] [PACMAN] upgraded bluez-utils (5.7-1 -> 5.8-1)
[2013-09-20 17:58] [PACMAN] upgraded cogl (1.14.0-4 -> 1.14.0-5)
[2013-09-20 17:58] [PACMAN] upgraded empathy (3.8.3-1 -> 3.8.4-1)
[2013-09-20 17:58] [PACMAN] upgraded firefox (23.0.1-1 -> 24.0-1)
[2013-09-20 17:58] [ALPM-SCRIPTLET] Generating locales...
[2013-09-20 17:58] [ALPM-SCRIPTLET] el_GR.UTF-8... done
[2013-09-20 17:58] [ALPM-SCRIPTLET] en_US.UTF-8... done
[2013-09-20 17:58] [ALPM-SCRIPTLET] Generation complete.
[2013-09-20 17:58] [PACMAN] upgraded glibc (2.18-3 -> 2.18-4)
[2013-09-20 17:58] [PACMAN] upgraded gmime (2.6.17-1 -> 2.6.18-1)
[2013-09-20 17:58] [PACMAN] upgraded gnome-desktop (1:3.8.3-2 -> 1:3.8.4-1)
[2013-09-20 17:58] [PACMAN] upgraded gnome-color-manager (3.8.2-1 -> 3.8.3-1)
[2013-09-20 17:58] [PACMAN] upgraded gnome-settings-daemon (3.8.4-2 -> 3.8.5-1)
[2013-09-20 17:58] [PACMAN] upgraded gnome-control-center (3.8.4.1-2 -> 3.8.5-1)
[2013-09-20 17:58] [PACMAN] upgraded gnome-shell-extensions (3.8.3.1-2 -> 3.8.4-1)
[2013-09-20 17:58] [PACMAN] upgraded gnome-themes-standard (3.8.3-1 -> 3.8.4-1)
[2013-09-20 17:58] [PACMAN] upgraded graphviz (2.32.0-1 -> 2.32.0-2)
[2013-09-20 17:58] [PACMAN] upgraded icedtea-web-java7 (1.4-2 -> 1.4.1-1)
[2013-09-20 17:58] [PACMAN] upgraded lib32-glibc (2.18-3 -> 2.18-4)
[2013-09-20 17:58] [PACMAN] upgraded libpng (1.6.3-1 -> 1.6.5-1)
[2013-09-20 17:58] [PACMAN] upgraded lib32-libpng (1.6.3-1 -> 1.6.5-1)
[2013-09-20 17:58] [PACMAN] upgraded libusbx (1.0.16-2 -> 1.0.17-1)
[2013-09-20 17:58] [PACMAN] upgraded linux-firmware (20130725-1 -> 20130903-1)
[2013-09-20 17:58] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2013-09-20 17:58] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> Starting build: 3.11.1-1-ARCH
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> Image generation successful
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> Starting build: 3.11.1-1-ARCH
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2013-09-20 17:58] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> Image generation successful
[2013-09-20 17:58] [PACMAN] upgraded linux (3.10.10-1 -> 3.11.1-1)
[2013-09-20 17:58] [PACMAN] upgraded orc (0.4.17-1 -> 0.4.18-1)
[2013-09-20 17:58] [ALPM-SCRIPTLET]
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> The file /etc/sysctl.conf has been removed from this
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> package, as all its settings are now kernel defaults.
[2013-09-20 17:58] [ALPM-SCRIPTLET]
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> If you had customized it, you need to rename it as
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> /etc/sysctl.d/99-sysctl.conf since from version 207 on
[2013-09-20 17:58] [ALPM-SCRIPTLET] ==> systemd only applies settings from /etc/sysctl.d/* .
[2013-09-20 17:58] [ALPM-SCRIPTLET]
[2013-09-20 17:58] [PACMAN] upgraded procps-ng (3.3.8-2 -> 3.3.8-3)
[2013-09-20 17:58] [PACMAN] upgraded raptor (2.0.9-2 -> 2.0.10-2)
[2013-09-20 17:58] [PACMAN] upgraded systemd-sysvcompat (204-3 -> 207-3)
[2013-09-20 17:58] [PACMAN] upgraded tali (3.8.0-1 -> 3.8.1-1)
[2013-09-20 17:58] [PACMAN] upgraded transmission-gtk (2.81-1 -> 2.82-1)
[2013-09-20 17:58] [PACMAN] upgraded udisks2 (2.1.0-3 -> 2.1.1-1)
[2013-09-20 17:58] [ALPM-SCRIPTLET] In order to use the new version, reload all virtualbox modules manually.
[2013-09-20 17:58] [PACMAN] upgraded virtualbox-host-modules (4.2.18-1 -> 4.2.18-3)
[2013-09-20 17:58] [PACMAN] upgraded xorg-xinput (1.6.0-1 -> 1.6.1-1)
[2013-09-20 17:58] [PACMAN] upgraded xvidcore (1.3.2-1 -> 1.3.2-2)
and Dmesg
[ 1053.214014] atkbd serio0: Unknown key pressed (translated set 2, code 0x97 on isa0060/serio0).
[ 1053.214022] atkbd serio0: Use 'setkeycodes e017 <keycode>' to make it known.
[ 1053.455447] atkbd serio0: Unknown key pressed (translated set 2, code 0x96 on isa0060/serio0).
[ 1053.455455] atkbd serio0: Use 'setkeycodes e016 <keycode>' to make it known.
I can see what the issue is (somehow the update broke the keyboard "hooks"), but don't know how to fix it cleanly (with what to "hook" the keys).
Seems like a silly situation, so i start the thread in the newbies section.
thanks in advance
Last edited by mpir (2013-09-25 18:12:08)Solution:
prerequisites: xorg-xev
i) get the keyodes with dmesg | tail {i used the eXX number, not the hex}
ii) test the scancode to keycode binding using
setkeycodes [scancode_you_found] [keycode]
and then
xev
. You want your key to show up as "XF86KbdBrightnessUp/Down", my keycodes were 229 and 230
iii) make the change permanant by:
creating a new service
/etc/systemd/system/setkeycodes.service
[Unit]
Description=Change keycodes at boot
[Service]
Type=oneshot
ExecStart=/usr/bin/setkeycodes [scancode] [keycode]
ExecStart=/usr/bin/setkeycodes [scancode] [keycode]
[Install]
WantedBy=multi-user.target
and enabling the service
systemctl enable setkeycodes
cheers -
Maverick 10.9.5 creating havoc!
Since I installed this update last week I have had no end of problems..
first was the keycode problem at first it was just when i tried to use mail, but then it seemed anything i tried to do wanted a key code password.. after reading on here a number of offered solutions i tried them all... over 2 days with no success. In one last attempt i sync'd my iPad with my mac shut it down and went to bed in the early hours !! so i am not sure if it was the sync that sorted it or not, but fingers crossed that i won't get that error message again.
Now i am having problems backing up, i use a 1tb toshiba basic to back up using the time machine feature, it will back up for a couple of days and then i get the unable to back up message..
so i verify the disk... 'incorrect number of extended attributes' is the first message i get (It should be 830895 instead of 830893)
Incorrect number of Access Control List (It should be 830883 instead of 830881
The volume tosh back up drive was found corrupt and needs to be repaired.
The volume tosh back up drive was found corrupt and needs to be repaired.
Error: This disk needs to be repaired. Click Repair Disk.
Verify and Repair volume “tosh back up drive”
Volume repair complete.
Updating boot support partitions for the volume as required.
Error: Live file system repair is not supported.
Unmounting the drive allows it to continue the repair..
The volume tosh back up drive was repaired successfully.
Volume repair complete.
Updating boot support partitions for the volume as required.
i can then enter 'time machine and back up.
my question is am i going to have to do this every few days just to get a back up done?
is there something else i can do prevent this happening again?I wasn't really convinced that it was the drive as it was relatively new .. 6 months old.. but it is really meant as a portable drive and not really for this type of continual back up... which i had not considered when i was given it!
So I bow to your knowledge and went out and purchased a seagate backup plus drive, which was the best I could afford at the moment.
It seems to be working fine...
my next question is how do I transfer my previous time machine backup files onto this new drive?
As now they are spread over 3 drives... one full seagate that I have had for about 7 years and I used for file storage and back ups.. the toshiba that is not working properly and the new seagate.
If I try to copy and paste or drag and drop the folders, or go to edit , copy, paste item i get a message that says 'The volume has the wrong case sensitivity for a backup.. do i need to change the file name? ( the folders are named with the date followed by a 6 digit code)
thanks -
[SOLVED] encountered a strange problem part locale or keycode
i have exhausted all my possibilities at this point so asking the community for some guidance.
Terminal: urxvt
localectl status:
System Locale: LANG=sv_SE.UTF8
VC Keymap: sv-latin1
X11 Layout: se
X11 Model: pc105
X11 Options: terminate:ctrl_alt_bksp
locale:
LANG=en_US-UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
Part of the problem is that the asterix(star) * is not representing right keycode or something.
for example,
ls -l | grep *.txt //returns nothing even if it has results.
also in tab compleate it adds parts of the command into the other command
or adds it again like pacman pacman or pacmanpac.
Also if you do just * it will return the first order file name from the directory;
zsh: command not found: c-notes.log
locale -a:
C
en_US.utf8
POSIX
sv_SE.utf8
vconsole.conf
KEYMAP=sv-latin1
FONT=ter-112n
locale.conf
LANG=sv_SE.UTF8
Any words of wisdom into this would be greatly appreciated.
-Thanks in advance
Last edited by Learning (2014-10-12 21:14:55)This has nothing to do with ls, you are getting the expected results. You are simply using grep incorrectly.
$ touch one.txt two.txt three.txt
$ ls *.txt
one.txt three.txt two.txt
$ ls *.txt | grep *.txt
$ ls *.txt | grep '*.txt'
$ ls *.txt | grep '.*\.txt'
one.txt
three.txt
two.txt
$ ls *.txt | grep '.txt'
one.txt
three.txt
two.txt
$ ls *.txt | grep '\.txt$'
one.txt
three.txt
two.txt
The last one is probably what you want.
Of course if this is actually for ls, you should just pass the parameter to ls itself as in the second command above `ls -l *.txt`.
Note that the third command above, or any variation of `ls | grep *.txt`, would expand to `ls | grep one.txt two.txt three.txt` before anything else is done. The shell expands any unquoted or unescapted wildcard characters before grep is even called.
Last edited by Trilby (2014-10-12 20:38:12) -
Hi,
I've had a long running problem with my keycode in Xcelsius 2008. I've tried various things suggested by my supplier, but nothing seems to work. I thought I'd try here to see if anyone else can help. The details are:
We are running Windows XP Pro SP3. I had Crystal Reports XI installed. We purchased Crystal Reports 2008 Visual Advantage, and were issued with a single keycode. When we installed Crystal Reports 2008 using the keycode, everything was fine. When we installed Xcelsius 2008 we used the same keycode, but the program seemed to bee in a trial version state (i.e. all the save options / most of the export options are greyed out).
We have changed the permissions on the registry to ensure that all users have full control in HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0.
We have removed the keycode from HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Xcelsius\Keycodes and restarted the application and entered the keycode when prompted.
We have removed the keycode from HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Xcelsius\Keycodes and entered the keycode directly into the registry.
None of the above actions have helped (we have tried them all repeatedly in various orders). I've had this software for about a year now, but am not able to use it. I am getting more than a little frustrated.
Can anyone offer any advice or help?
Many thanks
Steve Birch
Edited by: Steve Birch on Jun 24, 2010 12:57 PMHi,
Thank you for the very quick reply.
When I look at the export tool bar I only have "Send to Adobe Acrobat PDF" enabled ("Send to PowerPoint", "Send to Microsoft Word", "Attach the SWF in Outlook" and "Export to Business Objects Platform" are all disabled).
When I look at the standard toolbar "Save" and "Print the SWL file" are greyed out.
When I look at the "File" drop down menu, the following items are greyed out:
Save
Save As...
Save To Enterprise
Page Setup...
Print...
Print Preview
When I look at the "Export" submenu, the following items are greyed out:
HTML...
Business Objects Platform...
PowerPoint Slide...
Outlook
Word...
When I look at the "Snapshot" submeu, all items are greyed out.
Because I have never used the software before, I'm not sure what should be enabled / disabled when looking at the menus, but I should be able to save shouldn't I?
I believe I have Flash Player version 9,0,124,0 installed. Will this be causing a problem?
Also, just to clarify. We bought 2 copies of the software for 2 different computers. They both have the same problem.
Thanks again for your quick reply.
Regards
Steve Birch
Maybe you are looking for
-
Gallery style images? Thumnails enlarging -- how do I do this?
Hi, Just got iWeb this evening, and having a gas w/ it. Very cool, and I'm really surprised at all the customization that can be done. I'm an illustrator and have depended on a buddy all these years that does my web site. iWeb is the chance for me to
-
Bookmark method for a page is not getting called
Hi, I am developing a simple ADF application which contains two jspx pages, in JDEVELOPER 11g (build JDEVADF_MAIN_GENERIC_080910.1420.5124). I have a commandLink in Page1 which takes me to the Page2.I have a bookmark method for Page2, which gets call
-
Installing Flash Player 11.7.700.169 in XP
I tried installing Flash Player version 11.7.700.169 in XP and got a script error. I checked my system setting and found scripting to be enabled. I tried completely uninstalling Flash Player and reinstalling but got the same result. Have no idea w
-
Dear All, I am preparing one project plan for web-based system. From Oracle i think i have two options 1. Make it in FORM 9i ,This option is suitable for us because we have good resources of FORM developers OR 2. Develop this in JDeveloper. I want to
-
New PC, not opening PDF files, Error not connecting to DDE server. Help
I purchase a new Windos 8 CP. Its not opening my PDF files. The error message is "Acrobat failed to connect to a DDE server". Windows 8 is new to me.