Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - birdlayegg

1
USB Infrared Toy / IR Toy Can't record signals
Hi, may i know what is the problem of my IR toy? I cant record new signal, previously it is working. Suddenly it cant detect any IR signal and keep stop at

"PRESS RETURN now to start recording. "

Please help me , my submission  of fyp coming soon.
2
USB Infrared Toy / Re: Cant Record Signal From Remote
Thank you so much. I have done the PPA but I dont know how to patch the file and where to patch it? Please teach me as well, I'm totally new in linux.
pacth file name:
0001-Add-driver-for-USB-Infrared-Toy-in-sample-mode.patch
0002-Add-USB-Infrared-Toy-driver-to-setup-system.patch

Code: [Select]
ble@ble-K43SJ:~$ sudo add-apt-repository ppa:forage/lirc

Result:
Code: [Select]
 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
3
USB Infrared Toy / Re: Can't get it to work on Xubuntu 14.04
Okay, really sorry about that. I'm newbie in this ubuntu and others. Hope you understand. I had post a new threat hope you may help me to solve it as well. I already try my best to search online but still cant figure it.

Thanks in advance
4
USB Infrared Toy / Cant Record Signal From Remote
Hi,

I have successfully upgrade my IRtoy firmware but when i want to record my remote it cant work.
May i know what is the problem? I follow all the instruction in this wiki http://http://dangerousprototypes.com/docs/USB_IR_Toy:_Configure_LIRC#Copy_that_file_to_the_.2Fetc.2Flirc.2Flircd.conf_location
Code: [Select]
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.

Result:
Code: [Select]
irrecord: gap not found, can't continue



I really need your help. Thank you so much.
5
USB Infrared Toy / Re: Can't get it to work on Xubuntu 14.04
Did anything change after you updated the firmware?
Yes, Here is the result

Code: [Select]
U2IO flash erasing: DONE.
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.
    Did you try the Mythbuntu 10.4 way as suggested earlier and did it change anything?
Yes, I already did it but still cant record anything. It still show
Code: [Select]
irrecord: gap not found, can't continue

    Please supply to output of the commands you are executing and don't work
Code: [Select]
irrecord -n -H irman -d /dev/ttyUSB0 Remote001.conf

    Please supply the contents of /var/log/syslog after you tried the commands
Code: [Select]
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]
7
USB Infrared Toy / Re: Can't get it to work on Xubuntu 14.04
ble@ble-K43SJ:~/IRToy-fw_update$ sudo ./fw_update -e -w -v -m all -vid 0x04D8 -pid 0xFD0B -ix ../USBIRToy.v22.hex
U2IO flash erasing: DONE.
U2IO id programming: DONE.
U2IO eeprom programming: DONE.
Failed to open file "../USBIRToy.v22.hex"  for reading.
Operation aborted.

May i know this consider Done upgrade??
9
USB Infrared Toy / Re: Can't get it to work on Xubuntu 14.04
I try to update but it cant work may i know what is the problem? Here is the code:
ble@ble-K43SJ:~$ wget http://jesshaas.com/software/IRToy-fw_update.tar.gz
--2014-08-02 21:34:39--  http://jesshaas.com/software/IRToy-fw_update.tar.gz
Resolving jesshaas.com (jesshaas.com)... 72.167.232.77
Connecting to jesshaas.com (jesshaas.com)|72.167.232.77|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 376632 (368K) [application/x-tar]
Saving to: ‘IRToy-fw_update.tar.gz.3’

100%[======================================>] 376,632      115KB/s  in 3.2s 

2014-08-02 21:34:54 (115 KB/s) - ‘IRToy-fw_update.tar.gz.3’ saved [376632/376632]

ble@ble-K43SJ:~$ tar xf IRToy-fw_update.tar.gz
ble@ble-K43SJ:~$ cd IRToy-fw_update
ble@ble-K43SJ:~/IRToy-fw_update$ LIBS=-lusb ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether the C++ compiler works... no
configure: error: in `/home/ble/IRToy-fw_update':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
ble@ble-K43SJ:~/IRToy-fw_update$ make
make: *** No targets specified and no makefile found.  Stop.
10
USB Infrared Toy / Re: Can't get it to work on Xubuntu 14.04
1)
ble@ble-K43SJ:~$    groups
ble adm dialout cdrom sudo dip plugdev lpadmin sambashare
2)
[41897.442455] type=1400 audit(1406763447.381:65): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=4340 comm="apparmor_parser"
[41897.442467] type=1400 audit(1406763447.381:66): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=4340 comm="apparmor_parser"
[41897.443242] type=1400 audit(1406763447.381:67): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=4340 comm="apparmor_parser"
[51916.418436] perf samples too long (2506 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
[99660.489321] usb 2-1.3: USB disconnect, device number 6
[99662.481341] usb 2-1.3: new full-speed USB device number 7 using ehci-pci
[99662.577640] usb 2-1.3: New USB device found, idVendor=04d8, idProduct=fd08
[99662.577653] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[99662.577659] usb 2-1.3: Product: USBIRtoy (CDC-232)
[99662.577664] usb 2-1.3: Manufacturer: DangerousPrototypes.com
[99662.578302] cdc_acm 2-1.3:1.0: This device cannot do calls on its own. It is not a modem.
[99662.578346] cdc_acm 2-1.3:1.0: ttyACM0: USB ACM device

3)
ble@ble-K43SJ:~$ lsusb
Bus 002 Device 007: ID 04d8:fd08 Microchip Technology, Inc.
Bus 002 Device 003: ID 045e:075c Microsoft Corp.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Bus 001 Device 004: ID 058f:a014 Alcor Micro Corp. Asus Integrated Webcam
Bus 001 Device 006: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

ble@ble-K43SJ:~$ ls -lah /dev/tty*
crw-rw-rw- 1 root tty      5,  0 Jul  30 23:36 /dev/tty
crw--w---- 1 root tty      4,  0 Jul  30 19:59 /dev/tty0
crw-rw---- 1 root tty      4,  1 Jul  30 19:59 /dev/tty1
crw--w---- 1 root tty      4, 10 Jul  30 19:59 /dev/tty10
crw--w---- 1 root tty      4, 11 Jul  30 19:59 /dev/tty11
crw--w---- 1 root tty      4, 12 Jul  30 19:59 /dev/tty12
crw--w---- 1 root tty      4, 13 Jul  30 19:59 /dev/tty13
crw--w---- 1 root tty      4, 14 Jul  30 19:59 /dev/tty14
crw--w---- 1 root tty      4, 15 Jul  30 19:59 /dev/tty15
crw--w---- 1 root tty      4, 16 Jul  30 19:59 /dev/tty16
crw--w---- 1 root tty      4, 17 Jul  30 19:59 /dev/tty17
crw--w---- 1 root tty      4, 18 Jul  30 19:59 /dev/tty18
crw--w---- 1 root tty      4, 19 Jul  30 19:59 /dev/tty19
crw-rw---- 1 root tty      4,  2 Jul  30 19:59 /dev/tty2
crw--w---- 1 root tty      4, 20 Jul  30 19:59 /dev/tty20
crw--w---- 1 root tty      4, 21 Jul  30 19:59 /dev/tty21
crw--w---- 1 root tty      4, 22 Jul  30 19:59 /dev/tty22
crw--w---- 1 root tty      4, 23 Jul  30 19:59 /dev/tty23
crw--w---- 1 root tty      4, 24 Jul  30 19:59 /dev/tty24
crw--w---- 1 root tty      4, 25 Jul  30 19:59 /dev/tty25
crw--w---- 1 root tty      4, 26 Jul  30 19:59 /dev/tty26
crw--w---- 1 root tty      4, 27 Jul  30 19:59 /dev/tty27
crw--w---- 1 root tty      4, 28 Jul  30 19:59 /dev/tty28
crw--w---- 1 root tty      4, 29 Jul  30 19:59 /dev/tty29
crw-rw---- 1 root tty      4,  3 Jul  30 19:59 /dev/tty3
crw--w---- 1 root tty      4, 30 Jul  30 19:59 /dev/tty30
crw--w---- 1 root tty      4, 31 Jul  30 19:59 /dev/tty31
crw--w---- 1 root tty      4, 32 Jul  30 19:59 /dev/tty32
crw--w---- 1 root tty      4, 33 Jul  30 19:59 /dev/tty33
crw--w---- 1 root tty      4, 34 Jul  30 19:59 /dev/tty34
crw--w---- 1 root tty      4, 35 Jul  30 19:59 /dev/tty35
crw--w---- 1 root tty      4, 36 Jul  30 19:59 /dev/tty36
crw--w---- 1 root tty      4, 37 Jul  30 19:59 /dev/tty37
crw--w---- 1 root tty      4, 38 Jul  30 19:59 /dev/tty38
crw--w---- 1 root tty      4, 39 Jul  30 19:59 /dev/tty39
crw-rw---- 1 root tty      4,  4 Jul  30 19:59 /dev/tty4
crw--w---- 1 root tty      4, 40 Jul  30 19:59 /dev/tty40
crw--w---- 1 root tty      4, 41 Jul  30 19:59 /dev/tty41
crw--w---- 1 root tty      4, 42 Jul  30 19:59 /dev/tty42
crw--w---- 1 root tty      4, 43 Jul  30 19:59 /dev/tty43
crw--w---- 1 root tty      4, 44 Jul  30 19:59 /dev/tty44
crw--w---- 1 root tty      4, 45 Jul  30 19:59 /dev/tty45
crw--w---- 1 root tty      4, 46 Jul  30 19:59 /dev/tty46
crw--w---- 1 root tty      4, 47 Jul  30 19:59 /dev/tty47
crw--w---- 1 root tty      4, 48 Jul  30 19:59 /dev/tty48
crw--w---- 1 root tty      4, 49 Jul  30 19:59 /dev/tty49
crw-rw---- 1 root tty      4,  5 Jul  30 19:59 /dev/tty5
crw--w---- 1 root tty      4, 50 Jul  30 19:59 /dev/tty50
crw--w---- 1 root tty      4, 51 Jul  30 19:59 /dev/tty51
crw--w---- 1 root tty      4, 52 Jul  30 19:59 /dev/tty52
crw--w---- 1 root tty      4, 53 Jul  30 19:59 /dev/tty53
crw--w---- 1 root tty      4, 54 Jul  30 19:59 /dev/tty54
crw--w---- 1 root tty      4, 55 Jul  30 19:59 /dev/tty55
crw--w---- 1 root tty      4, 56 Jul  30 19:59 /dev/tty56
crw--w---- 1 root tty      4, 57 Jul  30 19:59 /dev/tty57
crw--w---- 1 root tty      4, 58 Jul  30 19:59 /dev/tty58
crw--w---- 1 root tty      4, 59 Jul  30 19:59 /dev/tty59
crw-rw---- 1 root tty      4,  6 Jul  30 19:59 /dev/tty6
crw--w---- 1 root tty      4, 60 Jul  30 19:59 /dev/tty60
crw--w---- 1 root tty      4, 61 Jul  30 19:59 /dev/tty61
crw--w---- 1 root tty      4, 62 Jul  30 19:59 /dev/tty62
crw--w---- 1 root tty      4, 63 Jul  30 19:59 /dev/tty63
crw--w---- 1 root tty      4,  7 Jul  30 19:59 /dev/tty7
crw--w---- 1 root tty      4,  8 Jul  30 19:59 /dev/tty8
crw--w---- 1 root tty      4,  9 Jul  30 19:59 /dev/tty9
crw-rw---- 1 root dialout 166,  0 Jul  31 23:39 /dev/ttyACM0
crw------- 1 root root      5,  3 Jul  30 19:59 /dev/ttyprintk
crw-rw---- 1 root dialout  4, 64 Jul  30 19:59 /dev/ttyS0
crw-rw---- 1 root dialout  4, 65 Jul  30 19:59 /dev/ttyS1
crw-rw---- 1 root dialout  4, 74 Jul  30 19:59 /dev/ttyS10
crw-rw---- 1 root dialout  4, 75 Jul  30 19:59 /dev/ttyS11
crw-rw---- 1 root dialout  4, 76 Jul  30 19:59 /dev/ttyS12
crw-rw---- 1 root dialout  4, 77 Jul  30 19:59 /dev/ttyS13
crw-rw---- 1 root dialout  4, 78 Jul  30 19:59 /dev/ttyS14
crw-rw---- 1 root dialout  4, 79 Jul  30 19:59 /dev/ttyS15
crw-rw---- 1 root dialout  4, 80 Jul  30 19:59 /dev/ttyS16
crw-rw---- 1 root dialout  4, 81 Jul  30 19:59 /dev/ttyS17
crw-rw---- 1 root dialout  4, 82 Jul  30 19:59 /dev/ttyS18
crw-rw---- 1 root dialout  4, 83 Jul  30 19:59 /dev/ttyS19
crw-rw---- 1 root dialout  4, 66 Jul  30 19:59 /dev/ttyS2
crw-rw---- 1 root dialout  4, 84 Jul  30 19:59 /dev/ttyS20
crw-rw---- 1 root dialout  4, 85 Jul  30 19:59 /dev/ttyS21
crw-rw---- 1 root dialout  4, 86 Jul  30 19:59 /dev/ttyS22
crw-rw---- 1 root dialout  4, 87 Jul  30 19:59 /dev/ttyS23
crw-rw---- 1 root dialout  4, 88 Jul  30 19:59 /dev/ttyS24
crw-rw---- 1 root dialout  4, 89 Jul  30 19:59 /dev/ttyS25
crw-rw---- 1 root dialout  4, 90 Jul  30 19:59 /dev/ttyS26
crw-rw---- 1 root dialout  4, 91 Jul  30 19:59 /dev/ttyS27
crw-rw---- 1 root dialout  4, 92 Jul  30 19:59 /dev/ttyS28
crw-rw---- 1 root dialout  4, 93 Jul  30 19:59 /dev/ttyS29
crw-rw---- 1 root dialout  4, 67 Jul  30 19:59 /dev/ttyS3
crw-rw---- 1 root dialout  4, 94 Jul  30 19:59 /dev/ttyS30
crw-rw---- 1 root dialout  4, 95 Jul  30 19:59 /dev/ttyS31
crw-rw---- 1 root dialout  4, 68 Jul  30 19:59 /dev/ttyS4
crw-rw---- 1 root dialout  4, 69 Jul  30 19:59 /dev/ttyS5
crw-rw---- 1 root dialout  4, 70 Jul  30 19:59 /dev/ttyS6
crw-rw---- 1 root dialout  4, 71 Jul  30 19:59 /dev/ttyS7
crw-rw---- 1 root dialout  4, 72 Jul  30 19:59 /dev/ttyS8
crw-rw---- 1 root dialout  4, 73 Jul  30 19:59 /dev/ttyS9

Here is the output of the commands.
11
USB Infrared Toy / Re: Can't get it to work on Xubuntu 14.04
Okay, I already do it but i still cant record it. Here is the msg.

ble@ble-K43SJ:~$    sudo killall -9 lircd
[sudo] password for ble:
ble@ble-K43SJ:~$ sudo service lirc stop
find: `/sys/class/rc/*/': No such file or directory
 * Stopping remote control daemon(s): LIRC                              [ OK ]
ble@ble-K43SJ:~$ irrecord -n -H irman -d /dev/ttyACM0 RemoteXXX.conf

irrecord -  application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

irrecord: could not open /dev/ttyACM0
irrecord: irman_init(): Connection timed out
irrecord: could not init hardware (lircd running ? --> close it, check permissions)

May i know what is the problem?
12
USB Infrared Toy / Re: Can't get it to work on Xubuntu 14.04
I already install it using this code
Code: [Select]
$ sudo apt-get install lirc

and it show:
lirc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 330 not upgraded.

Or i need to start the service first?
i try to   

ble@ble-K43SJ:~$ sudo service lirc start
 * Loading LIRC modules                                                  [ OK ]
find: `/sys/class/rc/*/': No such file or directory
 * Starting remote control daemon(s) :  lircd: there seems to already be a lircd process with pid 993
lircd: otherwise delete stale lockfile /var/run/lirc/lircd.pid                                                                    [fail]
14
USB Infrared Toy / Re: Can't get it to work on Xubuntu 14.04
HI, I'm having a same issue as well and I'm new to ubuntu. Please teach/guide how to solve this issue.

i already keep trying but still cant stop the licd service. I really dont have any idea what to do right now.

Thank you so much.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01652488384session_write_close ( )...(null):0
20.01682619984ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01682620760Database_MySQL->query( ).../DatabaseHandler.php:119
40.05902759504Database_MySQL->error( ).../Db-mysql.class.php:273