* qt keyboard problem @ 2013-05-15 6:19 Yi Qingliang 2013-05-15 8:05 ` Mike Looijmans 2013-05-16 16:51 ` Slater, Joseph 0 siblings, 2 replies; 8+ messages in thread From: Yi Qingliang @ 2013-05-15 6:19 UTC (permalink / raw) To: openembedded-core@lists.openembedded.org oe-core layer Hello, all. I'm running qt application on yocto's qt image. cpu is s3c2442, like mini2440. the problem is: key event issued by pressing gpio-key eat by 'getty' (from busybox), my application can't receive input event, if I remove respawn 'getty' for tty1 in /etc/inittab, everything ok. any idea? -- Nanjing Jilong Yi Qingliang niqingliang2003@gmail.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: qt keyboard problem 2013-05-15 6:19 qt keyboard problem Yi Qingliang @ 2013-05-15 8:05 ` Mike Looijmans 2013-05-15 8:10 ` Yi Qingliang 2013-05-16 16:51 ` Slater, Joseph 1 sibling, 1 reply; 8+ messages in thread From: Mike Looijmans @ 2013-05-15 8:05 UTC (permalink / raw) To: openembedded-core On 05/15/2013 08:19 AM, Yi Qingliang wrote: > I'm running qt application on yocto's qt image. cpu is s3c2442, like mini2440. > > the problem is: > > key event issued by pressing gpio-key eat by 'getty' (from busybox), > my application can't receive input event, > if I remove respawn 'getty' for tty1 in /etc/inittab, everything ok. I solved it by no longer starting the console login. Set the following in one of your .conf files (distro or local.conf): USE_VT = "0" SYSVINIT_ENABLED_GETTYS = "" You may need to rebuild initscripts for this to have effect. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: qt keyboard problem 2013-05-15 8:05 ` Mike Looijmans @ 2013-05-15 8:10 ` Yi Qingliang 2013-05-15 8:18 ` Mike Looijmans 0 siblings, 1 reply; 8+ messages in thread From: Yi Qingliang @ 2013-05-15 8:10 UTC (permalink / raw) To: openembedded-core On Wednesday, May 15, 2013 10:05:45 AM Mike Looijmans wrote: > On 05/15/2013 08:19 AM, Yi Qingliang wrote: > > I'm running qt application on yocto's qt image. cpu is s3c2442, like > > mini2440. > > > > the problem is: > > > > key event issued by pressing gpio-key eat by 'getty' (from busybox), > > my application can't receive input event, > > if I remove respawn 'getty' for tty1 in /etc/inittab, everything ok. > > I solved it by no longer starting the console login. Set the following > in one of your .conf files (distro or local.conf): > > USE_VT = "0" > SYSVINIT_ENABLED_GETTYS = "" > > You may need to rebuild initscripts for this to have effect. thanks! I'll try. after that, I'll transit to systemd, I don't know if it has same problem. in the yocto manual, only replaced sysvinit by systemd, but no other notes for 'initscripts', on my Arch Linux, after transit to systemd, there is no need for 'initscripts'. > > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core -- Nanjing Jilong Yi Qingliang niqingliang2003@gmail.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: qt keyboard problem 2013-05-15 8:10 ` Yi Qingliang @ 2013-05-15 8:18 ` Mike Looijmans 2013-05-15 8:41 ` Yi Qingliang 0 siblings, 1 reply; 8+ messages in thread From: Mike Looijmans @ 2013-05-15 8:18 UTC (permalink / raw) To: Yi Qingliang; +Cc: openembedded-core On 05/15/2013 10:10 AM, Yi Qingliang wrote: > On Wednesday, May 15, 2013 10:05:45 AM Mike Looijmans wrote: >> On 05/15/2013 08:19 AM, Yi Qingliang wrote: >>> I'm running qt application on yocto's qt image. cpu is s3c2442, like >>> mini2440. >>> >>> the problem is: >>> >>> key event issued by pressing gpio-key eat by 'getty' (from busybox), >>> my application can't receive input event, >>> if I remove respawn 'getty' for tty1 in /etc/inittab, everything ok. >> >> I solved it by no longer starting the console login. Set the following >> in one of your .conf files (distro or local.conf): >> >> USE_VT = "0" >> SYSVINIT_ENABLED_GETTYS = "" >> >> You may need to rebuild initscripts for this to have effect. Alternatively, you could disconnect the console when the GUI starts. You probably have some script that sets things up and starts the GUI, so you could extend it with the console on/off function. That allows you to see the boot log on the screen for example, and debug things via the console when the GUI isn't running. I forgot how to do that though, I think is was something in /proc/. Mike. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: qt keyboard problem 2013-05-15 8:18 ` Mike Looijmans @ 2013-05-15 8:41 ` Yi Qingliang 0 siblings, 0 replies; 8+ messages in thread From: Yi Qingliang @ 2013-05-15 8:41 UTC (permalink / raw) To: Mike Looijmans; +Cc: openembedded-core On Wednesday, May 15, 2013 10:18:41 AM Mike Looijmans wrote: > On 05/15/2013 10:10 AM, Yi Qingliang wrote: > > On Wednesday, May 15, 2013 10:05:45 AM Mike Looijmans wrote: > >> On 05/15/2013 08:19 AM, Yi Qingliang wrote: > >>> I'm running qt application on yocto's qt image. cpu is s3c2442, like > >>> mini2440. > >>> > >>> the problem is: > >>> > >>> key event issued by pressing gpio-key eat by 'getty' (from busybox), > >>> my application can't receive input event, > >>> if I remove respawn 'getty' for tty1 in /etc/inittab, everything ok. > >> > >> I solved it by no longer starting the console login. Set the following > >> in one of your .conf files (distro or local.conf): > >> > >> USE_VT = "0" > >> SYSVINIT_ENABLED_GETTYS = "" > >> > >> You may need to rebuild initscripts for this to have effect. > > Alternatively, you could disconnect the console when the GUI starts. You > probably have some script that sets things up and starts the GUI, so you > could extend it with the console on/off function. > > That allows you to see the boot log on the screen for example, and debug > things via the console when the GUI isn't running. Good idea! > > I forgot how to do that though, I think is was something in /proc/. if you remembered, tell me please! thanks! > > Mike. -- Nanjing Jilong Yi Qingliang niqingliang2003@gmail.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: qt keyboard problem 2013-05-15 6:19 qt keyboard problem Yi Qingliang 2013-05-15 8:05 ` Mike Looijmans @ 2013-05-16 16:51 ` Slater, Joseph 2013-05-17 0:46 ` Yi Qingliang 1 sibling, 1 reply; 8+ messages in thread From: Slater, Joseph @ 2013-05-16 16:51 UTC (permalink / raw) To: Yi Qingliang, openembedded-core@lists.openembedded.org oe-core layer > -----Original Message----- > From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core- > bounces@lists.openembedded.org] On Behalf Of Yi Qingliang > Sent: Tuesday, May 14, 2013 11:19 PM > To: openembedded-core@lists.openembedded.org oe-core layer > Subject: [OE-core] qt keyboard problem > > Hello, all. > > I'm running qt application on yocto's qt image. cpu is s3c2442, like mini2440. > > the problem is: > > key event issued by pressing gpio-key eat by 'getty' (from busybox), > my application can't receive input event, > if I remove respawn 'getty' for tty1 in /etc/inittab, everything ok. This could be the same thing I have seen in a slightly different context. If so, you can keep the getty's attached to VT's. Just move the line in inittab that starts runlevel 5 to the very end of inittab. As long as the getty's start first, you'll be okay. Joe > > any idea? > > > -- > Nanjing Jilong > Yi Qingliang > niqingliang2003@gmail.com > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: qt keyboard problem 2013-05-16 16:51 ` Slater, Joseph @ 2013-05-17 0:46 ` Yi Qingliang 2013-05-17 18:26 ` Slater, Joseph 0 siblings, 1 reply; 8+ messages in thread From: Yi Qingliang @ 2013-05-17 0:46 UTC (permalink / raw) To: Slater, Joseph; +Cc: openembedded-core@lists.openembedded.org oe-core layer On Thursday, May 16, 2013 04:51:04 PM Slater, Joseph wrote: > > -----Original Message----- > > From: openembedded-core-bounces@lists.openembedded.org > > [mailto:openembedded-core- bounces@lists.openembedded.org] On Behalf Of > > Yi Qingliang > > Sent: Tuesday, May 14, 2013 11:19 PM > > To: openembedded-core@lists.openembedded.org oe-core layer > > Subject: [OE-core] qt keyboard problem > > > > Hello, all. > > > > I'm running qt application on yocto's qt image. cpu is s3c2442, like > > mini2440. > > > > the problem is: > > > > key event issued by pressing gpio-key eat by 'getty' (from busybox), > > my application can't receive input event, > > if I remove respawn 'getty' for tty1 in /etc/inittab, everything ok. > > This could be the same thing I have seen in a slightly different context. > If so, you can keep the getty's attached to VT's. Just move the line in > inittab that starts runlevel 5 to the very end of inittab. As long as the > getty's start first, you'll be okay. you mean: move 'id:5:initdefault:' as the last line of the file, right? # /etc/inittab: init(8) configuration. # $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ # The default runlevel. id:5:initdefault: # Boot-time system configuration/initialization script. # This is run first except when booting in emergency (-b) mode. si::sysinit:/etc/init.d/rcS # What to do in single-user mode. ~~:S:wait:/sbin/sulogin # /etc/init.d executes the S and K scripts upon change # of runlevel. # # Runlevel 0 is halt. # Runlevel 1 is single-user. # Runlevels 2-5 are multi-user. # Runlevel 6 is reboot. l0:0:wait:/etc/init.d/rc 0 l1:1:wait:/etc/init.d/rc 1 l2:2:wait:/etc/init.d/rc 2 l3:3:wait:/etc/init.d/rc 3 l4:4:wait:/etc/init.d/rc 4 l5:5:wait:/etc/init.d/rc 5 l6:6:wait:/etc/init.d/rc 6 # Normally not reached, but fallthrough in case of emergency. z6:6:respawn:/sbin/sulogin S:2345:respawn:/sbin/getty 115200 ttySAC0 # /sbin/getty invocations for the runlevels. # # The "id" field MUST be the same as the last # characters of the device (after "tty"). # # Format: # <id>:<runlevels>:<action>:<process> # 1:2345:respawn:/sbin/getty 38400 tty1 > > Joe > > > any idea? > > > > > > -- > > Nanjing Jilong > > Yi Qingliang > > niqingliang2003@gmail.com > > > > _______________________________________________ > > Openembedded-core mailing list > > Openembedded-core@lists.openembedded.org > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core -- Nanjing Jilong Yi Qingliang niqingliang2003@gmail.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: qt keyboard problem 2013-05-17 0:46 ` Yi Qingliang @ 2013-05-17 18:26 ` Slater, Joseph 0 siblings, 0 replies; 8+ messages in thread From: Slater, Joseph @ 2013-05-17 18:26 UTC (permalink / raw) To: Yi Qingliang; +Cc: openembedded-core@lists.openembedded.org oe-core layer > -----Original Message----- > From: Yi Qingliang [mailto:niqingliang2003@gmail.com] > Sent: Thursday, May 16, 2013 5:46 PM > To: Slater, Joseph > Cc: openembedded-core@lists.openembedded.org oe-core layer > Subject: Re: [OE-core] qt keyboard problem > > On Thursday, May 16, 2013 04:51:04 PM Slater, Joseph wrote: > > > -----Original Message----- > > > From: openembedded-core-bounces@lists.openembedded.org > > > [mailto:openembedded-core- bounces@lists.openembedded.org] On Behalf Of > > > Yi Qingliang > > > Sent: Tuesday, May 14, 2013 11:19 PM > > > To: openembedded-core@lists.openembedded.org oe-core layer > > > Subject: [OE-core] qt keyboard problem > > > > > > Hello, all. > > > > > > I'm running qt application on yocto's qt image. cpu is s3c2442, like > > > mini2440. > > > > > > the problem is: > > > > > > key event issued by pressing gpio-key eat by 'getty' (from busybox), > > > my application can't receive input event, > > > if I remove respawn 'getty' for tty1 in /etc/inittab, everything ok. > > > > This could be the same thing I have seen in a slightly different context. > > If so, you can keep the getty's attached to VT's. Just move the line in > > inittab that starts runlevel 5 to the very end of inittab. As long as the > > getty's start first, you'll be okay. > > you mean: move 'id:5:initdefault:' as the last line of the file, right? No, the line is "l5:5:wait:/etc/init.d/rc 5". Joe > > > > > > > > # /etc/inittab: init(8) configuration. > # $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ > > # The default runlevel. > id:5:initdefault: > > # Boot-time system configuration/initialization script. > # This is run first except when booting in emergency (-b) mode. > si::sysinit:/etc/init.d/rcS > > # What to do in single-user mode. > ~~:S:wait:/sbin/sulogin > > # /etc/init.d executes the S and K scripts upon change > # of runlevel. > # > # Runlevel 0 is halt. > # Runlevel 1 is single-user. > # Runlevels 2-5 are multi-user. > # Runlevel 6 is reboot. > > l0:0:wait:/etc/init.d/rc 0 > l1:1:wait:/etc/init.d/rc 1 > l2:2:wait:/etc/init.d/rc 2 > l3:3:wait:/etc/init.d/rc 3 > l4:4:wait:/etc/init.d/rc 4 > l5:5:wait:/etc/init.d/rc 5 > l6:6:wait:/etc/init.d/rc 6 > # Normally not reached, but fallthrough in case of emergency. > z6:6:respawn:/sbin/sulogin > S:2345:respawn:/sbin/getty 115200 ttySAC0 > # /sbin/getty invocations for the runlevels. > # > # The "id" field MUST be the same as the last > # characters of the device (after "tty"). > # > # Format: > # <id>:<runlevels>:<action>:<process> > # > > 1:2345:respawn:/sbin/getty 38400 tty1 > > > > > > > Joe > > > > > any idea? > > > > > > > > > -- > > > Nanjing Jilong > > > Yi Qingliang > > > niqingliang2003@gmail.com > > > > > > _______________________________________________ > > > Openembedded-core mailing list > > > Openembedded-core@lists.openembedded.org > > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > -- > Nanjing Jilong > Yi Qingliang > niqingliang2003@gmail.com ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-05-17 18:44 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-05-15 6:19 qt keyboard problem Yi Qingliang 2013-05-15 8:05 ` Mike Looijmans 2013-05-15 8:10 ` Yi Qingliang 2013-05-15 8:18 ` Mike Looijmans 2013-05-15 8:41 ` Yi Qingliang 2013-05-16 16:51 ` Slater, Joseph 2013-05-17 0:46 ` Yi Qingliang 2013-05-17 18:26 ` Slater, Joseph
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox