From: reflex <reflex-2000@gmx.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: Working on a usb-storage hotplug script
Date: Sun, 30 Nov 2003 11:19:38 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-107019184011541@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-107006883203516@msgid-missing>
Oliver Neukum schrieb:
> > > I do have one further problem before I even start, which is
> > > that I don't seem to get a remove event when I disconnect a
> > > flash drive. Is this a known problem with my version of the
> > > kernel or of hotplug?
> > Same here. I think its a bug. But since its not 2.5/2.6-test
> > related nobody seems to care here :-(
>
> What kind of device do you disconnect?
An Apacer USB-Flash Drive 256MB USB2.0
cat /etc/hotplug/usb/usb-storage
#!/bin/sh
logger -t "USB-Drive" "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
/var/log/syslog
-->plug in:
Nov 30 12:10:45 lapis kernel: hub.c: new USB device 10:19.0-1, assigned address 4
Nov 30 12:10:45 lapis kernel: usb-storage: act_altsettting is 0
Nov 30 12:10:45 lapis kernel: usb-storage: id_index calculated to be: 101
Nov 30 12:10:45 lapis kernel: usb-storage: Array length appears to be: 103
Nov 30 12:10:45 lapis kernel: usb-storage: USB Mass Storage device detected
Nov 30 12:10:45 lapis kernel: usb-storage: Endpoints: In: 0xc49ce6e0 Out: 0xc49ce6f4 Int: 0x00000000 (Period 0)
Nov 30 12:10:45 lapis kernel: usb-storage: Found existing GUID 1005b1130070b00010b10320
Nov 30 12:10:45 lapis kernel: WARNING: USB Mass Storage data integrity not assured
Nov 30 12:10:45 lapis kernel: USB Mass Storage device found at 4
Nov 30 12:10:48 lapis usb.agent[639]: kernel driver usb-storage already loaded
Nov 30 12:10:48 lapis USB-Drive: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->plug out:
Nov 30 12:17:26 lapis kernel: usb.c: USB disconnect on device 10:19.0-1 address 4
Nov 30 12:17:26 lapis kernel: usb-storage: storage_disconnect() called
Nov 30 12:17:26 lapis kernel: usb-storage: -- releasing main URB
Nov 30 12:17:26 lapis kernel: usb-storage: -- usb_unlink_urb() returned -19
/proc/bus/usb/devices
T: Bus\x02 Lev\x01 Prnt\x01 Port\0 Cnt\x01 Dev#= 5 Spd\x12 MxCh= 0
D: Ver= 2.00 Cls\0(>ifc ) Sub\0 Prot\0 MxPSd #Cfgs= 1
P: Vendor\x1005 ProdID±13 Rev= 1.00
S: Product=USB Flash Drive
S: SerialNumber\a0B00010B10320
C:* #Ifs= 1 Cfg#= 1 AtrÄ MxPwrP0mA
I: If#= 0 Alt= 0 #EPs= 2 Cls\b(stor.) Sub\x06 ProtP Driver=usb-storage
E: AdÅ(I) Atr\x02(Bulk) MxPS= 64 Ivl=0ms
E: Ad\x02(O) Atr\x02(Bulk) MxPS= 64 Ivl=0ms
regards
Clemens
(sorry for the long lines)
--
Clemens Wacha wacha@gmx.ch ICQ:12620492
proudly running Debian/GNU Linux. See http://www.debian.org
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2003-11-30 11:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-29 1:19 Working on a usb-storage hotplug script Martin
2003-11-29 12:33 ` reflex
2003-11-29 14:06 ` Oliver Neukum
2003-11-29 18:05 ` Marco d'Itri
2003-11-30 11:19 ` reflex [this message]
2003-11-30 19:38 ` Greg KH
2003-12-09 9:05 ` Wout Mertens
2003-12-09 16:09 ` Olaf Hering
2003-12-09 16:24 ` Greg KH
2003-12-10 19:29 ` Wout Mertens
2003-12-10 19:41 ` Wout Mertens
2003-12-10 19:49 ` Olaf Hering
2003-12-11 15:37 ` Wout Mertens
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=marc-linux-hotplug-107019184011541@msgid-missing \
--to=reflex-2000@gmx.net \
--cc=linux-hotplug@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 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.