[mythtv-users] TiVo Slide Remote, Linux and Scan Codes

mike kluz mikekluz at optonline.net
Sat Sep 11 20:50:37 UTC 2010


Okay, sounds like I'm on the right path!

Here is where I am at.

cat /proc/bus/input/devices

I think it is this is the TiVo one because it has "HID"

I: Bus=0003 Vendor=0a5c Product=4503 Version=0111
N: Name="HID 0a5c:4503"
P: Phys=usb-0000:00:06.0-1.2/input0
S: 
Sysfs=/devices/pci0000:00/0000:00:06.0/usb4/4-1/4-1.2/4-1.2:1.0/input/input3
U: Uniq=
H: Handlers=mouse1 event3
B: EV=17
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3
B: MSC=10


dmesg | grep usb

usbcore: registered new interface driver btusb
[    3.208334] usbcore: registered new interface driver hiddev
[    3.229594] generic-usb: probe of 0003:150A:1201.0001 failed with 
error -22
[    3.237348] input: HID 0a5c:4503 as 
/devices/pci0000:00/0000:00:06.0/usb4/4-1/4-1.2/4-1.2:1.0/input/input3
[    3.239566] generic-usb 0003:0A5C:4503.0002: input,hidraw0: USB HID 
v1.11 Mouse [HID 0a5c:4503] on usb-0000:00:06.0-1.2/input0
[    3.239704] usbcore: registered new interface driver usbhid
[    3.240320] usbhid: v2.6:USB HID core driver
[   34.608466] input: TiVo Keyboard Remote as 
/devices/pci0000:00/0000:00:06.0/usb4/4-1/4-1.3/4-1.3:1.0/bluetooth/hci1/hci1:11/input5
[  353.302913] input: TiVo Keyboard Remote as 
/devices/pci0000:00/0000:00:06.0/usb4/4-1/4-1.3/4-1.3:1.0/bluetooth/hci1/hci1:12/input6
[14724.870245] input: TiVo Keyboard Remote as 
/devices/pci0000:00/0000:00:06.0/usb4/4-1/4-1.3/4-1.3:1.0/bluetooth/hci1/hci1:11/input7


ls -l /dev/input/by-path/
total 0
lrwxrwxrwx 1 root root 9 2010-09-11 12:19 
pci-0000:00:06.0-usb-0:1.2:1.0-event-mouse -> ../event3
lrwxrwxrwx 1 root root 9 2010-09-11 12:19 
pci-0000:00:06.0-usb-0:1.2:1.0-mouse -> ../mouse1

Which one is it?  event3?


cat /etc/lirc/hardware.conf
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="TiVo Slide"
REMOTE_MODULES=""
REMOTE_DRIVER="devinput"
 
REMOTE_DEVICE="/dev/input/by-path/pci-0000:00:06.0-usb-0:1.2:1.0-event-mouse"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="/etc/lirc/lircd.conf"
REMOTE_LIRCD_ARGS=""

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""


For the lircd.conf, I found this generic config file here 
http://lirc.sourceforge.net/remotes/devinput/lircd.conf.devinput

After starting the lircd, I have this.

ls -l /dev/lirc*
lrwxrwxrwx 1 root root 19 2010-09-11 16:22 /dev/lircd -> 
/var/run/lirc/lircd

I think I'm really close, but not sure what I missed.

Thanks,
Mike


On Sat, Sep 11, 2010 at 4:20 PM, Wayne Thomas wrote:

>> I tried searching and my best guess is setting up Lirc with devinput?
>
> Got it in one!
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


More information about the mythtv-users mailing list