Re: [linux-usb-devel] How to handle string descriptor request from usb-uhci

2004-09-09 Thread Toralf Lund
David Brownell wrote: On Wednesday 08 September 2004 7:28 am, Alan Stern wrote: I imagine the closest thing to a "lingua franca" would be U.S.-English, but obviously my viewpoint is biased. Surely you jest. By definition, it's French - right? :) Actually, "lingua franca" originally re

Re: [linux-usb-devel] How to handle string descriptor request from usb-uhci

2004-09-08 Thread David Brownell
On Wednesday 08 September 2004 7:28 am, Alan Stern wrote: > > I imagine the closest thing to a "lingua franca" would be U.S.-English, > but obviously my viewpoint is biased. Surely you jest. By definition, it's French - right? :) - Dave --

Re: [linux-usb-devel] How to handle string descriptor request from usb-uhci

2004-09-08 Thread Alan Stern
On Tue, 7 Sep 2004, Toralf Lund wrote: > >Well, do your best. Try to use whatever language the names are native to. > >Hint: If a name contains a special character that doesn't belong to a > >language, then the name isn't in that language! > > > > > Actually, our company name is strictly speak

Re: [linux-usb-devel] How to handle string descriptor request from usb-uhci

2004-09-07 Thread Alan Cox
On Maw, 2004-09-07 at 21:48, Toralf Lund wrote: > Actually, our company name is strictly speaking Latin, but I don't think > it would be right to say that in the USB descriptors. Just like you > probably wouldn't encode your first name as Celtic (which I think it > originally is) Probably Gaeli

Re: [linux-usb-devel] How to handle string descriptor request from usb-uhci

2004-09-07 Thread Toralf Lund
I would list first the actual language those strings are written in. They're names, and as such are not written in any language. Or that depends on how you see it, I guess, but at least they don't have a language in the same sense as descriptive texts would. Well, do your best. Try

Re: [linux-usb-devel] How to handle string descriptor request from usb-uhci

2004-09-07 Thread Alan Stern
On Tue, 7 Sep 2004, Toralf Lund wrote: > >I would list first the actual language those strings are written in. > > > They're names, and as such are not written in any language. Or that > depends on how you see it, I guess, but at least they don't have a > language in the same sense as descriptiv

Re: [linux-usb-devel] How to handle string descriptor request from usb-uhci

2004-09-07 Thread Toralf Lund
Alan Stern wrote: On Mon, 6 Sep 2004, Toralf Lund wrote: Another minor question: How do you set up the list of supported languages when you don't actually support any languages, or support all of them, depending on how you see it? I mean, I only return strings for the manufacturer name and pr

Re: [linux-usb-devel] How to handle string descriptor request from usb-uhci

2004-09-06 Thread Alan Stern
On Mon, 6 Sep 2004, Toralf Lund wrote: > Another minor question: How do you set up the list of supported > languages when you don't actually support any languages, or support all > of them, depending on how you see it? I mean, I only return strings for > the manufacturer name and product id, an

Re: [linux-usb-devel] How to handle string descriptor request from usb-uhci

2004-09-06 Thread Toralf Lund
David Brownell wrote: On Friday 03 September 2004 2:53 am, Toralf Lund wrote: 1. The USB 1.1 spec says "String descriptors use UNICODE encodings". Which annoys me a great deal, as it fails to specify *what kind unicode*. Should the string be in UTF-8 format, or 16 or 32-bit? UTF

Re: [linux-usb-devel] How to handle string descriptor request from usb-uhci

2004-09-03 Thread David Brownell
On Friday 03 September 2004 2:53 am, Toralf Lund wrote: > >1. The USB 1.1 spec says "String descriptors use UNICODE encodings". > Which annoys me a great deal, as it fails to specify *what kind > unicode*. Should the string be in UTF-8 format, or 16 or 32-bit? UTF16-LE, as it says

[linux-usb-devel] How to handle string descriptor request from usb-uhci

2004-09-03 Thread Toralf Lund
This may be more of a general USB question than a driver specific one, but I hope you'll forgive me: I'm programming a USB device that interacts with usb-uhci on a Linux host. I think I've handled most control messages correctly, but I'm not sure about the string descriptors. For instance, I've