Hi Bruce, If I disconnect the mouse, the messages stop showing up. And when I plug it in again... they start again. The very first time I disconnected it, there was the following unusual message, which I didn't see again (not sure whether it's related) :
[Hardware Error]: Machine check events logged kworker/u:O used greatest stack depth: 3576 bytes left I'll try to install gpm and see if I can get the mouse to work. BTW, the mouse works fine under Win7, Debian, Fedora, on the same machine, so I don't think the mouse HW itself is faulty. As for preventing the messages from polluting the console : indeed, setting LOGLEVEL to 4 made the messages disappear. But like you said, it's not a good idea to get rid of them entirely, that's not what I wanted to do. What I really wanted was to redirect them to some log file. Do you happen to know which process or daemon is sending them ? some kernel daemon, ksyslogd, or udevd ? sorry, I'm not (yet) familiar with all this. If I know who's sending them, I can try to reconfigure it, to behave nicely and dump its messages properly in a log file. Joao ----- Mail original ----- De: "Bruce Dubbs" <[email protected]> À: "BLFS Support List" <[email protected]> Envoyé: Dimanche 17 Juin 2012 21:27:22 Objet: Re: [blfs-support] USB device (mouse) found then disconnected, in a loop [email protected] wrote: > Hello, > > I've just finished the 7.1 LFS book, and the system boots fine. This > makes me happy :-) > > But I keep getting these messages below in the console (copied > manually, so the figures on the left are not guaranteed to be exact) > : > > > [ 1655.986790) usb 1-1.1: USB disconnect, device number 56 [ > 1658.210465] usb 1-1.1: new low-speed USB device number 57 using > ehci_hcd [ 1658.304811] usb 1-1.1: New USB device found, > idVendor=046d, idProduct=c05f [ 1658.307022] usb 1-1.1: New USB > device strings: Mfr=1, Product=2, SerialNumber=0 [ 1658.415689] > Product: USB Optical Mouse [ 1658.432972] Manufacturer: Logitech [ > 1658.475634] input: Logitech USB Optical Mouse as > /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input68 > [ 1658.485638] generic_usb 0003:046D:C05F.004B: input,hidraw0: USB > HID v1.11 Mouse [Logitech USB Optical Mouse] on > usb-0000:00:1a.0-1.1/input0 > > > I have a couple of questions, to get me started investigating the > detailed internal workings of the system : > > 1. Why is the device in an endless loop, being found and then > disconnected ? What do I need to do, to have the device properly > recognized and configured ? Maybe someone could point me to the right > doc for this, please ? I don't know the cause, but what happens if you disconnect the mouse? My initial reaction is a HW problem. > 2. How can I prevent these messages from coming to the console ? > maybe re-direct them somewhere else ? I see similar messages being > sent to /var/log/kern.log, so I have the information, all right, and > they're polluting the console needlessly. You don't really want to kill the initial messages, but if you set LOGLEVEL to 4 (warning) in /etc/sysconfig/rc.site most will probably go away after a reboot. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
