Re: CP2102 mystery - ttyUSB0 vs usbfsbrltty/Projects/BrailleMemo/usbmon-ttyUSB0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[quoted lines by Greg KH on 2013/12/06 at 09:34 -0800]

>Please realize what you are asking for here.  Basically you are saying,
>"I don't want to use your code, so please help debug my reimplementation
>of your code without being able to see it at all because I need the
>help."

Our code is completely open for anyone to look at. In fact, becuase of my 
inability to ensure the correctness of the subject of this very thread, our 
project name is right in it. ;-) All you had to do, were you really interested, 
was to ask where you can find our code.

That being said, I still maintain that what really matters here is the 
comkunication with the serial adapter itself. Whatever else the code may do 
isn't really relevant. And I did include full usbmon traces of both the Linux 
way that works and our way which doesn't. If someone could point out where our 
USB Aoperations are incorrect insofar as the CP2102 is concerned, that's all 
it'd take. I'd think that it's certainly easier to take that approach than to 
try to understand a whole pile of unfamiliar code.

>What would you do in our situation?  I have an inbox full of people who
>are wanting to contribute to Linux, not circumvent it, and a fixed
>amount of time in which to use to respond.  Which would help out more
>people overall?

Two points:

First: I know what I do. In spite of the fact that I'm married, have 13 
children and 11 grandchildren, and a lot of other things to do in life, I've 
routinely offered to help anyone who asked for whatever help they needed if it 
fell in my areas of expertise. It's my position that whatever gifts any of us 
has are meant for sharing - not for hoarding.

Second: I'm not in any way trying to circumvent Linux. There are at least two 
reasons why we need our code to do it. One is that it needs to be portable to 
platforms which don't have decent USB support (okay, you could probably care 
less about that and want us to have one version that works on Linux and another 
that works everywhere else). The other is that the dyanmic nature of ttyUSB 
names makes them unusable for our purposes. Sure there's /dev/serial/by-id, but 
those names aren't very easy for users to deal with, and may even not be unique 
enough anyway if a user has two devices which use the same adapter.

>Best of luck with your project,

I don't rely on luck. Quite frankly, I think that's just your pseudo-pollite 
way of saying that you don't care.

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: dave@xxxxxxxxx | Canada  K2A 1H7   | http://FamilyRadio.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux