Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lirc lirc_sir driver correct? No errors but no signals.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
maiku
l33t
l33t


Joined: 24 Mar 2004
Posts: 607
Location: Escaping from NY

PostPosted: Tue Jan 24, 2006 10:19 am    Post subject: lirc lirc_sir driver correct? No errors but no signals. Reply with quote

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
View user's profile Send private message
maiku
l33t
l33t


Joined: 24 Mar 2004
Posts: 607
Location: Escaping from NY

PostPosted: Wed Jan 25, 2006 10:19 am    Post subject: Reply with quote

Bumpathon
_________________
Michael
Back to top
View user's profile Send private message
Deadman
n00b
n00b


Joined: 25 Jan 2006
Posts: 8
Location: France

PostPosted: Wed Jan 25, 2006 12:43 pm    Post subject: Reply with quote

Is there something in the syslog ?
I think /dev/lircd isn't enough, there should be a /dev/lirc0 too :?:
Back to top
View user's profile Send private message
maiku
l33t
l33t


Joined: 24 Mar 2004
Posts: 607
Location: Escaping from NY

PostPosted: Wed Jan 25, 2006 11:10 pm    Post subject: Reply with quote

/dev/lirc/0 is created as expected. What dmesg says is also what it says in /var/log/messages.
_________________
Michael
Back to top
View user's profile Send private message
Deadman
n00b
n00b


Joined: 25 Jan 2006
Posts: 8
Location: France

PostPosted: Thu Jan 26, 2006 8:30 am    Post subject: Reply with quote

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
View user's profile Send private message
maiku
l33t
l33t


Joined: 24 Mar 2004
Posts: 607
Location: Escaping from NY

PostPosted: Sat Jan 28, 2006 6:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
uprooter
n00b
n00b


Joined: 06 Mar 2005
Posts: 70

PostPosted: Sat Jan 28, 2006 8:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
maiku
l33t
l33t


Joined: 24 Mar 2004
Posts: 607
Location: Escaping from NY

PostPosted: Sun Jan 29, 2006 7:19 pm    Post subject: Reply with quote

What does your syslog say when you plug it in? Can you see your device using lspci?
_________________
Michael
Back to top
View user's profile Send private message
uprooter
n00b
n00b


Joined: 06 Mar 2005
Posts: 70

PostPosted: Mon Jan 30, 2006 5:14 am    Post subject: Reply with quote

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
View user's profile Send private message
maiku
l33t
l33t


Joined: 24 Mar 2004
Posts: 607
Location: Escaping from NY

PostPosted: Mon Jan 30, 2006 7:23 pm    Post subject: Reply with quote

Have you tried other drivers like lib_serial?
_________________
Michael
Back to top
View user's profile Send private message
uprooter
n00b
n00b


Joined: 06 Mar 2005
Posts: 70

PostPosted: Tue Jan 31, 2006 4:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
maiku
l33t
l33t


Joined: 24 Mar 2004
Posts: 607
Location: Escaping from NY

PostPosted: Tue Jan 31, 2006 4:32 pm    Post subject: Reply with quote

Oh, where was that located in the kernel?
_________________
Michael
Back to top
View user's profile Send private message
uprooter
n00b
n00b


Joined: 06 Mar 2005
Posts: 70

PostPosted: Tue Jan 31, 2006 5:04 pm    Post subject: Reply with quote

just
Code:

modprobe lirc_sir irq=3

to see module optios use modinfo <module_name>
Back to top
View user's profile Send private message
maiku
l33t
l33t


Joined: 24 Mar 2004
Posts: 607
Location: Escaping from NY

PostPosted: Tue Jan 31, 2006 10:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
rob2687
n00b
n00b


Joined: 05 Feb 2006
Posts: 27

PostPosted: Fri Oct 23, 2009 2:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum