Hi all, here is more information. I really hope somene can help me...
I have a Windows media center remote which works well for reception, I can control MythTv with it. But I can't make the IR blaster transmit.
I am following
https://help.ubuntu.com/community/Lirc_USB-UIRT step by step but this just doesn't work...
I do "dmesg | grep -i usb" and it returns the following
ariel@newmega:~$ dmesg | grep -i usb
[ 2.117887] usbcore: registered new interface driver usbfs
[ 2.117909] usbcore: registered new interface driver hub
[ 2.117934] usbcore: registered new device driver usb
[ 2.119522] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.527078] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1
[ 4.584259] usb usb1: configuration #1 chosen from 1 choice
[ 4.584372] hub 1-0:1.0: USB hub found
[ 4.688792] ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 2
[ 4.748270] usb usb2: configuration #1 chosen from 1 choice
[ 4.748399] hub 2-0:1.0: USB hub found
[ 4.956484] ohci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 3
[ 5.016208] usb usb3: configuration #1 chosen from 1 choice
[ 5.016353] hub 3-0:1.0: USB hub found
[ 5.092019] usb 2-1: new full speed USB device using ohci_hcd and address 2
[ 5.120438] ohci_hcd 0000:00:13.3: new USB bus registered, assigned bus number 4
[ 5.180264] usb usb4: configuration #1 chosen from 1 choice
[ 5.180432] hub 4-0:1.0: USB hub found
[ 5.258372] usb 2-1: configuration #1 chosen from 1 choice
[ 5.260220] hub 2-1:1.0: USB hub found
[ 5.284772] ohci_hcd 0000:00:13.4: new USB bus registered, assigned bus number 5
[ 5.344332] usb usb5: configuration #1 chosen from 1 choice
[ 5.344531] hub 5-0:1.0: USB hub found
[ 5.448679] ehci_hcd 0000:00:13.5: new USB bus registered, assigned bus number 6
[ 5.448703] ehci_hcd 0000:00:13.5: applying AMD SB600/SB700 USB freeze workaround
[ 5.460013] ehci_hcd 0000:00:13.5: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 5.460084] usb usb6: configuration #1 chosen from 1 choice
[ 5.460105] hub 6-0:1.0: USB hub found
[ 5.616022] usb 2-1: USB disconnect, address 2
[ 6.224532] usb 2-1: new full speed USB device using ohci_hcd and address 3
[ 6.391154] usb 2-1: configuration #1 chosen from 1 choice
[ 6.393095] hub 2-1:1.0: USB hub found
[ 6.888022] usb 2-2: new low speed USB device using ohci_hcd and address 4
[ 7.064159] usb 2-2: configuration #1 chosen from 1 choice
[ 7.142057] usb 2-1.1: new full speed USB device using ohci_hcd and address 5
[ 7.257210] usb 2-1.1: configuration #1 chosen from 1 choice
[ 7.338054] usb 2-1.3: new full speed USB device using ohci_hcd and address 6
[ 7.444157] usb 2-1.3: configuration #1 chosen from 1 choice
[ 13.965646] usbcore: registered new interface driver hiddev
[ 13.974319] input: HOLTEK Wireless Keyboard/Mouse(2.4G) as /devices/pci0000:00/0000:00:13.1/usb2/2-2/2-2:1.0/input/input3
[ 14.000630] input,hidraw0: USB HID v1.10 Keyboard [HOLTEK Wireless Keyboard/Mouse(2.4G)] on usb-0000:00:13.1-2
[ 14.010472] input: HOLTEK Wireless Keyboard/Mouse(2.4G) as /devices/pci0000:00/0000:00:13.1/usb2/2-2/2-2:1.1/input/input4
[ 14.064666] input,hidraw1: USB HID v1.10 Mouse [HOLTEK Wireless Keyboard/Mouse(2.4G)] on usb-0000:00:13.1-2
[ 14.064688] usbcore: registered new interface driver usbhid
[ 14.064700] usbhid: v2.6:USB HID core driver
[ 14.169148] usbcore: registered new interface driver usbserial
[ 14.169160] usbserial: USB Serial support registered for generic
[ 14.169187] usbcore: registered new interface driver usbserial_generic
[ 14.169189] usbserial: USB Serial Driver core
[ 14.314273] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 14.890107] ftdi_sio 2-1.3:1.0: FTDI USB Serial Device converter detected
[ 14.890330] usb 2-1.3: FTDI USB Serial Device converter now attached to ttyUSB0
[ 14.890348] usbcore: registered new interface driver ftdi_sio
[ 14.890351] ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
[ 14.890363] usbcore: registered new interface driver lirc_mceusb
[ 14.890366] lirc_mceusb: USB Microsoft IR Transceiver Driver v0.2
[ 111.878514] type=1503 audit(1234467047.778:5): operation="inode_permission" requested_mask="w::" denied_mask="w::" fsuid=0 name="/dev/ttyUSB0" pid=6768 profile="/usr/sbin/cupsd"
I dont like the looks of the last line.
This is my hardware.conf
ariel@newmega:~$ more /etc/lirc/hardware.conf
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="None"
REMOTE_MODULES="lirc_dev lirc_mceusb2"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="Custom"
TRANSMITTER_MODULES=""
TRANSMITTER_DEVICE="/dev/lirc0"
TRANSMITTER_LIRCD_ARGS="-d /dev/ttyUSB0"
#Try to load appropriate kernel modules
LOAD_MODULES="false"
TRANSMITTER_DRIVER="uirt2_raw"
TRANSMITTER_LIRCD_CONF="/usr/share/lirc/transmitters"
START_LIRCD="true"
START_LIRCMD=""
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="true"
I start LIRCD:
ariel@newmega:~$ sudo /etc/init.d/lirc start
* Starting remote control daemon(s) : LIRC [ OK ]
this is my lircd.conf:
#Configuration for the Windows Media Center Remotes (new version Philips et al.) remote:
include /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb
#Configuration for the None transmitter:
include /usr/share/lirc/transmitters/pioneer/general.conf
my general.conf:
begin remote
name TWC_UR4-P360
bits 22
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 3337 3378
one 820 2540
zero 820 817
ptrail 820
gap 100786
toggle_bit 0
frequency 56000
begin codes
POWER 0x37C107
GUIDE 0x36C127
MENU 0x36F920
INFO 0x36213B
UP 0x36812F
DOWN 0x37A10B
LEFT 0x37810F
RIGHT 0x364137
SELECT 0x366133
PAGEUP 0x36D924
PAGEDOWN 0x37D904
HELP 0x376912
SETTINGS 0x373918
EXIT 0x366932
A 0x37E902
B 0x36193C
C 0x37191C
LAST 0x36E123
FAV 0x37F101
DAYMINUS 0x0E163D
DAYPLUS 0x0FE603
CHUP 0x377111
CHDOWN 0x36F121
1 0x36113D
2 0x37111D
3 0x36912D
4 0x37910D
5 0x365135
6 0x375115
7 0x36D125
8 0x37D105
9 0x363139
0 0x373119
ENTER 0x363139
REW 0x37291A
PLAY 0x37990C
FF 0x36293A
REC 0x375914
STOP 0x365934
PAUSE 0x374117
end codes
end remote
then i try too use irsend:
ariel@newmega:~$ irsend SEND_ONCE TWC_UR4-P360 1
irsend: command failed: SEND_ONCE TWC_UR4-P360 1
irsend: hardware does not support sending
What gives? Anyone?
Thanks in advance!!
Ariel