how do I disable usb IR device for Mythbox

View: New views
3 Messages — Rating Filter:   Alert me  

how do I disable usb IR device for Mythbox

by mtrax :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 I have reached the end of my experience on how to handle this issue
with my Fedora box and was hoping for some insight on how to solve this
issue.
I installed a another DVB tuner (USB) which comes with an inbuilt  IR
device, but it seems to be recieving stray inputs meant from my original
IR reciever.
ie I think effectively its doing two things when I hit my RC eg when I
hit OK this normal translates to [enter] but the 2nd IR device is
sending "|" [mute] key.

So I think the solution is to somehow disable this other device without
affecting the DVB adapter.

after some googling I see there is a there is something called HAL which
controlled this somehow

Does anyone have any experience with HAL

lshal show me the device in question
....
udi =
'/org/freedesktop/Hal/devices/usb_device_5d8_810f_001_logicaldev_input'
  info.addons.singleton = {'hald-addon-input'} (string list)
  info.callouts.add = {'fedora-setup-keyboard'} (string list)
  info.capabilities = {'input', 'input.keys', 'button'} (string list)
  info.category = 'input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_5d8_810f_001'  
(string)
  info.product = 'IR-receiver inside an USB DVB receiver'  (string)
  info.subsystem = 'input'  (string)
  info.udi =
'/org/freedesktop/Hal/devices/usb_device_5d8_810f_001_logicaldev_input'  
(string)
  input.device = '/dev/input/event7'  (string)
  input.originating_device =
'/org/freedesktop/Hal/devices/usb_device_5d8_810f_001'  (string)
  input.product = 'IR-receiver inside an USB DVB receiver'  (string)
  input.x11_driver = 'evdev'  (string)
  input.xkb.layout = 'us'  (string)
  input.xkb.model = 'pc105+inet'  (string)
  input.xkb.rules = 'base'  (string)
  linux.device_file = '/dev/input/event7'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/input/input9/event7'  
(string)

--
linux mailing list
linux@...
https://lists.samba.org/mailman/listinfo/linux

Parent Message unknown Re: how do I disable usb IR device for Mythbox

by Scott Ferguson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could you post the results of "lsusb -v" please
--
linux mailing list
linux@...
https://lists.samba.org/mailman/listinfo/linux

Re: how do I disable usb IR device for Mythbox [solved]

by mtrax :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 9/11/2009 10:06 PM, Paul wrote:

> Hi,
> I have reached the end of my experience on how to handle this issue with
> my Fedora box and was hoping for some insight on how to solve this issue.
> I installed a another DVB tuner (USB) which comes with an inbuilt  IR
> device, but it seems to be recieving stray inputs meant from my original
> IR reciever.
> ie I think effectively its doing two things when I hit my RC eg when I
> hit OK this normal translates to [enter] but the 2nd IR device is
> sending "|" [mute] key.
>
> So I think the solution is to somehow disable this other device without
> affecting the DVB adapter.
>
> after some googling I see there is a there is something called HAL which
> controlled this somehow
>
> Does anyone have any experience with HAL
>
> lshal show me the device in question
> ....
> udi =
> '/org/freedesktop/Hal/devices/usb_device_5d8_810f_001_logicaldev_input'
>  info.addons.singleton = {'hald-addon-input'} (string list)
>  info.callouts.add = {'fedora-setup-keyboard'} (string list)
>  info.capabilities = {'input', 'input.keys', 'button'} (string list)
>  info.category = 'input'  (string)
>  info.parent = '/org/freedesktop/Hal/devices/usb_device_5d8_810f_001'  
> (string)
>  info.product = 'IR-receiver inside an USB DVB receiver'  (string)
>  info.subsystem = 'input'  (string)
>  info.udi =
> '/org/freedesktop/Hal/devices/usb_device_5d8_810f_001_logicaldev_input'  
> (string)
>  input.device = '/dev/input/event7'  (string)
>  input.originating_device =
> '/org/freedesktop/Hal/devices/usb_device_5d8_810f_001'  (string)
>  input.product = 'IR-receiver inside an USB DVB receiver'  (string)
>  input.x11_driver = 'evdev'  (string)
>  input.xkb.layout = 'us'  (string)
>  input.xkb.model = 'pc105+inet'  (string)
>  input.xkb.rules = 'base'  (string)
>  linux.device_file = '/dev/input/event7'  (string)
>  linux.hotplug_type = 2  (0x2)  (int)
>  linux.subsystem = 'input'  (string)
>  linux.sysfs_path =
> '/sys/devices/pci0000:00/0000:00:02.1/usb1/1-7/input/input9/event7'  
> (string)
>
>


through some trail and error I found the following HAL config worked


<?xml version="1.0" encoding="UTF-8"?>

<deviceinfo version="0.2">
  <device>
   <match key="info.product" string="IR-receiver inside an USB DVB receiver" >
     <merge key="info.ignore" type="bool">true</merge>
   </match>
  </device>
</deviceinfo>


Now Xorg ignores this device

Thanks

--
linux mailing list
linux@...
https://lists.samba.org/mailman/listinfo/linux