linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rick L. Vinyard, Jr." <rvinyard@cs.nmsu.edu>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, felipe.balbi@nokia.com,
	krzysztof.h1@wp.pl, linux-usb@vger.kernel.org, oliver@neukum.org,
	linux-input@vger.kernel.org, jkosina@suse.cz
Subject: Re: [PATCH] Logitech G13 driver 0.0.2
Date: Wed, 6 Jan 2010 15:55:10 -0700	[thread overview]
Message-ID: <80c4f5c2525b7de126db6ad51bcb39c9.squirrel@intranet.cs.nmsu.edu> (raw)
In-Reply-To: <20100106144447.b5ea9b1f.akpm@linux-foundation.org>

Andrew Morton wrote:
> On Mon, 14 Dec 2009 15:44:46 -0700
> "Rick L. Vinyard Jr." <rvinyard@cs.nmsu.edu> wrote:
>
>> his is a driver for the Logitech G13 gamepad, and contains three
>> key parts. In the USB reports the device identifies itself as a
>> HID, and as a result this driver is under the HID framework.
>>
>> There are two primary sub-components to this driver; an input
>> device and a framebuffer device.
>>
>> Although identified as a HID, the device does not support standard
>> HID input messages. As a result, a sub-input device is allocated and
>> registered separately in g13_probe(). The raw events are monitored
>> and key presses/joystick activity is reported through the input device
>> after referencing an indexed keymap.
>>
>> Additionally, this device contains a 160x43 monochrome LCD display.
>> A registered framebuffer device manages this display. The design
>> of this portion of the driver was based on the design of the
>> hecubafb driver with deferred framebuffer I/O since there is
>> no real memory to map.
>
> I get this from x86_64 allmodconfig:
>
> drivers/hid/hid-g13.o:(.rodata+0x0): multiple definition of
> `__mod_hid_device_table'
> drivers/hid/hid-lg.o:(.rodata+0x0): first defined here
> /opt/crosstool/gcc-4.0.2-glibc-2.3.6/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ld:
> Warning: size of symbol `__mod_hid_device_table' changed from 552 in
> drivers/hid/hid-lg.o to 48 in drivers/hid/hid-g13.o
> drivers/hid/hid-g13.o: In function `init_module':
> hid-g13.c:(.init.text+0x0): multiple definition of `init_module'
> drivers/hid/hid-lg.o:hid-lg.c:(.init.text+0x0): first defined here
> drivers/hid/hid-g13.o: In function `cleanup_module':
> hid-g13.c:(.exit.text+0x0): multiple definition of `cleanup_module'
> drivers/hid/hid-lg.o:hid-lg.c:(.exit.text+0x0): first defined here
>
> Confused.
>

I think the symbol conflicts are due to the fact that I was building it
alongside the Logitech stuff and was adding it to logitech-objs. But,
logitech-objs is really Logitech Force Feedback stuff.

I'll submit a patch shortly that fixes this + other stuff.


  reply	other threads:[~2010-01-06 22:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-14 22:44 [PATCH] Logitech G13 driver 0.0.2 Rick L. Vinyard Jr.
2009-12-18 15:18 ` Jiri Kosina
2010-01-04 22:39   ` Rick L. Vinyard, Jr.
2010-01-06 22:44 ` Andrew Morton
2010-01-06 22:55   ` Rick L. Vinyard, Jr. [this message]
2010-01-06 23:52   ` Jiri Kosina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=80c4f5c2525b7de126db6ad51bcb39c9.squirrel@intranet.cs.nmsu.edu \
    --to=rvinyard@cs.nmsu.edu \
    --cc=akpm@linux-foundation.org \
    --cc=felipe.balbi@nokia.com \
    --cc=jkosina@suse.cz \
    --cc=krzysztof.h1@wp.pl \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=oliver@neukum.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).