Dear visitor, welcome to Dreamboard. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="dreambox front panel" P: Phys= H: Handlers=kbd event0 B: EV=100003 B: KEY=100000 0 0 0 I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="dreambox remote control (native)" P: Phys= H: Handlers=event1 B: EV=40100003 B: KEY=108fc312 2000041 0 0 0 0 8000 40b8 c01 1e1680 7bb80 0 ffc I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="dreambox advanced remote control (native)" P: Phys= H: Handlers=event2 B: EV=40100003 B: KEY=108fc312 2000041 0 0 0 0 8000 40b8 c01 1e1680 7bb80 0 ffc I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="dreambox ir keyboard" P: Phys= H: Handlers=kbd event3 B: EV=100003 B: KEY=fc312 2000041 0 0 0 0 18000 1a8 c0100c01 809ed690 800017 3f7fffff fffffffe I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="dreambox ir mouse" P: Phys= H: Handlers=event4 B: EV=7 B: KEY=30000 0 0 0 0 0 0 0 0 B: REL=3 |
|
|
Source code |
1 |
find /dev/usb |
Quoted
I have an Auvisio remote that uses this chip, too.
It looks like the HID driver grabs the device so you get the behaviour of a... HID device.
|
|
Source code |
1 |
cat /proc/bus/usb/devices |

Quoted
These remotes register themselves as two HID devices, a keyboard and a mouse. Some keys it sends as keyboard, some as mouse. So first you need to find out which devices it will use:
This post has been edited 1 times, last edit by "Homey" (Jan 16th 2009, 8:54pm)
|
|
Source code |
1 2 3 4 |
root@dm800:~# find /dev/usb /dev/usb /dev/usb/hid root@dm800:~# |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-5.1-brcmstb-dm800 ohci_hcd S: Product=BRCM OHCI S: SerialNumber=ohci-brcm C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 26/900 us ( 3%), #Int= 2, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-5.1-brcmstb-dm800 ohci_hcd S: Product=BRCM OHCI S: SerialNumber=ohci-brcm C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=1.5 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=05a4 ProdID=9881 Rev= 1.10 C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid E: Ad=82(I) Atr=03(Int.) MxPS= 5 Ivl=10ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-5.1-brcmstb-dm800 ehci_hcd S: Product=BRCM EHCI S: SerialNumber=ehci-brcm C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0411 ProdID=0098 Rev=40.00 S: Manufacturer=BUFFALO S: Product=USB Flash Disk S: SerialNumber=B005000000125736 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=31875us T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-5.1-brcmstb-dm800 ohci_hcd S: Product=BRCM OHCI S: SerialNumber=ohci-brcm C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 26/900 us ( 3%), #Int= 2, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-5.1-brcmstb-dm800 ohci_hcd S: Product=BRCM OHCI S: SerialNumber=ohci-brcm C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 4 Spd=1.5 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=05a4 ProdID=9881 Rev= 1.10 C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid E: Ad=82(I) Atr=03(Int.) MxPS= 5 Ivl=10ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-5.1-brcmstb-dm800 ehci_hcd S: Product=BRCM EHCI S: SerialNumber=ehci-brcm C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0411 ProdID=0098 Rev=40.00 S: Manufacturer=BUFFALO S: Product=USB Flash Disk S: SerialNumber=B005000000125736 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=31875us |
Quoted
These remotes register themselves as two HID devices, a keyboard and a mouse. Some keys it sends as keyboard, some as mouse. So first you need to find out which devices it will use:
Quoted
Geht nicht wenn Maus Tastatur Treiber NICHT geladen sind nur mit! Wie schon vermutet das Teil wird als Maus/Tastatur erkannt.. wie im Windows auch HiHi
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
root@dm800:~# cat /proc/bus/input/devices I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="dreambox front panel" P: Phys= H: Handlers=kbd event0 B: EV=100003 B: KEY=100000 0 0 0 I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="dreambox remote control (native)" P: Phys= H: Handlers=event1 B: EV=40100003 B: KEY=108fc312 2000041 0 0 0 0 8000 40b8 c01 1e1680 7bb80 0 ffc I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="dreambox advanced remote control (native)" P: Phys= H: Handlers=event2 B: EV=40100003 B: KEY=108fc312 2000041 0 0 0 0 8000 40b8 c01 1e1680 7bb80 0 ffc I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="dreambox ir keyboard" P: Phys= H: Handlers=kbd event3 B: EV=100003 B: KEY=fc312 2000041 0 0 0 0 18000 1a8 c0100c01 809ed690 800017 3f7fffff fffffffe I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="dreambox ir mouse" P: Phys= H: Handlers=event4 B: EV=7 B: KEY=30000 0 0 0 0 0 0 0 0 B: REL=3 I: Bus=0003 Vendor=05a4 Product=9881 Version=0110 N: Name="05a4:9881" P: Phys=usb-ohci-brcm-2/input0 H: Handlers=kbd event7 B: EV=120003 B: KEY=e080ffdf 1cfffff ffffffff fffffffe B: LED=7 I: Bus=0003 Vendor=05a4 Product=9881 Version=0110 N: Name="05a4:9881" P: Phys=usb-ohci-brcm-2/input1 H: Handlers=kbd event8 B: EV=7 B: KEY=1f000f 0 20000 3878 d801d101 1e0000 0 0 0 B: REL=103 root@dm800:~# |

