From: Kjell Claesson <kjell.claesson@telia.com>
To: linux-hotplug@vger.kernel.org
Subject: Hotplug usb-storage device
Date: Sun, 04 Mar 2001 13:02:52 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-98371107331076@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 1461 bytes --]
Hi,
Is it possible get hotpluging to work on a datafab smartmedia reader.
Ther is no problem to load the usb-storage and the sd_mod by hand and
use it.
Some info on system.
Amd K6/2 550
Chipset Via MVP3
Dist: RH7.0 (comented out the orginal usb init in
rc.sysinit)
kernel 2.4.2 (patched with datafab patch. and the
devicefs patch)
modutils: 2.4.3-1 (rpm)
usbutils 0.7 (pathed to 0.7-hotplug)
hotplug 2001_02_28-1 (noarch.rpm)
My webcam and printer (Creative webcam3 and HP970Cxi) hotplugs ok.
Checked that the script use modules.usbmap in $KERNEL
and it has the line for the reader.
usb-storage 0x000f 0x07c4 0xa006 0x0000 0xffff 0x00
0x00 0x00 0x00 0x00 0x00
0x00000000
/var/log/messages (when plugged)
hub.c: USB new device connected on bus1/1, assigned device number 3
usb.c: Usb device 3 (vend/prod 0x7c4/0xa006) is not clamed by any active
driver.
/etc/hotplug/usb.agent: ... no driver for USB product 7c4/a006/15
Have also som strange results using lsusb (behaves best on usb-uhci.
More errors using uhci)
string descriptor 1 invalid (07 f6)
cannot get stringdescriptor 2, Invalid or incomplete multibyte or wide
character (84)
cannot get stringdescriptor 3, Invalid or incomplete multibyte or wide
character (84)
cannot get stringdescriptor 0, Invalid or incomplete multibyte or wide
character (84)
Attach lsusb dump.
Best regards
Ken
[-- Attachment #2: lsusb.dump --]
[-- Type: text/plain, Size: 4845 bytes --]
Bus 001 Device 001: ID 0000:0000 Virtual Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000 Virtual
idProduct 0x0000 Hub
bcdDevice 0.00
iManufacturer 0
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 8
bInterval 255
Language IDs: 0000
Bus 001 Device 003: ID 07c4:a006 Datafab Systems Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x07c4 Datafab Systems Inc.
idProduct 0xa006
bcdDevice 0.15
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Language IDs: none (cannot get string descriptor)
Bus 001 Device 002: ID 03f0:1004 Hewlett-Packard DeskJet 970Cse
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x03f0 Hewlett-Packard
idProduct 0x1004 DeskJet 970Cse
bcdDevice 1.00
iManufacturer 1 Hewlett-Packard
iProduct 2 DeskJet 970C
iSerial 3 ES9A6110HDJQ
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 55
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 7 Printer
bInterfaceSubClass 1 Printer
bInterfaceProtocol 1 Unidirectional
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 7 Printer
bInterfaceSubClass 1 Printer
bInterfaceProtocol 2 Bidirectional
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Language IDs: 0409
next reply other threads:[~2001-03-04 13:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-04 13:02 Kjell Claesson [this message]
2001-03-04 20:44 ` Hotplug usb-storage device David Brownell
2001-03-05 15:57 ` Kjell Claesson
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-98371107331076@msgid-missing \
--to=kjell.claesson@telia.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).