Re: [PATCH] Add Sony Ericsson P1i to unusual_devs.h

Phil Dibowitz <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Wed, Aug 29, 2007 at 08:52:34PM -0300, Ricardo Barberis wrote:
> Hi,
> 
> Attached is my /proc/bus/usb/devices and a patch to 2.6.22.5's unusual_devs.h 
> to include support for Sony Ericsson's P1i.
> 
> I only copied the P990i section (thanks Jan Mate and Soeren Sonnenburg!!) and 
> modified the product id to match that of the P1i, so it might need a little 
> more test although with this patch I was finally able to copy files to the 
> phone's card (it used to give I/O error if the file was bigger than 8192 
> bytes).
> 
> I tested the patch with a vanilla 2.6.22.5 kernel compiled on Ubuntu 7.04.
> 
> I don't follow this list, so please CC: me (at least the first time) if you 
> need more info and/or testing.

Richard,

It would be great if you could test it with each of the two flags separately
and see if it's just one of them that's fixing your issue. In other words:

Change this:
> +		US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),

to two different tests...
One like this:
> +		US_FL_FIX_CAPACITY ),

One like this:
> +		US_FL_IGNORE_RESIDUE ),

Thanks!
-- 
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, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG1hCXN5XoxaHnMrsRArP6AJ90LogPKOVdKTjtbLXbg9Y+tFQfOQCfUFhl
89yiTzdGl5HhT5CUETk9lZ8=
=VYuh
-----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.