Re: Patch submitting for unusual_devs.h

Phil Dibowitz <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Davide Perini wrote:
> Hi,
> some months ago I've submitted a patch like this for a Motorola RAZR V3x.
> Now is the time of a Motorola V360 that doesn't work well as usb storage 
> on linux kernel.
> 
> With this patch all is ok in read/write....
> UNUSUAL_DEV(  0x22b8, 0x4810, 0x0001, 0x0001,
>                 "Motorola",
>                 "V360",
>                 US_SC_DEVICE, US_PR_DEVICE, NULL,
>                 US_FL_FIX_CAPACITY | US_FL_FIX_INQUIRY | 
> US_FL_IGNORE_RESIDUE ),

Your last patch didn't have US_FL FIX_INQUIRY. It's highly unlikely this is
needed, very few devices need it in recent kernels.

In addition, please make sure you've tested that this device also needs
*both* US_FL_FIX_CAPACITY and US_FL_IGNORE_RESIDUE - companies do sometimes
get smarter as times go on (and especially since this a whole new ProductId).

Other than that, follow the standard procedures for submitting a patch,
including the relevant output of /proc/bus/usb/devices.

-- 
Phil Dibowitz                             [email protected]
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Never write it in C if you can do it in 'awk';
 Never do it in 'awk' if 'sed' can handle it;
 Never use 'sed' when 'tr' can do the job;
 Never invoke 'tr' when 'cat' is sufficient;
 Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG35FvN5XoxaHnMrsRAuiRAJ9eEfkMVYpThINamr+TTu4Igf6TQgCfdiIO
q6nr0Rn/1UfFOOoAoE3NjyM=
=PFUc
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.