Re: mceusb Fintek ir transmitter only works when X is not running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 05, 2013 at 07:17:10PM +0100, Rajil Saraswat wrote:
> Please find attached two traces.
> - X.txt from inside an X session where irsend doesnt trigger ir led.
> -noX.txt from virtual console with X stopped. irsend triggers the ir led.
> 
> Also, i have made sure input for this device is disabled in X.
> -----------------------------------------
> #cat /etc/X11/xorg.conf.d/5-evdev.conf
> Section "InputClass"
>         Identifier "Media Center Ed. eHome Infrared Remote Transceiver
> (1934:5168)"
>         MatchProduct "Media Center Ed. eHome Infrared Remote
> Transceiver (1934:5168)"
>         MatchDevicePath "/dev/input/event*"
> #MatchIsKeyboard "on"
>         Option "Ignore"
>         #Driver "null"
> EndSection
> 
> which leads to
> 
> [  2845.548] (II) config/udev: Adding input device Media Center Ed.
> eHome Infrared Remote Transceiver (1934:5168) (/dev/input/event11)
> [  2845.548] (**) Media Center Ed. eHome Infrared Remote Transceiver
> (1934:5168): Ignoring device from InputClass "Media Center Ed. eHome
> Infrared Remote Transceiver (1934:5168)"
> -----------------------------------------

Why are you doing this? 

-snip-

X case where it does not work:

> ffff880118d1f240 2548275209 S Io:2:008:1 -115:1 3 = 9f0802
> ffff880118d1f240 2548275281 E Io:2:008:1 -28 0
> ffff880118d1fb40 2548286204 S Io:2:008:1 -115:1 86 = 84ffb458 8b840a8b 0a8b8420 8b0a8b84 0a8b0a8b 840a8b0a 8b84208b 208b840a
> ffff880118d1fb40 2548286310 E Io:2:008:1 -28 0

All the urb submissions result in an error -28: ENOSPC. These errors aren't
logged by default. I'm not sure about why this would happen.

According to Documentation/usb/error-codes.txt:

-ENOSPC         This request would overcommit the usb bandwidth reserved
                for periodic transfers (interrupt, isochronous).

Could you try putting the device on its own bus (i.e root hub which does
not share bus with another device, see lsusb output). 

If that does not work, could you capture the usbmon output while starting 
X and then irsend, to see if your X config somehow affects it.


Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux