Re: Unusable Xorg with USB mouse

From: Dominique Goncalves <dominique.goncalves_at_gmail.com>
Date: Mon, 13 Apr 2009 15:24:25 +0200
Hi Rainer,

On Mon, Apr 13, 2009 at 2:55 PM, Rainer Hurling <rhurlin_at_gwdg.de> wrote:
> Hi Dominique,
>
> On 13.04.2009 11:03 (UTC+1), Dominique Goncalves wrote:
>>
>> Hi,
>>
>> I upgraded my FreeBSD desktop (XFCE4 and some applications) from
>> 7.1-RELEASE to 8.0-CURRENT r190942 all ports was build from scratch
>> after removing old files with make delete-old delete-old-libs.

I should have been more precise, I followed these steps,

upgrade to -CURRENT with the usual steps described in UPDATING
(buildworld, buildkernel, installworld, installkernel, mergemaster,
etc)

# rm -fr /usr/local/* /var/db/pkg/*
# cd /usr/src
# yes | make delete-old
# yes | make delete-old-libs

and rebuild ports: xorg, xfce4, firefox3

> as far as I know 'make delete-old delete-old-libs' has to be done from
> /usr/src and so it removes obsolete files from system (see
> /usr/src/ObsoleteFiles.inc).
>
> To remove ports (/usr/ports) and build from scratch you have to 'pkg_delete
> -a' or something like this...
>
>> Now it's very hard to listen music with mplayer, write text with vim,
>> browse internet with firefox... it just stop working and restart when
>> moving the mouse!
>
> There had been many changes in CURRENT and xorg in the last time. USB is
> totally new, libusb is integrated in the system (please do not install that
> port!) etc.
>
> So please read /usr/ports/UPDATING, especially the entries 20090309 and
> 20090123.
>
> Hope I could help,
> Rainer
>
>
>> Let me know if you need more information.
>>
>> Any help is really appreciated,
>> Thanks.
>>
>>> dmesg
>>
>> Copyright (c) 1992-2009 The FreeBSD Project.
>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>>        The Regents of the University of California. All rights reserved.
>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>> FreeBSD 8.0-CURRENT #0 r190942: Sat Apr 11 22:05:48 CEST 2009
>>    root_at_djdomics:/usr/obj/usr/src/sys/GENERIC_NODEBUG
>> Timecounter "i8254" frequency 1193182 Hz quality 0
>> CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (2000.15-MHz 686-class CPU)
>>  Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
>>
>>  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
>> real memory  = 805306368 (768 MB)
>> avail memory = 774045696 (738 MB)
>> ACPI APIC Table: <AMIINT SiS645XX>
>> MADT: Forcing active-low polarity and level trigger for SCI
>> ioapic0 <Version 1.1> irqs 0-23 on motherboard
>> kbd1 at kbdmux0
>> acpi0: <AMIINT SiS645XX> on motherboard
>> acpi0: [ITHREAD]
>> acpi0: Power Button (fixed)
>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
>> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
>> acpi_button0: <Power Button> on acpi0
>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>> pci0: <ACPI PCI bus> on pcib0
>> agp0: <SiS 645DX host to AGP bridge> on hostb0
>> pcib1: <PCI-PCI bridge> at device 1.0 on pci0
>> pci1: <PCI bus> on pcib1
>> vgapci0: <VGA-compatible display> mem
>> 0xde000000-0xdeffffff,0xc0000000-0xcfffffff irq 16 at device 0.0 on
>> pci1
>> isab0: <PCI-ISA bridge> at device 2.0 on pci0
>> isa0: <ISA bus> on isab0
>> atapci0: <SiS 962/963 UDMA133 controller> port
>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 2.5 on
>> pci0
>> ata0: <ATA channel 0> on atapci0
>> ata0: [ITHREAD]
>> ata1: <ATA channel 1> on atapci0
>> ata1: [ITHREAD]
>> ohci0: <SiS 5571 USB controller> mem 0xdfffc000-0xdfffcfff irq 20 at
>> device 3.0 on pci0
>> ohci0: [ITHREAD]
>> usbus0: <SiS 5571 USB controller> on ohci0
>> ohci1: <SiS 5571 USB controller> mem 0xdfffd000-0xdfffdfff irq 21 at
>> device 3.1 on pci0
>> ohci1: [ITHREAD]
>> usbus1: <SiS 5571 USB controller> on ohci1
>> ohci2: <SiS 5571 USB controller> mem 0xdfffe000-0xdfffefff irq 22 at
>> device 3.2 on pci0
>> ohci2: [ITHREAD]
>> usbus2: <SiS 5571 USB controller> on ohci2
>> ehci0: <EHCI (generic) USB 2.0 controller> mem 0xdffff000-0xdfffffff
>> irq 23 at device 3.3 on pci0
>> ehci0: [ITHREAD]
>> usbus3: EHCI version 1.0
>> usbus3: <EHCI (generic) USB 2.0 controller> on ehci0
>> pcm0: <Envy24 audio (M Audio Delta 1010LT)> port
>> 0xdc00-0xdc1f,0xd800-0xd80f,0xd400-0xd40f,0xd000-0xd03f irq 19 at
>> device 8.0 on pci0
>> pcm0: [ITHREAD]
>> pcm0: system configuration
>>  SubVendorID: 0x1412, SubDeviceID: 0xd63b
>>  XIN2 Clock Source: 22.5792MHz(44.1kHz*512)
>>  MPU-401 UART(s) #: 1
>>  AC'97 codec: not exist
>>  ADC #: 4
>>  DAC #: 4
>>  Multi-track converter type: I2S(96KHz support, 24bit resolution, ID#0x2)
>>  S/PDIF(IN/OUT): 1/1 ID# 0x00
>>  GPIO(mask/dir/state): 0x04/0xfb/0x7e
>> rl0: <RealTek 8139 10/100BaseTX> port 0xcc00-0xccff mem
>> 0xdfffbf00-0xdfffbfff irq 18 at device 11.0 on pci0
>> miibus0: <MII bus> on rl0
>> rlphy0: <RealTek internal media interface> PHY 0 on miibus0
>> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>> rl0: Ethernet address: 00:10:dc:82:9b:d2
>> rl0: [ITHREAD]
>> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
>> fdc1: <floppy drive controller> port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq
>> 6 drq 2 on acpi0
>> fdc1: [FILTER]
>> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
>> uart0: [FILTER]
>> uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
>> uart1: [FILTER]
>> ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
>> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
>> ppc0: [ITHREAD]
>> ppbus0: <Parallel port bus> on ppc0
>> plip0: <PLIP network interface> on ppbus0
>> plip0: [ITHREAD]
>> lpt0: <Printer> on ppbus0
>> lpt0: [ITHREAD]
>> lpt0: Interrupt-driven port
>> ppi0: <Parallel I/O> on ppbus0
>> cpu0: <ACPI CPU> on acpi0
>> p4tcc0: <CPU Frequency Thermal Control> on cpu0
>> pmtimer0 on isa0
>> orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd27ff pnpid
>> ORM0000 on isa0
>> sc0: <System console> at flags 0x100 on isa0
>> sc0: VGA <16 virtual consoles, flags=0x300>
>> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
>> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
>> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>> kbd0 at atkbd0
>> atkbd0: [GIANT-LOCKED]
>> atkbd0: [ITHREAD]
>> fdc0: No FDOUT register!
>> Timecounter "TSC" frequency 2000150592 Hz quality 800
>> Timecounters tick every 1.000 msec
>> usbus0: 12Mbps Full Speed USB v1.0
>> usbus1: 12Mbps Full Speed USB v1.0
>> usbus2: 12Mbps Full Speed USB v1.0
>> usbus3: 480Mbps High Speed USB v2.0
>> ad0: 57241MB <Seagate ST360012A 3.30> at ata0-master UDMA100
>> ugen0.1: <SiS> at usbus0
>> uhub0: <SiS OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
>> ugen1.1: <SiS> at usbus1
>> uhub1: <SiS OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
>> ugen2.1: <SiS> at usbus2
>> uhub2: <SiS OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
>> ugen3.1: <SiS> at usbus3
>> uhub3: <SiS EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
>> ad1: 57241MB <Seagate ST360015A 3.33> at ata0-slave UDMA100
>> uhub0: 2 ports with 2 removable, self powered
>> uhub1: 2 ports with 2 removable, self powered
>> uhub2: 2 ports with 2 removable, self powered
>> acd0: DVDROM <HL-DT-STDVD-ROM GDR8161B/0100> at ata1-master UDMA33
>> GEOM: ad0: partition 1 does not start on a track boundary.
>> GEOM: ad0: partition 1 does not end on a track boundary.
>> acd1: CDRW <HL-DT-ST GCE-8481B/1.00> at ata1-slave UDMA33
>> GEOM: ad0s2: geometry does not match label (255h,63s != 16h,255s).
>> GEOM: ad1: partition 1 does not start on a track boundary.
>> GEOM: ad1: partition 1 does not end on a track boundary.
>> uhub3: 6 ports with 6 removable, self powered
>> acd1: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
>> acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
>> cd0 at ata1 bus 0 target 1 lun 0
>> cd0: <HL-DT-ST CD-RW GCE-8481B 1.00> Removable CD-ROM SCSI-0 device
>> cd0: 33.000MB/s transfers
>> cd0: cd present [196100 x 2048 byte records]
>> cd1 at ata1 bus 0 target 0 lun 0
>> cd1: <HL-DT-ST DVD-ROM GDR8161B 0100> Removable CD-ROM SCSI-0 device
>> cd1: 33.000MB/s transfers
>> cd1: cd present [3510947 x 2048 byte records]
>> GEOM_LABEL: Label for provider acd0 is iso9660/DIE_HARD_1.
>> GEOM_LABEL: Label for provider ad0s2a is ufsid/47fa91abbef03a13.
>> GEOM_LABEL: Label for provider ad0s2d is ufsid/47fa91ad7b28768a.
>> GEOM_LABEL: Label for provider ad0s2e is ufsid/47fa91abefc1e226.
>> GEOM_LABEL: Label for provider ad0s2f is ufsid/47fa91abfb5c1768.
>> GEOM: ad1s2: geometry does not match label (255h,63s != 16h,255s).
>> GEOM: ad1s3: geometry does not match label (16h,63s != 16h,255s).
>> ugen2.2: <Logitech> at usbus2
>> ums0: <Logitech USB Mouse, class 0/0, rev 1.10/6.10, addr 2> on usbus2
>> ums0: 3 buttons and [XYZ] coordinates ID=0
>> GEOM_LABEL: Label for provider acd1 is iso9660/CDROM.
>> GEOM_LABEL: Label for provider ad1s2a is ufsid/423b25e8c0bf6015.
>> GEOM_LABEL: Label for provider ad1s2d is ufsid/423b25e933d9f5b1.
>> GEOM_LABEL: Label for provider ad1s2e is ufsid/423b25e88d1a575d.
>> GEOM_LABEL: Label for provider ad1s2f is ufsid/423b25e8f04b19a7.
>> GEOM_LABEL: Label for provider ad1s3g is ufsid/423de7c40ececa0b.
>> GEOM_LABEL: Label for provider ad1s3i is ufsid/423de7c57cc3c44b.
>> GEOM_LABEL: Label for provider ad1s3j is ufsid/423de7cf5ab394ca.
>> acd1: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
>> Trying to mount root from ufs:/dev/ad0s2a
>> GEOM_LABEL: Label ufsid/47fa91abbef03a13 removed.
>> GEOM_LABEL: Label for provider ad0s2a is ufsid/47fa91abbef03a13.
>> GEOM_LABEL: Label ufsid/47fa91abefc1e226 removed.
>> GEOM_LABEL: Label for provider ad0s2e is ufsid/47fa91abefc1e226.
>> GEOM_LABEL: Label ufsid/47fa91abfb5c1768 removed.
>> GEOM_LABEL: Label for provider ad0s2f is ufsid/47fa91abfb5c1768.
>> GEOM_LABEL: Label ufsid/47fa91ad7b28768a removed.
>> GEOM_LABEL: Label for provider ad0s2d is ufsid/47fa91ad7b28768a.
>> GEOM_LABEL: Label ufsid/47fa91abbef03a13 removed.
>> GEOM_LABEL: Label ufsid/47fa91abefc1e226 removed.
>> GEOM_LABEL: Label ufsid/47fa91abfb5c1768 removed.
>> GEOM_LABEL: Label ufsid/47fa91ad7b28768a removed.
>> rl0: link state changed to UP
>>
>>> vmstat -i
>>
>> interrupt                          total       rate
>> irq1: atkbd0                        1823          1
>> irq14: ata0                        10943          7
>> irq15: ata1                         4692          3
>> irq18: rl0                         32566         22
>> irq19: pcm0                        99133         68
>> irq22: ohci2                       31197         21
>> irq23: ehci0                           2          0
>> cpu0: timer                      2872088       1998
>> Total                            3052444       2124
>>
>>> cat /etc/rc.conf
>>
>> # -- sysinstall generated deltas -- # Mon Apr  7 23:50:43 2008
>> # Created: Mon Apr  7 23:50:43 2008
>> # Enable network daemons for user convenience.
>> # Please make all changes to this file, not to /etc/defaults/rc.conf.
>> # This file now contains just the overrides from /etc/defaults/rc.conf.
>> hostname="djdomics"
>> ifconfig_rl0="DHCP"
>> keymap="fr.iso.acc"
>> sshd_enable="YES"
>> gnome_enable="YES"
>>
>>> cat /etc/X11/xorg.conf
>>
>> Section "ServerLayout"
>>        Identifier     "X.org Configured"
>>        Screen      0  "Screen0" 0 0
>>        InputDevice    "Mouse0" "CorePointer"
>>        InputDevice    "Keyboard0" "CoreKeyboard"
>>        Option         "AllowEmptyInput" "off"
>> EndSection
>>
>> Section "Files"
>>        ModulePath   "/usr/local/lib/xorg/modules"
>>        FontPath     "/usr/local/lib/X11/fonts/misc/"
>>        FontPath     "/usr/local/lib/X11/fonts/TTF/"
>>        FontPath     "/usr/local/lib/X11/fonts/OTF"
>>        FontPath     "/usr/local/lib/X11/fonts/Type1/"
>>        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
>>        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
>> EndSection
>>
>> Section "Module"
>>        Load  "dbe"
>>        Load  "dri"
>>        Load  "extmod"
>>        Load  "glx"
>>        Load  "record"
>>        Load  "xtrap"
>>        Load  "freetype"
>> EndSection
>>
>> Section "InputDevice"
>>        Identifier  "Keyboard0"
>>        Driver      "kbd"
>>        Option      "XkbLayout" "fr"
>> EndSection
>>
>> Section "InputDevice"
>>        Identifier  "Mouse0"
>>        Driver      "mouse"
>>        Option      "Protocol" "auto"
>>        Option      "Device" "/dev/sysmouse"
>>        Option      "ZAxisMapping" "4 5 6 7"
>> EndSection
>>
>> Section "Monitor"
>>        #DisplaySize      320   240     # mm
>>        Identifier   "Monitor0"
>>        VendorName   "FUS"
>>        ModelName    "C700"
>>        HorizSync    30.0 - 72.0
>>        VertRefresh  50.0 - 160.0
>>        Option      "DPMS"
>> EndSection
>>
>> Section "Device"
>>        ### Available Driver options are:-
>>        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
>>        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
>>        ### [arg]: arg optional
>>        #Option     "SWcursor"                  # [<bool>]
>>        #Option     "HWcursor"                  # [<bool>]
>>        #Option     "NoAccel"                   # [<bool>]
>>        #Option     "ShadowFB"                  # [<bool>]
>>        #Option     "UseFBDev"                  # [<bool>]
>>        #Option     "Rotate"                    # [<str>]
>>        #Option     "VideoKey"                  # <i>
>>        #Option     "FlatPanel"                 # [<bool>]
>>        #Option     "FPDither"                  # [<bool>]
>>        #Option     "CrtcNumber"                # <i>
>>        #Option     "FPScale"                   # [<bool>]
>>        #Option     "FPTweak"                   # <i>
>>        #Option     "DualHead"                  # [<bool>]
>>        Identifier  "Card0"
>>        Driver      "nv"
>>        VendorName  "nVidia Corporation"
>>        BoardName   "NV36 [GeForce FX 5700LE]"
>>        BusID       "PCI:1:0:0"
>> EndSection
>>
>> Section "Screen"
>>        Identifier "Screen0"
>>        Device     "Card0"
>>        Monitor    "Monitor0"
>>        SubSection "Display"
>>                Viewport   0 0
>>                Depth     1
>>        EndSubSection
>>        SubSection "Display"
>>                Viewport   0 0
>>                Depth     4
>>        EndSubSection
>>        SubSection "Display"
>>                Viewport   0 0
>>                Depth     8
>>        EndSubSection
>>        SubSection "Display"
>>                Viewport   0 0
>>                Depth     15
>>        EndSubSection
>>        SubSection "Display"
>>                Viewport   0 0
>>                Depth     16
>>        EndSubSection
>>        SubSection "Display"
>>                Viewport   0 0
>>                Depth     24
>>        EndSubSection
>> EndSection
>>
>>
>>
>



-- 
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."
Received on Mon Apr 13 2009 - 11:24:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:46 UTC