Forum

Full Version: Trust Multimedia keyboard
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,
I've bought this keyboard: http://www.trust.com/products/productversions.aspx?artnr=17911.

It seems known for xbian:
Code:
[    2.535572] usb 1-1.2: new low-speed USB device number 4 using dwc_otg
[    2.667612] usb 1-1.2: New USB device found, idVendor=04d9, idProduct=a01c
[    2.672137] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.685305] usb 1-1.2: Product: Wireless USB Device
[    2.689772] usb 1-1.2: Manufacturer: HOLTEK
[    2.710386] input: HOLTEK Wireless USB Device as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
[    2.725564] hid-generic 0003:04D9:A01C.0001: input,hidraw0: USB HID v1.10 Keyboard [HOLTEK Wireless USB Device] on usb-bcm2708_usb-1.2/input0
[    2.748364] input: HOLTEK Wireless USB Device as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.1/input/input1
[    2.756161] hid-generic 0003:04D9:A01C.0002: input,hidraw1: USB HID v1.10 Mouse [HOLTEK Wireless USB Device] on usb-bcm2708_usb-1.2/input1
But it seems not recieving any input, neither with xbmc on, or off.

uname -a:
Linux xbian 3.6.11+ #4 PREEMPT Fri Dec 21 00:31:02 CET 2012 armv6l GNU/Linux

Logs from lirc:
Code:
Jan 29 00:09:35 xbian lircd: WARNING: you should specify a valid gap value
Jan 29 00:09:35 xbian lircd: lircd(default) ready, using /var/run/lirc/lircd
Jan 29 00:09:41 xbian lircd: accepted new client on /var/run/lirc/lircd
Jan 29 00:09:41 xbian lircd: could not get file information for /dev/lirc0
Jan 29 00:09:41 xbian lircd: default_init(): No such file or directory
Jan 29 00:09:41 xbian lircd: WARNING: Failed to initialize hardware
Jan 29 00:09:50 xbian lircd: removed client

irw does not produces any output. Device lirc0 get not created, though these are my input devices:
Code:
cat /proc/bus/input/devices
I: Bus=0003 Vendor=04d9 Product=a01c Version=0110
N: Name="HOLTEK Wireless USB Device"
P: Phys=usb-bcm2708_usb-1.2/input0
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
U: Uniq=
H: Handlers=sysrq kbd event0
B: PROP=0
B: EV=120013
B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=04d9 Product=a01c Version=0110
N: Name="HOLTEK Wireless USB Device"
P: Phys=usb-bcm2708_usb-1.2/input1
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2:1.1/input/input1
U: Uniq=
H: Handlers=kbd mouse0 event1
B: PROP=0
B: EV=17
B: KEY=1f0000 0 2000000 3878 d801d001 1e0000 0 0 0
B: REL=103
B: MSC=10

Seems like kernel sees it, but lirc has no configuration to handle it. I'm not that familiar with those devices, but i've made a simple test:
connect the keyboard to a Mint desktop. It's working pretty fine.

Any suggestion here?

Thanks in advance!
First of all, can you use our markup code. Increases readability.

And did you already followed my guide on our wiki?
(29th Jan, 2013 09:15 AM)CurlyMo Wrote: [ -> ]First of all, can you use our markup code. Increases readability.

And did you already followed my guide on our wiki?

Sorry for missing markup code. Didn't thought on that.

Yes, followed your guide, but both irw and mode2 commands shows nothing as output.

Any hint on why?

Thanks!
Then again, edit your post and still apply the markup code.
(29th Jan, 2013 07:51 PM)CurlyMo Wrote: [ -> ]Then again, edit your post and still apply the markup code.

CurlyMo, edited the post. Any hint now?

Thanks!
But what about my guide? Did you follow it?
(3rd Feb, 2013 07:27 AM)CurlyMo Wrote: [ -> ]But what about my guide? Did you follow it?

yes. I've got no signals from irw nor from mode2 commands. Sort of no communication between the device and the Raspberry, but in dmesg it's showing up. I've tried both direct connection to raspberry (it's powered via miniusb charger bought with raspberry) and connected to a externally powered usb hub.

Same keyboard connected to a Mint desktop, and it is working like a charm. The real problem is that I don't know where to look for logs, as in syslog there aren't useful infos. Just having a place where to look for logs would already help.

Thanks in advance!
Can you post the output/content of lsusb and /etc/lirc/hardware.conf and /etc/lirc/lircd.conf from linux mint?
(4th Feb, 2013 03:24 AM)CurlyMo Wrote: [ -> ]Can you post the output/content of lsusb and /etc/lirc/hardware.conf and /etc/lirc/lircd.conf from linux mint?

