[2.6] serial port broken?
Hi,
I have a serial mouse, that works ok with 2.4, but in 2.6.0-test[12] don't work.
The kernel does not recognize the serial port.
root@djgera:~# cat /dev/ttyS0 cat: /dev/ttyS0: No such device
I am sure that the configuration options that use are well, considering like main to these:
CONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_SERIAL=yCONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=yCONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=yCONFIG_INPUT_MISC=yCONFIG_INPUT_PCSPKR=y
Apparently kernel recognizes both serial ports, look this in this port i have connected mouse. ttyS0
root@djgera:~# cat /sys/bus/pnp/devices/00\:0a/* PNP0501 16550A-compatible COM port irq 3,4,5,7 High-Edge Dependent: 01 - Priority acceptable port 0x3f8-0x3f8, align 0x0, size 0x8, 16-bit address decoding Dependent: 02 - Priority acceptable port 0x2f8-0x2f8, align 0x0, size 0x8, 16-bit address decoding Dependent: 03 - Priority acceptable port 0x3e8-0x3e8, align 0x0, size 0x8, 16-bit address decoding Dependent: 04 - Priority acceptable port 0x2e8-0x2e8, align 0x0, size 0x8, 16-bit address decoding 0 state = active io 0x3f8-0x3ff irq 4
root@djgera:~# cat /proc/bus/input/devices I: Bus=0010 Vendor=001f Product=0001 Version=0100 N: Name="PC Speaker" P: Phys=isa0061/input0 H: Handlers=kbd B: EV=40001 B: SND=6
I: Bus=0011 Vendor=0001 Product=0002 Version=ab02
N: Name="AT Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd
B: EV=120003
B: KEY=4 2000000 c061f9 fbc9d621 efdfffdf ffefffff ffffffff fffffffe
B: LED=7
no mouse information here.
what is wrong?
Oh! also activate DEBUG in drivers/input/serio/i8042.c and no debug messages appears when moving mouse.
Thanks in Advance.
attached the dmesg and config.
Signature · 4 lines
Gerardo Exequiel Pozzi ( djgera ) http://www.vmlinuz.com.ar http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D
Re: [2.6] serial port broken? [fixed]
Quoted 13 lines · Gerardo Exequiel Pozzi
Hi,
I have a serial mouse, that works ok with 2.4, but in 2.6.0-test[12] don't work.
The kernel does not recognize the serial port.
root@djgera:~# cat /dev/ttyS0 cat: /dev/ttyS0: No such deviceI am sure that the configuration options that use are well, considering like main to these:
Quoted 11 lines
CONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_SERIAL=yCONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=yCONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=yCONFIG_INPUT_MISC=yCONFIG_INPUT_PCSPKR=y
sorry! i don'n have the option CONFIG_SERIAL_8250, now works perfectly. the dmesg:
Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing disabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Sorry! and sorry!
Quoted 40 lines
Apparently kernel recognizes both serial ports, look this in this port i have connected mouse. ttyS0
root@djgera:~# cat /sys/bus/pnp/devices/00\:0a/* PNP0501 16550A-compatible COM port irq 3,4,5,7 High-Edge Dependent: 01 - Priority acceptable port 0x3f8-0x3f8, align 0x0, size 0x8, 16-bit address decoding Dependent: 02 - Priority acceptable port 0x2f8-0x2f8, align 0x0, size 0x8, 16-bit address decoding Dependent: 03 - Priority acceptable port 0x3e8-0x3e8, align 0x0, size 0x8, 16-bit address decoding Dependent: 04 - Priority acceptable port 0x2e8-0x2e8, align 0x0, size 0x8, 16-bit address decoding 0 state = active io 0x3f8-0x3ff irq 4root@djgera:~# cat /proc/bus/input/devices I: Bus=0010 Vendor=001f Product=0001 Version=0100 N: Name="PC Speaker" P: Phys=isa0061/input0 H: Handlers=kbd B: EV=40001 B: SND=6I: Bus=0011 Vendor=0001 Product=0002 Version=ab02
N: Name="AT Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd
B: EV=120003
B: KEY=4 2000000 c061f9fbc9d621efdfffdf ffefffff ffffffff fffffffe
B: LED=7no mouse information here.
what is wrong?
Quoted 9 lines
Oh! also activate DEBUG in
drivers/input/serio/i8042.cand no debug messages appears when moving mouse.Thanks in Advance.
attached the dmesg and config.
chau, djgera
Signature · 4 lines
Gerardo Exequiel Pozzi ( djgera ) http://www.vmlinuz.com.ar http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D