Re: [arch-general] Apple keyboard broken in [testing]

2008-03-14 Thread bardo
On Sun, Mar 9, 2008 at 3:39 PM, bardo <[EMAIL PROTECTED]> wrote:
>  I found out how to make F1-F4 work again: it seems the Fn button is
>  needed to generate the correct code with those keys, but also with
>  F7-F12.

This can be fixed quite easily if you know how:
  echo 2 > /sys/module/hid/parameters/pb_fnmode

Only the two swapped keys remain. Setkeycodes didn't work, I think
it's because the keycodes I'm trying to use are already registered to
something else, so I just created a custom keymap which swapped the
two keycodes, 41 and 86, and now everything works fine. Wandering
through the gentoo forums I found out that aluminium keyboards aren't
properly detected until 2.6.25rc2, the strange thing is I had the
keyboard working before... I'll see when 2.6.25 is released.

Corrado



Re: [arch-general] initscripts-splash

2008-03-14 Thread Roman Kyrylych
2008/3/13, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> > On Thu, Mar 13, 2008 at 2:58 PM,  <[EMAIL PROTECTED]> wrote:
>  >> Hallo,
>  >>
>  >>  Currently I'm maintaining splashy and fbsplash. Some time ago there was
>  >> a
>  >>  discussion of integration of the splash hooks in the initscripts in
>  >>  [core].
>  >>  Is there something planed? It would reduce problems for some less
>  >>  experienced users.
>  >
>  > Actually, anyone can do it and you don't even need to overwrite the
>  > initscripts package. The initscripts in testing will load functions
>  > from /etc/rc.d/functions.d/*. Due to the way shell scripts work, if I
>  > redefine a function, it overwrites it.
>  >
>  > This way, one can simply create a functions.d/ file that overrides the
>  > standard stat_* functions to call splash related functions. No need to
>  > additions to the initscripts package, it's all there for ya.
>  >
>  >
>
>
> I must have missed that ;) Thanks... I hope I will get a working solution
>  on that soon!

Actually, I was planning to steal fbsplash and splashy and put them in
community ;-)
but didn't have much time recently to actually do this. :-(
In addition I want to do a couple of small changes to initscripts that
will not affect non-splashed systems at all, but will just provide
more places to hook something via functions.d

-- 
Roman Kyrylych (Роман Кирилич)


Re: [arch-general] initscripts-splash

2008-03-14 Thread dongiovanni
> 2008/3/13, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>> > On Thu, Mar 13, 2008 at 2:58 PM,  <[EMAIL PROTECTED]> wrote:
>>  >> Hallo,
>>  >>
>>  >>  Currently I'm maintaining splashy and fbsplash. Some time ago there
>> was
>>  >> a
>>  >>  discussion of integration of the splash hooks in the initscripts in
>>  >>  [core].
>>  >>  Is there something planed? It would reduce problems for some less
>>  >>  experienced users.
>>  >
>>  > Actually, anyone can do it and you don't even need to overwrite the
>>  > initscripts package. The initscripts in testing will load functions
>>  > from /etc/rc.d/functions.d/*. Due to the way shell scripts work, if I
>>  > redefine a function, it overwrites it.
>>  >
>>  > This way, one can simply create a functions.d/ file that overrides
>> the
>>  > standard stat_* functions to call splash related functions. No need
>> to
>>  > additions to the initscripts package, it's all there for ya.
>>  >
>>  >
>>
>>
>> I must have missed that ;) Thanks... I hope I will get a working
>> solution
>>  on that soon!
>
> Actually, I was planning to steal fbsplash and splashy and put them in
> community ;-)
> but didn't have much time recently to actually do this. :-(
> In addition I want to do a couple of small changes to initscripts that
> will not affect non-splashed systems at all, but will just provide
> more places to hook something via functions.d
>

Nice! This would make the scripts for fbsplash/splashy much easier to
write. It makes no sense to start porting them to the functions.d system
right now, right?
If I can help you writing new scripts, when you will take fbsplash, let me
know.

dongiovanni





Re: [arch-general] initscripts-splash

2008-03-14 Thread Roman Kyrylych
2008/3/14, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>  > Actually, I was planning to steal fbsplash and splashy and put them in
>  > community ;-)
>  > but didn't have much time recently to actually do this. :-(
>  > In addition I want to do a couple of small changes to initscripts that
>  > will not affect non-splashed systems at all, but will just provide
>  > more places to hook something via functions.d
>  >
>
>
> Nice! This would make the scripts for fbsplash/splashy much easier to
>  write. It makes no sense to start porting them to the functions.d system
>  right now, right?

Yes, because some functionality will be impossible to implement
without patching initscripts.

>  If I can help you writing new scripts, when you will take fbsplash, let me
>  know.

Sure, I will contact you when everything will be ready to port
fbsplash & splashy to functions.d and since I don't use them yet I
will rely on you for testing. ;-)

-- 
Roman Kyrylych (Роман Кирилич)


Re: [arch-general] initscripts-splash

2008-03-14 Thread Aaron Griffin
On Fri, Mar 14, 2008 at 9:37 AM, Roman Kyrylych
<[EMAIL PROTECTED]> wrote:
> 2008/3/14, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> >  > Actually, I was planning to steal fbsplash and splashy and put them in
>  >  > community ;-)
>  >  > but didn't have much time recently to actually do this. :-(
>  >  > In addition I want to do a couple of small changes to initscripts that
>  >  > will not affect non-splashed systems at all, but will just provide
>  >  > more places to hook something via functions.d
>  >  >
>  >
>  >
>  > Nice! This would make the scripts for fbsplash/splashy much easier to
>  >  write. It makes no sense to start porting them to the functions.d system
>  >  right now, right?
>
>  Yes, because some functionality will be impossible to implement
>  without patching initscripts.

Only some though. I took a look at it, and it's easy, but some stuff
would be missed.