public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	gregkh@suse.de, bersace03@laposte.net, johannes@sipsolutions.de
Subject: Re: [PATCH] Firmware loader driver for USB Apple iSight camera
Date: Mon, 2 Jun 2008 21:21:03 +0200	[thread overview]
Message-ID: <20080602192103.GA31589@elte.hu> (raw)
In-Reply-To: <20080520190628.GA14580@srcf.ucam.org>


* Matthew Garrett <mjg59@srcf.ucam.org> wrote:

> Uninitialised Apple iSight drivers present with a distinctive USB ID. 
> Once firmware has been uploaded, they disconnect and reconnect with a 
> new ID. At this point they can be driven by the uvcvideo driver. As 
> this is unique to the Apple cameras and not functionality shared by 
> any other UVC devices, it makes sense to provide the firmware loading 
> functionality in a separate driver. This driver will read an isight.fw 
> file extracted from the Apple driver using the tools at 
> http://bersace03.free.fr/ift/ and upload it to the camera. It will 
> also handle the case where the device loses its firmware during 
> hibernation and must have it reloaded.

this caused a build failure - find the fix below. (fix can also be 
pulled/cherry-picked from -tip's tip/out-of-tree topic branch)

	Ingo

-------------------->
commit 1f910d33b2084d03267db20359472891f95b45b4
Author: Ingo Molnar <mingo@elte.hu>
Date:   Mon Jun 2 21:07:27 2008 +0200

    USB: fix build bug in USB_ISIGHTFW
    
    -tip tree testing found this build bug:
    
      drivers/built-in.o: In function `isight_firmware_load':
      isight_firmware.c:(.text+0x1ade08): undefined reference to `request_firmware'
      isight_firmware.c:(.text+0x1adf9c): undefined reference to `release_firmware'
    
    select FW_LOADER in USB_ISIGHTFW.

diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig
index eb6c069..001789c 100644
--- a/drivers/usb/misc/Kconfig
+++ b/drivers/usb/misc/Kconfig
@@ -272,6 +272,7 @@ config USB_TEST
 config USB_ISIGHTFW
 	tristate "iSight firmware loading support"
 	depends on USB
+	select FW_LOADER
 	help
 	  This driver loads firmware for USB Apple iSight cameras, allowing
 	  them to be driven by the USB video class driver available at

  parent reply	other threads:[~2008-06-02 19:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-20 19:06 [PATCH] Firmware loader driver for USB Apple iSight camera Matthew Garrett
2008-05-20 21:59 ` Oliver Neukum
2008-05-20 22:03   ` Matthew Garrett
2008-05-20 22:08     ` Oliver Neukum
2008-06-02 19:21 ` Ingo Molnar [this message]
2008-06-04  5:38   ` Greg KH

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=20080602192103.GA31589@elte.hu \
    --to=mingo@elte.hu \
    --cc=bersace03@laposte.net \
    --cc=gregkh@suse.de \
    --cc=johannes@sipsolutions.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mjg59@srcf.ucam.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