Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have made the call to give up Microsoft. I have figured out hundreds of issues on my own but this one is KILLING me. I am on SuSE 10 and I have the lirc package installed. Works great. I can IRW and get good results and I can use my remote to control mplayer. My issue is this... I use this as my DVD player and the only source of input I have is my remote. For some ungodly reason the /dev/lircm node was not created so X11 will not pick up my remote as a mouse. I see it try and I see it fail because there is no such file "/dev/lircm". I can mknod and chmod it... but I have no clue what to do after that to get X11 to be able to recognize it as a valid device to see my remote. please.... after this I can seal up this box and relax... I have been at this WAY too many hours (going on days) now.
It's possible that /dev/lirc wasn't created because that's not where the lirc unit is connected. Is it a serial controller? If so, it's probably connected to one of the com ports.
Windows Linux
COM1 /dev/ttyS0
COM2 /dev/ttyS1
COM3 /dev/ttyS2
COM4 /dev/ttyS3
If you have an internal modem, it's connected to one of those com ports; a serial lirc is connected to another.
To find out which, from a console window, run the hwinfo command. There'll be a lot of output, so pipe it to a text file to read, then delete when done with it. Like this: hwinfo | tee hwindo.txt. Read through the file; if the lirc is detected on a com port, this will tell you which one.
Let's say it's detected on COM2 (/dev/ttyS1). To get /dev/lirc to work, make a symlink to /dev/ttyS1, like this. ln -s /dev/ttyS1 /dev/lirc.
Beyond that, in /var/log, there are several log files you can look through in the hope of finding more information about the problem. Boot.msg may give information about detecting the lirc. Messages and localmessages may also help. There are some mail files containing mail for the system admin about problems with the system. Some of those logs you can read as user (cat <filename>, and some you will have to su to root to cat the file.
PS. you will get better response if you give more descriptive subject lines on your posts. 'please help' don't cut it.
Last edited by bigrigdriver; 12-19-2005 at 10:55 PM.
you were right... that's long. I cut out the parts that did not look relevent and I am left with the stuff below. I DO have a /dev/lirc/. I CAN irw /dev/lircd and get it to show the codes I programmed. I cannot get anything to show up at /dev/lircm to be used as a mouse. Thanks for your response.
============ start debug info ============
libhd version 11.25 (ia32)
kernel version is 2.6
----- serial modems -----
/dev/ttyS0
not a modem
----- serial modems end -----
****** stopped child process 8835 (120s) ******
----- serial modems -----
/dev/ttyS0
not a modem
----- serial modems end -----
>> mouse.2: serial
****** started child process 8836 (20s/20s) ******
----- serial mice -----
/dev/ttyS0
----- serial mice end -----
****** stopped child process 8836 (20s) ******
----- serial mice -----
/dev/ttyS0
----- serial mice end -----
>> input.1: joydev mod
>> input.1.1: evdev mod
----- exec: "/sbin/modprobe evdev " -----
FATAL: Module evdev not found.
Had I but known it was usb! That open up a whole different can of worms.
To get usb devices working involves udev, usb, pci, and scsi emulation. You will probably have to write a custom rule (in suse, it would go in /etc/udev/rules.d, in a file called 10-local.rules. That would only insure that the device is always called by the same name from one boot to the next.
In suse, we have the udev info command to tell us information about block and char devices (udevinfo /sys/block/sdx for some scsi drive; udevinfo /sys/char/xxx for some character device) which outputs information to write the custom rule named above.
Then there's the matter of discovering which kernel modules need to be loaded for the device, and edit /etc/modprobe.conf.local to add them there if they're not in /etc/modprobe.conf.
There is a lot of research involved. www.google.com/linux will help. Start with lirc and how to configure. Then research udev, usb, scsi, etc. Save your findings to a folder in you home directory.
after reviewing all logs I found that my onboard serial port was what was interfering with lirc_serial. I disabled that and lirc_serial now correctly maps to /dev/ttyS0. I also now have a lirc1 as well as my old lirc0. Do you know how I get from knowing that to having a /dev/lircm?
BOOM it works great. The driver for it was already working under atiusb, I just didn't have the /dev/lircm link set up for some reason. Now I am off to try and find a sound card that will let me pass through DTS from mplayer =)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.