Re: USB-UIRT
Bengt Martensson <[email protected]> Wed, 21 Apr 2021 12:47:58 +0200
| Newsgroups | gmane.comp.hardware.lirc |
|---|---|
| Message-ID | <[email protected]> |
On 4/21/21 2:19 AM, Mary Strimel wrote: > > ... > I wish that would make a difference. But: > > mary@mythbox:~$ sudo mode2 > [sudo] password for mary: > Using driver uirt2_raw on device ttyUSB0 > Cannot initiate device ttyUSB0 > > also: > mary@mythbox:~$ sudo chmod 777 /dev/ttyUSB0 > mary@mythbox:~$ sudo mode2 > Using driver uirt2_raw on device ttyUSB0 > Cannot initiate device ttyUSB0 > > It seems I am still doing something wrong? > > I works for me (even without root; I have a lot of stuff in /etc/udev/rules..) Using Fedora 33 with its Lirc, $ mode2 --version mode2 0.10.0 $ mode2 --driver=uirt2_raw --device=/dev/ttyUSB0 Using driver uirt2_raw on device /dev/ttyUSB0 Trying device: /dev/ttyUSB0 Using device: /dev/ttyUSB0 space 2646500 pulse 1800 space 750 pulse 950 space 1650 pulse 900 space 800 pulse 900 space 750 pulse 950 space 800 pulse 900 space 750 pulse 1800 space 1600 pulse 1800 space 1600 pulse 900 space 750 pulse 1800 readdata() failed (The last line might be a problem, but it is not the problem that is bothering you.) Right now, I cannot say anything simpler than "debug the sources, avaiable at Sourceforge". (You did look for interesting stuff in dmesg, didn't you?) Possibly someone else can? Sorry.