1
USB Infrared Toy / IR Toy Can't record signals
"PRESS RETURN now to start recording. "
Please help me , my submission of fyp coming soon.
Open Source Hardware
This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.
ble@ble-K43SJ:~$ sudo add-apt-repository ppa:forage/lirc
LIRC with added driver for the Dangerous Prototypes USB Infrared Toy, providing full receive/transmit support compared to using the IRman LIRC driver.
NOTE: Requires firmware v20 or higher!
Example usage:
irrecord -n --driver usb_irtoy --device /dev/ttyACM0 RemoteXXX.conf
Driver patch applied: http://sourceforge.net/p/lirc/mailman/message/28032156/
For more information: http://dangerousprototypes.com/docs/USB_Infrared_Toy
More info: https://launchpad.net/~forage/+archive/ubuntu/lirc
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmprud82ld_/secring.gpg' created
gpg: keyring `/tmp/tmprud82ld_/pubring.gpg' created
gpg: requesting key 56D26B9B from hkp server keyserver.ubuntu.com
gpg: /tmp/tmprud82ld_/trustdb.gpg: trustdb created
gpg: key 56D26B9B: public key "Launchpad PPA for Forage" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
ble@ble-K43SJ:~$ irrecord -n -H irman -d /dev/ttyUSB0 Remote1.conf
irrecord - application for recording IR-codes for usage with lirc
Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)
This program will record the signals from your remote control
and create a config file for lircd.
A proper config file for lircd is maybe the most vital part of this
package, so you should invest some time to create a working config
file. Although I put a good deal of effort in this program it is often
not possible to automatically recognize all features of a remote
control. Often short-comings of the receiver hardware make it nearly
impossible. If you have problems to create a config file READ THE
DOCUMENTATION of this package, especially section "Adding new remote
controls" for how to get help.
If there already is a remote control of the same brand available at
http://www.lirc.org/remotes/ you might also want to try using such a
remote as a template. The config files already contain all
parameters of the protocol used by remotes of a certain brand and
knowing these parameters makes the job of this program much
easier. There are also template files for the most common protocols
available in the remotes/generic/ directory of the source
distribution of this package. You can use a template files by
providing the path of the file as command line parameter.
Please send the finished config files to <lirc@bartelmus.de> so that I
can make them available to others. Don't forget to put all information
that you can get about the remote control in the header of the file.
Press RETURN to continue.
Hold down an arbitrary button.
irrecord: gap not found, can't continue
U2IO flash erasing: DONE.Did you try the Mythbuntu 10.4 way as suggested earlier and did it change anything?
U2IO id programming: DONE.
U2IO eeprom programming: DONE.
U2IO flash programming: DONE.
U2IO id programming: DONE.
U2IO eeprom programming: DONE.
U2IO flash verifying: DONE.
U2IO id verifying: DONE.
U2IO eeprom verifying: DONE.
RESET Device
Operation successfully completed.
irrecord: gap not found, can't continue
irrecord -n -H irman -d /dev/ttyUSB0 Remote001.conf
Aug 26 20:29:50 ble-K43SJ anacron[886]: Job `cron.daily' terminated
Aug 26 20:29:50 ble-K43SJ anacron[886]: Normal exit (1 job run)
Aug 26 21:11:09 ble-K43SJ wpa_supplicant[786]: message repeated 29 times: [ wlan0: CTRL-EVENT-SCAN-STARTED ]
Aug 26 21:12:38 ble-K43SJ wpa_supplicant[786]: wlan0: WPA: Group rekeying completed with 34:08:04:c8:32:64 [GTK=TKIP]
Aug 26 21:13:09 ble-K43SJ wpa_supplicant[786]: wlan0: CTRL-EVENT-SCAN-STARTED
Aug 26 21:17:01 ble-K43SJ CRON[2728]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Aug 26 21:56:15 ble-K43SJ kernel: [ 6647.055288] usb 2-1.3: new full-speed USB device number 4 using ehci-pci
Aug 26 21:56:15 ble-K43SJ kernel: [ 6647.150606] usb 2-1.3: New USB device found, idVendor=04d8, idProduct=fd0b
Aug 26 21:56:15 ble-K43SJ kernel: [ 6647.150618] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 26 21:56:15 ble-K43SJ kernel: [ 6647.150625] usb 2-1.3: Product: Diolan
Aug 26 21:56:15 ble-K43SJ kernel: [ 6647.150630] usb 2-1.3: Manufacturer: Diolan
Aug 26 21:56:15 ble-K43SJ kernel: [ 6647.152649] hid-generic 0003:04D8:FD0B.0002: hidraw1: USB HID v1.01 Device [Diolan Diolan] on usb-0000:00:1d.0-1.3/input0
Aug 26 21:56:15 ble-K43SJ mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3"
Aug 26 21:56:15 ble-K43SJ mtp-probe: bus: 2, device: 4 was not an MTP device
Aug 26 21:56:24 ble-K43SJ dbus[641]: [system] Activating service name='org.freedesktop.hostname1' (using servicehelper)
Aug 26 21:56:24 ble-K43SJ dbus[641]: [system] Successfully activated service 'org.freedesktop.hostname1'
Aug 26 22:00:24 ble-K43SJ kernel: [ 6896.082819] usb 2-1.3: USB disconnect, device number 4
Aug 26 22:00:24 ble-K43SJ kernel: [ 6896.282990] usb 2-1.3: new full-speed USB device number 5 using ehci-pci
Aug 26 22:00:24 ble-K43SJ kernel: [ 6896.377742] usb 2-1.3: New USB device found, idVendor=04d8, idProduct=fd0b
Aug 26 22:00:24 ble-K43SJ kernel: [ 6896.377754] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Aug 26 22:00:24 ble-K43SJ kernel: [ 6896.377761] usb 2-1.3: Product: Diolan
Aug 26 22:00:24 ble-K43SJ kernel: [ 6896.377766] usb 2-1.3: Manufacturer: Diolan
Aug 26 22:00:24 ble-K43SJ kernel: [ 6896.379454] hid-generic 0003:04D8:FD0B.0003: hidraw1: USB HID v1.01 Device [Diolan Diolan] on usb-0000:00:1d.0-1.3/input0
Aug 26 22:00:24 ble-K43SJ mtp-probe: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3"
Aug 26 22:00:24 ble-K43SJ mtp-probe: bus: 2, device: 5 was not an MTP device
Aug 26 22:01:54 ble-K43SJ lircd-0.9.0[1025]: caught signal
Aug 26 22:03:04 ble-K43SJ kernel: [ 7056.427345] usb 2-1.3: USB disconnect, device number 5
Aug 26 22:03:31 ble-K43SJ kernel: [ 7083.519807] usb 2-1.3: new full-speed USB device number 6 using ehci-pci
Aug 26 22:03:31 ble-K43SJ kernel: [ 7083.615248] usb 2-1.3: New USB device found, idVendor=04d8, idProduct=fd08
Aug 26 22:03:31 ble-K43SJ kernel: [ 7083.615260] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 26 22:03:31 ble-K43SJ kernel: [ 7083.615266] usb 2-1.3: Product: CDC Test
Aug 26 22:03:31 ble-K43SJ kernel: [ 7083.615272] usb 2-1.3: Manufacturer: Dangerous Prototypes
Aug 26 22:03:31 ble-K43SJ kernel: [ 7083.615277] usb 2-1.3: SerialNumber: 00000001
Aug 26 22:03:31 ble-K43SJ kernel: [ 7083.615776] usbserial_generic 2-1.3:1.0: Generic device with no bulk out, not allowed.
Aug 26 22:03:31 ble-K43SJ kernel: [ 7083.615797] usbserial_generic: probe of 2-1.3:1.0 failed with error -5
Aug 26 22:03:31 ble-K43SJ kernel: [ 7083.615947] usbserial_generic 2-1.3:1.1: The "generic" usb-serial driver is only for testing and one-off prototypes.
Aug 26 22:03:31 ble-K43SJ kernel: [ 7083.615956] usbserial_generic 2-1.3:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
Aug 26 22:03:31 ble-K43SJ kernel: [ 7083.615963] usbserial_generic 2-1.3:1.1: generic converter detected
Aug 26 22:03:31 ble-K43SJ kernel: [ 7083.617923] usb 2-1.3: generic converter now attached to ttyUSB0
Aug 26 22:03:31 ble-K43SJ mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3"
Aug 26 22:03:31 ble-K43SJ mtp-probe: bus: 2, device: 6 was not an MTP device
Aug 26 22:03:31 ble-K43SJ ModemManager[654]: <warn> (ttyUSB0): port attributes not fully set
Aug 26 22:03:47 ble-K43SJ ModemManager[654]: <info> Creating modem with plugin 'Generic' and '1' ports
Aug 26 22:03:47 ble-K43SJ ModemManager[654]: <warn> Could not grab port (tty/ttyUSB0): 'Cannot add port 'tty/ttyUSB0', unhandled serial type'
Aug 26 22:03:47 ble-K43SJ ModemManager[654]: <warn> Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3': Failed to find primary AT port
Aug 26 22:05:01 ble-K43SJ kernel: [ 7173.227765] usb 2-1.3: USB disconnect, device number 6
Aug 26 22:05:01 ble-K43SJ kernel: [ 7173.228164] generic ttyUSB0: generic converter now disconnected from ttyUSB0
Aug 26 22:05:01 ble-K43SJ kernel: [ 7173.228183] usbserial_generic 2-1.3:1.1: device disconnected
Aug 26 22:05:01 ble-K43SJ ModemManager[654]: <info> (tty/ttyUSB0): released by modem /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3
Aug 26 22:05:06 ble-K43SJ kernel: [ 7178.805101] usb 2-1.3: new full-speed USB device number 7 using ehci-pci
Aug 26 22:05:06 ble-K43SJ kernel: [ 7178.899991] usb 2-1.3: New USB device found, idVendor=04d8, idProduct=fd08
Aug 26 22:05:06 ble-K43SJ kernel: [ 7178.900002] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 26 22:05:06 ble-K43SJ kernel: [ 7178.900009] usb 2-1.3: Product: CDC Test
Aug 26 22:05:06 ble-K43SJ kernel: [ 7178.900014] usb 2-1.3: Manufacturer: Dangerous Prototypes
Aug 26 22:05:06 ble-K43SJ kernel: [ 7178.900019] usb 2-1.3: SerialNumber: 00000001
Aug 26 22:05:06 ble-K43SJ kernel: [ 7178.900555] usbserial_generic 2-1.3:1.0: Generic device with no bulk out, not allowed.
Aug 26 22:05:06 ble-K43SJ kernel: [ 7178.900572] usbserial_generic: probe of 2-1.3:1.0 failed with error -5
Aug 26 22:05:06 ble-K43SJ kernel: [ 7178.900668] usbserial_generic 2-1.3:1.1: The "generic" usb-serial driver is only for testing and one-off prototypes.
Aug 26 22:05:06 ble-K43SJ kernel: [ 7178.900674] usbserial_generic 2-1.3:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
Aug 26 22:05:06 ble-K43SJ kernel: [ 7178.900679] usbserial_generic 2-1.3:1.1: generic converter detected
Aug 26 22:05:06 ble-K43SJ kernel: [ 7178.900856] usb 2-1.3: generic converter now attached to ttyUSB0
Aug 26 22:05:06 ble-K43SJ mtp-probe: checking bus 2, device 7: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3"
Aug 26 22:05:06 ble-K43SJ mtp-probe: bus: 2, device: 7 was not an MTP device
Aug 26 22:05:06 ble-K43SJ ModemManager[654]: <warn> (ttyUSB0): port attributes not fully set
Aug 26 22:05:22 ble-K43SJ ModemManager[654]: <info> Creating modem with plugin 'Generic' and '1' ports
Aug 26 22:05:22 ble-K43SJ ModemManager[654]: <warn> Could not grab port (tty/ttyUSB0): 'Cannot add port 'tty/ttyUSB0', unhandled serial type'
Aug 26 22:05:22 ble-K43SJ ModemManager[654]: <warn> Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3': Failed to find primary AT port
Aug 26 22:05:29 ble-K43SJ kernel: [ 7201.659495] usb 2-1.3: USB disconnect, device number 7
Aug 26 22:05:29 ble-K43SJ kernel: [ 7201.659937] generic ttyUSB0: generic converter now disconnected from ttyUSB0
Aug 26 22:05:29 ble-K43SJ kernel: [ 7201.659968] usbserial_generic 2-1.3:1.1: device disconnected
Aug 26 22:05:29 ble-K43SJ ModemManager[654]: <info> (tty/ttyUSB0): released by modem /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3
Aug 26 22:05:47 ble-K43SJ kernel: [ 7220.044269] usb 2-1.3: new full-speed USB device number 8 using ehci-pci
Aug 26 22:05:48 ble-K43SJ kernel: [ 7220.139562] usb 2-1.3: New USB device found, idVendor=04d8, idProduct=fd08
Aug 26 22:05:48 ble-K43SJ kernel: [ 7220.139574] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 26 22:05:48 ble-K43SJ kernel: [ 7220.139580] usb 2-1.3: Product: CDC Test
Aug 26 22:05:48 ble-K43SJ kernel: [ 7220.139586] usb 2-1.3: Manufacturer: Dangerous Prototypes
Aug 26 22:05:48 ble-K43SJ kernel: [ 7220.139590] usb 2-1.3: SerialNumber: 00000001
Aug 26 22:05:48 ble-K43SJ kernel: [ 7220.140129] usbserial_generic 2-1.3:1.0: Generic device with no bulk out, not allowed.
Aug 26 22:05:48 ble-K43SJ kernel: [ 7220.140151] usbserial_generic: probe of 2-1.3:1.0 failed with error -5
Aug 26 22:05:48 ble-K43SJ kernel: [ 7220.140292] usbserial_generic 2-1.3:1.1: The "generic" usb-serial driver is only for testing and one-off prototypes.
Aug 26 22:05:48 ble-K43SJ kernel: [ 7220.140300] usbserial_generic 2-1.3:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
Aug 26 22:05:48 ble-K43SJ kernel: [ 7220.140314] usbserial_generic 2-1.3:1.1: generic converter detected
Aug 26 22:05:48 ble-K43SJ kernel: [ 7220.140996] usb 2-1.3: generic converter now attached to ttyUSB0
Aug 26 22:05:48 ble-K43SJ mtp-probe: checking bus 2, device 8: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3"
Aug 26 22:05:48 ble-K43SJ mtp-probe: bus: 2, device: 8 was not an MTP device
Aug 26 22:05:48 ble-K43SJ ModemManager[654]: <warn> (ttyUSB0): port attributes not fully set
Aug 26 22:06:03 ble-K43SJ ModemManager[654]: <info> Creating modem with plugin 'Generic' and '1' ports
Aug 26 22:06:03 ble-K43SJ ModemManager[654]: <warn> Could not grab port (tty/ttyUSB0): 'Cannot add port 'tty/ttyUSB0', unhandled serial type'
Aug 26 22:06:03 ble-K43SJ ModemManager[654]: <warn> Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3': Failed to find primary AT port
Aug 26 22:12:00 ble-K43SJ kernel: [ 7592.787290] usb 2-1.3: USB disconnect, device number 8
Aug 26 22:12:00 ble-K43SJ kernel: [ 7592.787693] generic ttyUSB0: generic converter now disconnected from ttyUSB0
Aug 26 22:12:00 ble-K43SJ kernel: [ 7592.787746] usbserial_generic 2-1.3:1.1: device disconnected
Aug 26 22:12:00 ble-K43SJ ModemManager[654]: <info> (tty/ttyUSB0): released by modem /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3
Aug 26 22:12:04 ble-K43SJ kernel: [ 7596.571183] usb 2-1.3: new full-speed USB device number 9 using ehci-pci
Aug 26 22:12:04 ble-K43SJ kernel: [ 7596.666233] usb 2-1.3: New USB device found, idVendor=04d8, idProduct=fd08
Aug 26 22:12:04 ble-K43SJ kernel: [ 7596.666245] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 26 22:12:04 ble-K43SJ kernel: [ 7596.666251] usb 2-1.3: Product: CDC Test
Aug 26 22:12:04 ble-K43SJ kernel: [ 7596.666257] usb 2-1.3: Manufacturer: Dangerous Prototypes
Aug 26 22:12:04 ble-K43SJ kernel: [ 7596.666262] usb 2-1.3: SerialNumber: 00000001
Aug 26 22:12:04 ble-K43SJ kernel: [ 7596.666710] usbserial_generic 2-1.3:1.0: Generic device with no bulk out, not allowed.
Aug 26 22:12:04 ble-K43SJ kernel: [ 7596.666727] usbserial_generic: probe of 2-1.3:1.0 failed with error -5
Aug 26 22:12:04 ble-K43SJ kernel: [ 7596.666821] usbserial_generic 2-1.3:1.1: The "generic" usb-serial driver is only for testing and one-off prototypes.
Aug 26 22:12:04 ble-K43SJ kernel: [ 7596.666827] usbserial_generic 2-1.3:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
Aug 26 22:12:04 ble-K43SJ kernel: [ 7596.666832] usbserial_generic 2-1.3:1.1: generic converter detected
Aug 26 22:12:04 ble-K43SJ kernel: [ 7596.667085] usb 2-1.3: generic converter now attached to ttyUSB0
Aug 26 22:12:04 ble-K43SJ mtp-probe: checking bus 2, device 9: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3"
Aug 26 22:12:04 ble-K43SJ mtp-probe: bus: 2, device: 9 was not an MTP device
Aug 26 22:12:04 ble-K43SJ ModemManager[654]: <warn> (ttyUSB0): port attributes not fully set
Aug 26 22:12:19 ble-K43SJ ModemManager[654]: <info> Creating modem with plugin 'Generic' and '1' ports
Aug 26 22:12:19 ble-K43SJ ModemManager[654]: <warn> Could not grab port (tty/ttyUSB0): 'Cannot add port 'tty/ttyUSB0', unhandled serial type'
Aug 26 22:12:19 ble-K43SJ ModemManager[654]: <warn> Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3': Failed to find primary AT port
Aug 26 22:11:09 ble-K43SJ wpa_supplicant[786]: message repeated 29 times: [ wlan0: CTRL-EVENT-SCAN-STARTED ]
Aug 26 22:12:38 ble-K43SJ wpa_supplicant[786]: wlan0: WPA: Group rekeying completed with 34:08:04:c8:32:64 [GTK=TKIP]
Aug 26 22:13:09 ble-K43SJ wpa_supplicant[786]: wlan0: CTRL-EVENT-SCAN-STARTED
Aug 26 22:17:01 ble-K43SJ CRON[3168]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Aug 26 22:19:30 ble-K43SJ dbus[641]: [system] Activating service name='org.freedesktop.hostname1' (using servicehelper)
Aug 26 22:19:30 ble-K43SJ dbus[641]: [system] Successfully activated service 'org.freedesktop.hostname1'
Aug 26 22:23:43 ble-K43SJ lircd-0.9.0[3282]: lircd(irman) ready, using /run/lirc/lircd
Aug 26 22:23:52 ble-K43SJ lircd-0.9.0[3282]: accepted new client on /run/lirc/lircd
Aug 26 22:24:25 ble-K43SJ lircd-0.9.0[3282]: removed client
Aug 26 22:24:27 ble-K43SJ lircd-0.9.0[3282]: accepted new client on /run/lirc/lircd
Aug 26 22:24:38 ble-K43SJ lircd-0.9.0[3282]: removed client
Aug 26 22:24:54 ble-K43SJ lircd-0.9.0[3282]: accepted new client on /run/lirc/lircd
Aug 26 22:25:04 ble-K43SJ lircd-0.9.0[3282]: removed client
Aug 26 23:11:09 ble-K43SJ wpa_supplicant[786]: message repeated 29 times: [ wlan0: CTRL-EVENT-SCAN-STARTED ]
Aug 26 23:12:38 ble-K43SJ wpa_supplicant[786]: wlan0: WPA: Group rekeying completed with 34:08:04:c8:32:64 [GTK=TKIP]
$ sudo apt-get install lirc