Any Linux people around? - HotUKDeals
We use cookie files to improve site functionality and personalisation. By continuing to use HUKD, you accept our cookie and privacy policy.
Get the HUKD app free at Google Play

Search Error

An error occurred when searching, please try again!

Login / Sign UpSubmit

Any Linux people around?

sancho1983 Avatar
6y, 9m agoPosted 6 years, 9 months ago
Am trying to configure a remote on a PC which i will not name, i get to the point when i need to alter a hardware.conf file nd it all goes wrong!!

Mine doesn't look the same so i have to edit it to look the same, but when i try and type either nothing, or strange things, happen. I think when i press 'd' it deletes the line, and 'u' seems to be undo and there's a few more, obviously i'm doing something wrong!! Anybody feel like helping me, it's doing my head in
sancho1983 Avatar
6y, 9m agoPosted 6 years, 9 months ago
Options

All Comments

(10) Jump to unreadPost a comment
Comments/page:
#1
which text editor are you using, dounds like your using vi in which "dd" deletes a line and "d4d" would delete 4 lines, try using nano, its an easier to use editor, so on cmd line nano hardware.conf

out of interest what distro you using?
#2
sudo vi /etc/lirc/hardware.conf

Should i do

sudo nano /etc/lirc/hardware.conf ?

xbmc distro, think it's based on ubuntu
#3
What remote you trying to configure?
#4
dcx_badass
Why have you put "which I will not name" like its something special? I never name my inanimate objects either.


Because it's a revo, and get sick of people writing "oh great, another Revo thread" :thumbsup:

Gimme
What remote you trying to configure?


Cyberlink - following this http://forum.xbmc.org/showthread.php?p=443961&posted=1#post443961

I've got to
ps -ef | grep lircd
and it doesn't say anything similar to what it's supposed to, just a list of what looks like oher commands
#5
#6
sancho1983
Because it's a revo, and get sick of people writing "oh great, another Revo thread" :thumbsup:



Jeeeze, not another Revo thread, zzzzzzzzzzzzzz :-D








Soz.
#7
sancho1983
sudo vi /etc/lirc/hardware.conf

Should i do

sudo nano /etc/lirc/hardware.conf ?

xbmc distro, think it's based on ubuntu


yeh that will work,

or if your doing alot of commands under root

sudo su

then sudo privlages will be applied to everything else so

nano /etc/lirc/hardware.conf

Vi is a very powerful editor but its not intuative atall where nano will give you a list of commands along the bottom.
#8
Gimme


Am trying that one, how do i...

4. Create a new Lircmap.xml file in your userdata directory (~/.xbmc/userdata) mapping the keys to remote buttons, here is mine:

:?:

Thanks
#9
Have worked out how to create the above file, copied the suff into a txt file and renamed it lircmap.xml.

Still not working though, just up, down, left and right. It's sending me crazy now, anybody able to help????
#10
It worked briefly, sort of, now i get

lircd: there seems to already be a lircd process with pid 1911
lircd: otherwise delete stale lockfile /var/run/lirc/lircd.pid


Whenever i try and restart lirc, a third or so of the buttons work

Post a Comment

You don't need an account to leave a comment. Just enter your email address. We'll keep it private.

...OR log in with your social account

...OR comment using your social account

Thanks for your comment! Keep it up!
We just need to have a quick look and it will be live soon.
The community is happy to hear your opinion! Keep contributing!