MythTV Wiki on MCE Gyration Remotes
Definately worth a look and some nice work over there,
Here is a bit of what you'll see there....a wiki, that's what we need.http://www.mythtv.org/wiki/index.php...ed_MCE_Remotes
"Dell M2010 Media Center Remote
A Dell-branded Gyration remote with small LCD that can be had with the Dell M2010 system. The remote is p/n WJ151 or RY496. The USB portion is contained on a custom PCB (p/n RH515) which has a non-standard USB pinout. RH515 is no longer available, and instead, a package containing both the remote and a real USB dongle with standard USB pinout can reportedly be ordered via Dell p/n CX071.The unit uses the Cypress CYWUSB6934-48LFXC for RF communications, which is NOT compliant with wireless USB. The microcontroller and USB interface is handled by a CY7C63743-QXC "enCoRe USB" device
. "(PDF) CYWUSB6934-48LFXC - WirelessUSB LS 2.4-GHz DSSS Radio SoC (PDF)http://pdf.chinaicmart.com/CYW/CYWUSB6932.pdfFROM:http://www.chinaicmart.com/pdf/index...&Submit=Search(PDF) CY7C63743 - enCoRe USB Combination Low-Speed USB & PS/2 Peripheral Controllerhttp://pdf.chinaicmart.com/7C6/CY7C63743_1141946.pdfFROM:http://www.chinaicmart.com/pdf/index...&Submit=SearchBlog Reference to CYWUSB6934-48LFXC [wireless USB tx (and rx?)] and the CY7C63743-QXC [enCoRe USB) :
Titled: 'REMOTES' (1/5 DOWN PAGE)DIRECT LINK:http://worth-it.blogspot.com/
Tuesday, March 25, 2008
My MCE remote that came with my PVR-USB2 doesn't seem to be programmable (to have the volume control the television). So I bought the ultra cool M2010 remote off ebay, and ordered the receiver from Dell, per the AVS forum thread (it contains a discrete power supply and two chips: CYWUSB6934-48LFXC [wireless USB tx (and rx?)] and the CY7C63743-QXC [enCoRe USB something or other].
Be sure to keep in mind Bruce Perens instructions.LINK:http://perens.com/works/software/gyration.htmlINSTRUCTIONS:
Using the Gyration Media Center Remote with Linux
The good news is that it should work out of the box, if your system is properly configured. When my system was improperly configured, the keyboard worked properly but the mouse had the horizontal axis appearing as vertical, no horizontal movement, and the buttons caused odd cursor movements.
Make sure the usbmouse and usbkbd modules are not loaded. These drivers are obsolete, and should not be used. Instead, use usbhid. That driver understands HID (human interface device) descriptor data sent by the mouse and configures itself properly
Configure X to use /dev/input/mice as its input device, and set the protocol to "ImPS/2". Then, you should be able to use the wired keyboard and mouse and the Gyration ones together.
Using All Of Those Buttons
Once you've got the basic mouse functions running, it's time to make the buttons work. Install xbindkeys, xbindkeys-config, and xvkbd. On Debian, you can just use apt-get and the packages have the same names as the programs. I haven't tested Red Hat.
Run xbindkeys-config. Press the New and Get Key buttons, then press one of the function buttons on the Gyration mouse or keyboard. The event parameters will be filled in for you, and then you can fill in a command that will be run when you press that button. When you've made commands for all of the buttons, use the Save command to save the file to .xbindkeysrc in your home directory. Then run xbindkeys. This will capture button presses and run the commands in your .xbindkeysrc file.
One useful command is xvkbd -xsendevent -text text-string
This simulates typing any key combination on the keyboard. Read its manual page for details.
If you generate an interesting configuration, send it to bruce at perens.com, I'll put it here for others to download.
# cat /proc/bus/input/devices
# cat /proc/bus/usb/devicesIf I have trouble:
There is a Linux MCE wiki that I've never seen before, which makes mention of the
Fiire-chief and event codes, among other things. LMCE also has a thread on their mailing list, as well and on their forums.
KnoppMyth has a mention of something similar.
There is a thread at Ubuntu forums as well. And another.
And a Ubuntu bug as well
try a google search
or linux usb kernal search or patch, continued here. More patch here.
This may not be easy to resolve
Collect more data. Or hack.
As always, it's been discussed on /., including a post by Bruce hisself.
Or maybe I should just buy the Logitech Harmony remote that everyone raves about. Nawww... that would be cheating.
One thing I noticed is that the remote is recognized as a keyboard rather than a remote. A thread on the linuxmce forum mentions getting Linux to recognize it as a remote by keying on its USB UUID, which allowed someone to use UIRT by way of adding a line in /etc/something/rules.d. Seems like part of the problem might be some keycodes are > 255? Xmodmap is the default way of supporting stuff via the HID driver that is enabled by default. A hack into LIRC might provide access to more keys. The guy that figured out the rules.d aspect is named Adam Pierce. LIRC appears to be the much preferred way because it works across lots of different applications.
I wonder about the other direction. The remote has an LCD screen. Interesting - there is a USB LCD display that you can buy which we might be able to base some of this on. It uses the standard libusb, with a small adder: usblcd. linuxusblcd and lcdproc also exist. There is even Mythlcdserver, which uses lcdproc. Might use a usb bus tracker within windows to see it (the driver) in operation.
Different thread on the same topic: I also have a desire to be able to remotely control a frontend from a remote computer (that is obviously not the front end). Especially mythmusic (or whatever might replace it). So volume control, next song and previous song are the most important. Being able to retrieve the playlist would be a big bonus, although I'd probably be happy with Previous song/artist + current song/artist (and hopefully + next song/artist). There are some people that appear to have done something similar: Myth Web Virtual Remote, iphone remote control, mythetomer, mythRemote, and Remote Remote (for Apple). The mythtv telnet socket wiki page has links to some of these as well. Or maybe I'll just settle for vnc. tkmythremote is new, as is mymote (which is much more than just a simple remote - perhaps what I want for the LCD display??).
posted by Marc Randolph @ 9:05 AM 0 commentsLINK: Linux Wiki :http://wiki.linuxmce.org/index.php/Special:Search?LINK: Linux Post (User feedback & solutions) :http://hardware.slashdot.org/comment...1&cid=11198582