LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Can't see /dev/psaux with Debian/sid (https://www.linuxquestions.org/questions/debian-26/can%27t-see-dev-psaux-with-debian-sid-208593/)

solferino 07-23-2004 01:46 AM

Can't see /dev/psaux with Debian/sid
 
Hi,
I have used Debian/sid for the last month.
Last Saturday I did the `apt-get -u dist-upgrade' and I noted that it installed a `module-init'.
The problem is tha after I rebooted my PC I have these two problems:

a) launching startx it said to me that can't see the mouse at /dev/psaux
b) usually when my PCMCIA network card was initialized in the init process some beeps happened. Not the boot is mute. Also when I launch lbreakout I can't listen the music.

I waited for somedays in case this was fixed but as today I have to use an USB mouse to work... :(

I attach my dmesg:
Code:

Linux version 2.6.7-1-686 (dilinger@toaster.hq.voxel.net) (gcc version 3.3.4 (Debian 1:3.3.4-2)) #1 Thu Jul 8 05:36:53 EDT 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007fe0000 (usable)
 BIOS-e820: 0000000007fe0000 - 0000000007ff0000 (ACPI data)
 BIOS-e820: 0000000007ff0000 - 0000000008000000 (reserved)
 BIOS-e820: 00000000100a0000 - 00000000100b6e00 (reserved)
 BIOS-e820: 00000000100b6e00 - 00000000100b7000 (ACPI NVS)
 BIOS-e820: 00000000100b7000 - 0000000010100000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
127MB LOWMEM available.
On node 0 totalpages: 32736
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 28640 pages, LIFO batch:6
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.1 present.
ACPI disabled because your bios is from 1999 and too old
You can enable it with acpi=force
Built 1 zonelists
Kernel command line: root=/dev/hda4 ro
Local APIC disabled by BIOS -- reenabling.
Could not enable APIC!
Initializing CPU#0
PID hash table entries: 512 (order 9: 4096 bytes)
Detected 400.086 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Memory: 122272k/130944k available (1515k kernel code, 8132k reserved, 659k data, 148k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 788.48 BogoMIPS
Security Scaffold v1.0.0 initialized
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU:    After generic identify, caps: 0183f9ff 00000000 00000000 00000000
CPU:    After vendor identify, caps: 0183f9ff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU:    After all inits, caps: 0183f9ff 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Celeron (Mendocino) stepping 0a
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
checking if image is initramfs...it isn't (ungzip failed); looks like an initrd
Freeing initrd memory: 4532k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfedcd, last bus=21
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00f8ed0
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0x933a, dseg 0x0
PnPBIOS: 15 nodes reported by PnP BIOS; 15 recorded by driver
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router PIIX/ICH [8086/7110] at 0000:00:05.0
PCI: IRQ 0 for device 0000:00:02.0 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Found IRQ 11 for device 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:00:04.0
PCI: IRQ 0 for device 0000:00:02.1 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Found IRQ 11 for device 0000:00:02.1
PCI: Sharing IRQ 11 with 0000:00:0c.0
PCI: Cannot allocate resource region 4 of device 0000:00:05.1
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
Initializing Cryptographic API
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET: Registered protocol family 8
NET: Registered protocol family 20
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4532 blocks [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 148k freed
vesafb: probe of vesafb0 failed with error -6
NET: Registered protocol family 1
SCSI subsystem initialized
libata version 1.02 loaded.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:05.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdc:DMA, hdd:pio
hda: IC25N040ATCS04-0, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: CD-224E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 78140160 sectors (40007 MB) w/1768KiB Cache, CHS=65535/16/63, UDMA(33)
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4
VFS: Can't find ext3 filesystem on dev hda4.
VFS: Can't find ext2 filesystem on dev hda4.
Unable to identify CD-ROM format.
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev hda4.
ReiserFS: hda4: found reiserfs format "3.6" with standard journal
ReiserFS: hda4: using ordered data mode
ReiserFS: hda4: journal params: device hda4, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda4: checking transaction log (hda4)
ReiserFS: hda4: Using r5 hash to sort names
Adding 489972k swap on /dev/hda3.  Priority:-1 extents:1
Real Time Clock Driver v1.12
hdc: ATAPI 24X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
Capability LSM initialized
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 0000:00:02.0
PCI: Sharing IRQ 11 with 0000:00:04.0
Yenta: CardBus bridge found at 0000:00:02.0 [1179:0001]
Yenta: ISA IRQ mask 0x04b0, PCI irq 11
Socket status: 30000007
PCI: Found IRQ 11 for device 0000:00:02.1
PCI: Sharing IRQ 11 with 0000:00:0c.0
Yenta: CardBus bridge found at 0000:00:02.1 [1179:0001]
Yenta: ISA IRQ mask 0x04b0, PCI irq 11
Socket status: 30000011
PCI: Found IRQ 11 for device 0000:00:0c.0
PCI: Sharing IRQ 11 with 0000:00:02.1
maestro: Configuring ESS Maestro 2E found at IO 0xFC00 IRQ 11
maestro:  subvendor id: 0x00011179
maestro: not attempting power management.
maestro: AC97 Codec detected: v: 0x83847609 caps: 0x6940 pwr: 0xf
maestro: 1 channels configured.
maestro: version 0.15 time 05:55:11 Jul  8 2004
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
PCI: Found IRQ 11 for device 0000:00:05.2
uhci_hcd 0000:00:05.2: Intel Corp. 82371AB/EB/MB PIIX4 USB
uhci_hcd 0000:00:05.2: irq 11, io base 0000ffe0
uhci_hcd 0000:00:05.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
irda_init()
NET: Registered protocol family 23
PCI: Found IRQ 11 for device 0000:00:0a.0
IrDA: Registered device irda0
toshoboe: Using multiple tasks, version $Id: donauboe.c V2.18 ven jan 10 03:14:16 2003$
apm: BIOS version 1.2 Flags 0x02 (Driver version 1.16ac)
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
parport0: faking semi-colon
parport0: Printer, Hewlett-Packard HP LaserJet 1100
lp0: using parport0 (interrupt-driven).
lp0: ECP mode
lp0: ECP mode
lp0: ECP mode
cs: IO port probe 0x0100-0x04ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
  ASIC rev 1,<6>eth0: OfficeConnect 572B at io 0x300, irq 5, hw_addr 00:04:75:87:5E:8B.
 64K FIFO split 1:1 Rx:Tx, autoselect MII interface.
NET: Registered protocol family 10
Disabled Privacy Extensions on device c02f4780(lo)
IPv6 over IPv4 tunneling driver
eth0: found link beat
eth0: autonegotiation complete: 100baseT-HD selected
eth0: no IPv6 routers present

I attach my XF86Config
Code:

Section "ServerLayout"
        Identifier    "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
        FontPath    "/usr/share/fonts/TrueType"
EndSection

Section "Module"
        Load "truetype"
        Load "freetype"
        #Load "xtt"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
        Load  "speedo"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/psaux"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option            "XkbModel" "pc101"
        Option            "XkbLayout" "us"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        HorizSync    31.5 - 57.0
        VertRefresh  50.0 - 70.0
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "trident"
        ChipSet    "cyber9520"
        Card        "trident cyber9520"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        DefaultDepth    16
        SubSection "Display"
                Depth    16
                Modes    "1024x768"
        EndSubSection
EndSection

As I said before last Saturday upgrade it all worked fine.
Also my mouse is fine because under WinNT4, I have dual-boot, it's working.

The music is something I can temporany live without but the mouse is a big problem because I have to use the USB port for my scanner.


If you need more infos I'll be happy to supply them.


Thanks,
Mr Andrea

Dead Parrot 07-23-2004 05:39 AM

I noticed that your mouse protocol is defined as "auto" in XF86Config. If you've got a PS/2 mouse, I suggest that you run "dpkg-reconfigure xserver-xfree86" and change the mouse protocol to "ImPS/2" or "PS/2". Also change the mouse device to "/dev/input/mice" because this is what kernel 2.6 uses for PS/2 mice. Also add psmouse to /etc/modules so that the kernel module for your mouse is loaded during bootup and is ready when X starts.

You don't say if you're using ALSA or if you've got discover installed. If you've got both, then it's possible that ALSA and discover conflict. A workaround would be to tell discover to skip loading the module for your sound card so that the managing of your sound card is left to ALSA. Looking at your dmesg, it seems to me that linux kernel detects your sound card as ESS Maestro 2E and loads for it the module "maestro". It's quite possible that your sound problem is not the one I described above but there's no harm done if you test the correctness of my diagnose by adding "skip maestro" (without quotation marks) to /etc/discover.conf.

After these changes you can reboot and see if the problems are still there. Hope this helps, but no guarantees. :p

macondo 07-23-2004 05:14 PM

In kernel 2.6 for audio-video
http://www.linuks.mine.nu/debian-faq-wiki/AudioVideo

For mouse problems
http://www.linuks.mine.nu/debian-faq-wiki/OtherHardware

solferino 07-24-2004 02:38 AM

Aye!

> ImPS/2" or "PS/2".
> Also change the mouse device to "/dev/input/mice"
> because this is what kernel 2.6 uses for PS/2 mice.
> Also add psmouse to /etc/modules
> so that the kernel module for your mouse is loaded during bootup and is ready
> when X starts.
Yes!

Looking at the boot I saw that it appeared something about `hotpnplug' saying no pcspkr.
So then I added to /etc/modules pcspkr and now I can hear the beep at boot!

About the audio I never heard about Alsa, sorry I'm a newbie.
I installed it and launched alsaconf and now my audio is working.

REALLY REALLY a big thanks to you both!

Thanks,
Mr Andrea

p.s.
macondo, thanks for your links but this morning are not working.
I'll take a look, tho!


All times are GMT -5. The time now is 07:29 PM.