lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAA6KcBB95Egv5nv=ew_pO9wXDN8zE3Sp0aATGQ7-nNz4eRfwNw@mail.gmail.com>
Date:	Tue, 31 Jan 2012 10:22:53 -0800
From:	Matthew Dharm <mdharm-usb@...-eyed-alien.net>
To:	Russell Strong <russell@...ong.id.au>
Cc:	linux-kernel@...r.kernel.org,
	USB Mass Storage on Linux 
	<usb-storage@...ts.one-eyed-alien.net>
Subject: Re: USB storage quirk

The 'rw' sets the flags to "ignore residue" and "skip write-protect
checking".  Are both flags really needed?

Matt

On Tue, Jan 31, 2012 at 2:44 AM, Russell Strong <russell@...ong.id.au> wrote:
> Hi Matthew,
>
> I pulled you name from the kernel maintainers file to let someone know
> about a quirk that I discovered with an MP3 player that connects as
> usb-storage.  Hope I've got this right.
>
> When I connected it to my fedora 8/14/16 machine ( sorry not the
> latest kernel ) it didn't work.  The following is the dmesg output:
>
> [ 1703.287204] usb 2-1: new high speed USB device using ehci_hcd and address 4
> [ 1703.402018] usb 2-1: New USB device found, idVendor=1e74, idProduct=4641
> [ 1703.402025] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> [ 1703.402030] usb 2-1: Product: USB
> [ 1703.402034] usb 2-1: Manufacturer:
> [ 1703.402037] usb 2-1: SerialNumber: USBV1.00
> [ 1703.402840] scsi5 : usb-storage 2-1:1.0
> [ 1704.403915] scsi 5:0:0:0: Direct-Access              USB DISK
>   1.00 PQ: 0 ANSI: 0
> [ 1704.409525] sd 5:0:0:0: Attached scsi generic sg3 type 0
> [ 1704.411604] sd 5:0:0:0: [sdc] 15958016 512-byte logical blocks:
> (8.17 GB/7.60 GiB)
> [ 1704.514300] usb 2-1: reset high speed USB device using ehci_hcd and address 4
> [ 1709.628307] usb 2-1: device descriptor read/all, error -110
> [ 1709.730154] usb 2-1: reset high speed USB device using ehci_hcd and address 4
> ....
>
> So I played around with the usb-storage parameter quirks, and found
> that 1e74:4641:rw worked a treat.  Hope this is helpful.
>
> For all the others googling for this :
> Dick Smith Electronics MP3 player 8GB
> DSE
> A8705
> add kernel command line parameter usb-storage.quirks=1e74:4641:rw
>
> Regards,
> Russell



-- 
Matthew Dharm
Maintainer, USB Mass Storage driver for Linux
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