On Wednesday, 31 May 2000, at 17:40:33 (-0700), Stephen J. Gowdy wrote:
> On Wed, 31 May 2000, Evan Webb wrote:
>
> > tried sdb:
> >
> > /dev/sdb: Input/output error
> > mount: block device /dev/sdb is write-protected, mounting read-only
> > /dev/sdb: Input/output error
> > mount: you must specify the filesystem type
>
> Is this a CDROM? You may need to load the isofs first if you've not
> specified this in your /etc/fstab file.
>
no, actually it's a digital camera, which has a fat12 fs i believe.
> > tried sdb[1-4]:
> > mount: block device /dev/sdb1 is write-protected, mounting read-only
> > mount: /dev/sdb1 is not a valid block device
> >
> > i added:
> >
> > { 0x54c, 0x10, 0x210,
> > "Sony DSC-S30", US_SC_RBC, US_PR_CB, US_FL_SINGLE_LUN},
> > to the top of us_unusual_dev_list[]
> >
> > also, i'm wondering why i dont have the usb device list and such in /proc/usb,
> > do i need to mount some /dev/ -t usbdevfs to /proc/usb? and /proc/bus/usb doesnt
> > contain anything either.
> >
> > Evan Webb
> > [EMAIL PROTECTED]
> >
> >
> > >
> > > Also, could you send the exact lines you used in the unusual device list?
> > >
> > > Matt Dharm
> > >
> > > On Wed, May 31, 2000 at 03:34:01PM -0700, Evan Webb wrote:
> > > > I've just got myself a Sony DSC-S30 and i'm looking to get it working under
> > > > linux. I've seen the F505 stuff, so i thought that it probably was the same,
>but
> > > > the usb-storage driver does not recognize it by default. I tried adding it's id
> > > > #'s to the unusual_device list, and then the the driver recognized it. I've
> > > > enclose the logs of what dmesg says on each try.
> > > >
> > > > oh, this is the 2.4.0-test1 usb stack.
> > > >
> > > > Basic usb-storage w/o my id's patched in:
> > > >
> > > > usb.c: registered new driver usb-storage
> > > > USB Mass Storage support registered.
> > > > uhci.c: root-hub INT complete: port1: 93 port2: 1a5 data: 2
> > > > hub.c: port 1 connection change
> > > > hub.c: portstatus 101, change 1, 12 Mb/s
> > > > hub.c: portstatus 103, change 0, 12 Mb/s
> > > > usb.c: USB new device connect, assigned device number 3
> > > > usb.c: kmalloc IF c4f87f40, numif 1
> > > > usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
> > > > usb.c: USB device number 3 default language ID 0x409
> > > > Manufacturer: Sony
> > > > Product: Sony DSC
> > > > usb-storage.c: Searching unusual device list for (0x54c, 0x10, 0x210)...
> > > > usb-storage.c: -- did not find a matching device
> > > > usb.c: unhandled interfaces on device
> > > > usb.c: This device is not recognized by any installed USB driver.
> > > > Length = 18
> > > > DescriptorType = 01
> > > > USB version = 1.00
> > > > Vendor:Product = 054c:0010
> > > > MaxPacketSize0 = 8
> > > > NumConfigurations = 1
> > > > Device version = 2.10
> > > > Device Class:SubClass:Protocol = 00:00:00
> > > > Per-interface classes
> > > > Configuration:
> > > > bLength = 9
> > > > bDescriptorType = 02
> > > > wTotalLength = 0027
> > > > bNumInterfaces = 01
> > > > bConfigurationValue = 01
> > > > iConfiguration = 00
> > > > bmAttributes = 40
> > > > MaxPower = 2mA
> > > >
> > > > Interface: 0
> > > > Alternate Setting: 0
> > > > bLength = 9
> > > > bDescriptorType = 04
> > > > bInterfaceNumber = 00
> > > > bAlternateSetting = 00
> > > > bNumEndpoints = 03
> > > > bInterface Class:SubClass:Protocol = 08:ff:01
> > > > iInterface = 00
> > > > Endpoint:
> > > > bLength = 7
> > > > bDescriptorType = 05
> > > > bEndpointAddress = 01 (out)
> > > > bmAttributes = 02 (Bulk)
> > > > wMaxPacketSize = 0040
> > > > bInterval = 00
> > > > Endpoint:
> > > > bLength = 7
> > > > bDescriptorType = 05
> > > > bEndpointAddress = 82 (in)
> > > > bmAttributes = 02 (Bulk)
> > > > wMaxPacketSize = 0040
> > > > bInterval = 00
> > > > Endpoint:
> > > > bLength = 7
> > > > bDescriptorType = 05
> > > > bEndpointAddress = 83 (in)
> > > > bmAttributes = 03 (Interrupt)
> > > > wMaxPacketSize = 0008
> > > > bInterval = ff
> > > >
> > > > Now with my id patchs:
> > > >
> > > > usb.c: registered new driver usb-storage
> > > > USB Mass Storage support registered.
> > > > uhci.c: root-hub INT complete: port1: 93 port2: 1a5 data: 2
> > > > hub.c: port 1 connection change
> > > > hub.c: portstatus 101, change 1, 12 Mb/s
> > > > hub.c: portstatus 103, change 0, 12 Mb/s
> > > > usb.c: USB new device connect, assigned device number 3
> > > > usb.c: kmalloc IF c3e52220, numif 1
> > > > usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
> > > > usb.c: USB device number 3 default language ID 0x409
> > > > Manufacturer: Sony
> > > > Product: Sony DSC
> > > > usb-storage.c: Searching unusual device list for (0x54c, 0x10, 0x210)...
> > > > usb-storage.c: -- found matching device: Sony DSC-S30
> > > > usb-storage.c: USB Mass Storage device detected
> > > > usb-storage.c: Endpoints: In: 0xcd6d8f31 Out: 0xcd6d8f20 Int: 0xcd6d8f42
>(Period
> > > > 255)
> > > > usb-storage.c: Result from usb_set_interface is 0
> > > > usb-storage.c: New GUID 054c00100000000000000000
> > > > usb-storage.c: Transport: Control/Bulk
> > > > usb-storage.c: Protocol: Reduced Block Commands (RBC)
> > > > usb-storage.c: *** thread sleeping.
> > > > scsi1 : SCSI emulation for USB Mass Storage devices
> > > > scsi : 2 hosts.
> > > > usb-storage.c: us_queuecommand() called
> > > > usb-storage.c: *** thread awakened.
> > > > usb-storage.c: Command TEST_UNIT_READY (6 bytes)
> > > > usb-storage.c: 00 00 00 00 00 00 00 00 e0 45
> > > > usb-storage.c: Call to usb_stor_control_msg() returned 6
> > > > usb-storage.c: -- CB transport device requiring auto-sense
> > > > usb-storage.c: Issuing auto-REQUEST_SENSE
> > > > usb-storage.c: Call to usb_stor_control_msg() returned 6
> > > > usb-storage.c: us_transfer_partial(): xfer 18 bytes
> > > > usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 18/18
> > > > usb-storage.c: us_transfer_partial(): transfer complete
> > > > usb-storage.c: CB data stage result is 0x0
> > > > usb-storage.c: -- Result from auto-sense is 0
> > > > usb-storage.c: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0
> > > > usb-storage.c: scsi cmd done, result=0x0
> > > > usb-storage.c: *** thread sleeping.
> > > > usb-storage.c: us_queuecommand() called
> > > > usb-storage.c: *** thread awakened.
> > > > usb-storage.c: Command INQUIRY (6 bytes)
> > > > usb-storage.c: 12 00 00 00 ff 00 00 00 e0 45
> > > > usb-storage.c: Call to usb_stor_control_msg() returned 6
> > > > usb-storage.c: us_transfer_partial(): xfer 256 bytes
> > > > usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 72/256
> > > > usb-storage.c: CB data stage result is 0x1
> > > > usb-storage.c: -- CB transport device requiring auto-sense
> > > > usb-storage.c: Issuing auto-REQUEST_SENSE
> > > > usb-storage.c: Call to usb_stor_control_msg() returned 6
> > > > usb-storage.c: us_transfer_partial(): xfer 18 bytes
> > > > usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 18/18
> > > > usb-storage.c: us_transfer_partial(): transfer complete
> > > > usb-storage.c: CB data stage result is 0x0
> > > > usb-storage.c: -- Result from auto-sense is 0
> > > > usb-storage.c: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0
> > > > usb-storage.c: Fixing INQUIRY data, setting SCSI rev to 2
> > > > usb-storage.c: scsi cmd done, result=0x0
> > > > usb-storage.c: *** thread sleeping.
> > > > Vendor: Sony Model: Sony DSC Rev: 2.10
> > > > Type: Direct-Access ANSI SCSI revision: 02
> > > > Detected scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
> > > > usb-storage.c: us_queuecommand() called
> > > > usb-storage.c: *** thread awakened.
> > > > usb-storage.c: Bad device number (1/0)
> > > > usb-storage.c: *** thread sleeping.
> > > > usb-storage.c: us_queuecommand() called
> > > > usb-storage.c: *** thread awakened.
> > > > usb-storage.c: Bad device number (2/0)
> > > > usb-storage.c: *** thread sleeping.
> > > > usb-storage.c: us_queuecommand() called
> > > > usb-storage.c: *** thread awakened.
> > > > usb-storage.c: Bad device number (3/0)
> > > > usb-storage.c: *** thread sleeping.
> > > > usb-storage.c: us_queuecommand() called
> > > > usb-storage.c: *** thread awakened.
> > > > usb-storage.c: Bad device number (4/0)
> > > > usb-storage.c: *** thread sleeping.
> > > > usb-storage.c: us_queuecommand() called
> > > > usb-storage.c: *** thread awakened.
> > > > usb-storage.c: Bad device number (5/0)
> > > > usb-storage.c: *** thread sleeping.
> > > > usb-storage.c: us_queuecommand() called
> > > > usb-storage.c: *** thread awakened.
> > > > usb-storage.c: Bad device number (6/0)
> > > > usb-storage.c: *** thread sleeping.
> > > > usb-storage.c: us_queuecommand() called
> > > > usb-storage.c: *** thread awakened.
> > > > usb-storage.c: Bad device number (7/0)
> > > > usb-storage.c: *** thread sleeping.
> > > > usb-storage.c: us_queuecommand() called
> > > > usb-storage.c: *** thread awakened.
> > > > usb-storage.c: Command TEST_UNIT_READY (6 bytes)
> > > > usb-storage.c: 00 00 00 00 00 00 00 00 00 00
> > > > usb-storage.c: Call to usb_stor_control_msg() returned 6
> > > > usb-storage.c: -- CB transport device requiring auto-sense
> > > > usb-storage.c: Issuing auto-REQUEST_SENSE
> > > > usb-storage.c: Call to usb_stor_control_msg() returned 6
> > > > usb-storage.c: us_transfer_partial(): xfer 18 bytes
> > > > usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 18/18
> > > > usb-storage.c: us_transfer_partial(): transfer complete
> > > > usb-storage.c: CB data stage result is 0x0
> > > > usb-storage.c: -- Result from auto-sense is 0
> > > > usb-storage.c: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0
> > > > usb-storage.c: scsi cmd done, result=0x0
> > > > usb-storage.c: *** thread sleeping.
> > > > usb-storage.c: us_queuecommand() called
> > > > usb-storage.c: *** thread awakened.
> > > > usb-storage.c: Command READ_CAPACITY (10 bytes)
> > > > usb-storage.c: 25 00 00 00 00 00 00 00 00 00
> > > > usb-storage.c: Call to usb_stor_control_msg() returned 10
> > > > usb-storage.c: us_transfer_partial(): xfer 8 bytes
> > > > usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 8/8
> > > > usb-storage.c: us_transfer_partial(): transfer complete
> > > > usb-storage.c: CB data stage result is 0x0
> > > > usb-storage.c: -- CB transport device requiring auto-sense
> > > > usb-storage.c: Issuing auto-REQUEST_SENSE
> > > > usb-storage.c: Call to usb_stor_control_msg() returned 10
> > > > usb-storage.c: us_transfer_partial(): xfer 18 bytes
> > > > usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 18/18
> > > > usb-storage.c: us_transfer_partial(): transfer complete
> > > > usb-storage.c: CB data stage result is 0x0
> > > > usb-storage.c: -- Result from auto-sense is 0
> > > > usb-storage.c: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0
> > > > usb-storage.c: scsi cmd done, result=0x0
> > > > usb-storage.c: *** thread sleeping.
> > > > SCSI device sdb: hdwr sector= 512 bytes. Sectors= 7904 [3 MB] [0.0 GB]
> > > > usb-storage.c: us_queuecommand() called
> > > > usb-storage.c: *** thread awakened.
> > > > usb-storage.c: Command MODE_SENSE (6 bytes)
> > > > usb-storage.c: 1a 00 01 00 0c 00 00 00 00 00
> > > > usb-storage.c: Call to usb_stor_control_msg() returned -32
> > > > usb-storage.c: -- Stall on control pipe. Clearing
> > > > usb-storage.c: -- usb_clear_halt() returns 0
> > > > usb-storage.c: -- CB transport device requiring auto-sense
> > > > usb-storage.c: -- transport indicates command failure
> > > > usb-storage.c: Issuing auto-REQUEST_SENSE
> > > > usb-storage.c: Call to usb_stor_control_msg() returned 6
> > > > usb-storage.c: us_transfer_partial(): xfer 18 bytes
> > > > usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 18/18
> > > > usb-storage.c: us_transfer_partial(): transfer complete
> > > > usb-storage.c: CB data stage result is 0x0
> > > > usb-storage.c: -- Result from auto-sense is 0
> > > > usb-storage.c: -- code: 0x70, key: 0x5, ASC: 0x24, ASCQ: 0x0
> > > > usb-storage.c: scsi cmd done, result=0x1
> > > > usb-storage.c: *** thread sleeping.
> > > > sdb: test WP failed, assume Write Protected
> > > > sdb:<7>usb-storage.c: us_queuecommand() called
> > > > usb-storage.c: *** thread awakened.
> > > > usb-storage.c: Command READ_10 (10 bytes)
> > > > usb-storage.c: 28 00 00 00 00 00 00 00 02 00
> > > > usb-storage.c: Call to usb_stor_control_msg() returned 10
> > > > usb-storage.c: us_transfer_partial(): xfer 1024 bytes
> > > > usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 1024/1024
> > > > usb-storage.c: us_transfer_partial(): transfer complete
> > > > usb-storage.c: CB data stage result is 0x0
> > > > usb-storage.c: -- CB transport device requiring auto-sense
> > > > usb-storage.c: Issuing auto-REQUEST_SENSE
> > > > usb-storage.c: Call to usb_stor_control_msg() returned 10
> > > > usb-storage.c: us_transfer_partial(): xfer 18 bytes
> > > > usb-storage.c: usb_stor_bulk_msg() returned 0 xferred 18/18
> > > > usb-storage.c: us_transfer_partial(): transfer complete
> > > > usb-storage.c: CB data stage result is 0x0
> > > > usb-storage.c: -- Result from auto-sense is 0
> > > > usb-storage.c: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0
> > > > usb-storage.c: scsi cmd done, result=0x0
> > > > usb-storage.c: *** thread sleeping.
> > > > sdb1
> > > > WARNING: USB Mass Storage data integrity not assured
> > > > USB Mass Storage device found at 3
> > > > usb.c: usb-storage driver claimed interface c3e52220
> > > >
> > > >
> > > > Sorry for all the logs. thanks for any help.
> > > >
> > > > Evan Webb
> > > > [EMAIL PROTECTED]
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > > --
> > > Matthew Dharm Home: [EMAIL PROTECTED]
> > > Senior Engineer, QCP Inc. Work: [EMAIL PROTECTED]
> > >
> > > G: Money isn't everything, A.J.
> > > AJ: Who convinced you of that?
> > > G: The Chief, at my last salary review.
> > > -- Mike and Greg
> > > User Friendly, 11/3/1998
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> --
> /------------------------------+-=-=-=-=-+-------------------------\
> |Stephen J. Gowdy |A4000/040| Mail Stop 50A-2160, LBL, |
> |http://www.ph.ed.ac.uk/~gowdy/ | 1GB HD| 1 Cyclotron Rd, Berkeley,|
> | |20MB RAM| CA 94720, USA |
> |InterNet: [EMAIL PROTECTED] |3.4xCDROM| Tel: +1 510 495 2796 |
> \------------------------------+-=-=-=-=-+-------------------------/
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]