Hi CurlyMo, sorry for the mistake. Found out that on Mint I wasn't using lirc, but X.

Here's the snip from Xorg.0.log:
Code:
[  1068.956] (II) config/udev: Adding input device HOLTEK Wireless USB Device (/dev/input/event6)
[  1068.956] (**) HOLTEK Wireless USB Device: Applying InputClass "evdev pointer catchall"
[  1068.956] (**) HOLTEK Wireless USB Device: Applying InputClass "evdev keyboard catchall"
[  1068.956] (II) Using input driver 'evdev' for 'HOLTEK Wireless USB Device'
[  1068.956] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  1068.956] (**) HOLTEK Wireless USB Device: always reports core events
[  1068.956] (**) evdev: HOLTEK Wireless USB Device: Device: "/dev/input/event6"
[  1068.956] (--) evdev: HOLTEK Wireless USB Device: Vendor 0x4d9 Product 0xa01c
[  1068.956] (--) evdev: HOLTEK Wireless USB Device: Found 9 mouse buttons
[  1068.956] (--) evdev: HOLTEK Wireless USB Device: Found scroll wheel(s)
[  1068.956] (--) evdev: HOLTEK Wireless USB Device: Found relative axes
[  1068.956] (--) evdev: HOLTEK Wireless USB Device: Found x and y relative axes
[  1068.956] (--) evdev: HOLTEK Wireless USB Device: Found keys
[  1068.956] (II) evdev: HOLTEK Wireless USB Device: Configuring as mouse
[  1068.956] (II) evdev: HOLTEK Wireless USB Device: Configuring as keyboard
[  1068.956] (II) evdev: HOLTEK Wireless USB Device: Adding scrollwheel support
[  1068.956] (**) evdev: HOLTEK Wireless USB Device: YAxisMapping: buttons 4 and 5
[  1068.956] (**) evdev: HOLTEK Wireless USB Device: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  1068.956] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.2/usb5/5-1/5-1:1.1/input/input17/event6"
[  1068.956] (II) XINPUT: Adding extended input device "HOLTEK Wireless USB Device" (type: KEYBOARD, id 11)
[  1068.956] (**) Option "xkb_rules" "evdev"
[  1068.956] (**) Option "xkb_model" "pc105"
[  1068.956] (**) Option "xkb_layout" "it"
[  1068.957] (II) evdev: HOLTEK Wireless USB Device: initialized for relative axes.
[  1068.957] (**) HOLTEK Wireless USB Device: (accel) keeping acceleration scheme 1
[  1068.957] (**) HOLTEK Wireless USB Device: (accel) acceleration profile 0
[  1068.957] (**) HOLTEK Wireless USB Device: (accel) acceleration factor: 2.000
[  1068.957] (**) HOLTEK Wireless USB Device: (accel) acceleration threshold: 4
[  1068.958] (II) config/udev: Adding input device HOLTEK Wireless USB Device (/dev/input/mouse1)
[  1068.958] (II) No input driver specified, ignoring this device.
[  1068.958] (II) This device may have been added with another device file.
[  1068.960] (II) config/udev: Adding input device HOLTEK Wireless USB Device (/dev/input/event5)
[  1068.960] (**) HOLTEK Wireless USB Device: Applying InputClass "evdev keyboard catchall"
[  1068.960] (II) Using input driver 'evdev' for 'HOLTEK Wireless USB Device'
[  1068.960] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  1068.960] (**) HOLTEK Wireless USB Device: always reports core events
[  1068.960] (**) evdev: HOLTEK Wireless USB Device: Device: "/dev/input/event5"
[  1068.960] (--) evdev: HOLTEK Wireless USB Device: Vendor 0x4d9 Product 0xa01c
[  1068.960] (--) evdev: HOLTEK Wireless USB Device: Found keys
[  1068.960] (II) evdev: HOLTEK Wireless USB Device: Configuring as keyboard
[  1068.961] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.2/usb5/5-1/5-1:1.0/input/input16/event5"
[  1068.961] (II) XINPUT: Adding extended input device "HOLTEK Wireless USB Device" (type: KEYBOARD, id 12)
[  1068.961] (**) Option "xkb_rules" "evdev"
[  1068.961] (**) Option "xkb_model" "pc105"
[  1068.961] (**) Option "xkb_layout" "it"

I'm working now to understand how to configure XBMC without lirc, and what this would imply.

Thanks again!
Reference URL's