View previous topic :: View next topic |
Author |
Message |
maiku l33t


Joined: 24 Mar 2004 Posts: 607 Location: Escaping from NY
|
Posted: Tue Jan 24, 2006 10:19 am Post subject: lirc lirc_sir driver correct? No errors but no signals. |
|
|
I selected the lirc_sir driver based on what the lirc manual said about IrDA devices. I load it up and try it out and when I loaded the driver dmesg said: Quote: | lirc_dev: IR Remote Control driver registered, at major 61
lirc_dev: lirc_register_plugin: sample_rate: 0
lirc_sir: I/O port 0x03e8, IRQ 4.
lirc_sir: Installed. | So, thinking that it worked I started up lircd and it read the proper socket and created /dev/lircd as it should. But then when I tried irw and pointed two of my remotes to the infrared device no input was recorded.
Did I select the wrong driver, or what else could I be doing wrong? It must be a silly mistake, but I really hate to waste hardware that I could be using.
Here is what the documents that came with the computer say about my hardware (not very detailed). Quote: | Infrared Port
Infrared Data Association (IrDA) compliant serial infrared port
enables 4Mbps (FIR mode) wireless data transfer with IrDA
1.1-compatible external devices. |
Quote: | Ports and Connectors
One Microphone-in jack
One Line-in jack
One Headphone / SPDIF jack
One Firewire (IEEE1394) host connector
Three USB2.0-compliant connectors
One standard network Ethernet connector (RJ-45)
One modem / phone connector (RJ11)
One S-video (TV-out) output connector
One DC-in connector
One 25-pin parallel port connector
One 15-pin VGA connector
One SIR/FIR Port
One Card Reader slot (MMC/MS/SD supported)
One PC Card Slot (type II)
One Audio Volume Control Dial | As one can see lspci does not show the infrared device (to my knowledge) Quote: | 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 755 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
00:06.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
00:09.0 CardBus bridge: O2 Micro, Inc. OZ711M1/MC1 4-in-1 MemoryCardBus Controller (rev 20)
00:09.1 CardBus bridge: O2 Micro, Inc. OZ711M1/MC1 4-in-1 MemoryCardBus Controller (rev 20)
00:09.2 System peripheral: O2 Micro, Inc. OZ711Mx 4-in-1 MemoryCardBus Accelerator
00:0b.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
|
_________________ Michael |
|
Back to top |
|
 |
maiku l33t


Joined: 24 Mar 2004 Posts: 607 Location: Escaping from NY
|
Posted: Wed Jan 25, 2006 10:19 am Post subject: |
|
|
Bumpathon _________________ Michael |
|
Back to top |
|
 |
Deadman n00b

Joined: 25 Jan 2006 Posts: 8 Location: France
|
Posted: Wed Jan 25, 2006 12:43 pm Post subject: |
|
|
Is there something in the syslog ?
I think /dev/lircd isn't enough, there should be a /dev/lirc0 too  |
|
Back to top |
|
 |
maiku l33t


Joined: 24 Mar 2004 Posts: 607 Location: Escaping from NY
|
Posted: Wed Jan 25, 2006 11:10 pm Post subject: |
|
|
/dev/lirc/0 is created as expected. What dmesg says is also what it says in /var/log/messages. _________________ Michael |
|
Back to top |
|
 |
Deadman n00b

Joined: 25 Jan 2006 Posts: 8 Location: France
|
Posted: Thu Jan 26, 2006 8:30 am Post subject: |
|
|
More precisely, is there something interesting in the syslog after you start lircd and irw and try your remote ?
I had an entry about irw not finding the proper device... |
|
Back to top |
|
 |
maiku l33t


Joined: 24 Mar 2004 Posts: 607 Location: Escaping from NY
|
Posted: Sat Jan 28, 2006 6:43 pm Post subject: |
|
|
When I press my remote nothing interesting shows up, but it only says Quote: | Jan 28 13:09:36 mike-gentoo-1 lirc_dev: IR Remote Control driver registered, at major 61
Jan 28 13:09:36 mike-gentoo-1 lirc_dev: lirc_register_plugin: sample_rate: 0
Jan 28 13:09:36 mike-gentoo-1 lirc_sir: I/O port 0x03e8, IRQ 4.
Jan 28 13:09:36 mike-gentoo-1 lirc_sir: Installed. |
When I run irw it just says Quote: | Jan 28 13:41:43 mike-gentoo-1 lircd-0.8.0pre3[9429]: accepted new client on /dev/lircd
Jan 28 13:42:11 mike-gentoo-1 lircd-0.8.0pre3[9429]: removed client | It doesn't give me any errors with the lirc_serial drivers either. That is why I am confused as to which driver it could be. Or if there is another driver that I haven't even tried yet! _________________ Michael |
|
Back to top |
|
 |
uprooter n00b

Joined: 06 Mar 2005 Posts: 70
|
Posted: Sat Jan 28, 2006 8:06 pm Post subject: |
|
|
Im having the same problems.
I have a FIR port on my HP-nc6120 laptop.
the lirc_sir is detecting my hardware But I get nothing from irdadump, mode2 or irdarecord.
 |
|
Back to top |
|
 |
maiku l33t


Joined: 24 Mar 2004 Posts: 607 Location: Escaping from NY
|
Posted: Sun Jan 29, 2006 7:19 pm Post subject: |
|
|
What does your syslog say when you plug it in? Can you see your device using lspci? _________________ Michael |
|
Back to top |
|
 |
uprooter n00b

Joined: 06 Mar 2005 Posts: 70
|
Posted: Mon Jan 30, 2006 5:14 am Post subject: |
|
|
I don't "plug it in". it is a built in the laptop.
Im getting the same syslog messages like the ones you posted above.
And I don't see the device with lspci. |
|
Back to top |
|
 |
maiku l33t


Joined: 24 Mar 2004 Posts: 607 Location: Escaping from NY
|
Posted: Mon Jan 30, 2006 7:23 pm Post subject: |
|
|
Have you tried other drivers like lib_serial? _________________ Michael |
|
Back to top |
|
 |
uprooter n00b

Joined: 06 Mar 2005 Posts: 70
|
Posted: Tue Jan 31, 2006 4:16 pm Post subject: |
|
|
I've got the thing working with lirc_sir.
I've specified IRQ=3. for some reason the driver autodetected IRQ 4.
However. I 've found out that My laptop has A SMS FIR which requires the smsc_ircc2 kernel module... |
|
Back to top |
|
 |
maiku l33t


Joined: 24 Mar 2004 Posts: 607 Location: Escaping from NY
|
Posted: Tue Jan 31, 2006 4:32 pm Post subject: |
|
|
Oh, where was that located in the kernel? _________________ Michael |
|
Back to top |
|
 |
uprooter n00b

Joined: 06 Mar 2005 Posts: 70
|
Posted: Tue Jan 31, 2006 5:04 pm Post subject: |
|
|
just
Code: |
modprobe lirc_sir irq=3
|
to see module optios use modinfo <module_name> |
|
Back to top |
|
 |
maiku l33t


Joined: 24 Mar 2004 Posts: 607 Location: Escaping from NY
|
Posted: Tue Jan 31, 2006 10:25 pm Post subject: |
|
|
I tried that, no luck. It says in the bios that the "IR" is on IRQ3, port 2f8, so I compiled lirc with those options. It complained that the device was in use when I used the lirc_sir module and then didn't load the module. Then I tried the lirc_serial driver and it said that the device was in use. But then I set /dev/ttyS1 with the setterm (as described in http://gentoo-wiki.com/HOWTO_LIRC ) and then I was able to load the driver. As soon as I did it said this Quote: | Jan 31 17:11:38 mike-gentoo-1 lirc_serial: auto-detected active high receiver
Jan 31 17:11:38 mike-gentoo-1 lirc_dev: lirc_register_plugin: sample_rate: 0
Jan 31 17:12:03 mike-gentoo-1 lircd-0.8.0pre3[11547]: lircd(serial) ready | But when I tried irw there was no input signs.
Overall it is still not working and I'm still confused. _________________ Michael |
|
Back to top |
|
 |
rob2687 n00b


Joined: 05 Feb 2006 Posts: 27
|
Posted: Fri Oct 23, 2009 2:43 am Post subject: |
|
|
Did anyone ever figure this out?
I am running into the exact same problems right now. I've tried transmitting and the IR device can control various things like a TV or cable box. There is no response at all when I try read input from a remote. |
|
Back to top |
|
 |
|