Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

lirc is acting weird

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
perry
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 142
Joined: Mon Nov 18, 2002 2:34 am
Location: Cornfields of Indiana

lirc is acting weird

  • Quote

Post by perry » Mon Mar 10, 2003 1:47 am

I'm getting some weirdness with lirc.. When I first start my computer, I'll get the following in /dev/lirc:

Code: Select all

localhost dev # cd lirc
localhost lirc # ls
0  61  c
Those are directories with nothing in them. I'll rmmod lirc_gpio and lirc_dev, remove the directories, then modprobe lirc_gpio, and I'll get the proper device in there:

Code: Select all

localhost lirc # ls -l
total 0
crw-------    1 root     root      61,   0 Dec 31  1969 0
It almost seems like "mkdir 0 c 61 0" is being run, instead of "mknod 0 c 61 0". Everything with lirc and my remote works perfectly after that, but it's an annoyance. Any ideas on how I would go about fixing this?

FWIW, I'm using lirc 0.6.6-r1 (.6.5 did the same thing) and a Leadtek Winfast TV2000 Deluxe. Everything was working normally w/ Gentoo sources 2.4.19-r10, and started acting weird when I updated to 2.4.20-r1 a week or so ago.
Top
perry
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 142
Joined: Mon Nov 18, 2002 2:34 am
Location: Cornfields of Indiana

  • Quote

Post by perry » Tue Mar 11, 2003 12:43 am

Well, I got it to work again. Somehow, those directories had gotten stored in /lib/dev-state, so everytime I restarted the computer they were being restored. I removed them from there, got things going properly with my voodoo of rmmod and modprobe, then ran MAKEDEV. Rebooted, and everything was peachy. Well, it wasn't that simple, and involved more than one reboot, but that's the jist of it.

I was clued in by this line in my "everything" log:

Code: Select all

Mar 10 19:26:54 [devfsd] error copying: "/lib/dev-state/lirc/0" to "/dev/lirc/0"
Top
greg
n00b
n00b
User avatar
Posts: 42
Joined: Tue Apr 16, 2002 11:42 pm
Location: HFX/NS/CA

  • Quote

Post by greg » Tue Apr 01, 2003 2:15 am

I've emerged lirc-0.6.6-r1 with a winfast2000XP deluxe card. I have not problems with the card but I haven't had any luck with the remote. When I run the irrecord program I get:

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

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

irrecord: could not open /dev/lirc
irrecord: default_init(): Is a directory
irrecord: could not init hardware (lircd running ? --> close it, check permissions)

lircd is running, if I specify the device as 'irrecord --device=/dev/lirc/0' I can get it to write a config file but when I run 'irxevent' I get:

irxevent: could not connect to socket
irxevent: Connection refused

Near as I can tell irxevent is complaining that /dev/lirc is a directory.. Is there a way to tell it to use /dev/lirc/0 which I believe is the correct path?

Greg
Top
Post Reply

3 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic