More detailed information -
Linux mythbox 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:27:26 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
I get the following output in my syslog when I start lirc:
- Code: Select All Code
Dec 9 17:48:53 mythbox lircd-0.9.0[4581]: lircd(devinput) ready, using /var/run/lirc/lircd
Dec 9 17:48:54 mythbox lircd-0.9.0[4581]: accepted new client on /var/run/lirc/lircd
Dec 9 17:48:54 mythbox lircd-0.9.0[4581]: initializing '/dev/input/tbs-ir'
There is similar lirc logging when I stop lirc, but there is no other lirc related logging, e.g. nothing when I press RC buttons. I have also temporarily introduced errors into my lircd.conf file, to see if the logs showed anything: they show an error and specify the line on which the error occurs. The fact that there is no such log output without the artificial error shows that the config file I'm using is error-free. This does not mean that there are no problems with the config file, but the fact that at least two other people on this forum have used it successfully makes me confident that my problems don't come from the lircd.conf or hardware.conf file.
lspci output for cx23885
- Code: Select All Code
02:00.0 Multimedia video controller [0400]: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder [14f1:8852] (rev 04)
Subsystem: Device [6981:8888]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 4 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at fd800000 (64-bit, non-prefetchable) [size=2M]
Capabilities: [40] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <2us, L1 <4us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [90] Vital Product Data
Product Name: "
End
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
AERCap: First Error Pointer: 14, GenCap- CGenEn- ChkCap- ChkEn-
Capabilities: [200 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed+ WRR32+ WRR64+ WRR128-
Ctrl: ArbSelect=WRR64
Status: InProgress-
Port Arbitration Table [240] <?>
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Kernel driver in use: cx23885
Kernel modules: cx23885
I have loaded the cx23885 and cx25480 modules as follows, to add debug info to the logs:
modprobe cx25840 ir_debug=2 debug=2
modprobe cx23885 ir_input_debug=2 irq_debug=7 debug=7Logs showing cx23885/cx25480 module response to remote control buttons being pressed -
- Code: Select All Code
Dec 9 16:39:08 mythbox kernel: [ 8397.182218] cx23885[0]/0: pci_status: 0x08300000 pci_mask: 0x08000000
Dec 9 16:39:08 mythbox kernel: [ 8397.182228] cx23885[0]/0: vida_status: 0x00000000 vida_mask: 0x00000000 count: 0x0
Dec 9 16:39:08 mythbox kernel: [ 8397.182235] cx23885[0]/0: ts1_status: 0x00000000 ts1_mask: 0x00000000 count: 0x0
Dec 9 16:39:08 mythbox kernel: [ 8397.182241] cx23885[0]/0: ts2_status: 0x00000000 ts2_mask: 0x00000000 count: 0x0
Dec 9 16:39:08 mythbox kernel: [ 8397.182247] cx23885[0]/0: (PCI_MSK_AV_CORE 0x08000000)
Dec 9 16:39:08 mythbox kernel: [ 8397.182398] cx25840 16-0044: AV Core IRQ status (entry): ir
Dec 9 16:39:08 mythbox kernel: [ 8397.182625] cx25840 16-0044: AV Core ir IRQ status: 0x21 disables: 0x20
Dec 9 16:39:08 mythbox kernel: [ 8397.183314] cx25840 16-0044: IR IRQ Status: tsr rto
Dec 9 16:39:08 mythbox kernel: [ 8397.183320] cx25840 16-0044: IR IRQ Enables: rse rte roe
Dec 9 16:39:08 mythbox kernel: [ 8397.183983] cx25840 16-0044: rx read: end of rx
Dec 9 16:39:08 mythbox kernel: [ 8397.183988] cx25840 16-0044: rx read: 9709000 ns space
Dec 9 16:39:08 mythbox kernel: [ 8397.184247] cx25840 16-0044: AV Core audio IRQ status: 0x80 disables: 0xff
Dec 9 16:39:08 mythbox kernel: [ 8397.184493] cx25840 16-0044: AV Core audio MC IRQ status: 0x2000 enables: 0x0000
Dec 9 16:39:08 mythbox kernel: [ 8397.184908] cx25840 16-0044: AV Core video IR
Dec 9 16:39:08 mythbox kernel: [ 8397.185024] cx25840 16-0044: AV Core IRQ status (exit):
That kind of logging happens for each button press, regardless of whether or not lirc is running. The difference is that with lirc running, the machine does NOT get keyboard input when buttons on the remote are pressed. Also note
irw shows no response to RC button presses, indicating that
/var/run/lirc/lircd is not receiving any input.
So it seems that the cx23885 and cx25840 modules are handling the IR reception and are being blocked from sending the keystrokes to the system when lirc is running, and/or cx23885 and cx25840 are preventing IR input being sent to lirc.
My questions remain:
Can I configure how cx23885/cx25840 handles IR input? If so, how?
Do I need to stop cx23885/cx25840 from handling IR reception before lirc will work correctly? Is this possible?
Do the latest TBS drivers break LIRC again? (Seems unlikely, doubt I'd be the first to complain).
If anyone from TBS is reading I can provide more information as required.