mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jon Grant <jg@jguk.org>
To: linux-kernel@vger.kernel.org
Subject: USB disconnect, address 6
Date: Sun, 5 Apr 2009 19:04:45 +0100	[thread overview]
Message-ID: <19ac3f7a0904051104h1abc4cf3rae6dc1a027207831@mail.gmail.com> (raw)

Hello

Would there be a way to propagate the device name back from the scsi
system to the usb so it can name the device which is disconnected in
the output? This saves needing to go hunting to find what the
disconnected device was.

I'll be happy to donate to Linux Foundation if they need some cash to
cover the time to do this.
I'm not on the mailing list, so please include my email address in any replies.

Regards, Jon


Apr  5 18:56:33 data-laptop kernel: [65426.948048] usb 5-1: new high
speed USB device using ehci_hcd and address 6
Apr  5 18:56:33 data-laptop kernel: [65427.132049] usb 5-1:
configuration #1 chosen from 1 choice
Apr  5 18:56:33 data-laptop kernel: [65427.152066] scsi4 : SCSI
emulation for USB Mass Storage devices
Apr  5 18:56:38 data-laptop kernel: [65432.153182] scsi 4:0:0:0:
Direct-Access     Samsung  Mighty Drive     PMAP PQ: 0 ANSI: 0 CCS
Apr  5 18:56:38 data-laptop kernel: [65432.454122] sd 4:0:0:0: [sdc]
2014208 512-byte hardware sectors (1031 MB)
Apr  5 18:56:38 data-laptop kernel: [65432.454867] sd 4:0:0:0: [sdc]
Write Protect is off
Apr  5 18:56:38 data-laptop kernel: [65432.458744] sd 4:0:0:0: [sdc]
2014208 512-byte hardware sectors (1031 MB)
Apr  5 18:56:38 data-laptop kernel: [65432.459866] sd 4:0:0:0: [sdc]
Write Protect is off
Apr  5 18:56:38 data-laptop kernel: [65432.461202]  sdc: sdc1
Apr  5 18:56:38 data-laptop kernel: [65432.462224] sd 4:0:0:0: [sdc]
Attached SCSI removable disk
Apr  5 18:56:38 data-laptop kernel: [65432.462547] sd 4:0:0:0:
Attached scsi generic sg2 type 0
Apr  5 18:56:58 data-laptop kernel: [65451.669308] usb 5-1: USB
disconnect, address 6

             reply	other threads:[~2009-04-05 18:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-05 18:04 Jon Grant [this message]
2009-04-06  2:23 ` Greg KH
2009-04-06  9:11   ` Jon Grant
2009-04-06 15:04     ` Greg KH
2009-04-06 19:33       ` Jon Grant
2009-04-06 20:08         ` J.R. Mauro
2009-04-07 15:11         ` Stefan Richter

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=19ac3f7a0904051104h1abc4cf3rae6dc1a027207831@mail.gmail.com \
    --to=jg@jguk.org \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®