Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-13 Thread Krzysztof Halasa
Pavel Machek <[EMAIL PROTECTED]> writes: > Common denominator should be used. That includes 80 columns. Yep, that's really obsolete. Perhaps we should agree on some 100 columns? And/or 4-characters tabs maybe :-) -- Krzysztof Hałasa - To unsubscribe from this list: send the line "unsubscribe lin

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-12 Thread David Woodhouse
On Sat, 2007-05-12 at 23:03 -0700, Pete Zaitcev wrote: > I see your point, and it makes sense, but I'm not sure I agree completely. > Maybe I'm traumatized by myterious rejects which happened to me before. > Looking at the patch with vi showed absolutely no clue why it failed. On the occasions tha

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-12 Thread Pete Zaitcev
On Sun, 13 May 2007 13:39:48 +0800, David Woodhouse <[EMAIL PROTECTED]> wrote: > Please don't use my work email address unless I _really_ need to be > wearing my tinfoil hat when I read it. I'll keep it in mind, sorry. > But we'd be wrong -- just as you are. SPF is utterly moronic because it > s

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-12 Thread David Woodhouse
Please don't use my work email address unless I _really_ need to be wearing my tinfoil hat when I read it. On Sat, 2007-05-12 at 09:35 -0700, Pete Zaitcev wrote: > On Tue, 08 May 2007 18:52:31 +0100, David Woodhouse <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-05-08 at 18:45 +0100, Maciej W. Rozyck

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-12 Thread David Woodhouse
On Sun, 2007-05-13 at 01:20 +0200, Pavel Machek wrote: > > It was °C, and that's IMHO better readable than some kind of > > "degrees C". > > It is more readable for you, and more readable on me while in desktop > X. But on Zaurus and on console I see "???C", and I definitely prefer > "degrees C" to

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-12 Thread Pavel Machek
Hi! > > > > > > And how about serial terminals? > > > > > > > > > > It works fine over serial terminals. Why wouldn't it? > > > > > > > > He probably means serial terminals... like physical vt100. I used to > > > > have one (vt302 compatible or something). Most emulators still > > > > emulate v

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-12 Thread Adrian Bunk
On Fri, May 11, 2007 at 01:21:16PM +, Pavel Machek wrote: > Hi! > > > > > > And how about serial terminals? > > > > > > > > It works fine over serial terminals. Why wouldn't it? > > > > > > He probably means serial terminals... like physical vt100. I used to > > > have one (vt302 compatible

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-12 Thread Russell King
On Sat, May 12, 2007 at 08:27:00PM +0100, Alan Cox wrote: > > One peculiar thing I have observed is how all this "UTF-8 in names" > > nonsense is being pushed by western Europeans. Why? That's because > > their umlauts are grandfathered in, and because English speakers _can_ > > read their names ap

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-12 Thread Alan Cox
> I have to disagree here. It is using the native alphabet for the name > which is very rude, because non-native hackers cannot read it. This is I think you mean "non Amercian". The majority of the human race don't speak English, and you could probably make a good case that kernel tree should be i

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-12 Thread Pete Zaitcev
On Mon, 7 May 2007 22:23:11 +0100, Alan Cox <[EMAIL PROTECTED]> wrote: > We had this discussion before. Kernel sources should use utf-8 for > comments where neccessary. Many names cannot be correctly represented in > US ascii, and mangling them is just plain rude. I have to disagree here. It is u

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-12 Thread Pete Zaitcev
On Tue, 08 May 2007 18:52:31 +0100, David Woodhouse <[EMAIL PROTECTED]> wrote: > On Tue, 2007-05-08 at 18:45 +0100, Maciej W. Rozycki wrote: > > Well, my name has an acute above "o" and a dot above "z", but I do not > > have such a high expectation as to have it correctly spelled in comments >

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-11 Thread Pavel Machek
Hi! > > > > And how about serial terminals? > > > > > > It works fine over serial terminals. Why wouldn't it? > > > > He probably means serial terminals... like physical vt100. I used to > > have one (vt302 compatible or something). Most emulators still > > emulate vt100, and yes, vt100 predate

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-11 Thread Satyam Sharma
On 5/11/07, Alan Cox <[EMAIL PROTECTED]> wrote: > Even with fbdev... you are limited to 512 characters iirc. So.. who > has authority to say which subset of utf-8 is ok? This is a bug in fbdev and currently under discussion as there is no sane reason to enforce the 512 symbol limit in the fbdev

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-11 Thread Alan Cox
> Even with fbdev... you are limited to 512 characters iirc. So.. who > has authority to say which subset of utf-8 is ok? This is a bug in fbdev and currently under discussion as there is no sane reason to enforce the 512 symbol limit in the fbdev case (especially on a large modern system) > (Plu

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-11 Thread David Woodhouse
On Wed, 2007-05-09 at 20:33 +, Pavel Machek wrote: > Even with fbdev... you are limited to 512 characters iirc. So.. who > has authority to say which subset of utf-8 is ok? The user can load whatever font they want. > (Plus there is still lot of vga consoles out there -- all fedora users > af

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-11 Thread Pavel Machek
Hi! > > Considering Linux only -- does our text-mode VGA console driver make > > any effort to print an arbitrary UTF-8-encoded text > > correctly? What does it do when it runs beyond the limit of 512 > > characters? > > I've no idea -- I haven't used the VGA text-mode console for years > ei

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-09 Thread David Woodhouse
On Wed, 2007-05-09 at 15:23 +0100, Maciej W. Rozycki wrote: > I am pretty darn sure my name can be spelled correctly, but can it be > reasonably assured to be printed correctly on a reasonable subset of > systems out there? Yes. I haven't used a system on which it cannot for a number of years

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-09 Thread Maciej W. Rozycki
On Tue, 8 May 2007, David Woodhouse wrote: > It's not an issue which needs resolving. We can spell your name just > fine; we just need Pavel to quit whining and join us in the 21st > century. I am pretty darn sure my name can be spelled correctly, but can it be reasonably assured to be printed

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-08 Thread David Woodhouse
On Tue, 2007-05-08 at 18:45 +0100, Maciej W. Rozycki wrote: > Well, my name has an acute above "o" and a dot above "z", but I do not > have such a high expectation as to have it correctly spelled in comments > and elsewhere within some code before I am able to get it right in > official documen

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-08 Thread Stephen Clark
Maciej W. Rozycki wrote: On Tue, 8 May 2007, Satyam Sharma wrote: Hmmm ... what if David was German and had a couple of umlauts in his name :-) One would expect to at least _spell_ his own name properly in his code. Sources need to take care of that too (but we better stick to only UTF-8 fo

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-08 Thread Maciej W. Rozycki
On Tue, 8 May 2007, Satyam Sharma wrote: > Hmmm ... what if David was German and had a couple of umlauts in his > name :-) One would expect to at least _spell_ his own name properly in > his code. Sources need to take care of that too (but we better stick > to only UTF-8 for source files, wouldn't

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-08 Thread Stephen Clark
Dmitry Torokhov wrote: On 5/7/07, Alan Cox <[EMAIL PROTECTED]> wrote: On Mon, 7 May 2007 19:49:50 + Pavel Machek <[EMAIL PROTECTED]> wrote: On Mon 2007-05-07 16:10:53, David Woodhouse wrote: On Mon, 2007-05-07 at 14:04 +, Pavel Machek wrote: Can we stick to a

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-07 Thread Willy Tarreau
On Mon, May 07, 2007 at 10:38:12PM +0200, Pavel Machek wrote: > On Mon 2007-05-07 20:51:37, David Woodhouse wrote: > > On Mon, 2007-05-07 at 19:49 +, Pavel Machek wrote: > > > We had this discussion before. Kernel sources should be us-ascii. > > > utf-8 is ok for documentation. > > > > /* Thi

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-07 Thread Alan Cox
> > We had this discussion before. Kernel sources should use utf-8 for > > comments where neccessary. Many names cannot be correctly represented in > > US ascii, and mangling them is just plain rude. > > So should we all start writing our names in native alphabets? And comments > too? Well we do

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-07 Thread Dmitry Torokhov
On 5/7/07, Alan Cox <[EMAIL PROTECTED]> wrote: On Mon, 7 May 2007 19:49:50 + Pavel Machek <[EMAIL PROTECTED]> wrote: > On Mon 2007-05-07 16:10:53, David Woodhouse wrote: > > On Mon, 2007-05-07 at 14:04 +, Pavel Machek wrote: > > > Can we stick to ascii in sources? > > > > No. Please join

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-07 Thread Alan Cox
> ...which is pretty unhelpful. We still stick to 80 columns in the > code, and bigger displays certainly predate utf-8 compatibility. Plus, > you'd have to convert large part of Czech republic before I could > reasonably use utf-8). Maybe its about time they started. And since you can flip an edi

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-07 Thread Alan Cox
On Mon, 7 May 2007 19:49:50 + Pavel Machek <[EMAIL PROTECTED]> wrote: > On Mon 2007-05-07 16:10:53, David Woodhouse wrote: > > On Mon, 2007-05-07 at 14:04 +, Pavel Machek wrote: > > > Can we stick to ascii in sources? > > > > No. Please join us in the 21st century. > > We had this discu

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-07 Thread Pavel Machek
On Mon 2007-05-07 20:51:37, David Woodhouse wrote: > On Mon, 2007-05-07 at 19:49 +, Pavel Machek wrote: > > We had this discussion before. Kernel sources should be us-ascii. > > utf-8 is ok for documentation. > > /* This _is_ documentation. Go away. */ No, that's a comment. Fix your code. (

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-07 Thread Satyam Sharma
On 5/8/07, Pavel Machek <[EMAIL PROTECTED]> wrote: On Mon 2007-05-07 16:10:53, David Woodhouse wrote: > On Mon, 2007-05-07 at 14:04 +, Pavel Machek wrote: > > Can we stick to ascii in sources? > > No. Please join us in the 21st century. We had this discussion before. Kernel sources should be

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-07 Thread David Woodhouse
On Mon, 2007-05-07 at 19:49 +, Pavel Machek wrote: > We had this discussion before. Kernel sources should be us-ascii. > utf-8 is ok for documentation. /* This _is_ documentation. Go away. */ -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-07 Thread Pavel Machek
On Mon 2007-05-07 16:10:53, David Woodhouse wrote: > On Mon, 2007-05-07 at 14:04 +, Pavel Machek wrote: > > Can we stick to ascii in sources? > > No. Please join us in the 21st century. We had this discussion before. Kernel sources should be us-ascii. utf-8 is ok for documentation.

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-07 Thread David Woodhouse
On Mon, 2007-05-07 at 14:04 +, Pavel Machek wrote: > Can we stick to ascii in sources? No. Please join us in the 21st century. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vge

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-07 Thread Anton Vorontsov
On Mon, May 07, 2007 at 02:04:54PM +, Pavel Machek wrote: > Hi! > > > This probably should be marked as BROKEN because, according > > to David Woodhouse, EC-acccess method will change. Plus currently > > it lacks mutexes. So this driver is just for reference. Converted > > from the battery-2.6

Re: [PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-07 Thread Pavel Machek
Hi! > This probably should be marked as BROKEN because, according > to David Woodhouse, EC-acccess method will change. Plus currently > it lacks mutexes. So this driver is just for reference. Converted > from the battery-2.6 repository, 1:1. > > But nevertheless it should work. > > Signed-off-by

[PATCH 8/8] One Laptop Per Child power/battery driver

2007-05-03 Thread Anton Vorontsov
This probably should be marked as BROKEN because, according to David Woodhouse, EC-acccess method will change. Plus currently it lacks mutexes. So this driver is just for reference. Converted from the battery-2.6 repository, 1:1. But nevertheless it should work. Signed-off-by: Anton Vorontsov <[E