This post has been edited 2 times, last edit by "Homey" (Jan 16th 2009, 9:16pm)

|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
cd: "end" "remote" lircd: end remote lircd: config file read lircd: lircd(devinput) ready lircd: registering local client lircd: accepted new client on /dev/lircd lircd: initializing '/dev/input/event7' lircd: devinput_rec lircd: time 1232137153.011512 type 1 code 28 value 1 lircd: code 8001001c lircd: trying "mceusb" remote lircd: devinput_decode lircd: failed "mceusb" remote lircd: decoding failed for all remotes lircd: devinput_rec lircd: time 1232137153.011536 type 0 code 0 value 0 lircd: code 00000000 lircd: devinput_rec lircd: time 1232137153.067485 type 1 code 28 value 0 lircd: code 0001001c lircd: trying "mceusb" remote lircd: devinput_decode lircd: failed "mceusb" remote lircd: decoding failed for all remotes lircd: devinput_rec lircd: time 1232137153.067509 type 0 code 0 value 0 lircd: code 00000000 |
Eventuell lief lircd noch als du probierst hast die datei auszutauschen?
Quoted
lircd: time 1232137153.011512 type 1 code 28 value 1
This post has been edited 3 times, last edit by "Homey" (Jan 16th 2009, 9:32pm)
Quoted
initializing '/dev/input/event5'
lircd: devinput_rec
lircd: time 1232137639.337278 type 1 code 28 value 1
lircd: code 8001001c
lircd: trying "Auvisio_VRC-1100_Ro" remote
lircd: devinput_decode
lircd: failed "Auvisio_VRC-1100_Ro" remote
lircd: decoding failed for all remotes
lircd: devinput_rec
lircd: time 1232137639.337306 type 0 code 0 value 0
lircd: code 00000000
lircd: devinput_rec
lircd: time 1232137639.377257 type 1 code 28 value 0
lircd: code 0001001c
lircd: trying "Auvisio_VRC-1100_Ro" remote
lircd: devinput_decode
lircd: failed "Auvisio_VRC-1100_Ro" remote
lircd: decoding failed for all remotes
lircd: devinput_rec
lircd: time 1232137639.377281 type 0 code 0 value 0
lircd: code 00000000
lircd: devinput_rec
lircd: time 1232137640.369274 type 1 code 28 value 1
lircd: code 8001001c
lircd: trying "Auvisio_VRC-1100_Ro" remote
lircd: devinput_decode
lircd: failed "Auvisio_VRC-1100_Ro" remote
lircd: decoding failed for all remotes
lircd: devinput_rec
lircd: time 1232137640.369298 type 0 code 0 value 0
lircd: code 00000000
lircd: devinput_rec
lircd: time 1232137640.409238 type 1 code 28 value 0
lircd: code 0001001c
lircd: trying "Auvisio_VRC-1100_Ro" remote
lircd: devinput_decode
lircd: failed "Auvisio_VRC-1100_Ro" remote
lircd: decoding failed for all remotes
lircd: devinput_rec
lircd: time 1232137640.409262 type 0 code 0 value 0
lircd: code 00000000
lircd: devinput_rec
lircd: time 1232137641.329267 type 1 code 103 value 1
lircd: code 80010067
lircd: trying "Auvisio_VRC-1100_Ro" remote
lircd: devinput_decode
lircd: failed "Auvisio_VRC-1100_Ro" remote
lircd: decoding failed for all remotes
lircd: devinput_rec
lircd: time 1232137641.329296 type 0 code 0 value 0
lircd: code 00000000
lircd: devinput_rec
lircd: time 1232137641.578782 type 1 code 103 value 2
lircd: code 80010067
lircd: trying "Auvisio_VRC-1100_Ro" remote
lircd: devinput_decode
lircd: failed "Auvisio_VRC-1100_Ro" remote
lircd: decoding failed for all remotes
lircd: devinput_rec
lircd: time 1232137641.578798 type 0 code 0 value 0
lircd: code 00000000
lircd: devinput_rec
lircd: time 1232137641.601246 type 1 code 103 value 0
lircd: code 00010067
lircd: trying "Auvisio_VRC-1100_Ro" remote
lircd: devinput_decode
lircd: failed "Auvisio_VRC-1100_Ro" remote
lircd: decoding failed for all remotes
lircd: devinput_rec
lircd: time 1232137641.601267 type 0 code 0 value 0
lircd: code 00000000
lircd: devinput_rec
lircd: time 1232137642.129261 type 1 code 108 value 1
lircd: code 8001006c
lircd: trying "Auvisio_VRC-1100_Ro" remote
lircd: devinput_decode
lircd: failed "Auvisio_VRC-1100_Ro" remote
lircd: decoding failed for all remotes
lircd: devinput_rec
lircd: time 1232137642.129286 type 0 code 0 value 0
lircd: code 00000000
lircd: devinput_rec
lircd: time 1232137642.329240 type 1 code 108 value 0
lircd: code 0001006c
lircd: trying "Auvisio_VRC-1100_Ro" remote

Quoted
PS: hier bei LIRC gibts auch nen programm zum config files erstellen, hat bei mir aber nie funktioniert! :-)
Kommt halt auch nach usr/sbin und dann in telnet mit "irrecord --device=/dev/input/event7 /tmp/meine_neue_config.conf" starten ...

|
|
Source code |
1 |
cat /proc/bus/input/devices |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
I: Bus=0003 Vendor=6253 Product=0100 Version=0100 N: Name="Twinhan Tech Remote Control" P: Phys=usb-ohci-brcm-2/input0 H: Handlers=kbd event5 B: EV=120003 B: KEY=800000 0 e0b0ffdf 1cfffff ffffffff fffffffe B: LED=1f I: Bus=0003 Vendor=6253 Product=0100 Version=0100 N: Name="Twinhan Tech Remote Control" P: Phys=usb-ohci-brcm-2/input1 H: Handlers=event6 B: EV=7 B: KEY=70000 0 0 0 0 0 0 0 0 B: REL=3 |
|
|
Source code |
1 |
lircd -n -D5 --device=/dev/input/event5 |
|
|
Source code |
1 2 3 4 5 6 |
lircd: end codes lircd: "end" "remote" lircd: end remote lircd: WARNING: you should specify a valid gap value lircd: config file read lircd: lircd(devinput) ready |
|
|
Source code |
1 2 3 |
root@dm800:~# irw Unknown RC Command: 0000000000010002 00 key1 TwinHan |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
lircd: devinput_rec lircd: time 1232181820.786416 type 1 code 2 value 1 lircd: code 80010002 lircd: trying "TwinHan" remote lircd: devinput_decode lircd: pre: 0 lircd: code: 80010002 lircd: post: 0 lircd: code: 0000000080010002 lircd: failed "TwinHan" remote lircd: decoding failed for all remotes lircd: devinput_rec lircd: time 1232181820.786444 type 0 code 0 value 0 lircd: code 00000000 lircd: devinput_rec lircd: time 1232181820.802397 type 1 code 2 value 0 lircd: code 00010002 lircd: trying "TwinHan" remote lircd: devinput_decode lircd: pre: 0 lircd: code: 10002 lircd: post: 0 lircd: code: 0000000000010002 lircd: found: key1 lircd: writing to client 0 lircd: devinput_rec lircd: time 1232181820.802432 type 0 code 0 value 0 lircd: code 00000000 |
|
|
Source code |
1 2 3 |
root@dm800:~# irw RC Command KEY1 RC Command KEY2 |
This post has been edited 4 times, last edit by "warrior700" (Jan 17th 2009, 12:32pm)
This post has been edited 2 times, last edit by "Homey" (Jan 17th 2009, 2:02pm)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
#!/bin/sh case "$1" in start) echo "[SCRIPT] $1: LIRC Daemon" /usr/sbin/lircd --device=/dev/input/event5 sleep 2 /usr/sbin/irw & ;; stop) echo "[SCRIPT] $1: LIRC Daemon" killall -9 lircd irw 2>/dev/null ;; *) $0 stop exit 0 ;; esac exit 0 |
|
|
Source code |
1 2 |
/usr/sbin/lircd --device=/dev/input/event5 /usr/sbin/irw & |
|
|
Source code |
1 |
ln -sfn /usr/script/lircd.sh /etc/rc3.d/S99lircd.sh |
1 guests