All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Drake <dsd@gentoo.org>
To: Peter Chubb <peterc@gelato.unsw.edu.au>
Cc: Greg KH <gregkh@suse.de>,
	linux-kernel@vger.kernel.org, stern@rowland.org,
	linux-usb-devel@lists.sourceforge.net
Subject: Re: HP CDRW CD4E hasn't worked since 2.6.11
Date: Tue, 14 Mar 2006 23:38:52 +0000	[thread overview]
Message-ID: <4417540C.8030003@gentoo.org> (raw)
In-Reply-To: <17431.19680.579155.54647@wombat.chubb.wattle.id.au>

[-- Attachment #1: Type: text/plain, Size: 163 bytes --]

Peter Chubb wrote:
> Patch appended.

Thats very intrusive. Please try a more simplistic approach, and send 
new logs if it is still detected as a disk :)

Daniel

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 491 bytes --]

--- linux/drivers/usb/storage/shuttle_usbat.c.orig	2006-03-14 23:36:57.000000000 +0000
+++ linux/drivers/usb/storage/shuttle_usbat.c	2006-03-14 23:37:18.000000000 +0000
@@ -855,6 +855,9 @@ static int usbat_identify_device(struct 
 		return rc;
 	msleep(500);
 
+	info->devicetype = USBAT_DEV_FLASH;
+	return USB_STOR_TRANSPORT_GOOD;
+
 	/*
 	 * In attempt to distinguish between HP CDRW's and Flash readers, we now
 	 * execute the IDENTIFY PACKET DEVICE command. On ATA devices (i.e. flash

  reply	other threads:[~2006-03-14 23:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <17430.14259.90181.849542@berry.ken.nicta.com.au>
     [not found] ` <20060314221958.GD12257@suse.de>
2006-03-14 23:11   ` HP CDRW CD4E hasn't worked since 2.6.11 Daniel Drake
2006-03-14 23:08     ` Peter Chubb
2006-03-14 23:38       ` Daniel Drake [this message]
2006-03-14 23:40         ` Daniel Drake

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=4417540C.8030003@gentoo.org \
    --to=dsd@gentoo.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=peterc@gelato.unsw.edu.au \
    --cc=stern@rowland.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.