LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 02-27-2011, 05:37 AM   #1
DebianUser
Member
 
Registered: Apr 2010
Posts: 88

Rep: Reputation: 15
lircd help


I'm trying to get the below supported receiver working under lircd

Asus DH USB Remote asusdh none asusdh asus/lircd.conf.asusdh bundled

i've done

Code:
apt-get install lirc lirc-modules-source
when I plug the device in dmesg shows

Code:
usb 3-2: new low speed USB device using ohci_hcd and address 2
usb 3-2: configuration #1 chosen from 1 choice
hiddev96hidraw0: USB HID v1.10 Device [T-wins ASUS DH Remote] on usb-0000:00:01.1-2
usb 3-2: New USB device found, idVendor=1130, idProduct=cc00
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-2: Product: ASUS DH Remote
usb 3-2: Manufacturer: T-wins
but as you can see it's not allocated a /dev/....

I understand I need to edit /etc/lirc/hardware.conf and think the below is right? but don't have info to add to DEVICE=

Code:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""

#Don't start lircmd even if there seems to be a good config file
START_LIRCMD=true

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="AsusDH"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/"
MODULES=""

# Default configuration files for your hardware if any
LIRCD_CONF="/etc/lircd.conf"
#LIRCMD_CONF=""
also not sure what's supossed to go into
/etc/lirc/lircmd.conf

if anyone can help me get this working it would be greatly appreciated.
 
Old 02-27-2011, 08:05 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
When you plug it in, does anything come up when you do the following?
Code:
ls -al /dev/lirc*

Last edited by corp769; 02-27-2011 at 08:09 PM.
 
Old 03-29-2011, 06:23 PM   #3
frankhjung
LQ Newbie
 
Registered: Mar 2011
Location: Melbourne, Australia
Distribution: debian
Posts: 4

Rep: Reputation: 3
Post Get vendor & device information

I had much the same issue. You need to check whether the device is known to lirc-modules-source
Look in the appropriate
Code:
/usr/src/lirc-0.8.6/drivers/lirc_xxx/lirc_xxx.c
files for your vendor.
Then check to see if the device is listed.
To get this information use,
Code:
lsusb -v -c [bus:device]
Look for
Code:
idVendor
and
Code:
idProduct
for vendor and device information.

Update the appropriate
Code:
/usr/src/lirc-0.8.6/drivers/lirc_xxx/lirc_xxx.c
And rebuild package. On Debian based systems this is:

Code:
dpkg-reconfigure lirc-modules-source
Restart lirc.

Now the device should have been created, to see what/where use,

Code:
ls -lh /dev/lirc*
For me it showed:

Code:
#  ls -lh /dev/lirc*
lrwxrwxrwx 1 root root 19 2011-03-30 08:57 /dev/lircd -> /var/run/lirc/lircd

/dev/lirc:
total 0
crw-rw---- 1 root root 61, 0 2011-03-30 08:57 0
So I updated my
Code:
/etc/lirc/hardware.conf
with:

Code:
REMOTE_DEVICE="/dev/lirc/0"
Restart lirc and test with irw.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
require some help with lircd Carpo Slackware 19 10-15-2007 11:03 AM
Can not start lircd as service gfem Fedora 0 07-16-2007 01:20 PM
Cannot start lircd? kmokrzcyki Linux - Hardware 0 04-03-2007 07:59 AM
Lirc vs. Lircd jagot Linux - Hardware 2 06-19-2006 01:34 AM
Mandrake 10.1, lircd, lircmd conn-fused Linux - Hardware 0 01-29-2005 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration