rc-core fixups
Subsystems (3)
cover rc-core fixups
The first two patches are fixups that should be uncontroversial.
The third patch is another take on a similar patch already submitted by Sean.
The fourth patch is another cleanup that should be applied before we look at implementing scancodes in the set/get keycode ioctls.
---
David Härdeman (4):
rc-core: fix remove uevent generation
rc-core: use an IDA rather than a bitmap
rc-core: remove the LIRC "protocol"
lmedm04: NEC scancode cleanup
drivers/media/rc/ir-lirc-codec.c | 5 - drivers/media/rc/keymaps/rc-lirc.c | 2 drivers/media/rc/keymaps/rc-lme2510.c | 132 ++++++++++++++++---------------- drivers/media/rc/rc-ir-raw.c | 2 drivers/media/rc/rc-main.c | 57 +++++++------- drivers/media/usb/dvb-usb-v2/lmedm04.c | 21 +++-- include/media/rc-core.h | 4 - include/media/rc-map.h | 38 ++++----- 8 files changed, 129 insertions(+), 132 deletions(-)
--
David Härdeman
PATCH 1/4 rc-core: fix remove uevent generation
The input_dev is already gone when the rc device is being unregistered so checking for its presence only means that no remove uevent will be generated.
--- drivers/media/rc/rc-main.c | 3 --- 1 file changed, 3 deletions(-)
drivers/media/rc/rc-main.c +0 -3
@@ -1193,9 +1193,6 @@ static int rc_dev_uevent(struct device *device, struct kobj_uevent_env *env) {struct rc_dev *dev =to_rc_dev (device); -if (!dev || !dev->input_dev) -return -ENODEV ; -if (dev->rc_map.name)ADD_HOTPLUG_VAR ("NAME=%s" , dev->rc_map.name);if (dev->driver_name)
PATCH 2/4 rc-core: use an IDA rather than a bitmap
In reply to David HärdemanThis patch changes rc-core to use the kernel facilities that are already available for handling unique numbers instead of rolling its own bitmap stuff.
--- drivers/media/rc/rc-ir-raw.c | 2 +- drivers/media/rc/rc-main.c | 40 ++++++++++++++++++++-------------------- include/media/rc-core.h | 4 ++-- 3 files changed, 23 insertions(+), 23 deletions(-)
drivers/media/rc/rc-ir-raw.c +1 -1
@@ -406,7 +406,7 @@ int ir_raw_event_register(struct rc_dev *dev)spin_lock_init (&dev->raw->lock); dev->raw->thread =kthread_run (ir_raw_event_thread, dev->raw, -"rc%ld" , dev->devno); +"rc%u" , dev->minor);if (IS_ERR (dev->raw->thread)) { rc =PTR_ERR (dev->raw->thread);
drivers/media/rc/rc-main.c +20 -20
@@ -18,17 +18,15 @@#include <linux/input.h> #include <linux/leds.h> #include <linux/slab.h> +#include <linux/idr.h> #include <linux/device.h> #include <linux/module.h> #include "rc-core-priv.h" -/* Bitmap to store allocated device numbers from 0 to IRRCV_NUM_DEVICES - 1 */ -#define IRRCV_NUM_DEVICES 256 -static DECLARE_BITMAP(ir_core_dev_number, IRRCV_NUM_DEVICES); -/* Sizes are in bytes, 256 bytes allows for 32 entries on x64 */ #define IR_TAB_MIN_SIZE 256#define IR_TAB_MAX_SIZE 8192 +#define RC_DEV_MAX 256/* FIXME: IR_KEYPRESS_TIMEOUT should be protocol specific */ #define IR_KEYPRESS_TIMEOUT 250
@@ -38,6 +36,9 @@ static LIST_HEAD(rc_map_list);static DEFINE_SPINLOCK (rc_map_lock);static struct led_trigger *led_feedback; +/* Used to keep track of rc devices */ +static DEFINE_IDA (rc_ida); +static struct rc_map_list *seek_rc_map (const char *name) {struct rc_map_list *map =NULL ;
@@ -1311,7 +1312,9 @@ int rc_register_device(struct rc_dev *dev)static bool raw_init = false;/* raw decoders loaded? */ struct rc_map *rc_map;const char *path; -int rc, devno, attr =0 ; +int attr =0 ; +int minor; +int rc;if (!dev || !dev->map_name)return -EINVAL ;
@@ -1331,13 +1334,13 @@ int rc_register_device(struct rc_dev *dev)if (dev->close) dev->input_dev->close = ir_close; -do { - devno =find_first_zero_bit (ir_core_dev_number, -IRRCV_NUM_DEVICES ); -/* No free device slots */ -if (devno >=IRRCV_NUM_DEVICES ) -return -ENOMEM ; - }while (test_and_set_bit (devno, ir_core_dev_number)); + minor =ida_simple_get (&rc_ida,0 ,RC_DEV_MAX ,GFP_KERNEL ); +if (minor <0 ) +return minor; + + dev->minor = minor; +dev_set_name (&dev->dev,"rc%u" , dev->minor); +dev_set_drvdata (&dev->dev, dev); dev->dev.groups = dev->sysfs_groups; dev->sysfs_groups[attr++] = &rc_dev_protocol_attr_grp;
@@ -1357,9 +1360,6 @@ int rc_register_device(struct rc_dev *dev)*/ mutex_lock (&dev->lock); - dev->devno = devno; -dev_set_name (&dev->dev,"rc%ld" , dev->devno); -dev_set_drvdata (&dev->dev, dev); rc =device_add (&dev->dev);if (rc) goto out_unlock;
@@ -1435,8 +1435,8 @@ int rc_register_device(struct rc_dev *dev)mutex_unlock (&dev->lock); -IR_dprintk (1 ,"Registered rc%ld (driver: %s, remote: %s, mode %s)\n" , - dev->devno, +IR_dprintk (1 ,"Registered rc%u (driver: %s, remote: %s, mode %s)\n" , + dev->minor, dev->driver_name ? dev->driver_name :"unknown" , rc_map->name ? rc_map->name :"unknown" , dev->driver_type ==RC_DRIVER_IR_RAW ?"raw" :"cooked" );
@@ -1455,7 +1455,7 @@ out_dev:device_del (&dev->dev); out_unlock:mutex_unlock (&dev->lock); -clear_bit (dev->devno, ir_core_dev_number); +ida_simple_remove (&rc_ida, minor);return rc; }EXPORT_SYMBOL_GPL (rc_register_device);
@@ -1467,8 +1467,6 @@ void rc_unregister_device(struct rc_dev *dev)del_timer_sync (&dev->timer_keyup); -clear_bit (dev->devno, ir_core_dev_number); -if (dev->driver_type ==RC_DRIVER_IR_RAW )ir_raw_event_unregister (dev);
@@ -1481,6 +1479,8 @@ void rc_unregister_device(struct rc_dev *dev)device_del (&dev->dev); +ida_simple_remove (&rc_ida, dev->minor); +rc_free_device (dev); }
include/media/rc-core.h +2 -2
@@ -69,7 +69,7 @@ enum rc_filter_type {* @rc_map: current scan/key table * @lock: used to ensure we've filled in all protocol details before * anyone can call show_protocols or store_protocols -* @devno: unique remote control device number +* @minor: unique minor remote control device number * @raw: additional data for raw pulse/space devices * @input_dev: the input child device used to communicate events to userspace * @driver_type: specifies if protocol decoding is done in hardware or software
@@ -131,7 +131,7 @@ struct rc_dev {const char *map_name;struct rc_map rc_map;struct mutex lock; -unsigned long devno; +unsigned int minor;struct ir_raw_event_ctrl *raw;struct input_dev *input_dev;enum rc_driver_type driver_type;
PATCH 3/4 rc-core: remove the LIRC "protocol"
In reply to David HärdemanThe LIRC protocol was always a bad fit and if we're ever going to expose protocol numbers in a user-space API, it'd be better to get rid of the LIRC "protocol" first.
The sysfs API is kept backwards compatible by always listing the lirc protocol as present and enabled.
--- drivers/media/rc/ir-lirc-codec.c | 5 +---- drivers/media/rc/keymaps/rc-lirc.c | 2 +- drivers/media/rc/rc-main.c | 14 +++++++++---- include/media/rc-map.h | 38 +++++++++++++++++------------------- 4 files changed, 29 insertions(+), 30 deletions(-)
drivers/media/rc/ir-lirc-codec.c +1 -4
@@ -35,9 +35,6 @@ static int ir_lirc_decode(struct rc_dev *dev, struct ir_raw_event ev)struct lirc_codec *lirc = &dev->raw->lirc;int sample; -if (!(dev->enabled_protocols &RC_BIT_LIRC )) -return 0 ; -if (!dev->raw->lirc.drv || !dev->raw->lirc.drv->rbuf)return -EINVAL ;
@@ -424,7 +421,7 @@ static int ir_lirc_unregister(struct rc_dev *dev) }static struct ir_raw_handler lirc_handler = { - .protocols =RC_BIT_LIRC , + .protocols =0 , .decode = ir_lirc_decode, .raw_register = ir_lirc_register, .raw_unregister = ir_lirc_unregister,
drivers/media/rc/keymaps/rc-lirc.c +1 -1
@@ -20,7 +20,7 @@ static struct rc_map_list lirc_map = { .map = { .scan = lirc, .size = ARRAY_SIZE(lirc), - .rc_type = RC_TYPE_LIRC, + .rc_type = RC_TYPE_OTHER, .name = RC_MAP_LIRC, } };
drivers/media/rc/rc-main.c +9 -5
@@ -800,7 +800,6 @@ static struct { { RC_BIT_SANYO, "sanyo" }, { RC_BIT_SHARP, "sharp" }, { RC_BIT_MCE_KBD, "mce_kbd" }, - { RC_BIT_LIRC, "lirc" }, { RC_BIT_XMP, "xmp" }, };
@@ -885,6 +884,9 @@ static ssize_t show_protocols(struct device *device, allowed &= ~proto_names[i].type; } +if (dev->driver_type ==RC_DRIVER_IR_RAW ) + tmp +=sprintf (tmp,"[lirc] " ); +if (tmp != buf) tmp--; *tmp ='\n' ;
@@ -936,8 +938,12 @@ static int parse_protocol_change(u64 *protocols, const char *buf) }if (i ==ARRAY_SIZE (proto_names)) { -IR_dprintk (1 ,"Unknown protocol: '%s'\n" , tmp); -return -EINVAL ; +if (!strcasecmp (tmp,"lirc" )) + mask =0 ; +else { +IR_dprintk (1 ,"Unknown protocol: '%s'\n" , tmp); +return -EINVAL ; + } } count++;
@@ -1425,8 +1431,6 @@ int rc_register_device(struct rc_dev *dev)if (dev->change_protocol) {u64 rc_type = (1ll << rc_map->rc_type); -if (dev->driver_type ==RC_DRIVER_IR_RAW ) - rc_type |=RC_BIT_LIRC ; rc = dev->change_protocol (dev, &rc_type);if (rc <0 ) goto out_raw;
include/media/rc-map.h +18 -20
@@ -14,30 +14,28 @@enum rc_type {RC_TYPE_UNKNOWN =0 ,/* Protocol not known */ RC_TYPE_OTHER =1 ,/* Protocol known but proprietary */ -RC_TYPE_LIRC =2 ,/* Pass raw IR to lirc userspace */ -RC_TYPE_RC5 =3 ,/* Philips RC5 protocol */ -RC_TYPE_RC5X =4 ,/* Philips RC5x protocol */ -RC_TYPE_RC5_SZ =5 ,/* StreamZap variant of RC5 */ -RC_TYPE_JVC =6 ,/* JVC protocol */ -RC_TYPE_SONY12 =7 ,/* Sony 12 bit protocol */ -RC_TYPE_SONY15 =8 ,/* Sony 15 bit protocol */ -RC_TYPE_SONY20 =9 ,/* Sony 20 bit protocol */ -RC_TYPE_NEC =10 ,/* NEC protocol */ -RC_TYPE_SANYO =11 ,/* Sanyo protocol */ -RC_TYPE_MCE_KBD =12 ,/* RC6-ish MCE keyboard/mouse */ -RC_TYPE_RC6_0 =13 ,/* Philips RC6-0-16 protocol */ -RC_TYPE_RC6_6A_20 =14 ,/* Philips RC6-6A-20 protocol */ -RC_TYPE_RC6_6A_24 =15 ,/* Philips RC6-6A-24 protocol */ -RC_TYPE_RC6_6A_32 =16 ,/* Philips RC6-6A-32 protocol */ -RC_TYPE_RC6_MCE =17 ,/* MCE (Philips RC6-6A-32 subtype) protocol */ -RC_TYPE_SHARP =18 ,/* Sharp protocol */ -RC_TYPE_XMP =19 ,/* XMP protocol */ +RC_TYPE_RC5 =2 ,/* Philips RC5 protocol */ +RC_TYPE_RC5X =3 ,/* Philips RC5x protocol */ +RC_TYPE_RC5_SZ =4 ,/* StreamZap variant of RC5 */ +RC_TYPE_JVC =5 ,/* JVC protocol */ +RC_TYPE_SONY12 =6 ,/* Sony 12 bit protocol */ +RC_TYPE_SONY15 =7 ,/* Sony 15 bit protocol */ +RC_TYPE_SONY20 =8 ,/* Sony 20 bit protocol */ +RC_TYPE_NEC =9 ,/* NEC protocol */ +RC_TYPE_SANYO =10 ,/* Sanyo protocol */ +RC_TYPE_MCE_KBD =11 ,/* RC6-ish MCE keyboard/mouse */ +RC_TYPE_RC6_0 =12 ,/* Philips RC6-0-16 protocol */ +RC_TYPE_RC6_6A_20 =13 ,/* Philips RC6-6A-20 protocol */ +RC_TYPE_RC6_6A_24 =14 ,/* Philips RC6-6A-24 protocol */ +RC_TYPE_RC6_6A_32 =15 ,/* Philips RC6-6A-32 protocol */ +RC_TYPE_RC6_MCE =16 ,/* MCE (Philips RC6-6A-32 subtype) protocol */ +RC_TYPE_SHARP =17 ,/* Sharp protocol */ +RC_TYPE_XMP =18 ,/* XMP protocol */ };#define RC_BIT_NONE 0#define RC_BIT_UNKNOWN (1 << RC_TYPE_UNKNOWN)#define RC_BIT_OTHER (1 << RC_TYPE_OTHER) -#define RC_BIT_LIRC (1 << RC_TYPE_LIRC)#define RC_BIT_RC5 (1 << RC_TYPE_RC5)#define RC_BIT_RC5X (1 << RC_TYPE_RC5X)#define RC_BIT_RC5_SZ (1 << RC_TYPE_RC5_SZ)
@@ -56,7 +54,7 @@ enum rc_type {#define RC_BIT_SHARP (1 << RC_TYPE_SHARP)#define RC_BIT_XMP (1 << RC_TYPE_XMP) -#define RC_BIT_ALL (RC_BIT_UNKNOWN | RC_BIT_OTHER | RC_BIT_LIRC | \ +#define RC_BIT_ALL (RC_BIT_UNKNOWN | RC_BIT_OTHER | \ RC_BIT_RC5 | RC_BIT_RC5X | RC_BIT_RC5_SZ | \ RC_BIT_JVC | \ RC_BIT_SONY12 | RC_BIT_SONY15 | RC_BIT_SONY20 | \
PATCH 4/4 lmedm04: NEC scancode cleanup
In reply to David HärdemanThis changes the keymap back to the state before commit 616a4b83 and changes the driver to use full NEC32 scancodes following the instructions provided by Malcolm Priestley <[email protected]>.
--- drivers/media/rc/keymaps/rc-lme2510.c | 132 ++++++++++++++++---------------- drivers/media/usb/dvb-usb-v2/lmedm04.c | 21 +++-- 2 files changed, 77 insertions(+), 76 deletions(-)
drivers/media/rc/keymaps/rc-lme2510.c +66 -66
@@ -15,74 +15,74 @@static struct rc_map_table lme2510_rc[] = {/* Type 1 - 26 buttons */ - {0x10ed45 ,KEY_0 }, - {0x10ed5f ,KEY_1 }, - {0x10ed50 ,KEY_2 }, - {0x10ed5d ,KEY_3 }, - {0x10ed41 ,KEY_4 }, - {0x10ed0a ,KEY_5 }, - {0x10ed42 ,KEY_6 }, - {0x10ed47 ,KEY_7 }, - {0x10ed49 ,KEY_8 }, - {0x10ed05 ,KEY_9 }, - {0x10ed43 ,KEY_POWER }, - {0x10ed46 ,KEY_SUBTITLE }, - {0x10ed06 ,KEY_PAUSE }, - {0x10ed03 ,KEY_MEDIA_REPEAT }, - {0x10ed02 ,KEY_PAUSE }, - {0x10ed5e ,KEY_VOLUMEUP }, - {0x10ed5c ,KEY_VOLUMEDOWN }, - {0x10ed09 ,KEY_CHANNELUP }, - {0x10ed1a ,KEY_CHANNELDOWN }, - {0x10ed1e ,KEY_PLAY }, - {0x10ed1b ,KEY_ZOOM }, - {0x10ed59 ,KEY_MUTE }, - {0x10ed5a ,KEY_TV }, - {0x10ed18 ,KEY_RECORD }, - {0x10ed07 ,KEY_EPG }, - {0x10ed01 ,KEY_STOP }, + {0xef12ba45 ,KEY_0 }, + {0xef12a05f ,KEY_1 }, + {0xef12af50 ,KEY_2 }, + {0xef12a25d ,KEY_3 }, + {0xef12be41 ,KEY_4 }, + {0xef12f50a ,KEY_5 }, + {0xef12bd42 ,KEY_6 }, + {0xef12b847 ,KEY_7 }, + {0xef12b649 ,KEY_8 }, + {0xef12fa05 ,KEY_9 }, + {0xef12bc43 ,KEY_POWER }, + {0xef12b946 ,KEY_SUBTITLE }, + {0xef12f906 ,KEY_PAUSE }, + {0xef12fc03 ,KEY_MEDIA_REPEAT }, + {0xef12fd02 ,KEY_PAUSE }, + {0xef12a15e ,KEY_VOLUMEUP }, + {0xef12a35c ,KEY_VOLUMEDOWN }, + {0xef12f609 ,KEY_CHANNELUP }, + {0xef12e51a ,KEY_CHANNELDOWN }, + {0xef12e11e ,KEY_PLAY }, + {0xef12e41b ,KEY_ZOOM }, + {0xef12a659 ,KEY_MUTE }, + {0xef12a55a ,KEY_TV }, + {0xef12e718 ,KEY_RECORD }, + {0xef12f807 ,KEY_EPG }, + {0xef12fe01 ,KEY_STOP },/* Type 2 - 20 buttons */ - {0xbf15 ,KEY_0 }, - {0xbf08 ,KEY_1 }, - {0xbf09 ,KEY_2 }, - {0xbf0a ,KEY_3 }, - {0xbf0c ,KEY_4 }, - {0xbf0d ,KEY_5 }, - {0xbf0e ,KEY_6 }, - {0xbf10 ,KEY_7 }, - {0xbf11 ,KEY_8 }, - {0xbf12 ,KEY_9 }, - {0xbf00 ,KEY_POWER }, - {0xbf04 ,KEY_MEDIA_REPEAT },/* Recall */ - {0xbf1a ,KEY_PAUSE },/* Timeshift */ - {0xbf02 ,KEY_VOLUMEUP },/* 2 x -/+ Keys not marked */ - {0xbf06 ,KEY_VOLUMEDOWN },/* Volume defined as right hand*/ - {0xbf01 ,KEY_CHANNELUP }, - {0xbf05 ,KEY_CHANNELDOWN }, - {0xbf14 ,KEY_ZOOM }, - {0xbf18 ,KEY_RECORD }, - {0xbf16 ,KEY_STOP }, + {0xff40ea15 ,KEY_0 }, + {0xff40f708 ,KEY_1 }, + {0xff40f609 ,KEY_2 }, + {0xff40f50a ,KEY_3 }, + {0xff40f30c ,KEY_4 }, + {0xff40f20d ,KEY_5 }, + {0xff40f10e ,KEY_6 }, + {0xff40ef10 ,KEY_7 }, + {0xff40ee11 ,KEY_8 }, + {0xff40ed12 ,KEY_9 }, + {0xff40ff00 ,KEY_POWER }, + {0xff40fb04 ,KEY_MEDIA_REPEAT },/* Recall */ + {0xff40e51a ,KEY_PAUSE },/* Timeshift */ + {0xff40fd02 ,KEY_VOLUMEUP },/* 2 x -/+ Keys not marked */ + {0xff40f906 ,KEY_VOLUMEDOWN },/* Volume defined as right hand*/ + {0xff40fe01 ,KEY_CHANNELUP }, + {0xff40fa05 ,KEY_CHANNELDOWN }, + {0xff40eb14 ,KEY_ZOOM }, + {0xff40e718 ,KEY_RECORD }, + {0xff40e916 ,KEY_STOP },/* Type 3 - 20 buttons */ - {0x1c ,KEY_0 }, - {0x07 ,KEY_1 }, - {0x15 ,KEY_2 }, - {0x09 ,KEY_3 }, - {0x16 ,KEY_4 }, - {0x19 ,KEY_5 }, - {0x0d ,KEY_6 }, - {0x0c ,KEY_7 }, - {0x18 ,KEY_8 }, - {0x5e ,KEY_9 }, - {0x45 ,KEY_POWER }, - {0x44 ,KEY_MEDIA_REPEAT },/* Recall */ - {0x4a ,KEY_PAUSE },/* Timeshift */ - {0x47 ,KEY_VOLUMEUP },/* 2 x -/+ Keys not marked */ - {0x43 ,KEY_VOLUMEDOWN },/* Volume defined as right hand*/ - {0x46 ,KEY_CHANNELUP }, - {0x40 ,KEY_CHANNELDOWN }, - {0x08 ,KEY_ZOOM }, - {0x42 ,KEY_RECORD }, - {0x5a ,KEY_STOP }, + {0xff00e31c ,KEY_0 }, + {0xff00f807 ,KEY_1 }, + {0xff00ea15 ,KEY_2 }, + {0xff00f609 ,KEY_3 }, + {0xff00e916 ,KEY_4 }, + {0xff00e619 ,KEY_5 }, + {0xff00f20d ,KEY_6 }, + {0xff00f30c ,KEY_7 }, + {0xff00e718 ,KEY_8 }, + {0xff00a15e ,KEY_9 }, + {0xff00ba45 ,KEY_POWER }, + {0xff00bb44 ,KEY_MEDIA_REPEAT },/* Recall */ + {0xff00b54a ,KEY_PAUSE },/* Timeshift */ + {0xff00b847 ,KEY_VOLUMEUP },/* 2 x -/+ Keys not marked */ + {0xff00bc43 ,KEY_VOLUMEDOWN },/* Volume defined as right hand*/ + {0xff00b946 ,KEY_CHANNELUP }, + {0xff00bf40 ,KEY_CHANNELDOWN }, + {0xff00f708 ,KEY_ZOOM }, + {0xff00bd42 ,KEY_RECORD }, + {0xff00a55a ,KEY_STOP }, };static struct rc_map_list lme2510_map = {
drivers/media/usb/dvb-usb-v2/lmedm04.c +11 -10
@@ -292,15 +292,16 @@ static void lme2510_int_response(struct urb *lme_urb)switch (ibuf[0 ]) {case 0xaa :debug_data_snipet (1 ,"INT Remote data snipet" , ibuf); -if ((ibuf[4 ] + ibuf[5 ]) ==0xff ) { - key =RC_SCANCODE_NECX ((ibuf[2 ] ^0xff ) <<8 | - (ibuf[3 ] >0 ) ? (ibuf[3 ] ^0xff ) :0 , - ibuf[5 ]); -deb_info (1 ,"INT Key =%08x" , key); -if (adap_to_d (adap)->rc_dev !=NULL ) -rc_keydown (adap_to_d (adap)->rc_dev, -RC_TYPE_NEC , key,0 ); - } +if (!adap_to_d (adap)->rc_dev) +break ; + + key =RC_SCANCODE_NEC32 (ibuf[2 ] <<24 | + ibuf[3 ] <<16 | + ibuf[4 ] <<8 | + ibuf[5 ]); + +deb_info (1 ,"INT Key = 0x%08x" , key); +rc_keydown (adap_to_d (adap)->rc_dev,RC_TYPE_NEC , key,0 );break ;case 0xbb :switch (st->tuner_config) {
@@ -1296,7 +1297,7 @@ module_usb_driver(lme2510_driver);MODULE_AUTHOR ("Malcolm Priestley <[email protected]>" );MODULE_DESCRIPTION ("LME2510(C) DVB-S USB2.0" ); -MODULE_VERSION ("2.06" ); +MODULE_VERSION ("2.07" );MODULE_LICENSE ("GPL" );MODULE_FIRMWARE (LME2510_C_S7395 );MODULE_FIRMWARE (LME2510_C_LG );