Page 1 of 2

Irscrutinizer Hardware

Posted: Sat Feb 02, 2019 11:15 am
by HamburgerHelper1
I did not want to hijack this thread
https://www.hifi-remote.com/forums/viewt ... p?t=101638
But what Barf said about HP-TSGI-IR01
working with linux I tried and failed.I set irscrutibizer as /dev/lirc0
and get io exception error 13 permission denied I have changed permissions
and no luck. To make matters worse i also use a usb dial up modem
and if online i have a lock file set for that.
I do not want any one to waste too much time on this because i was thinking it would be easier to just buy ir widget from Tommy
But if anyone has a simple solution to try other wise i am just going to give up on the idea of using the HP-TSGI-IR01 to capture IR

Posted: Sat Feb 02, 2019 12:05 pm
by Barf
This is probably a Linux issue. What Linux distribution are you using?

First, after the device is plugged in, issue

Code: Select all

$ sudo chmod 666 /dev/lirc0
This should work, until next time to boot or replug the device. The permanent solution is then, depending on the Linux distribution, probably something like

Code: Select all

$ sudo usermod -aG lirc
(you probably need to log out and log in for this to take effect.)

If this does not help, post the output of lsusb and the ouput of ls -l /dev/lirc0 and dmesg |tail -20 (after the device is connected).

Irscrutinizer Hardware

Posted: Sat Feb 02, 2019 2:33 pm
by HamburgerHelper1
After sudo chmod 666 /dev/lirc0 still get permission denied
I am using ChaletOs 16.0.4 which is a custum xubuntu
I have xubuntu 18.0.4 setup on another HD and will try it on that too
The output of the commands are
test2@test2:~$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 1784:0006 TopSeed Technology Corp. eHome Infrared Transceiver
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0461:4de2 Primax Electronics, Ltd
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
test2@test2:~$ ls -l /dev/lirc0
crw-rw---- 1 root video 246, 0 Feb 2 14:23 /dev/lirc0
test2@test2:~$ dmesg |tail -20
[ 1543.914306] usb 4-1: Product: eHome Infrared Transceiver
[ 1543.914309] usb 4-1: Manufacturer: TopSeed Technology Corp.
[ 1543.914312] usb 4-1: SerialNumber: TS000k5B
[ 1543.921590] Registered IR keymap rc-rc6-mce
[ 1543.921802] input: Media Center Ed. eHome Infrared Remote Transceiver (1784:0006) as /devices/pci0000:00/0000:00:13.0/usb4/4-1/4-1:1.0/rc/rc0/input16
[ 1543.921915] rc0: Media Center Ed. eHome Infrared Remote Transceiver (1784:0006) as /devices/pci0000:00/0000:00:13.0/usb4/4-1/4-1:1.0/rc/rc0
[ 1543.922082] input: MCE IR Keyboard/Mouse (mceusb) as /devices/virtual/input/input17
[ 1543.922298] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
[ 1544.143236] mceusb 4-1:1.0: Registered TopSeed Technology Corp. eHome Infrared Transceiver with mce emulator interface version 1
[ 1544.143244] mceusb 4-1:1.0: 2 tx ports (0x0 cabled) and 2 rx sensors (0x1 active)
[ 1547.831694] [UFW BLOCK] IN=ppp0 OUT= MAC= SRC=185.254.123.12 DST=66.248.101.198 LEN=40 TOS=0x00 PREC=0x00 TTL=241 ID=50528 PROTO=TCP SPT=55574 DPT=33380 WINDOW=1024 RES=0x00 SYN URGP=0
[ 1565.555725] ttyS0: LSR safety check engaged!
[ 1565.560364] ttyS0: LSR safety check engaged!
[ 1584.175830] [UFW BLOCK] IN=ppp0 OUT= MAC= SRC=139.162.90.220 DST=66.248.101.198 LEN=40 TOS=0x00 PREC=0x00 TTL=241 ID=54321 PROTO=TCP SPT=42187 DPT=1723 WINDOW=65535 RES=0x00 SYN URGP=0
[ 1591.585176] [UFW BLOCK] IN=ppp0 OUT= MAC= SRC=176.119.4.77 DST=66.248.101.198 LEN=40 TOS=0x00 PREC=0x00 TTL=243 ID=20730 PROTO=TCP SPT=53068 DPT=9849 WINDOW=1024 RES=0x00 SYN URGP=0
[ 1621.917692] [UFW BLOCK] IN=ppp0 OUT= MAC= SRC=185.176.27.6 DST=66.248.101.198 LEN=40 TOS=0x00 PREC=0x00 TTL=238 ID=42365 PROTO=TCP SPT=56662 DPT=27983 WINDOW=1024 RES=0x00 SYN URGP=0
[ 1631.560878] [UFW BLOCK] IN=ppp0 OUT= MAC= SRC=185.254.123.23 DST=66.248.101.198 LEN=40 TOS=0x00 PREC=0x00 TTL=241 ID=61024 PROTO=TCP SPT=55993 DPT=4591 WINDOW=1024 RES=0x00 SYN URGP=0
[ 1683.233222] [UFW BLOCK] IN=ppp0 OUT= MAC= SRC=185.176.27.30 DST=66.248.101.198 LEN=40 TOS=0x00 PREC=0x00 TTL=238 ID=22797 PROTO=TCP SPT=48307 DPT=3699 WINDOW=1024 RES=0x00 SYN URGP=0
[ 1695.857128] [UFW BLOCK] IN=ppp0 OUT= MAC= SRC=27.102.203.207 DST=66.248.101.198 LEN=40 TOS=0x00 PREC=0x00 TTL=237 ID=13620 PROTO=TCP SPT=58984 DPT=3389 WINDOW=1024 RES=0x00 SYN URGP=0
[ 1741.747179] [UFW BLOCK] IN=ppp0 OUT= MAC= SRC=185.176.27.118 DST=66.248.101.198 LEN=40 TOS=0x00 PREC=0x00 TTL=238 ID=46845 PROTO=TCP SPT=42555 DPT=10241 WINDOW=1024 RES=0x00 SYN URGP=0
test2@test2:~$

Irscrutinizer Hardware

Posted: Sat Feb 02, 2019 5:32 pm
by HamburgerHelper1
still trying had old irscrutinizer now have 1.4.2
checked rxtx files modified paths in irscrutinizer.sh
stil permission error i also get if i run in terminal
irscrutinizer.sh :bad situation message and txtx lock error due to my modem

Re: Irscrutinizer Hardware

Posted: Sun Feb 03, 2019 2:21 am
by Barf
The logs look good. Not quite identical to what I get, but that is probably OK. So I am pretty sure that it is a problem with your Linux setup.
HamburgerHelper1 wrote: checked rxtx files modified paths in irscrutinizer.sh
We are not using rxtx in this use case. Still, cannot hurt.
stil permission error i also get if i run in terminal
irscrutinizer.sh :bad situation message and txtx lock error due to my modem
Hmm, looks like there is a modem manager around, try to disable it. This

Code: Select all

[ 1565.555725] ttyS0: LSR safety check engaged! 
looks quite suspicious...

Another thing to try is to boot a standard Live-[CD/DVD/Stick] system and see how that behaves.

Irscrutinizer Hardware

Posted: Sun Feb 03, 2019 9:17 am
by HamburgerHelper1
ok so tried a lot of things to no avail
I have my linux on another test computer so I removed modem manager
wvdial gnome-ppp and still lsr tty lock engaged
I am thinking something with setserial but i am not an expert at linux
I am also thinking of just using a different version of linux
I have spare hard drives for it if you can recommend a linux flavor to try
I would have to download at someone else s house that has high speed
so it might take awhile to get it
Anyway here is the log of commands running xubuntu 18.0.4
from cd notice no lock engaged also could bluetooh service lock it?
Thanks in advance

xubuntu@xubuntu:~$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 1784:0006 TopSeed Technology Corp. eHome Infrared Transceiver
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0461:4de2 Primax Electronics, Ltd
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
xubuntu@xubuntu:~$ ls -l /dev/lirc0
crw-rw---- 1 root video 244, 0 Feb 3 13:43 /dev/lirc0
xubuntu@xubuntu:~$ dmesg |tail -20
[ 136.591992] Registered IR keymap rc-rc6-mce
[ 136.890440] usbcore: registered new interface driver usbserial_generic
[ 136.890454] usbserial: USB Serial support registered for generic
[ 137.301357] IR RC6 protocol handler initialized
[ 137.332042] rc rc0: Media Center Ed. eHome Infrared Remote Transceiver (1784:0006) as /devices/pci0000:00/0000:00:13.0/usb4/4-1/4-1:1.0/rc/rc0
[ 137.332110] input: Media Center Ed. eHome Infrared Remote Transceiver (1784:0006) as /devices/pci0000:00/0000:00:13.0/usb4/4-1/4-1:1.0/rc/rc0/input14
[ 137.332441] lirc lirc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
[ 137.620046] mceusb 4-1:1.0: Registered TopSeed Technology Corp. eHome Infrared Transceiver with mce emulator interface version 1
[ 137.620051] mceusb 4-1:1.0: 2 tx ports (0x0 cabled) and 2 rx sensors (0x1 active)
[ 137.620136] usbcore: registered new interface driver mceusb
[ 138.363175] usbcore: registered new interface driver pl2303
[ 138.363201] usbserial: USB Serial support registered for pl2303
[ 138.363229] pl2303 5-2:1.0: pl2303 converter detected
[ 138.391445] usb 5-2: pl2303 converter now attached to ttyUSB0
[ 157.669893] audit: type=1400 audit(1549201428.633:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=1354 comm="apparmor_parser"
[ 157.670096] audit: type=1400 audit(1549201428.633:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=1354 comm="apparmor_parser"
[ 158.770685] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
[ 159.906951] r8169 0000:04:00.0 enp4s0: link down
[ 159.907093] IPv6: ADDRCONF(NETDEV_UP): enp4s0: link is not ready
[ 369.789130] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
xubuntu@xubuntu:~$

Irscrutinizer Hardware

Posted: Sun Feb 03, 2019 10:10 am
by HamburgerHelper1
Can it be just how i am running irscrutinizer
I have tried right click on irscrutinizer-jar-with-dependencies and use open jdk

Re: Irscrutinizer Hardware

Posted: Sun Feb 03, 2019 10:28 am
by Barf
HamburgerHelper1 wrote:Can it be just how i am running irscrutinizer
I have tried right click on irscrutinizer-jar-with-dependencies and use open jdk
Very unlikely.

One thing you can always try is

Code: Select all

sudo setenforce 0
Please try the following: Install lirc (probably sudo apt-get install lirc). Then connect the device and issue

Code: Select all

mode2 --driver=default
then shoot a sensible IR signal at the device. What happens?

Irscrutinizer Hardware

Posted: Sun Feb 03, 2019 10:35 am
by HamburgerHelper1
Lirc already installed
mode 2 command gave this

test2@test2:~$ mode2 --driver=default
mode2: could not get file information for /dev/lirc
mode2: default_init(): No such file or directory
test2@test2:~$

Irscrutinizer Hardware success

Posted: Sun Feb 03, 2019 10:45 am
by HamburgerHelper1
success it works
something I just started testing from more reading
the way I read your instructions was to set it as /dev/lirc0
but rereading things i set it as mode2 -d /dev/lirc0
and it works
thank you lessons learned read read read reread

Re: Irscrutinizer Hardware

Posted: Sun Feb 03, 2019 10:51 am
by Barf
So exactly what works?

Irscrutinizer Hardware

Posted: Sun Feb 03, 2019 10:57 am
by HamburgerHelper1
Irscrutinizer is working
I start capturing HW
scrutinize signal tab capture shoot remote at it and it give me a readout
Sometimes it does not always start correctly and i have to close and reopen but maybe because my modem is online
I know it has interfered with RMIR in the past

Irscrutinizer Hardware

Posted: Sun Feb 03, 2019 11:10 am
by HamburgerHelper1
Sometimes I get an error no hardware and have to restart capturing HW but
considering everything at least it works for my needs
thank you

Posted: Sun Feb 03, 2019 11:48 am
by Barf
So, was the magic word? Why did in not work to start with? What do we learn from this?

If you have reproducible problems I will be happy to go after them.

Irscrutinizer Hardware

Posted: Sun Feb 03, 2019 12:14 pm
by HamburgerHelper1
yes well it is working on my original linux
I am assuming i had the wrong device of /dev/lirc0
instead of mode 2 -d /dev/lirc0
But it will not work on my other computer or on xubuntu 18.0.4 as of yet
xubuntu 18 is buggy anyway so i will stick with what i have