Alan Stern wrote:
> On Sat, 8 Sep 2007, Peter Rasmussen wrote:
>
>   
>>> Did you also make the change to usb-storage for ignoring wrong Tag 
>>> values?
>>>
>>>   
>>>       
>> I'm not sure what you mean,
>>     
>
> See:   http://marc.info/?l=linux-usb-users&m=118859379130423&w=2
>
>   
OK, I added that change as well, and it seems to make mount'ing and 
accessing the mobile and its micro-SD card much more stable.
However, as the fixes are adding an unusual device and otherwise 
removing checks in the code, it isn't the way to go for the general case 
I suppose?
Or is it? I understand that the Z6 is broken and that some stringent 
checks have to be removed to make it work, but what ill effects will 
those have in the general case, ie. for a proper implementation of a 
client device?
>>> Evidently the phone didn't report that the micro-SD card was present.  
>>> Otherwise you would have seen log entries describing the number of
>>> sectors and the write-protect status.
>>>
>>>   
>>>       
>> Well, the second device, that I may mount as /dev/sdb, is the micro-SD 
>> card, so some presence must be detected.
>>     
>
> I guess so, but it didn't happen in the portion of the log you included 
> in your earlier message.
>
>   
Yes, I cut down on the log lines, as I didn't think it was necessary at 
the time.
>>>> Well, I would have expected that they have similar methods to
>>>> connect, even though different Linux kernel version of course may
>>>> have introduced some differences. My A780 has a 2.4.20 kernel and I
>>>> wouldn't be surprised if other Motorola mobiles also use the 2.4.*
>>>> series of Linux kernels.
>>>>     
>>>>         
>>> Not at all -- the methods used for connecting are _completely_
>>> different, because the phone connects as a peripheral whereas the
>>> kernel expects to connect as a host.
>>>
>>>   
>>>       
>> OK, but with my poor knowledge about how devices connect in the USB 
>> world, I would still have expected that handshake procedures both on 
>> host and client side would be known to the other side when the main 
>> software, ie. the OS on both sides, are the same or similar.
>>     
>
> What do you mean?  Of course these procedures are all standardized, so
> they are well known to everybody.  That doesn't mean everybody
> implements them correctly.
>
>   
Or the standard is too loosely specified so that many implementations 
may seem right, but won't work together, eg. because of timing issues 
and whatnot. Or that it is tested against too slim a target, eg. "if it 
works with our host software on a Windows machine, it passes", which has 
been seen before in other places.
>> So are you 
>> saying that it is a utility on the client side (the mobile phone) that 
>> is made as a totally independent application?
>>     
>
> I didn't say that.  I have no idea how Motorola chose to implement
> their client-side USB software.  It might be an application or it might 
> be part of their kernel.
>
>   
>> Again, I am surprised why 
>> Motorola would do that when working software already exists?
>>     
>
> What working software are you referring to?
>
>   
As it is a Linux based system, there should be quite a lot of software 
that work already with USB, don't you think? And Motorola has at least 
one other Linux based mobile that works without any changes to a 
standard kernel, ie. the A780 I mentioned.
> Alan Stern
>
>
>   
Thank you very much for your help!

Unless you are still interested in seeing my logs when connecting the 
Z6, with the changes in my Linux kernel that you proposed, I will stop 
spamming the list and keep what I have learned :-)
The Z6 I have used here is not mine and I have to give it back to my 
friend tomorrow.

Peter


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to