USB-UIRT Forum Forum Index USB-UIRT Forum
Plug-n-Play IR Solution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Linux LIRC USB-UIRT HOWTO
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    USB-UIRT Forum Forum Index -> Installation
View previous topic :: View next topic  
Author Message
cartman



Joined: 04 Nov 2005
Posts: 4

PostPosted: Wed Dec 28, 2005 4:29 pm    Post subject: Reply with quote

OK, I've now started from scratch (don't ask) and now have the following message when I tail the syslog after plugging in the USBUIRT:
Code:
Dec 29 00:09:12 htpc kernel: usb 5-1: new full speed USB device using uhci_hcd and address 3
Dec 29 00:09:12 htpc kernel: ftdi_sio 5-1:1.0: FTDI USB Serial Device converter detected
Dec 29 00:09:12 htpc kernel: drivers/usb/serial/ftdi_sio.c: Detected FT232BM
Dec 29 00:09:12 htpc kernel: usb 5-1: FTDI USB Serial Device converter now attached to ttyUSB0

Key points are the difference on the first line with "uhci_hcd" rather than ohci - although I think this is just a USB type. Also the lack of specific mention of the USB-UIRT being detected!

I'm wondering if anyone can understand any of this as there are a few differences in mine and benow's above. I'm running FC4 but have been able to work out any key differences in the modules loading and the rest (ie. I'm fairly sure the usbserial and ftdi_sio modules are loaded).

Can anyone shed any light on my progress so far? Thanks in advance.
Back to top
View user's profile Send private message
cartman



Joined: 04 Nov 2005
Posts: 4

PostPosted: Fri Jan 06, 2006 3:29 pm    Post subject: Reply with quote

OK, so it seems the uhci usb type is specific to certain motherboards. I'm hoping to purchase a new board tomorrow anyway so could anyone offer suggetions as to a motherboard they have success with the USBUIRT in linux? Preferably a P4 with SATA - and not too expensive! If I can get this area sorted we might be able to identify issues with the driver.

Cheers
Back to top
View user's profile Send private message
judapeno2
Guest





PostPosted: Tue Jan 31, 2006 2:33 am    Post subject: Reply with quote

Is there a patch available for lirc 8.0?

David
Back to top
benow



Joined: 17 Oct 2005
Posts: 16

PostPosted: Fri Feb 03, 2006 7:59 pm    Post subject: Reply with quote

judapeno2 wrote:
Is there a patch available for lirc 8.0?


Not that I've seen, but you might get lucky changing the filenames within the patch file. replace lirc-0.7.1 with lirc-0.8.0.
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Tue Mar 28, 2006 3:29 pm    Post subject: Reply with quote

i followed the how-to

I had to remove --tag=CC several times from each Makefile and Makefile.in that I could locate in the subdirectories.

After removing these, the make process completed successfully.

However the "make install" failed with this

root@mythtvslave:/usr/src/lirc-0.7.1# make install
Making install in drivers
Code:

make[1]: Entering directory `/usr/src/lirc-0.7.1/drivers'
make[2]: Entering directory `/usr/src/lirc-0.7.1/drivers'
make[3]: Entering directory `/usr/src/lirc-0.7.1/drivers'
test "/dev/ttyUSB0" = "" || test -L /dev/lirc || (/bin/sh ../mkinstalldirs /dev && cd `dirname /dev/ttyUSB0` && ln -s `basename /dev/ttyUSB0` lirc)
ln: `lirc': File exists
make[3]: *** [mklink] Error 1
make[3]: Leaving directory `/usr/src/lirc-0.7.1/drivers'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/usr/src/lirc-0.7.1/drivers'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/lirc-0.7.1/drivers'
make: *** [install-recursive] Error 1

Code:


Does anyone know what i should do?
Back to top
Guest






PostPosted: Tue Mar 28, 2006 3:37 pm    Post subject: Reply with quote

I did this

rm /dev/lirc

and then "make install" was successful.


I had previously installed lirc-0.8.0pre4-pvr150 with a packard bell serial receiver...

Should i have uninstalled lirc-0.8.0pre4-pvr150 first? how?
Back to top
Guest






PostPosted: Tue Mar 28, 2006 3:55 pm    Post subject: Reply with quote

now i get the following:

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

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

irrecord: could not init hardware (lircd running ? --> close it, check permissions)


Code:
root@mythtvslave:/usr/src# find / -name lircd
/dev/lircd
find: /mnt/mythtvmaster/lost+found: Permission denied
/usr/local/sbin/lircd
/usr/sbin/lircd
/usr/src/lirc-0.7.1/daemons/lircd

Code:

root@mythtvslave:/usr/src# find / -name lircd
/dev/lircd
find: /mnt/mythtvmaster/lost+found: Permission denied
/usr/local/sbin/lircd
/usr/sbin/lircd
/usr/src/lirc-0.7.1/daemons/lircd
root@mythtvslave:/usr/src# ls -al /usr/local/sbin/lircd
-rwxr-xr-x  1 root staff 267920 Mar 28 10:34 /usr/local/sbin/lircd
root@mythtvslave:/usr/src# ls -al /usr/sbin/lircd
-rwxr-xr-x  1 root root 660059 Jan 23 22:41 /usr/sbin/lircd
root@mythtvslave:/usr/src# ls -al /usr/src/lirc-0.7.1/daemons/lircd
-rwxr-xr-x  1 root root 267920 Mar 28 00:25 /usr/src/lirc-0.7.1/daemons/lircd
root@mythtvslave:/usr/src# ls -al /dev/lircd
srw-rw-rw-  1 root root 0 Mar 28 10:45 /dev/lircd
root@mythtvslave:/usr/src# chmod 775 /dev/lircd
root@mythtvslave:/usr/src# ls -al /dev/lircd
srwxrwxr-x  1 root root 0 Mar 28 10:45 /dev/lircd


chmod 777 /dev/lircd
same error

then
Code:
root@mythtvslave:/usr/src# lircd --version
lircd 0.8.0pre4-pvr150


how to remove old version

Code:
root@mythtvslave:/usr/src/lirc-0.8.0pre4-pvr150# make uninstall
make: *** No rule to make target `uninstall'.  Stop.
Back to top
Guest






PostPosted: Tue Mar 28, 2006 4:02 pm    Post subject: Reply with quote

decided to try this:

Code:
root@mythtvslave:/usr/src/lirc-0.8.0pre4-pvr150# apt-get remove lirc
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  lirc lirc-svga lirc-x
0 upgraded, 0 newly installed, 3 to remove and 624 not upgraded.
Need to get 0B of archives.
After unpacking 1663kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 63842 files and directories currently installed.)
Removing lirc-x ...
Removing lirc-svga ...
Removing lirc ...
root@mythtvslave:/usr/src/lirc-0.8.0pre4-pvr150#


followed by a make uninstall in the /usr/src/lirc-0.7.1
Back to top
Guest






PostPosted: Tue Mar 28, 2006 4:13 pm    Post subject: Reply with quote

after make uninstall... i followed the how to from scratch...

now i get errors at the end of the make step:

hw_uirt2usb_raw.o(.text+0x45): In function `queue_put':
/usr/src/lirc-0.7.1/daemons/hw_uirt2usb_raw.c:118: undefined reference to `logprintf'
hw_uirt2usb_raw.o(.text+0x99): In function `queue_get':
/usr/src/lirc-0.7.1/daemons/hw_uirt2usb_raw.c:132: undefined reference to `logprintf'
hw_uirt2usb_raw.o(.text+0x1f8): In function `uirt2usb_raw_init':
/usr/src/lirc-0.7.1/daemons/hw_uirt2usb_raw.c:204: undefined reference to `logprintf'
hw_uirt2usb_raw.o(.text+0x242):/usr/src/lirc-0.7.1/daemons/hw_uirt2usb_raw.c:217: undefined reference to `logprintf'
hw_uirt2usb_raw.o(.text+0x317):/usr/src/lirc-0.7.1/daemons/hw_uirt2usb_raw.c:263: undefined reference to `logprintf'
hw_uirt2usb_raw.o(.text+0x352):/usr/src/lirc-0.7.1/daemons/hw_uirt2usb_raw.c:245: more undefined references to `logprintf
' follow
collect2: ld returned 1 exit status
make[2]: *** [lircd] Error 1
make[2]: Leaving directory `/usr/src/lirc-0.7.1/daemons'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/lirc-0.7.1'
Back to top
Guest






PostPosted: Tue Mar 28, 2006 4:18 pm    Post subject: Reply with quote

this time
make clean
./setup.sh
usb-uirt transmit and receive
save AND Configure
make
make install
no errors

/var/log/lircd
root@mythtvslave:/usr/src/lirc-0.7.1# /usr/local/sbin/lircd
lircd 0.7.1: there seems to already be a lircd process with pid 7672
lircd 0.7.1: otherwise delete stale lockfile /var/run/lircd.pid
root@mythtvslave:/usr/src/lirc-0.7.1# kill 7672
root@mythtvslave:/usr/src/lirc-0.7.1# /usr/local/sbin/lircd
lircd 0.7.1: could not open config file '/etc/lircd.conf'
lircd 0.7.1: No such file or directory
root@mythtvslave:/usr/src/lirc-0.7.1#

Help!
Back to top
Guest






PostPosted: Wed Mar 29, 2006 2:34 am    Post subject: Reply with quote

i repeated everything again

and the make install worked.

somewhere along the way i deleted

/dev/ttyUSB0

is this important?
Back to top
Guest






PostPosted: Sat Apr 01, 2006 11:38 pm    Post subject: Reply with quote

I think it is hanging

Code:
root@mythtvslave:/usr/src/lirc-0.7.1# lircd -d /dev/ttyUSB0 -n
lircd-0.7.1[7054]: lircd(usb-uirt2_raw) ready


it just stops there and says nothing else

Code:
root@mythtvslave:/usr/src/lirc-0.7.1# irrecord -l test.conf

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

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

irrecord: could not init hardware (lircd running ? --> close it, check permissions)


Any ideas?
Back to top
munza



Joined: 02 Sep 2005
Posts: 1

PostPosted: Mon Apr 03, 2006 12:52 pm    Post subject: Reply with quote

From memory, you need to make sure the lirc daemon (lircd) is not running in order to use the irrecord program.
Back to top
View user's profile Send private message
killercoder
Guest





PostPosted: Mon Apr 17, 2006 3:16 am    Post subject: Help! Nvelds site is offline Reply with quote

I'm looking for this patch (long story short - kernel upgrade forcing rebuild) - but nvelds site is down. Seems his provider is going bankrupt.

Does anyone have an active link to patch?

David
Back to top
john
Guest





PostPosted: Thu May 11, 2006 1:03 am    Post subject: irsend sending triple digits Reply with quote

I followed these directions to get it working, including the channel change..
Now recieve and send works, but not completely.

After booting, receive works great (i can navigate mythtv menus) but "iresend remotename 401" sends 444000111.

If I kill lircd and start it manually with lircd then it will send 401 as 401 changing my settop box. But now it seems to ignore my ir signal (doesn't receive or at least control myth navigation anymore) Sad

Any ideas?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    USB-UIRT Forum Forum Index -> Installation All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
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


Powered by phpBB © 2001, 2005 phpBB Group