mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Justin Mattock" <justinmattock@gmail.com>
To: "Oliver Neukum" <oliver@neukum.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: [Bug #10825] appletouch after wakeup
Date: Mon, 9 Jun 2008 22:04:44 +0000	[thread overview]
Message-ID: <dd18b0c30806091504u43e0e901jb786e57f5cbf47cd@mail.gmail.com> (raw)
In-Reply-To: <200806092316.56459.oliver@neukum.org>

On Mon, Jun 9, 2008 at 9:16 PM, Oliver Neukum <oliver@neukum.org> wrote:
> Am Montag 09 Juni 2008 22:52:21 schrieb Justin Mattock:
>> On Mon, Jun 9, 2008 at 8:31 PM, Oliver Neukum <oliver@neukum.org> wrote:
>> > Am Montag 09 Juni 2008 22:29:05 schrieb Justin Mattock:
>> >> On Mon, Jun 9, 2008 at 7:53 PM, Oliver Neukum <oliver@neukum.org> wrote:
>> >> > Am Montag 09 Juni 2008 18:18:19 schrieb Justin Mattock:
>> >
>> >> >> Cool; just an update, I've suspended the system numerous times it
>> >> >> seems appletouch is behaving correctly, in fact
>> >> >> I think better, why: when I start the system I have two finger scroll
>> >> >> functionality, then when suspending the system
>> >> >> after waking up the two finger scroll is still functional.
>> >> >> regards;
>> >> >>
>> >> >
>> >> > With last week's patch or today's patch?
>> >> >
>> >> >        Regards
>> >> >                Oliver
>> >> >
>> >> >
>> >>
>> >> Last weeks patch.
>> >> regards;
>> >>
>> >
>> > Could you also try today's patch?
>> >
>> >        Regards
>> >                Oliver
>> >
>> >
>>
>> Sure, where is it located.
>> regards;
>>
>
> Didn't I mail it to you? Anyway, here it is.
>
>        Regards
>                Oliver
>
> ----
>
> --- linux-2.6.26-rc5/drivers/usb/core/quirks.c  2008-06-05 13:45:57.000000000 +0200
> +++ linux-2.6.26-rc5-btusb/drivers/usb/core/quirks.c    2008-06-06 08:12:10.000000000 +0200
> @@ -47,6 +47,9 @@ static const struct usb_device_id usb_qu
>        /* Edirol SD-20 */
>        { USB_DEVICE(0x0582, 0x0027), .driver_info = USB_QUIRK_RESET_RESUME },
>
> +       /* appletouch */
> +       { USB_DEVICE(0x05ac, 0x021a), .driver_info = USB_QUIRK_RESET_RESUME },
> +
>        /* Avision AV600U */
>        { USB_DEVICE(0x0638, 0x0a13), .driver_info =
>          USB_QUIRK_STRING_FETCH_255 },
> --- linux-2.6.26-rc5-btusb/drivers/input/mouse/appletouch.c.alt 2008-06-09 10:40:00.000000000 +0200
> +++ linux-2.6.26-rc5-btusb/drivers/input/mouse/appletouch.c     2008-06-09 10:40:03.000000000 +0200
> @@ -589,6 +589,20 @@ static void atp_close(struct input_dev *
>        dev->open = 0;
>  }
>
> +static int handle_geyser(struct atp *dev)
> +{
> +       struct usb_device *udev = dev->udev;
> +
> +       if (!atp_is_fountain(dev)) {
> +               /* switch to raw sensor mode */
> +               if (atp_geyser_init(udev))
> +                       return -EIO;
> +
> +               printk(KERN_INFO "appletouch: Geyser mode initialized.\n");
> +       }
> +       return 0;
> +}
> +
>  static int atp_probe(struct usb_interface *iface, const struct usb_device_id *id)
>  {
>        struct atp *dev;
> @@ -744,6 +758,20 @@ static void atp_disconnect(struct usb_in
>        printk(KERN_INFO "input: appletouch disconnected\n");
>  }
>
> +static int recover_dev(struct atp *dev)
> +{
> +       int rv;
> +
> +       rv = handle_geyser(dev);
> +       if (rv < 0)
> +               return rv;
> +
> +       if (dev->open && usb_submit_urb(dev->urb, GFP_NOIO))
> +               return -EIO;
> +
> +       return 0;
> +}
> +
>  static int atp_suspend(struct usb_interface *iface, pm_message_t message)
>  {
>        struct atp *dev = usb_get_intfdata(iface);
> @@ -764,12 +792,20 @@ static int atp_resume(struct usb_interfa
>        return 0;
>  }
>
> +static int atp_reset_resume(struct usb_interface *iface)
> +{
> +       struct atp *dev = usb_get_intfdata(iface);
> +
> +       return recover_dev(dev);
> +}
> +
>  static struct usb_driver atp_driver = {
>        .name           = "appletouch",
>        .probe          = atp_probe,
>        .disconnect     = atp_disconnect,
>        .suspend        = atp_suspend,
>        .resume         = atp_resume,
> +       .reset_resume   = atp_reset_resume,
>        .id_table       = atp_table,
>  };
>
>
>

You probably did,  I'll apply this and let you know.
regards;

-- 
Justin P. Mattock

  reply	other threads:[~2008-06-09 22:04 UTC|newest]

Thread overview: 144+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-07 20:38 2.6.26-rc5-git2: Reported regressions from 2.6.25 Rafael J. Wysocki
2008-06-07 20:38 ` [Bug #10493] mips BCM47XX compile error Rafael J. Wysocki
2008-06-11 16:17   ` Adrian Bunk
2008-06-07 20:42 ` [Bug #10606] 2.6.26-rc1 regression: ACPI fails to load SDT. - Dell M1530 Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10616] Horrendous Audio Stutter - current git Rafael J. Wysocki
     [not found]   ` <200806080035.00796.elendil@planet.nl>
2008-06-08 16:48     ` Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10764] some serial configurations are now broken Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10765] iwl3945/mac80211: association times out since 2.6.26-rc1 Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10760] PCIEHP breakage in 2.6.26-rc1,2.6.26-rc2,2.6.26-rc3 Rafael J. Wysocki
2008-06-09  8:19   ` Kenji Kaneshige
2008-06-07 20:42 ` [Bug #10669] ACPI: kmemcheck: Caught 16-bit read from freed memory (f7c12ec6) Rafael J. Wysocki
2008-06-07 21:58   ` Vegard Nossum
2008-06-07 20:42 ` [Bug #10724] ACPI: EC: GPE storm detected, disabling EC GPE Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10761] hackbench regression with 2.6.26-rc2 on tulsa machine Rafael J. Wysocki
2008-06-08  3:45   ` Mike Galbraith
2008-06-08 16:51     ` Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10642] general protection fault: 0000 [1] PREEMPT SMP DEBUG_PAGEALLOC Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10726] x86-64 NODES_SHIFT compile failure Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10748] dhclient fails to run; capabilities error Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10741] bug in `tty: BKL pushdown'? Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10711] BUG: unable to handle kernel paging request - scsi_bus_uevent Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10714] Badness seen on 2.6.26-rc2 with lockdep enabled Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10725] Write protect on on Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10629] 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160 Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10670] BUG: linux-2.6.26-rc1 oops at thinkpad_acpi:led_set_status Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10686] critical thermal shutdown regression 2.6.26-rc1 - HP Pavilion dv6700 Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10730] build issue #503 for v2.6.26-rc2-433-gf26a398 : undefined reference to `request_firmware' Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10874] blackfin drivers/net/smc91x.c build error Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10827] 2.6.26rc4 GFS2 oops Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10843] Display artifacts on XOrg logout with PAT kernel and VESA framebuffer Rafael J. Wysocki
2008-06-07 22:09   ` Frans Pop
2008-06-07 20:42 ` [Bug #10816] vt/fbcon: fix background color on line feed Rafael J. Wysocki
2008-06-07 22:08   ` Jan Engelhardt
2008-06-08 16:52     ` Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10787] pcie hotplug bootup crash fix Rafael J. Wysocki
2008-06-09  8:22   ` Kenji Kaneshige
2008-06-07 20:42 ` [Bug #10864] [regression][bisected] ~90,000 wakeups as of 2.6.26-rc3 Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10873] serial/bfin_5xx.c build error Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10799] sky2 general protection fault Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #9791] Clock is running too fast^Wslow using acpi_pm clocksource Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10825] appletouch after wakeup Rafael J. Wysocki
2008-06-07 22:54   ` Justin Mattock
2008-06-08 16:53     ` Rafael J. Wysocki
2008-06-08 18:26       ` Justin Mattock
2008-06-09  9:07   ` Oliver Neukum
2008-06-09 16:18     ` Justin Mattock
2008-06-09 19:53       ` Oliver Neukum
2008-06-09 20:29         ` Justin Mattock
2008-06-09 20:31           ` Oliver Neukum
2008-06-09 20:52             ` Justin Mattock
2008-06-09 21:16               ` Oliver Neukum
2008-06-09 22:04                 ` Justin Mattock [this message]
2008-06-09 22:36                   ` Justin Mattock
2008-06-09 22:40                     ` Oliver Neukum
2008-06-10  0:03                       ` Justin Mattock
2008-06-10  0:06                         ` Jiri Kosina
2008-06-10  1:11                           ` Justin Mattock
2008-06-07 20:42 ` [Bug #10866] /dev/rtc was missing until I disabled CONFIG_RTC_CLASS Rafael J. Wysocki
2008-06-13 19:33   ` [Bug 10866] " Adrian Bunk
2008-06-13 19:55     ` Lior Dotan
2008-06-13 20:43       ` David Brownell
2008-06-13 21:02         ` Ingo Molnar
2008-06-13 22:38           ` David Brownell
2008-06-14  9:35             ` [rtc-linux] " Alessandro Zummo
2008-06-14 11:18               ` Adrian Bunk
2008-06-14 11:33                 ` Alessandro Zummo
2008-06-14 10:38             ` Ingo Molnar
2008-06-13 21:20       ` Adrian Bunk
2008-06-14 11:56         ` Lior Dotan
2008-06-15  8:15         ` Lior Dotan
2008-06-16  0:24           ` Adrian Bunk
2008-06-16  7:33             ` Lior Dotan
2008-06-07 20:42 ` [Bug #10815] 2.6.26-rc4: RIP find_pid_ns+0x6b/0xa0 Rafael J. Wysocki
2008-06-13 13:52   ` Adrian Bunk
2008-06-14 14:42     ` Paul E. McKenney
2008-06-14 14:58       ` Oleg Nesterov
2008-06-14 18:12         ` Paul E. McKenney
2008-06-14 19:43           ` Alexey Dobriyan
2008-06-15  3:30             ` Paul E. McKenney
2008-06-15 16:21               ` Alexey Dobriyan
2008-06-15 18:17                 ` Paul E. McKenney
2008-06-15 20:32                   ` Linus Torvalds
2008-06-15 23:27                     ` Paul E. McKenney
2008-06-15 23:38                       ` Linus Torvalds
2008-06-16  3:01                         ` Alexey Dobriyan
2008-06-16  3:31                           ` Paul E. McKenney
2008-06-16  3:46                             ` Alexey Dobriyan
2008-06-17  3:42                               ` Paul E. McKenney
2008-06-24  0:50                                 ` Alexey Dobriyan
2008-06-24  1:31                                   ` Linus Torvalds
2008-06-24  1:51                                     ` Nick Piggin
2008-06-24 12:04                                   ` Paul E. McKenney
2008-06-24 21:08                                     ` Paul E. McKenney
2008-06-24 21:15                                       ` Ingo Molnar
2008-06-25  9:04                                         ` Paul E. McKenney
2008-06-16 13:53                           ` Vegard Nossum
2008-06-15 23:26                   ` Paul E. McKenney
2008-06-07 20:42 ` [Bug #10819] Fatal DMA error with b43 driver since 2.6.26 Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10868] Oops on loading ipaq module since 2.6.26, prevents use of device Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10861] 2.6.26-rc4-git2 - long pause during boot Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10862] forcedeth: lockdep warning on ethtool -s Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10823] stuck localhost TCP connections, v2.6.26-rc3+ Rafael J. Wysocki
2008-06-09 10:07   ` Ilpo Järvinen
2008-06-07 20:42 ` [Bug #10830] two different oopses with 2.6.26-rc4 Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10794] mips: CONF_CM_DEFAULT build error Rafael J. Wysocki
2008-06-11 18:51   ` Adrian Bunk
2008-06-07 20:42 ` [Bug #10865] i get the following oops trying to mount an ntfs partition on thinkpad Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10860] total system freeze at boot with 2.6.26-rc Rafael J. Wysocki
2008-06-07 22:24   ` Vegard Nossum
2008-06-08 16:58     ` Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10821] rt25xx: lock dependancy warning, association failure, and kmalloc corruption Rafael J. Wysocki
2008-06-13 14:00   ` Adrian Bunk
2008-06-13 18:09     ` Ivo van Doorn
2008-06-07 20:42 ` [Bug #10786] 2.6.26-rc3 64bit SMP does not boot on J5600 Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10872] x86_64 boot hang when CONFIG_NUMA=n Rafael J. Wysocki
2008-06-11 20:30   ` Randy Dunlap
2008-06-07 20:42 ` [Bug #10863] kvm causing memory corruption? now 2.6.26-rc4 Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10828] [2.6.25-git18 =&gt; 2.6.26-rc1-git1] Xorg crash with xf86MapVidMem error Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10826] NFS oops in 2.6.26rc4 Rafael J. Wysocki
     [not found] ` <dCRO4tbfLzK.A.XbF.I6vSIB@albercik>
2008-06-10  2:58   ` [Bug #10614] WARNING: at include/linux/blkdev.h:431 blk_queue_init_tags+0x110/0x11f() Nick Piggin
2008-06-10  7:42     ` Jens Axboe
2008-06-10 14:52       ` James Bottomley
2008-06-10 18:57         ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2008-06-10  7:22 [Bug #10825] appletouch after wakeup Justin Mattock
2008-05-31 17:44 2.6.26-rc4-git4: Reported regressions from 2.6.25 Rafael J. Wysocki
2008-05-31 17:48 ` [Bug #10825] appletouch after wakeup Rafael J. Wysocki
2008-05-31 18:30   ` Oliver Neukum
2008-05-31 19:53     ` Justin Mattock
2008-05-31 21:25       ` Oliver Neukum
2008-05-31 22:10         ` Justin Mattock
2008-05-31 23:21           ` Justin Mattock
2008-06-01 10:40             ` Oliver Neukum
2008-06-01 17:20               ` Justin Mattock
2008-06-01 18:25                 ` Justin Mattock
2008-06-01 18:29                   ` Oliver Neukum
2008-06-01 19:37                     ` Justin Mattock
2008-06-01 23:09                       ` Justin Mattock
2008-06-02  7:15                         ` Oliver Neukum
2008-06-02 12:44                           ` Bob Copeland
2008-06-02 13:10                             ` Oliver Neukum
2008-06-02 14:06                               ` Bob Copeland
2008-06-02 14:40                                 ` Oliver Neukum
2008-06-02 14:55                                   ` Bob Copeland
2008-06-02 16:17                           ` Justin Mattock
2008-06-02 17:20                             ` Justin Mattock

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=dd18b0c30806091504u43e0e901jb786e57f5cbf47cd@mail.gmail.com \
    --to=justinmattock@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oliver@neukum.org \
    --cc=rjw@sisk.pl \
    /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

all inboxes | Powered by JetHome®