Hello Philippe,

I think that the virtual terminal infrastructure work only on graphic device.
In my system I have the frame buffer support already enabled.

-----Messaggio originale-----
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di [EMAIL PROTECTED]
Inviato: venerdì 15 giugno 2007 11.06
A: uClinux development list
Oggetto: Re: R: R: R: [uClinux-dev] Matrix keyboard on uclinux 2.6.17

Thanks Andrea ... It's OK!

I've enable the frame buffer "CONFIG_FB" and now my keyboard is running on 
/dev/tty0.

Do you know why i must enable "CONFIG_FB" ?

Thank you very much,
Philippe.

> Hello Philippe,
>
> I have enabled the "CONFIG_VT_CONSOLE" and all work fine.
> While the device tty0 is the current console, tty1 is the first 
> virtual terminal.
> On startup the default virtual terminal is tty1, so in that case tty1 
> and tty0 are the same device.
> On my application I switch the system to tty4 and then tty4 and tty0 
> are the same device.
>
> -----Messaggio originale-----
> Da: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]
> Per conto di [EMAIL PROTECTED]
> Inviato: venerdì 15 giugno 2007 9.32
> A: uClinux development list
> Oggetto: Re: R: R: [uClinux-dev] Matrix keyboard on uclinux 2.6.17
>
> Hello Andrea,
>
> I have already enable "CONFIG_VT", and my kernel always crash.
> Must i enable "CONFIG_VT_CONSOLE" ?
> Is there any script in inittab to enable /dev/tty0 ?, any another 
> kernel config i've forgot ?
> I prefer use /dev/tty1, how i do that ?
> In my inittab i have :
> "ttyS0:unknown:respawn:/bin/getty -L /dev/ttyS0 19200 vt100"
> This is for my debug console with computer.
> But i need another keyboard for my embedded system.
>
> Philippe.
>
>
> > Hello Philippe,
> >
> > You must enable the virtual terminal support in kernel config then 
> > the keyboard is connected to /dev/tty0 (the current console).
> >
> > -----Messaggio originale-----
> > Da: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > Per conto di [EMAIL PROTECTED]
> > Inviato: giovedì 14 giugno 2007 18.16
> > A: uClinux development list
> > Oggetto: Re: R: [uClinux-dev] Matrix keyboard on uclinux 2.6.17
> >
> > Hello Andrea,
> >
> > Thanks a lot for the patch.
> > But now my kernel crash when the function "kbd_keycode" is call (in 
> > drivers/char/keyboard.c).
> > I think the crash is here :
> > ******************************************************************
> >     if (tty && (!tty->driver_data)) {
> >             /* No driver data? Strange. Okay we fix it then. */
> >             tty->driver_data = vc;
> >     }
> > ******************************************************************
> > Is there anything i forgot to declare ?
> > Which device, my keyboard is connected ? (/dev/???)
> >
> > Another question :
> > ----------------
> > I call my driver like this :
> >
> > late_initcall(my_kbd_init_hw);
> > static int __init my_kbd_init_hw(void) {
> >         MY_INIT;
> >     register_scan_keyboard(my_scan_kbd, my_scan_table, MAX_COLUMN);
> >     printk(KERN_INFO "My scan keyboard registered\n");
> >     return(0);
> > }
> >
> > Is it right ?
> >
> > Regards
> > Philippe.
> >
> > Selon "Tarani, Andrea" <[EMAIL PROTECTED]>:
> >
> > > Try attached patch
> > >
> > > -----Messaggio originale-----
> > > Da: [EMAIL PROTECTED] 
> > > [mailto:[EMAIL PROTECTED]
> > > Per conto di [EMAIL PROTECTED]
> > > Inviato: giovedì 14 giugno 2007 14.31
> > > A: [email protected]
> > > Oggetto: [uClinux-dev] Matrix keyboard on uclinux 2.6.17
> > >
> > > Hello,
> > >
> > > Sorry in advance for my English.
> > > I need to use a matrix keyboard (4x4) on uclinux 2.6.17.
> > > I already make a driver for this keyboard on Linux 2.4.18 by using 
> > > the file "driver/char/scan_keyb.c" and by developing a driver 
> > > managing my keyboard. In the file "scan_keyb.c" there is a call to 
> > > a function "handle_scancode" which does not exist any more in the 
> > > uclinux
> 2.6.17.
> > > How it is the new management of the keyboard to connect it with a 
> > > device
> > > (example: /dev/tty1)
> > >
> > > Regards,
> > > Philippe.
> > > _______________________________________________
> > > uClinux-dev mailing list
> > > [email protected]
> > > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > > This message was resent by [email protected] To unsubscribe see:
> > > http://mailman.uclinux.org/mailman/options/uclinux-dev
> > >
> > >
> > > This message (including any attachments) contains confidential 
> > > and/or proprietary information intended only for the addressee.
> > > Any unauthorized disclosure, copying, distribution or reliance on 
> > > the contents of this information is strictly prohibited and may 
> > > constitute a violation of law.  If you are not the intended 
> > > recipient, please notify the sender immediately by responding to 
> > > this e-mail, and delete the message from your system.  If you have 
> > > any questions about this e-mail please notify the sender immediately.
> >
> >
> > h
> > _______________________________________________
> > uClinux-dev mailing list
> > [email protected]
> > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > This message was resent by [email protected] To unsubscribe see:
> > http://mailman.uclinux.org/mailman/options/uclinux-dev
> >
> > This message (including any attachments) contains confidential 
> > and/or proprietary information intended only for the addressee.
> > Any unauthorized disclosure, copying, distribution or reliance on 
> > the contents of this information is strictly prohibited and may 
> > constitute a violation of law.  If you are not the intended 
> > recipient, please notify the sender immediately by responding to 
> > this e-mail, and delete the message from your system.  If you have 
> > any questions about this e-mail please notify the sender immediately.
> > _______________________________________________
> > uClinux-dev mailing list
> > [email protected]
> > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > This message was resent by [email protected] To unsubscribe see:
> > http://mailman.uclinux.org/mailman/options/uclinux-dev
> >
>
>
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected] To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
> This message (including any attachments) contains confidential and/or 
> proprietary information intended only for the addressee.
> Any unauthorized disclosure, copying, distribution or reliance on the 
> contents of this information is strictly prohibited and may constitute 
> a violation of law.  If you are not the intended recipient, please 
> notify the sender immediately by responding to this e-mail, and delete 
> the message from your system.  If you have any questions about this 
> e-mail please notify the sender immediately.
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected] To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected] To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law.  If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system.  If you
have any questions about this e-mail please notify the sender
immediately.
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to