[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
RemotecRemoteControl
Using Remotec Remote Control in Linux Lirc
Remotec BW6130 Multimedia Master has a transmit unit and a USB receiver unit.
Usb ID 0ad1:17f2 Remotec Technology, Ltd
Compiling lirc version 0.8.1 announces no special needed. ("Your hardware does not require a kernel module")
Compiled in gentoo (2.6.20-gentoo-r4): LIRC_DEVICES="bw6130" emerge lirc -v
When the usb is plugged in dmesg says:
usbcore: registered new interface driver hiddev
usbhid 1-3:1.0: usb_probe_interface
usbhid 1-3:1.0: usb_probe_interface - got id
drivers/usb/core/file.c: looking for a minor, starting at 96
hiddev96: USB HID v1.00 Device [Remotec Multimedia Master Receiver] on usb-0000:00:02.2-3
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
and the kernel modules hid, usbhid and ff_memless are autoloaded.
cat /dev/usb/hiddev0 shows characters on the screen that varies when remote buttons are pressed.
If this is a hid it may be used as an input in X-server, no LIRC needed? More of this in page RemotecRemoteControlHid.
Starting lircd with switches
lircd --nodaemon --debug=9
shows:
The dev file /dev/lircd is created when the above command is executed.
Problem: When lircd is started with: lircd --nodaemon --debug=9
Also, when lircd is started with: /etc/init.d/lircd start
and irw program is run
syslog shows:
and:
Solution:
Gentoo linux installation system creates a file /etc/conf.d/lircd
The line LIRCD_OPTS="-d /dev/lirc/0" should be now for Remotec BW6130
LIRCD_OPTS="-d /dev/usb/hiddev0"
After this change LIRC is operational.
irw output is now:
(Gentoo ebuild uses sourceforge lirc-sources. This could be applied to them.)
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
RemotecRemoteControl
Using Remotec Remote Control in Linux Lirc
Remotec BW6130 Multimedia Master has a transmit unit and a USB receiver unit.
Usb ID 0ad1:17f2 Remotec Technology, Ltd
Compiling lirc version 0.8.1 announces no special needed. ("Your hardware does not require a kernel module")
Compiled in gentoo (2.6.20-gentoo-r4): LIRC_DEVICES="bw6130" emerge lirc -v
When the usb is plugged in dmesg says:
usbcore: registered new interface driver hiddev
usbhid 1-3:1.0: usb_probe_interface
usbhid 1-3:1.0: usb_probe_interface - got id
drivers/usb/core/file.c: looking for a minor, starting at 96
hiddev96: USB HID v1.00 Device [Remotec Multimedia Master Receiver] on usb-0000:00:02.2-3
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
and the kernel modules hid, usbhid and ff_memless are autoloaded.
cat /dev/usb/hiddev0 shows characters on the screen that varies when remote buttons are pressed.
If this is a hid it may be used as an input in X-server, no LIRC needed? More of this in page RemotecRemoteControlHid.
Starting lircd with switches
lircd --nodaemon --debug=9
shows:
lircd-0.8.1[3868]: started server socket lircd-0.8.1[3868]: "LIRCD_OPTS="" "-d" lircd-0.8.1[3868]: "begin" "remote" lircd-0.8.1[3868]: parsing remote lircd-0.8.1[3868]: creating first remote lircd-0.8.1[3868]: "name" "MEDIAMASTER" lircd-0.8.1[3868]: parsing MEDIAMASTER remote lircd-0.8.1[3868]: "bits" "32" lircd-0.8.1[3868]: "eps" "0" lircd-0.8.1[3868]: "aeps" "0" lircd-0.8.1[3868]: "one" "0" lircd-0.8.1[3868]: "zero" "0" lircd-0.8.1[3868]: "pre_data_bits" "32" lircd-0.8.1[3868]: "pre_data" "0xFFA10003" lircd-0.8.1[3868]: "gap" "131980" lircd-0.8.1[3868]: "post_data_bits" "0" lircd-0.8.1[3868]: "toggle_bit" "0" lircd-0.8.1[3868]: "begin" "codes" lircd-0.8.1[3868]: begin codes lircd-0.8.1[3868]: "PRE" "0x23" lircd-0.8.1[3868]: PRE 0x0000000000000023 lircd-0.8.1[3868]: "NEXT" "0x24" lircd-0.8.1[3868]: NEXT 0x0000000000000024 lircd-0.8.1[3868]: "1" "0X10" lircd-0.8.1[3868]: 1 0x0000000000000010 lircd-0.8.1[3868]: "2" "0x11" lircd-0.8.1[3868]: 2 0x0000000000000011 lircd-0.8.1[3868]: "3" "0x12" lircd-0.8.1[3868]: 3 0x0000000000000012 lircd-0.8.1[3868]: "POWER" "0x50" lircd-0.8.1[3868]: POWER 0x0000000000000050 lircd-0.8.1[3868]: "VOL+" "0x30" lircd-0.8.1[3868]: VOL+ 0x0000000000000030 lircd-0.8.1[3868]: "VOL-" "0x31" lircd-0.8.1[3868]: VOL- 0x0000000000000031 lircd-0.8.1[3868]: "L" "0x42" lircd-0.8.1[3868]: L 0x0000000000000042 lircd-0.8.1[3868]: "R" "0x44" lircd-0.8.1[3868]: R 0x0000000000000044 lircd-0.8.1[3868]: "PAUSE" "0x22" lircd-0.8.1[3868]: PAUSE 0x0000000000000022 lircd-0.8.1[3868]: "PLAY" "0x20" lircd-0.8.1[3868]: PLAY 0x0000000000000020 lircd-0.8.1[3868]: "STOP" "0x21" lircd-0.8.1[3868]: STOP 0x0000000000000021 lircd-0.8.1[3868]: "MUTE" "0x32" lircd-0.8.1[3868]: MUTE 0x0000000000000032 lircd-0.8.1[3868]: "MOUSE_SLOW_N" "0x95" lircd-0.8.1[3868]: MOUSE_SLOW_N 0x0000000000000095 lircd-0.8.1[3868]: "MOUSE_SLOW_NNE" "0xd1" lircd-0.8.1[3868]: MOUSE_SLOW_NNE 0x00000000000000D1 lircd-0.8.1[3868]: "MOUSE_SLOW_NE" "0xcd" lircd-0.8.1[3868]: MOUSE_SLOW_NE 0x00000000000000CD lircd-0.8.1[3868]: "MOUSE_SLOW_ENE" "0xc9" lircd-0.8.1[3868]: MOUSE_SLOW_ENE 0x00000000000000C9 lircd-0.8.1[3868]: "MOUSE_SLOW_E" "0xc5" lircd-0.8.1[3868]: MOUSE_SLOW_E 0x00000000000000C5 lircd-0.8.1[3868]: "MOUSE_SLOW_ESE" "0xe9" lircd-0.8.1[3868]: MOUSE_SLOW_ESE 0x00000000000000E9 lircd-0.8.1[3868]: "MOUSE_SLOW_SE" "0xed" lircd-0.8.1[3868]: MOUSE_SLOW_SE 0x00000000000000ED lircd-0.8.1[3868]: "MOUSE_SLOW_SSE" "0xf1" lircd-0.8.1[3868]: MOUSE_SLOW_SSE 0x00000000000000F1 lircd-0.8.1[3868]: "MOUSE_SLOW_S" "0xb5" lircd-0.8.1[3868]: MOUSE_SLOW_S 0x00000000000000B5 lircd-0.8.1[3868]: "MOUSE_SLOW_SSW" "0xb1" lircd-0.8.1[3868]: MOUSE_SLOW_SSW 0x00000000000000B1 lircd-0.8.1[3868]: "MOUSE_SLOW_SW" "0xad" lircd-0.8.1[3868]: MOUSE_SLOW_SW 0x00000000000000AD lircd-0.8.1[3868]: "MOUSE_SLOW_WSW" "0xa9" lircd-0.8.1[3868]: MOUSE_SLOW_WSW 0x00000000000000A9 lircd-0.8.1[3868]: "MOUSE_SLOW_W" "0x85" lircd-0.8.1[3868]: MOUSE_SLOW_W 0x0000000000000085 lircd-0.8.1[3868]: "MOUSE_SLOW_WNW" "0x89" lircd-0.8.1[3868]: MOUSE_SLOW_WNW 0x0000000000000089 lircd-0.8.1[3868]: "MOUSE_SLOW_NW" "0x8d" lircd-0.8.1[3868]: MOUSE_SLOW_NW 0x000000000000008D lircd-0.8.1[3868]: "MOUSE_SLOW_NNW" "0x91" lircd-0.8.1[3868]: MOUSE_SLOW_NNW 0x0000000000000091 lircd-0.8.1[3868]: "MOUSE_MEDIUM_N" "0x96" lircd-0.8.1[3868]: MOUSE_MEDIUM_N 0x0000000000000096 lircd-0.8.1[3868]: "MOUSE_MEDIUM_NNE" "0xd2" lircd-0.8.1[3868]: MOUSE_MEDIUM_NNE 0x00000000000000D2 lircd-0.8.1[3868]: "MOUSE_MEDIUM_NE" "0xce" lircd-0.8.1[3868]: MOUSE_MEDIUM_NE 0x00000000000000CE lircd-0.8.1[3868]: "MOUSE_MEDIUM_ENE" "0xca" lircd-0.8.1[3868]: MOUSE_MEDIUM_ENE 0x00000000000000CA lircd-0.8.1[3868]: "MOUSE_MEDIUM_E" "0xc6" lircd-0.8.1[3868]: MOUSE_MEDIUM_E 0x00000000000000C6 lircd-0.8.1[3868]: "MOUSE_MEDIUM_ESE" "0xea" lircd-0.8.1[3868]: MOUSE_MEDIUM_ESE 0x00000000000000EA lircd-0.8.1[3868]: "MOUSE_MEDIUM_SE" "0xee" lircd-0.8.1[3868]: MOUSE_MEDIUM_SE 0x00000000000000EE lircd-0.8.1[3868]: "MOUSE_MEDIUM_SSE" "0xf2" lircd-0.8.1[3868]: MOUSE_MEDIUM_SSE 0x00000000000000F2 lircd-0.8.1[3868]: "MOUSE_MEDIUM_S" "0xb6" lircd-0.8.1[3868]: MOUSE_MEDIUM_S 0x00000000000000B6 lircd-0.8.1[3868]: "MOUSE_MEDIUM_SSW" "0xb2" lircd-0.8.1[3868]: MOUSE_MEDIUM_SSW 0x00000000000000B2 lircd-0.8.1[3868]: "MOUSE_MEDIUM_SW" "0xae" lircd-0.8.1[3868]: MOUSE_MEDIUM_SW 0x00000000000000AE lircd-0.8.1[3868]: "MOUSE_MEDIUM_WSW" "0xaa" lircd-0.8.1[3868]: MOUSE_MEDIUM_WSW 0x00000000000000AA lircd-0.8.1[3868]: "MOUSE_MEDIUM_W" "0x86" lircd-0.8.1[3868]: MOUSE_MEDIUM_W 0x0000000000000086 lircd-0.8.1[3868]: "MOUSE_MEDIUM_WNW" "0x8a" lircd-0.8.1[3868]: MOUSE_MEDIUM_WNW 0x000000000000008A lircd-0.8.1[3868]: "MOUSE_MEDIUM_NW" "0x8e" lircd-0.8.1[3868]: MOUSE_MEDIUM_NW 0x000000000000008E lircd-0.8.1[3868]: "MOUSE_MEDIUM_NNW" "0x92" lircd-0.8.1[3868]: MOUSE_MEDIUM_NNW 0x0000000000000092 lircd-0.8.1[3868]: "MOUSE_FAST_N" "0x97" lircd-0.8.1[3868]: MOUSE_FAST_N 0x0000000000000097 lircd-0.8.1[3868]: "MOUSE_FAST_NNE" "0xd3" lircd-0.8.1[3868]: MOUSE_FAST_NNE 0x00000000000000D3 lircd-0.8.1[3868]: "MOUSE_FAST_NE" "0xcf" lircd-0.8.1[3868]: MOUSE_FAST_NE 0x00000000000000CF lircd-0.8.1[3868]: "MOUSE_FAST_ENE" "0xcb" lircd-0.8.1[3868]: MOUSE_FAST_ENE 0x00000000000000CB lircd-0.8.1[3868]: "MOUSE_FAST_E" "0xc7" lircd-0.8.1[3868]: MOUSE_FAST_E 0x00000000000000C7 lircd-0.8.1[3868]: "MOUSE_FAST_ESE" "0xeb" lircd-0.8.1[3868]: MOUSE_FAST_ESE 0x00000000000000EB lircd-0.8.1[3868]: "MOUSE_FAST_SE" "0xef" lircd-0.8.1[3868]: MOUSE_FAST_SE 0x00000000000000EF lircd-0.8.1[3868]: "MOUSE_FAST_SSE" "0xf3" lircd-0.8.1[3868]: MOUSE_FAST_SSE 0x00000000000000F3 lircd-0.8.1[3868]: "MOUSE_FAST_S" "0xb7" lircd-0.8.1[3868]: MOUSE_FAST_S 0x00000000000000B7 lircd-0.8.1[3868]: "MOUSE_FAST_SSW" "0xb3" lircd-0.8.1[3868]: MOUSE_FAST_SSW 0x00000000000000B3 lircd-0.8.1[3868]: "MOUSE_FAST_SW" "0xaf" lircd-0.8.1[3868]: MOUSE_FAST_SW 0x00000000000000AF lircd-0.8.1[3868]: "MOUSE_FAST_WSW" "0xab" lircd-0.8.1[3868]: MOUSE_FAST_WSW 0x00000000000000AB lircd-0.8.1[3868]: "MOUSE_FAST_W" "0x87" lircd-0.8.1[3868]: MOUSE_FAST_W 0x0000000000000087 lircd-0.8.1[3868]: "MOUSE_FAST_WNW" "0x8b" lircd-0.8.1[3868]: MOUSE_FAST_WNW 0x000000000000008B lircd-0.8.1[3868]: "MOUSE_FAST_NW" "0x8f" lircd-0.8.1[3868]: MOUSE_FAST_NW 0x000000000000008F lircd-0.8.1[3868]: "MOUSE_FAST_NNW" "0x93" lircd-0.8.1[3868]: MOUSE_FAST_NNW 0x0000000000000093 lircd-0.8.1[3868]: "end" "codes" lircd-0.8.1[3868]: end codes lircd-0.8.1[3868]: "end" "remote" lircd-0.8.1[3868]: end remote lircd-0.8.1[3868]: config file read lircd-0.8.1[3868]: lircd(bw6130) ready
The dev file /dev/lircd is created when the above command is executed.
Problem: When lircd is started with: lircd --nodaemon --debug=9
mode2: error opening /dev/lirc/0 mode2: No such file or directory
- mode2
Usage: mode2 [options] -h --help display usage summary -v --version display version -d --device=device read from given device -m --mode enable alternative display mode
- mode2 -h
mode2: error opening /dev/lircd mode2: No such device or address
- mode2 --device=/dev/lircd
Also, when lircd is started with: /etc/init.d/lircd start
and irw program is run
syslog shows:
lircd-0.8.1[11776]: lircd(bw6130) ready lircd-0.8.1[11776]: accepted new client on /dev/lircd lircd-0.8.1[11776]: initializing '/dev/lirc/0' lircd-0.8.1[11776]: unable to open '/dev/lirc/0' lircd-0.8.1[11776]: caught signal
and:
/etc/init.d/lircd status
- status: stopped
Solution:
Gentoo linux installation system creates a file /etc/conf.d/lircd
LIRCD_OPTS="-d /dev/lirc/0"
- Options to pass to the lircd process
The line LIRCD_OPTS="-d /dev/lirc/0" should be now for Remotec BW6130
LIRCD_OPTS="-d /dev/usb/hiddev0"
After this change LIRC is operational.
irw output is now:
ffa1000300000042 00 L MEDIAMASTER ffa1000300000042 01 L MEDIAMASTER ffa1000300000097 00 MOUSE_FAST_N MEDIAMASTER ffa1000300000097 01 MOUSE_FAST_N MEDIAMASTER ffa10003000000c5 00 MOUSE_SLOW_E MEDIAMASTER ffa10003000000c7 00 MOUSE_FAST_E MEDIAMASTER ffa10003000000c7 01 MOUSE_FAST_E MEDIAMASTER ffa10003000000af 00 MOUSE_FAST_SW MEDIAMASTER ffa10003000000af 01 MOUSE_FAST_SW MEDIAMASTER
(Gentoo ebuild uses sourceforge lirc-sources. This could be applied to them.)
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
