public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Koenecke <akoenecke@akoenecke.de>
To: USB users list <linux-usb-users@lists.sourceforge.net>
Cc: SCSI development list <linux-scsi@vger.kernel.org>
Subject: Re: usb-storage and Motorola Z6
Date: Fri, 31 Aug 2007 21:04:05 +0200	[thread overview]
Message-ID: <20070831190405.GA7506@kocom.akoenecke.de> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0708291005300.2554-100000@iolanthe.rowland.org>

* Mittwoch, 29. August 2007 um 10:07 (-0400) schrieb Alan Stern:
> 
> You can edit the source code of the SCSI core to make it ignore the PQ 
> value.  In the file drivers/scsi/scsi_sysfs.c, find the 
> scsi_bus_match() routine and change the last line from:
> 
> 	return (sdp->inq_periph_qual == SCSI_INQ_PQ_CON)? 1: 0;
> 
> to
> 
> 	return 1;

OK, I have done it. But there ist still no success.
When I connect the phone the messages are:
--------------------------------------------------------------------------------------------
Aug 31 20:14:53 kocom kernel: usb 3-1: new high speed USB device using ehci_hcd and address 2
Aug 31 20:14:53 kocom kernel: usb 3-1: configuration #1 chosen from 1 choice
Aug 31 20:14:53 kocom kernel: usbcore: registered new interface driver libusual
Aug 31 20:14:53 kocom kernel: Initializing USB Mass Storage driver...
Aug 31 20:14:53 kocom kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Aug 31 20:14:53 kocom kernel: usb-storage: device found at 2
Aug 31 20:14:53 kocom kernel: usb-storage: waiting for device to settle before scanning
Aug 31 20:14:53 kocom kernel: usbcore: registered new interface driver usb-storage
Aug 31 20:14:53 kocom kernel: USB Mass Storage support registered.
Aug 31 20:14:58 kocom kernel: usb-storage: device scan complete
Aug 31 20:14:58 kocom kernel: scsi 3:0:0:0: Direct-Access     Motorola MSnc.                 PQ: 1 ANSI: 0 CCS
Aug 31 20:14:58 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:14:58 kocom kernel: scsi 3:0:0:1: Direct-Access     Motorola MSnc.                 PQ: 1 ANSI: 0 CCS
Aug 31 20:14:58 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:14:58 kocom kernel: sd 3:0:0:0: [sdb] Attached SCSI removable disk
Aug 31 20:14:58 kocom kernel: sd 3:0:0:0: Attached scsi generic sg2 type 0
Aug 31 20:14:59 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:14:59 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:14:59 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:14:59 kocom kernel: sd 3:0:0:1: [sdc] Attached SCSI removable disk
Aug 31 20:14:59 kocom kernel: sd 3:0:0:1: Attached scsi generic sg3 type 0
Aug 31 20:14:59 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:01 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:02 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:02 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:02 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:02 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:03 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:03 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:03 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:07 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:07 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:08 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:08 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:08 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:08 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:09 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:11 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:13 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:15:13 kocom kernel: usb 3-1: reset high speed USB device using ehci_hcd and address 2
Aug 31 20:17:06 kocom kernel: usb 3-1: USB disconnect, address 2
------------------------------------------------------------------------------------------------------------

/proc/partition and 'fdisk' show no sdb or sdc.
You can download the messages with debug-Output from
<http://www.akoenecke.de/moto/usb_debug.txt>

Andreas


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

  reply	other threads:[~2007-08-31 19:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-28 20:45 usb-storage and Motorola Z6 Alan Stern
2007-08-28 20:48 ` Matthew Wilcox
2007-08-28 21:52   ` Andreas Koenecke
2007-08-29 14:07     ` [Linux-usb-users] " Alan Stern
2007-08-31 19:04       ` Andreas Koenecke [this message]
2007-08-31 20:56         ` Alan Stern
2007-09-01 11:56           ` Andreas Koenecke
2007-09-01 15:30             ` [Linux-usb-users] " Alan Stern
2007-09-07 19:15               ` Peter Rasmussen
2007-09-07 19:58                 ` [Linux-usb-users] " Alan Stern
2007-09-08 16:08                   ` Peter Rasmussen
2007-09-08 20:32                     ` Alan Stern

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=20070831190405.GA7506@kocom.akoenecke.de \
    --to=akoenecke@akoenecke.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux-usb-users@lists.sourceforge.net \
    /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