Re: [lfs-support] usb mouse connects=disconnects repeatedly

2012-03-12 Thread Andrew Benton
On Mon, 12 Mar 2012 02:19:57 +
Martins Gulbis l...@tentyten.com wrote:

  I started with the config used for the ubuntu 
 system running on my system and ran make oldconfig. Currently under USB 
 support I have the following included:
 
 
 Support for Host-side USB
 USB verbose debug messages
 USB announce new devices
*** Miscellaneous USB options ***
   USB device filesystem (DEPRECATED)
USB Monitor
 
 *** USB Host Controller Drivers ***
   xHCI HCD (USB 3.0) support (EXPERIMENTAL)
   EHCI HCD (USB 2.0) support
 Root Hub Transaction Translators
 Improved Transaction Translator scheduling
   OXU210HP HCD support
   ISP 1760 HCD support
   OHCI HCD support
   UHCI HCD (most Intel and VIA) support
 
   *** USB Device Class drivers ***
   USB Printer support
   USB Mass Storage support
   The shared table of common (or usual) storage devices
 
 
 Should I possibly not include some of this?

Don't have both OHCI and UHCI, use one or the other. Most systems use
UHCI, try disabling OHCI.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] usb mouse connects=disconnects repeatedly

2012-03-12 Thread Martins Gulbis

On 3/12/2012 2:38 AM, Andrew Benton wrote:
Don't have both OHCI and UHCI, use one or the other. Most systems use 
UHCI, try disabling OHCI. Andy 
When I have only UHCI enabled, it still acts the same.  I have also 
tried only OHCI enabled, UHCI disabled.  There were no 
connect-disconnect events, but running dmesg showed that the system did 
not find the mouse.


The disconnect-connect events are almost exactly one minute apart.  Can 
this possibly be a clue?


Unfortunately, I am not so familiar with usb.  I guess I will now have 
to become more familiar with it, or see if I can just get rid of the 
messages.


Martins
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] usb mouse connects=disconnects repeatedly

2012-03-12 Thread Juan Alberto Regalado Galván
Martins,

Maybe you could try to disable EHCI.

By the way, I forgot to tell you. You could stop all those kernel messages with:
dmesg -n1
or:
echo 1  /proc/sys/kernel/printk
or in LFS you can make this permanent by seting LOGLEVEL=1 in the
file /etc/sysconfig/console or in /etc/sysconfig/rc.site.
And you'll still be able to see them with dmesg (or even better dmesg | tail).
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] usb mouse connects=disconnects repeatedly

2012-03-12 Thread Aleksandar Kuktin
On Sun, 11 Mar 2012 14:45:02 -0700
Martins Gulbis l...@tentyten.com wrote:

 Well, I bought and installed a new mouse. NO CHANGE.  One interesting 
 thing that I did notice though is that the disconnects/re-connects
 occur almost exactly every 60 seconds.  I am not sure what to make of
 that. I am hoping that someone may know how to stop this from
 happening.  I believe the other alternative would be to turn off USB
 Support-USB verbose debug messages and USB announce new devices and
 rebuild the kernel. I believe that would at least eliminate the
 messages from constantly showing up.
 
 Martins

Just a check, did you try the mouse with some other distro?

You mentioned Ubuntu, does Ubuntu (or whatever) have the same problem?

-- 
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] usb mouse connects=disconnects repeatedly

2012-03-12 Thread Martins Gulbis

On 3/12/2012 8:07 AM, Juan Alberto Regalado Galván wrote:

Martins,

Maybe you could try to disable EHCI.

By the way, I forgot to tell you. You could stop all those kernel messages with:
dmesg -n1
or:
echo 1  /proc/sys/kernel/printk
or in LFS you can make this permanent by seting LOGLEVEL=1 in the
file /etc/sysconfig/console or in /etc/sysconfig/rc.site.
And you'll still be able to see them with dmesg (or even better dmesg | tail).

Hello again Juan!

You must have been reading my mind!  I was just about to post a message 
asking about how to stop the messages.  I guess I would use dmesg -n1 
right after logging in, or better yet include it in ..bash_rc or 
.bash_profile., correct?


I have disabled EHCI.  My current configuration has only UHCI as the 
only thing that is enabled in USB_SUPPORT.  It seems like UHCI by 
itself, but not EHCI or OHCI.  With EHCI/or OHCI /enabled by themselves, 
the system does not even find the usb mouse.  As II mentioned before, I 
wonder what the significance of the disconnect-connect(s) occurring 
almost exactly every 60 seconds is, and would not doubt that knowing the 
reason would also lead to a solution of the problem.


Thanks again!  For now,  I think I will put a stop to the messages which 
will make it easier to start using the system to work on BLFS.


Martins
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] usb mouse connects=disconnects repeatedly

2012-03-12 Thread Juan Alberto Regalado Galván
Martins,

 I guess I would use dmesg -n1 right
 after logging in, or better yet include it in ..bash_rc or .bash_profile.,
 correct?

I could better set the variable LOGLEVEL=1 in the file
/etc/sysconfig/console or in /etc/sysconfig/rc.site which has the same
effect as dmesg -n1.

About the error message, I don't know what to say to you.
Hope you find the solution.

Greetings,
Juan.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] usb mouse connects=disconnects repeatedly

2012-03-12 Thread Martins Gulbis

On 3/12/2012 9:35 AM, Aleksandar Kuktin wrote:
Just a check, did you try the mouse with some other distro? You 
mentioned Ubuntu, does Ubuntu (or whatever) have the same problem? 
I have never had a problem with or have I seen any messages about the 
usb mouse with ubuntu


Mar tins
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page