From: Florian D. <fd...@de...> - 2006-06-27 18:48:32
|
Hi there, I was just trying to record the codes for a Microsoft MCE keyboard. I tried it several times. Depending on which buttons I press, irrecord either suggests RC6, but then fails at finding the toggle bit or has problems finding gap settings. Could it be RCMM? Is there any support for it, yet? If not, I would try adding some support into lirc, since I need this keyboard running. Regards, Florian |
From: Florian D. <fd...@de...> - 2006-06-28 16:54:34
Attachments:
mce.tar.bz2
|
Hi there, I just recorded and analyzed some MCE key strokes. The media key 'prev' or |< seems to follow the RC6 basics found on http://www.xs4all.nl/~sbp/knowledge/ir/rc6.htm with the exception, that it seems to be mode 6 and 32 data bits follow after the trailer bit (toggle bit -- which does not seem to toggle). I put some analysis results in the file 'prev.w'. Some keys like the ESC-key do not follow the RC6 rules nor the (full) RC-MM rules found on the page mentioned. I will record other keys and try to analyze the results. Find also attached some other recorded key strokes in raw output format from 'mode2'. Regards, Florian Florian Demski schrieb: >Hi there, > >I was just trying to record the codes for a Microsoft MCE keyboard. I >tried it several times. Depending on which buttons I press, irrecord >either suggests RC6, but then fails at finding the toggle bit or has >problems finding gap settings. Could it be RCMM? Is there any support >for it, yet? If not, I would try adding some support into lirc, since I >need this keyboard running. > >Regards, > >Florian > >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > |
From: Florian D. <fd...@de...> - 2006-06-28 19:20:03
Attachments:
mcd.tar.bz2
|
Hi there, I just finished analyzing (at least) the media keys. I did this with a 'normal' MS remote 1039. Here are the results: I splitted the results of mode2 into 400 µs blocks and then decoded using RC6 info on the before mentioned site. Take a look at the file attached. It also contains some perl scripts I used. A few values: 0: [LS]1110[TR0]10000000000011110000010000000000 1: [LS]1110[TR0]10000000000011110000010000000001 2: [LS]1110[TR0]10000000000011111000010000000010 A regular RC6 timing is used. I will now start comparing the result of the keyboard's (1044) media section with the info I extracted and then start to analyze the 'normal' keyboard keys. Any info would be appreciated. Maybe someone feels to generate a lirc config file from the info in the file attached. Regards, Florian Florian Demski schrieb: >Hi there, > >I just recorded and analyzed some MCE key strokes. The media key 'prev' >or |< seems to follow the RC6 basics found on >http://www.xs4all.nl/~sbp/knowledge/ir/rc6.htm with the exception, that >it seems to be mode 6 and 32 data bits follow after the trailer bit >(toggle bit -- which does not seem to toggle). I put some analysis >results in the file 'prev.w'. Some keys like the ESC-key do not follow >the RC6 rules nor the (full) RC-MM rules found on the page mentioned. I >will record other keys and try to analyze the results. Find also >attached some other recorded key strokes in raw output format from 'mode2'. > >Regards, > >Florian > > >Florian Demski schrieb: > > > >>Hi there, >> >>I was just trying to record the codes for a Microsoft MCE keyboard. I >>tried it several times. Depending on which buttons I press, irrecord >>either suggests RC6, but then fails at finding the toggle bit or has >>problems finding gap settings. Could it be RCMM? Is there any support >>for it, yet? If not, I would try adding some support into lirc, since I >>need this keyboard running. >> >>Regards, >> >>Florian >> >>Using Tomcat but need to do more? Need to support web services, security? >>Get stuff done quickly with pre-integrated technology to make your job easier >>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> >> >> >> > > > >------------------------------------------------------------------------ > >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > |
From: Florian D. <fd...@de...> - 2006-06-29 18:55:43
Attachments:
mced.c
|
Hi there, finally I could analyze all keys and got a quite stable decoder based on mode2.c. The keyboard uses for the keyboard keys a modified RC5 algorithm with a RC6 like sync and a time base of ~ 300 µs. After the sync, 37 bits are transferred. The last 8 bits contain a state mask (i.e. which shift, alt, whatever key is pressed with the key). The 8 bits before contain the key code following the USB HID standard (as the state mask). http://www.usb.org/developers/devclass_docs/Hut1_12.pdf The other bits still make no sense to me. For the media keys, a RC6 is used with a time base of ~ 444 µs in mode 6 with a lot of bits. The last 8 bits represent the key pressed. I will work out the mouse and mouse button functionalities later. Attached you will find the source code for showing the keys (as said based on mode2.c). I received a modified lirc_mceusb2.c from Martin Blatter, which is very useful, since it adds some more space patterns. Nevertheless, my program also works with the release 0.8.0 version. After adding mouse support, the next step would be daemonizing the software and let it emulate keystrokes and mouse moves. Feel free to modify the software and add missing pieces. Regards, Florian Florian Demski schrieb: >Hi there, > >I just finished analyzing (at least) the media keys. I did this with a >'normal' MS remote 1039. Here are the results: > >I splitted the results of mode2 into 400 µs blocks and then decoded >using RC6 info on the before mentioned site. Take a look at the file >attached. It also contains some perl scripts I used. > >A few values: >0: [LS]1110[TR0]10000000000011110000010000000000 >1: [LS]1110[TR0]10000000000011110000010000000001 >2: [LS]1110[TR0]10000000000011111000010000000010 > >A regular RC6 timing is used. > >I will now start comparing the result of the keyboard's (1044) media >section with the info I extracted and then start to analyze the 'normal' >keyboard keys. > >Any info would be appreciated. Maybe someone feels to generate a lirc >config file from the info in the file attached. > >Regards, > >Florian > >Florian Demski schrieb: > > > >>Hi there, >> >>I just recorded and analyzed some MCE key strokes. The media key 'prev' >>or |< seems to follow the RC6 basics found on >>http://www.xs4all.nl/~sbp/knowledge/ir/rc6.htm with the exception, that >>it seems to be mode 6 and 32 data bits follow after the trailer bit >>(toggle bit -- which does not seem to toggle). I put some analysis >>results in the file 'prev.w'. Some keys like the ESC-key do not follow >>the RC6 rules nor the (full) RC-MM rules found on the page mentioned. I >>will record other keys and try to analyze the results. Find also >>attached some other recorded key strokes in raw output format from 'mode2'. >> >>Regards, >> >>Florian >> >> >>Florian Demski schrieb: >> >> >> >> >> >>>Hi there, >>> >>>I was just trying to record the codes for a Microsoft MCE keyboard. I >>>tried it several times. Depending on which buttons I press, irrecord >>>either suggests RC6, but then fails at finding the toggle bit or has >>>problems finding gap settings. Could it be RCMM? Is there any support >>>for it, yet? If not, I would try adding some support into lirc, since I >>>need this keyboard running. >>> >>>Regards, >>> >>>Florian >>> >>>Using Tomcat but need to do more? Need to support web services, security? >>>Get stuff done quickly with pre-integrated technology to make your job easier >>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> >>> >>> >>> >>> >>> >> >> >>------------------------------------------------------------------------ >> >>Using Tomcat but need to do more? Need to support web services, security? >>Get stuff done quickly with pre-integrated technology to make your job easier >>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> >> >> >> > > > >------------------------------------------------------------------------ > >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > |
From: Maciek K. <ma...@ph...> - 2006-06-29 19:09:48
|
* Florian Demski <fd...@de...> [060629 15:05]: > Hi there, >=20 > finally I could analyze all keys and got a quite stable decoder based on > mode2.c. Florian, thats some pretty good (and damn quick) work there :) |
From: <li...@ba...> - 2006-06-29 01:44:55
|
Hi! Florian Demski "fd...@de..." wrote: > I was just trying to record the codes for a Microsoft MCE keyboard. I > tried it several times. Depending on which buttons I press, irrecord > either suggests RC6, but then fails at finding the toggle bit or has > problems finding gap settings. Could it be RCMM? Is there any support > for it, yet? If not, I would try adding some support into lirc, since I > need this keyboard running. It currently is not supported, because it requires a change to lircd to make it work. It's on my todo list already and I will implement it if there is enough demand for it. Christoph |
From: Florian D. <fd...@de...> - 2006-07-01 00:32:24
Attachments:
mod_mce.tar.bz2
|
Hi there, finally, I hacked together a linux kernel module based on lirc_mceusb2 and some stuff from the kernel itself, which is capable of using the MCE keyboard as input device to linux. For now, only keys without modifier work (i.e. no shift, no alt, no whatever). I would be happy, if someone would look over it and try it out. There is some time lag between the typing and the event caused, because the ir handling has to be optimized, but the keystrokes work (even short ones) -- at least on my machine. If this is too off-topic, possibly it will be better to create an own source forge project for this (depending on the amount of feedback). Thanks, Florian Maciek Klimkowski schrieb: >* Florian Demski <fd...@de...> [060629 15:05]: > > >>Hi there, >> >>finally I could analyze all keys and got a quite stable decoder based on >>mode2.c. >> >> > >Florian, thats some pretty good (and damn quick) work there :) > > > |
From: Florian D. <fd...@de...> - 2006-07-01 19:12:00
Attachments:
mod_mce-060701.tar.bz2
|
Here's the second version --- now with faster response and key strokes with shift and alt a.s.o. For now, you could use the MCE keyboard as a full featured keyboard replacement. I have some problems figuring out the 'mouse' --- track stick protocol. Run the module with debug option and take a look at the syslog. I would be very happy, if someone else could also take look into it, since for today and probably tomorrow, I don't feel anymore working at it, since I am only seeing series of 1s and 0s now. The other question is, what to do with the media keys. Does anybody know the usb driver structure in detail? Is there a possibility chaining the output to lirc_mceusb2? I hope, you can help me.... Florian Florian Demski schrieb: >Hi there, > >finally, I hacked together a linux kernel module based on lirc_mceusb2 >and some stuff from the kernel itself, which is capable of using the MCE >keyboard as input device to linux. For now, only keys without modifier >work (i.e. no shift, no alt, no whatever). I would be happy, if someone >would look over it and try it out. > >There is some time lag between the typing and the event caused, because >the ir handling has to be optimized, but the keystrokes work (even short >ones) -- at least on my machine. > >If this is too off-topic, possibly it will be better to create an own >source forge project for this (depending on the amount of feedback). > >Thanks, > >Florian > >Maciek Klimkowski schrieb: > > > >>* Florian Demski <fd...@de...> [060629 15:05]: >> >> >> >> >>>Hi there, >>> >>>finally I could analyze all keys and got a quite stable decoder based on >>>mode2.c. >>> >>> >>> >>> >>Florian, thats some pretty good (and damn quick) work there :) >> >> >> >> >> > > > >------------------------------------------------------------------------ > >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > |
From: Florian D. <fd...@de...> - 2006-07-07 22:06:28
|
This driver is now hosted on it's own source forge page. http://mod-mce.sourceforge.net/ Possibly a driver capable of using other lirc-compatible receivers will follow. Regards, Florian Florian Demski schrieb: >Here's the second version --- now with faster response and key strokes >with shift and alt a.s.o. > >For now, you could use the MCE keyboard as a full featured keyboard >replacement. > >I have some problems figuring out the 'mouse' --- track stick protocol. >Run the module with debug option and take a look at the syslog. I would >be very happy, if someone else could also take look into it, since for >today and probably tomorrow, I don't feel anymore working at it, since I >am only seeing series of 1s and 0s now. > >The other question is, what to do with the media keys. Does anybody know >the usb driver structure in detail? Is there a possibility chaining the >output to lirc_mceusb2? > >I hope, you can help me.... > >Florian > > > >Florian Demski schrieb: > > > >>Hi there, >> >>finally, I hacked together a linux kernel module based on lirc_mceusb2 >>and some stuff from the kernel itself, which is capable of using the MCE >>keyboard as input device to linux. For now, only keys without modifier >>work (i.e. no shift, no alt, no whatever). I would be happy, if someone >>would look over it and try it out. >> >>There is some time lag between the typing and the event caused, because >>the ir handling has to be optimized, but the keystrokes work (even short >>ones) -- at least on my machine. >> >>If this is too off-topic, possibly it will be better to create an own >>source forge project for this (depending on the amount of feedback). >> >>Thanks, >> >>Florian >> >>Maciek Klimkowski schrieb: >> >> >> >> >> >>>* Florian Demski <fd...@de...> [060629 15:05]: >>> >>> >>> >>> >>> >>> >>>>Hi there, >>>> >>>>finally I could analyze all keys and got a quite stable decoder based on >>>>mode2.c. >>>> >>>> >>>> >>>> >>>> >>>> >>>Florian, thats some pretty good (and damn quick) work there :) >>> >>> >>> >>> >>> >>> >>> >> >> >>------------------------------------------------------------------------ >> >>Using Tomcat but need to do more? Need to support web services, security? >>Get stuff done quickly with pre-integrated technology to make your job easier >>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> >> >> >> > > > |