From: Wolfgang Schnitker <wolfgang.schnitker@gmx.de>
To: linux-hotplug@vger.kernel.org
Subject: Problem with Digital Camera and usb-storage
Date: Fri, 03 Jan 2003 10:38:52 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-104159059124749@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 898 bytes --]
Hi there,
I bought a digital camera TRAVELER DC-4300 in Germany at ALDI. It uses
SD-Card or MM-Card for storage. The camera was delivered with a 32MB SD-Card.
I plugged it into my Computer running debian linux 3.0r1. After reading all
the readme's in hotplugging, usb, etc. I build the necessary module sd_mod
(sg and cdrom have to be in my kernel for scsi emulation for CD-writing).
The result is a kernel freeze. :-(((((((
NB: Thanks god for efs3 in this case.
Find attached the kern.log and the output of lsusb.
In my opinion there is a bug in data transfer, because I found out that there
are 254 of 255 bytes transfered (see the 5 last lines on kern.log). Is it
possible, that this is the one byte for "file-protection" on SD-Card?
Has anyone tested this camera with MM-Card (this cards do not have this
byte!)?
Best regards
--
Wolfgang Schnitker
[-- Attachment #2: kern.log --]
[-- Type: text/plain, Size: 4839 bytes --]
Jan 2 10:10:49 rocket kernel: Length = 18
Jan 2 10:10:49 rocket kernel: DescriptorType = 01
Jan 2 10:10:49 rocket kernel: USB version = 1.10
Jan 2 10:10:49 rocket kernel: Vendor:Product = 0784:4300
Jan 2 10:10:49 rocket kernel: MaxPacketSize0 = 8
Jan 2 10:10:49 rocket kernel: NumConfigurations = 1
Jan 2 10:10:49 rocket kernel: Device version = 3.00
Jan 2 10:10:49 rocket kernel: Device Class:SubClass:Protocol = 00:00:00
Jan 2 10:10:49 rocket kernel: Per-interface classes
Jan 2 10:10:49 rocket kernel: Configuration:
Jan 2 10:10:49 rocket kernel: bLength = 9
Jan 2 10:10:49 rocket kernel: bDescriptorType = 02
Jan 2 10:10:49 rocket kernel: wTotalLength = 0020
Jan 2 10:10:49 rocket kernel: bNumInterfaces = 01
Jan 2 10:10:49 rocket kernel: bConfigurationValue = 01
Jan 2 10:10:49 rocket kernel: iConfiguration = 00
Jan 2 10:10:49 rocket kernel: bmAttributes = 40
Jan 2 10:10:49 rocket kernel: MaxPower = 0mA
Jan 2 10:10:49 rocket kernel:
Jan 2 10:10:49 rocket kernel: Interface: 0
Jan 2 10:10:49 rocket kernel: Alternate Setting: 0
Jan 2 10:10:49 rocket kernel: bLength = 9
Jan 2 10:10:49 rocket kernel: bDescriptorType = 04
Jan 2 10:10:49 rocket kernel: bInterfaceNumber = 00
Jan 2 10:10:49 rocket kernel: bAlternateSetting = 00
Jan 2 10:10:49 rocket kernel: bNumEndpoints = 02
Jan 2 10:10:49 rocket kernel: bInterface Class:SubClass:Protocol = 08:06:50
Jan 2 10:10:49 rocket kernel: iInterface = 00
Jan 2 10:10:49 rocket kernel: Endpoint:
Jan 2 10:10:49 rocket kernel: bLength = 7
Jan 2 10:10:49 rocket kernel: bDescriptorType = 05
Jan 2 10:10:49 rocket kernel: bEndpointAddress = 02 (out)
Jan 2 10:10:49 rocket kernel: bmAttributes = 02 (Bulk)
Jan 2 10:10:49 rocket kernel: wMaxPacketSize = 0040
Jan 2 10:10:49 rocket kernel: bInterval = 00
Jan 2 10:10:49 rocket kernel: Endpoint:
Jan 2 10:10:49 rocket kernel: bLength = 7
Jan 2 10:10:49 rocket kernel: bDescriptorType = 05
Jan 2 10:10:49 rocket kernel: bEndpointAddress = 83 (in)
Jan 2 10:10:49 rocket kernel: bmAttributes = 02 (Bulk)
Jan 2 10:10:49 rocket kernel: wMaxPacketSize = 0040
Jan 2 10:10:49 rocket kernel: bInterval = 00
Jan 2 10:10:49 rocket kernel: usb.c: kusbd: /sbin/hotplug add 4
Jan 2 10:10:49 rocket kernel: hub.c: port 4, portstatus 100, change 0, 12 Mb/s
Jan 2 10:10:49 rocket kernel: Initializing USB Mass Storage driver...
Jan 2 10:10:49 rocket kernel: usb.c: registered new driver usb-storage
Jan 2 10:10:49 rocket kernel: usb-storage: act_altsettting is 0
Jan 2 10:10:49 rocket kernel: usb-storage: id_index calculated to be: 89
Jan 2 10:10:49 rocket kernel: usb-storage: Array length appears to be: 91
Jan 2 10:10:49 rocket kernel: usb-storage: USB Mass Storage device detected
Jan 2 10:10:49 rocket kernel: usb-storage: Endpoints: In: 0xc066c374 Out: 0xc066c360 Int: 0x00000000 (Period 0)
Jan 2 10:10:49 rocket kernel: usb-storage: New GUID 078443000000000000000000
Jan 2 10:10:49 rocket kernel: usb-storage: GetMaxLUN command result is 0, data is 160
Jan 2 10:10:49 rocket kernel: usb-storage: Transport: Bulk
Jan 2 10:10:49 rocket kernel: usb-storage: Protocol: Transparent SCSI
Jan 2 10:10:49 rocket kernel: usb-storage: *** thread sleeping.
Jan 2 10:10:49 rocket kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jan 2 10:10:49 rocket kernel: usb-storage: queuecommand() called
Jan 2 10:10:49 rocket kernel: usb-storage: *** thread awakened.
Jan 2 10:10:49 rocket kernel: usb-storage: Command INQUIRY (6 bytes)
Jan 2 10:10:49 rocket kernel: usb-storage: 12 00 00 00 ff 00 00 00 8e 16 00 00
Jan 2 10:10:49 rocket kernel: usb-storage: Bulk command S 0x43425355 T 0x5 Trg 0 LUN 0 L 255 F 128 CL 6
Jan 2 10:10:49 rocket kernel: usb-storage: Bulk command transfer result=0
Jan 2 10:10:49 rocket kernel: usb-storage: usb_stor_transfer_partial(): xfer 255 bytes
Jan 2 10:10:49 rocket kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred 254/255
Jan 2 10:10:49 rocket kernel: usb-storage: Bulk data transfer result 0x1
Jan 2 10:10:49 rocket kernel: usb-storage: Attempting to get CSW...
Jan 2 10:10:49 rocket kernel: usb-storage: Bulk status result = 0
Jan 2 10:10:49 rocket kernel: usb-storage: Bulk status Sig 0x1 T 0xd1a71000 R 106496 Stat 0x40
Jan 2 10:10:49 rocket kernel: usb-storage: Bulk logical error
Jan 2 10:10:49 rocket kernel: usb-storage: -- transport indicates error, resetting
Jan 2 10:10:49 rocket kernel: usb-storage: Bulk reset requested
[-- Attachment #3: usblist.txt --]
[-- Type: text/plain, Size: 1811 bytes --]
Bus 001 Device 003: ID 0784:4300 Vivitar Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0784 Vivitar Inc.
idProduct 0x4300
bcdDevice 3.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x40
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Language IDs: (length=4)
0409 English(US)
reply other threads:[~2003-01-03 10:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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-104159059124749@msgid-missing \
--to=wolfgang.schnitker@gmx.de \
--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.