GNOME Bugzilla – Bug 557977
Soundgraph remote is not detected
Last modified: 2008-10-27 15:50:09 UTC
Hi, I have installed Fedora 10 Snapshot and gnome-lirc-properties does not detect my remote. I have installed this USB-Device with a display and the included remote: http://www.soundgraph.com/Eng_/Products/oem3.aspx?topMenu=2&subMenu=3&leftMenu=43 The device is visible via lsusb. What logs do you need ? cu romal
Please follow the instructions on the gnome-lirc-properties page: http://live.gnome.org/gnome-lirc-properties
[root@orilla ~]# yum update gnome-lirc-properties lirc Loaded plugins: refresh-packagekit Setting up Update Process No Packages marked for Update [root@orilla ~]# [root@orilla ~]# lsmod | grep lirc lirc_imon 16904 0 lirc_dev 14232 1 lirc_imon [root@orilla ~]# Start monitoring devicelist: ------------------------------------------------- *** 18:11:30.030: lshal: device_removed, udi='/org/freedesktop/Hal/devices/usb_device_15c2_ffdc_noserial_if0' *** 18:11:30.038: lshal: device_removed, udi='/org/freedesktop/Hal/devices/usb_device_15c2_ffdc_noserial' *** 18:11:32.404: lshal: device_added, udi='/org/freedesktop/Hal/devices/usb_device_15c2_ffdc_noserial' info.bus = 'usb_device' (string) info.linux.driver = 'usb' (string) info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_01_07_0' (string) info.product = 'iMON PAD Remote Controller' (string) info.subsystem = 'usb_device' (string) info.udi = '/org/freedesktop/Hal/devices/usb_device_15c2_ffdc_noserial' (string) info.vendor = 'SoundGraph Inc.' (string) linux.device_file = '/dev/bus/usb/005/003' (string) linux.hotplug_type = 2 (0x2) (int) linux.subsystem = 'usb' (string) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:08.0/0000:01:07.0/usb5/5-1' (string) usb_device.bus_number = 5 (0x5) (int) usb_device.can_wake_up = false (bool) usb_device.device_class = 0 (0x0) (int) usb_device.device_protocol = 0 (0x0) (int) usb_device.device_revision_bcd = 0 (0x0) (int) usb_device.device_subclass = 0 (0x0) (int) usb_device.is_self_powered = false (bool) usb_device.linux.device_number = 3 (0x3) (int) usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:08.0/0000:01:07.0/usb5/5-1' (string) usb_device.num_configurations = 1 (0x1) (int) usb_device.num_ports = 0 (0x0) (int) usb_device.product = 'iMON PAD Remote Controller' (string) usb_device.product_id = 65500 (0xffdc) (int) usb_device.speed = 1.5 (1.5) (double) usb_device.vendor = 'SoundGraph Inc.' (string) usb_device.vendor_id = 5570 (0x15c2) (int) usb_device.version = 1.1 (1.1) (double) *** 18:11:32.458: lshal: device_added, udi='/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_01_07_0_if0_0' info.bus = 'usb' (string) info.linux.driver = 'lirc_imon' (string) info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_01_07_0' (string) info.product = 'USB Interface' (string) info.subsystem = 'usb' (string) info.udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_01_07_0_if0_0' (string) linux.hotplug_type = 2 (0x2) (int) linux.subsystem = 'usb' (string) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:08.0/0000:01:07.0/usb5/5-1/5-1:1.0' (string) usb.bus_number = 5 (0x5) (int) usb.can_wake_up = true (bool) usb.configuration_value = 1 (0x1) (int) usb.device_class = 9 (0x9) (int) usb.device_protocol = 0 (0x0) (int) usb.device_revision_bcd = 518 (0x206) (int) usb.device_subclass = 0 (0x0) (int) usb.interface.class = 0 (0x0) (int) usb.interface.number = 0 (0x0) (int) usb.interface.protocol = 0 (0x0) (int) usb.interface.subclass = 0 (0x0) (int) usb.is_self_powered = true (bool) usb.linux.device_number = 1 (0x1) (int) usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:08.0/0000:01:07.0/usb5/5-1/5-1:1.0' (string) usb.max_power = 0 (0x0) (int) usb.num_configurations = 1 (0x1) (int) usb.num_interfaces = 1 (0x1) (int) usb.num_ports = 2 (0x2) (int) usb.product = 'USB Interface' (string) usb.product_id = 1 (0x1) (int) usb.serial = '0000:01:07.0' (string) usb.speed = 12.0 (12) (double) usb.vendor = 'Linux Foundation' (string) usb.vendor_id = 7531 (0x1d6b) (int) usb.version = 1.1 (1.1) (double) [root@orilla ~]# lsusb Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller Bus 005 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 004 Device 004: ID 046a:0023 Cherry GmbH Cymotion Master Linux Keyboard Bus 004 Device 003: ID 045e:008c Microsoft Corp. Wireless Intellimouse Explorer 2.0 Bus 004 Device 005: ID 045e:009c Microsoft Corp. Wireless Transceiver for Bluetooth 2.0 Bus 004 Device 002: ID 045e:3500 Microsoft Corp. Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub [root@orilla ~]# [root@orilla ~]# lsusb -d 15c2:ffdc Bus 005 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller [root@orilla ~]# lsusb -v -d 15c2:ffdc Bus 005 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x15c2 SoundGraph Inc. idProduct 0xffdc iMON PAD Remote Controller bcdDevice 0.00 iManufacturer 0 iProduct 0 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 41 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 100mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 0 (Defined at Interface level) bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 ** UNRECOGNIZED: 09 21 00 01 00 01 22 25 00 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 10 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 10 Device Status: 0x0000 (Bus Powered) [root@orilla ~]#
This remote should be detected just fine. You should have at the minimum gnome-lirc-properties-0.2.8-10 or 0.3.0-2 to have the definition. Which version do you have? Is there any output from gnome-lirc-properties when run on the command-line?
Direct after starting: [romal@orilla ~]$ gnome-lirc-properties Traceback (most recent call last):
+ Trace 208752
self.__setup_devices_model(device_nodes)
self.selected_device = None
device_node = self.__hardware_manager.find_instance(receiver)
if (device['usb_device.vendor_id'] == receiver.vendor_id and
raise KeyError, key
While detecting: Traceback (most recent call last):
It does detect the power button (CM) & power Button (FF), but not the remote.
As I asked earlier, which version of gnome-lirc-properties do you have? Also, which version of lirc, and lirc-remotes do you have?
Fixed the power buttons being detected as remotes. 2008-10-27 Bastien Nocera <hadess@hadess.net> * gnome_lirc_properties/hardware.py: Fix the backend detecting devices without any keys (power buttons) Also fixed the backtrace you've been seeing. It happens with this sort of device: udi = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial' info.bus = 'usb_device' (string) info.parent = '/org/freedesktop/Hal/devices/usb_device_46d_c70a_00076144B955_if0' (string) info.product = 'Unknown (0xffffffff)' (string) info.subsystem = 'usb_device' (string) info.udi = '/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial' (string) info.vendor = 'Unknown (0xffffffff)' (string) linux.device_file = '/dev/hiddev0' (string) linux.hotplug_type = 2 (0x2) (int) linux.subsystem = 'usb' (string) linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3:1.0/usb/hiddev0' (string) usb_device.bus_number = 0 (0x0) (int) usb_device.can_wake_up = false (bool) usb_device.is_self_powered = false (bool) usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.3/1-1.3.3/1-1.3.3:1.0/usb/hiddev0' (string) It's a hiddev usb_device, only its parent has a product and vendor id. 2008-10-27 Bastien Nocera <hadess@hadess.net> * gnome_lirc_properties/hardware.py: Fix USB hiddev device (without a product or vendor ID) causing backtraces Please test gnome-lirc-properties-0.3.0-4.fc10, this should fix the detection: http://koji.fedoraproject.org/koji/buildinfo?buildID=67691
[romal@localhost ~]$ rpm --query gnome-lirc-properties gnome-lirc-properties-0.3.0-4.fc10.noarch [romal@localhost ~]$ The backtraces are gone. The power buttons are still detected.
I did a clean install of todays rawhide. The imon remote is now detected (along with the power buttons). The install I used so long, was an updated Snap1. Imons lcd-display is not usable for lcdproc, but that seem to be a problem in Fedoras lcdproc package. gnome-lirc does configure lirc, but does not enable the lirc-daemon in the runlevels: [romal@localhost ~]$ chkconfig --list lirc lirc 0:off 1:off 2:off 3:off 4:off 5:off 6:off [romal@localhost ~]$
Could you please file a separate bug with the output of "lshal" for the power buttons problem? As for lirc not turning itself on, I believe this should be fixed in gnome-lirc-properties-0.3.0-5.fc10 (http://koji.fedoraproject.org/koji/taskinfo?taskID=906514) If it's not fixed, please file a separate bug as well. The original problem (the backtrace, causing the loop not to finish, and not detecting the remote) was fixed, so closing this.