Re: xf86OpenSerial: Cannot open device /dev/wsmouse
"Todd T. Fries" <[email protected]>
| Newsgroups | gmane.os.openbsd.x11,gmane.os.openbsd.misc |
|---|---|
| Message-ID | <[email protected]> |
This is strange. Your fbtab looks right, same as mine. Your XFree86 is same as mine. More hints later. To everyine, this is a 'heads up'. There is an issue that is going to be a 'known bug' this release, whos workaround is basically 'dont do that'. Specifically, because the X server now drops priveledges to user _x11 after starting, switching to console while X is running, logging in (which chowns the files X needs to be user _x11 to the user logging in) then trying to switch back will not work successfully. I did note you must have an older install, aka you must not have installed from scratch, but rather upgraded, because in cvs and on my machine _x11 uses uid 35. todd:4$ sudo grep _x11 /etc/master.passwd _x11:*:35:35::0:0:X server:/var/empty:/sbin/nologin todd:5$ Please do a full install instead of an upgrade if you don't want to spend time figuring out what other things are 'not quite right'. -- Todd Fries .. [email protected] (last updated $ToddFries: signature.p,v 1.2 2002/03/19 15:10:18 todd Exp $) Penned by Gregory Steuck on Fri, Oct 04, 2002 at 08:59:35AM -0700, we have: | Hello, | | I just installed Oct 3 3.2-snapshot and Oct 2 X snapshot on i386. X | server refuses to work now (both from xdm and when run as "X"): | | (**) Option "Device" "/dev/wsmouse" | (EE) xf86OpenSerial: Cannot open device /dev/wsmouse | Permission denied. | (EE) Mouse0: cannot open input device | | /etc/X11/XF86Config: | Section "InputDevice" | Identifier "Mouse0" | Driver "mouse" | Option "Protocol" "wsmouse" | Option "Device" "/dev/wsmouse" | Option "Emulate3Buttons" | Option "Emulate3Timeout" "50" | EndSection | | $ ls -l /dev/wsmouse | crw------- 1 root wheel 69, 0 Jan 1 2001 /dev/wsmouse | | $ grep wsmouse /etc/fbtab | /dev/ttyC0 0600 /dev/console:/dev/wskbd:/dev/wsmouse:/dev/ttyCcfg | /dev/X0 0600 /dev/wsmouse | | $ ls -l /usr/X11R6/bin/XFree86 | -rwsr-xr-x 1 root wheel 1740879 Oct 2 13:50 /usr/X11R6/bin/XFree86 | | $ sudo grep _x11 /etc/master.passwd | _x11:*:34:35::0:0:X server:/var/empty:/sbin/nologin | | If I chmod 666 /dev/wsmouse, X works, of course. | | Is that my setup messed up or a genuine problem? | | Thanks | Greg | | $ dmesg | OpenBSD 3.2 (GENERIC) #25: Thu Oct 3 19:51:53 MDT 2002 | [email protected]:/usr/src/sys/arch/i386/compile/GENERIC | cpu0: Intel Celeron (Mendocino) ("GenuineIntel" 686-class, 128KB L2 cache) 463 MHz | cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR | real mem = 133738496 (130604K) | avail mem = 118394880 (115620K) | using 1658 buffers containing 6791168 bytes (6632K) of memory | mainbus0 (root) | bios0 at mainbus0: AT/286+(00) BIOS, date 01/29/00, BIOS32 rev. 0 @ 0xffe90 | apm0 at bios0: Power Management spec V1.2 | apm0: battery life expectancy 91% | apm0: AC on, battery charge high, charging, estimated 4:21 hours | pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000 | pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfbd70/128 (6 entries) | pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371 PCI-ISA and IDE" rev 0x00) | pcibios0: PCI bus #3 is the last bus | bios0: ROM list: 0xc0000/0x10000 | pci0 at mainbus0 bus 0: configuration mode 1 (no bios) | pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP" rev 0x03 | ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03 | pci1 at ppb0 bus 1 | vga1 at pci1 dev 0 function 0 "ATI Mobility 1" rev 0x64 | wsdisplay0 at vga1: console (80x25, vt100 emulation) | wsdisplay0: screen 1-5 added (80x25, vt100 emulation) | cbb0 at pci0 dev 3 function 0 "Texas Instruments PCI1225 PCI-CardBus" rev 0x01: irq 11 | cbb1 at pci0 dev 3 function 1 "Texas Instruments PCI1225 PCI-CardBus" rev 0x01: irq 11 | pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02 | pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility | wd0 at pciide0 channel 0 drive 0: <IBM-DBCA-206480> | wd0: 16-sector PIO, LBA, 6194MB, 13424 cyl, 15 head, 63 sec, 12685680 sectors | wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 | atapiscsi0 at pciide0 channel 1 drive 0 | scsibus0 at atapiscsi0: 2 targets | cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, S004> SCSI0 5/cdrom removable | cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 | uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11 | usb0 at uhci0: USB revision 1.0 | uhub0 at usb0 | uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 | uhub0: 2 ports with 2 removable, self powered | "Intel 82371AB Power Mgmt" rev 0x02 at pci0 dev 7 function 3 not configured | maestro0 at pci0 dev 8 function 0 "ESS Maestro 2E" rev 0x10: irq 5 | ac97: codec id 0x83847609 (SigmaTel STAC9721/23) | ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D | audio0 at maestro0 | cbb0: bad Vcc request. sock_ctrl 0x0, sock_status 0x30000b20 | cardslot0 at cbb0 slot 0 flags 0 | cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0x20 | pcmcia0 at cardslot0 | cardslot1 at cbb1 slot 1 flags 0 | cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0x20 | pcmcia1 at cardslot1 | isa0 at pcib0 | isadma0 at isa0 | pckbc0 at isa0 port 0x60/5 | pckbd0 at pckbc0 (kbd slot) | pckbc0: using irq 1 for kbd slot | wskbd0 at pckbd0: console keyboard, using wsdisplay0 | pms0 at pckbc0 (aux slot) | pckbc0: using irq 12 for aux slot | wsmouse0 at pms0 mux 0 | pcppi0 at isa0 port 0x61 | midi0 at pcppi0: <PC speaker> | sysbeep0 at pcppi0 | lpt0 at isa0 port 0x378/4 irq 7 | npx0 at isa0 port 0xf0/16: using exception 16 | pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo | fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 | biomask c840 netmask c840 ttymask d8c2 | pctr: 686-class user-level performance counters enabled | mtrr: Pentium Pro MTRR support | dkcsum: wd0 matched BIOS disk 80 | root on wd0a | rootdev=0x0 rrootdev=0x300 rawdev=0x302 | cbb0: bad Vcc request. sock_ctrl 0x30, sock_status 0x30000b20 | dc0 at cardbus0 dev 0 function 0 irq 11 address 00:10:a4:0a:4f:ac | tqphy0 at dc0 phy 0: 78Q2120 10/100 media interface, rev. 10 | Xircom, CardBus Ethernet 10/100 + Modem 56, CBEM56G, 1.03 (manufacturer 0x105, product 0x1000) vendor "Xircom", unknown product 0x103 (class communications, subclass serial, rev 0x03) at cardbus0 dev 0 function 1 not configured