Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] HOWTO Add Targus USB mouse to Alps touchpad laptop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mlivingstone
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2005
Posts: 125
Location: Gold Coast, Australia

PostPosted: Sat Aug 27, 2005 6:17 am    Post subject: [solved] HOWTO Add Targus USB mouse to Alps touchpad laptop Reply with quote

Hello!

I have a Toshiba Tecra A3 and am running Gentoo kernel 2.6.12-r9

The laptop has an internal Alps touchpad which connects internally to the PS/2 mouse port using IRQ12 and which appears in /dev simultaneously as mice, mouse1 & psaux

I have an external serial port (Com1, IRQ4, 3F8) into which I have plugged a Microsoft PS/2 Intellimouse via a PS/2 to DB9 adaptor. Under WinXP I can use both simultaneously and I want to do the same under Linux.

Here is Dmesg:

<code>

root@constellation mlivingstone # dmesg
ADVD-RAM UJ-830S, ATAPI CD/DVD-ROM drive
Probing IDE interface ide2...
alps.c: Enabling hardware tapping
input: PS/2 Mouse on isa0060/serio4
input: AlpsPS/2 ALPS GlidePoint on isa0060/serio4
Probing IDE interface ide3...
Probing IDE interface ide4...
alps.c: Enabling hardware tapping
input: PS/2 Mouse on isa0060/serio4
input: AlpsPS/2 ALPS GlidePoint on isa0060/serio4
Probing IDE interface ide5...
ide1 at 0x170-0x177,0x376 on irq 15
hdc: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
libata version 1.11 loaded.
ata_piix version 1.03
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
ata: 0x170 IDE port busy
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0x18B0 irq 14
ata1: dev 0 cfg 49:2f00 82:7c6b 83:5908 84:4003 85:7c69 86:1808 87:4003 88:203f
ata1: dev 0 ATA, max UDMA/100, 78140160 sectors:
ata1(0): applying bridge limits
ata1: dev 0 configured for UDMA/100
scsi0 : ata_piix
Vendor: ATA Model: TOSHIBA MK4026GA Rev: PA10
Type: Direct-Access ANSI SCSI revision: 05
SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB)
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
ohci1394: $Rev: 1250 $ Ben Collins <bcollins@debian.org>
ACPI: PCI Interrupt 0000:06:04.2[C] -> GSI 18 (level, low) -> IRQ 18
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18] MMIO=[b8008000-b80087ff] Max Packet=[2048]
video1394: Installed video1394 module
ieee1394: raw1394: /dev/raw1394 device initialized
sbp2: $Rev: 1219 $ Ben Collins <bcollins@debian.org>
ieee1394: Loaded AMDTP driver
ieee1394: Loaded CMP driver
ACPI: PCI Interrupt 0000:06:04.0[A] -> GSI 16 (level, low) -> IRQ 16
Yenta: CardBus bridge found at 0000:06:04.0 [1179:ff00]
Yenta: ISA IRQ mask 0x0c78, PCI irq 16
Socket status: 30000006
usbmon: debugs is not available
ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 23
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller
ehci_hcd 0000:00:1d.7: reset hcs_params 0x104208 dbg=1 cc=4 pcc=2 ordered !ppc ports=8
ehci_hcd 0000:00:1d.7: reset hcc_params 6871 thresh 7 uframes 1024 64 bit addr
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: capability 0001 at 68
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xb0040000
ehci_hcd 0000:00:1d.7: reset command 080022 (park)=0 ithresh=8 Async period=1024 Reset HALT
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: init command 010001 (park)=0 ithresh=1 period=1024 RUN
ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004
ehci_hcd 0000:00:1d.7: supports USB remote wakeup
usb usb1: default language 0x0409
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller
usb usb1: Manufacturer: Linux 2.6.12-gentoo-r9 ehci_hcd
usb usb1: SerialNumber: 0000:00:1d.7
usb usb1: hotplug
usb usb1: adding 1-0:1.0 (config #1, interface 0)
usb 1-0:1.0: hotplug
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: no power switching (usb 1.0)
hub 1-0:1.0: individual port over-current protection
hub 1-0:1.0: Single TT
hub 1-0:1.0: TT requires at most 8 FS bit times
hub 1-0:1.0: power on to power good time: 20ms
hub 1-0:1.0: local power source is good
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
hub 1-0:1.0: state 5 ports 8 chg 0000 evt 0000
USB Universal Host Controller Interface driver v2.2
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 23, io base 0x00001820
uhci_hcd 0000:00:1d.0: detected 2 ports
usb usb2: default language 0x0409
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1
usb usb2: Manufacturer: Linux 2.6.12-gentoo-r9 uhci_hcd
usb usb2: SerialNumber: 0000:00:1d.0
usb usb2: hotplug
usb usb2: adding 2-0:1.0 (config #1, interface 0)
usb 2-0:1.0: hotplug
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
hub 2-0:1.0: standalone hub
hub 2-0:1.0: no power switching (usb 1.0)
hub 2-0:1.0: individual port over-current protection
hub 2-0:1.0: power on to power good time: 2ms
hub 2-0:1.0: local power source is good
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2
hub 2-0:1.0: state 5 ports 2 chg 0000 evt 0000
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 19, io base 0x00001840
uhci_hcd 0000:00:1d.1: detected 2 ports
usb usb3: default language 0x0409
usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2
usb usb3: Manufacturer: Linux 2.6.12-gentoo-r9 uhci_hcd
usb usb3: SerialNumber: 0000:00:1d.1
usb usb3: hotplug
usb usb3: adding 3-0:1.0 (config #1, interface 0)
usb 3-0:1.0: hotplug
hub 3-0:1.0: usb_probe_interface
hub 3-0:1.0: usb_probe_interface - got id
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
hub 3-0:1.0: standalone hub
hub 3-0:1.0: no power switching (usb 1.0)
hub 3-0:1.0: individual port over-current protection
hub 3-0:1.0: power on to power good time: 2ms
hub 3-0:1.0: local power source is good
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3
hub 3-0:1.0: state 5 ports 2 chg 0000 evt 0000
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 18, io base 0x00001860
uhci_hcd 0000:00:1d.2: detected 2 ports
usb usb4: default language 0x0409
usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3
usb usb4: Manufacturer: Linux 2.6.12-gentoo-r9 uhci_hcd
usb usb4: SerialNumber: 0000:00:1d.2
usb usb4: hotplug
usb usb4: adding 4-0:1.0 (config #1, interface 0)
usb 4-0:1.0: hotplug
hub 4-0:1.0: usb_probe_interface
hub 4-0:1.0: usb_probe_interface - got id
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
hub 4-0:1.0: standalone hub
hub 4-0:1.0: no power switching (usb 1.0)
hub 4-0:1.0: individual port over-current protection
hub 4-0:1.0: power on to power good time: 2ms
hub 4-0:1.0: local power source is good
ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4
hub 4-0:1.0: state 5 ports 2 chg 0000 evt 0000
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.3: irq 16, io base 0x00001880
uhci_hcd 0000:00:1d.3: detected 2 ports
usb usb5: default language 0x0409
usb usb5: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4
usb usb5: Manufacturer: Linux 2.6.12-gentoo-r9 uhci_hcd
usb usb5: SerialNumber: 0000:00:1d.3
usb usb5: hotplug
usb usb5: adding 5-0:1.0 (config #1, interface 0)
usb 5-0:1.0: hotplug
hub 5-0:1.0: usb_probe_interface
hub 5-0:1.0: usb_probe_interface - got id
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
hub 5-0:1.0: standalone hub
hub 5-0:1.0: no power switching (usb 1.0)
hub 5-0:1.0: individual port over-current protection
hub 5-0:1.0: power on to power good time: 2ms
hub 5-0:1.0: local power source is good
hub 5-0:1.0: state 5 ports 2 chg 0000 evt 0000
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for Handspring Visor / Palm OS
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 3.5
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 5.0
usbcore: registered new driver visor
drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver v2.1
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
Advanced Linux Sound Architecture Driver Version 1.0.9rc2 (Thu Mar 24 10:33:39 2005 UTC).
ACPI: PCI Interrupt 0000:00:1e.2[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1e.2 to 64
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00023f5169400313]
intel8x0_measure_ac97_clock: measured 49471 usecs
intel8x0: clocking to 48000
ACPI: PCI Interrupt 0000:00:1e.3[B] -> GSI 20 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1e.3 to 64
ALSA device list:
#0: Intel ICH6 with ALC250 at 0xb0040800, irq 17
#1: Intel ICH Modem at 0x2400, irq 20
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI wakeup devices:
RP01 USB1 USB2 USB3 USB4 USB7 MODM
ACPI: (supports S0 S3 S4 S5)
Freeing unused kernel memory: 228k freed
usbcore: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
ehci_hcd: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
usbhid: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
usb_storage: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
uhci_hcd: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
ohci_hcd: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
usbhid: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
sl811_hcd: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
ieee1394: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
ohci1394: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
sbp2: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
libata: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
sata_promise: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
sata_sil: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
sata_svw: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
sata_via: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
sata_nv: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
sata_sx4: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
sata_sis: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
sata_uli: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
sata_vsc: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
sata_qstor: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
ahci: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
ata_piix: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
dm_mod: version magic '2.6.12-gentoo-r9 SMP preempt 586 4KSTACKS gcc-3.3' should be '2.6.12-gentoo-r9 PENTIUMM gcc-3.3'
uhci_hcd 0000:00:1d.0: suspend_hc
uhci_hcd 0000:00:1d.1: suspend_hc
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
uhci_hcd 0000:00:1d.2: suspend_hc
uhci_hcd 0000:00:1d.3: suspend_hc
Adding 1959920k swap on /dev/sda3. Priority:-1 extents:1
EXT3 FS on sda4, internal journal
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, 1.0.3
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.6
ipw2200: Copyright(c) 2003-2004 Intel Corporation
ACPI: PCI Interrupt 0000:06:02.0[A] -> GSI 22 (level, low) -> IRQ 22
ipw2200: Detected Intel PRO/Wireless 2915ABG Network Connection
ipw2200: Radio Frequency Kill Switch is On:
Kill switch must be turned off for wireless networking to work.
codec_semaphore: semaphore is not ready [0x1][0x701300]
codec_write 1: semaphore is not ready for register 0x54
cs: IO port probe 0xc00-0xcff: excluding 0xcf8-0xcff
cs: IO port probe 0x800-0x8ff: excluding 0x800-0x80f
cs: IO port probe 0x100-0x4ff: excluding 0x3f0-0x3ff 0x4d0-0x4d7
cs: IO port probe 0xa00-0xaff: clean.
eth0: network connection up using port A
speed: 100
autonegotiation: yes
duplex mode: full
flowctrl: none
irq moderation: disabled
tcp offload: enabled
scatter-gather: enabled
tx-checksum: enabled
rx-checksum: enabled
rx-polling: enabled
ipw2200: failed to send RTS_THRESHOLD command
ipw2200: failed to send FRAG_THRESHOLD command
ipw2200: failed to send POWER_MODE command
ipw2200: failed to send TX_POWER command
ipw2200: failed to send RTS_THRESHOLD command
ipw2200: No space for Tx
ipw2200: failed to send FRAG_THRESHOLD command
ipw2200: No space for Tx
ipw2200: failed to send POWER_MODE command
ipw2200: No space for Tx
ipw2200: failed to send TX_POWER command
root@constellation mlivingstone #

</code>


/proc/irq:

<code>
root@constellation irq # ls 4
root@constellation irq # ls 12
i8042
root@constellation irq # pwd
/proc/irq
root@constellation irq #
</code>

cat /proc/ioports

<code>
root@constellation proc # cat ioports
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : libata
02f8-02ff : serial
0376-0376 : ide1
0378-037a : parport0
037b-037f : parport0
03c0-03df : vga+
03c0-03df : vesafb
03f8-03ff : serial
1000-107f : motherboard
1000-1003 : PM1a_EVT_BLK
1004-1005 : PM1a_CNT_BLK
1008-100b : PM_TMR
1010-1015 : ACPI CPU throttle
1020-1020 : PM2_CNT_BLK
1028-102f : GPE0_BLK
1180-11bf : motherboard
1640-164f : motherboard
1800-1807 : 0000:00:02.0
1820-183f : 0000:00:1d.0
1820-183f : uhci_hcd
1840-185f : 0000:00:1d.1
1840-185f : uhci_hcd
1860-187f : 0000:00:1d.2
1860-187f : uhci_hcd
1880-189f : 0000:00:1d.3
1880-189f : uhci_hcd
18b0-18bf : 0000:00:1f.2
18b0-18bf : libata
18c0-18ff : 0000:00:1e.2
18c0-18ff : Intel ICH6
1c00-1cff : 0000:00:1e.2
1c00-1cff : Intel ICH6
2000-207f : 0000:00:1e.3
2000-207f : Intel ICH Modem
20a0-20bf : 0000:00:1f.3
2400-24ff : 0000:00:1e.3
2400-24ff : Intel ICH Modem
3000-3fff : PCI Bus #02
3000-30ff : 0000:02:00.0
3000-30ff : sk98lin
4000-40ff : PCI CardBus #07
4400-44ff : PCI CardBus #07
fe00-fe7f : motherboard
fe00-fe7f : pnp 00:00
fe80-feff : motherboard
fe80-feff : pnp 00:00
ff00-ff7f : motherboard
ff00-ff7f : pnp 00:00
root@constellation proc #
</code>

<code>
root@constellation proc # cat bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0008 Version=0000
N: Name="PS/2 Mouse"
P: Phys=isa0060/serio4/input1
H: Handlers=mouse0 event1
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0002 Product=0008 Version=7321
N: Name="AlpsPS/2 ALPS GlidePoint"
P: Phys=isa0060/serio4/input0
H: Handlers=mouse1 event2
B: EV=f
B: KEY=420 0 70000 0 0 0 0 0 0 0 0
B: REL=3
B: ABS=1000003

I: Bus=0003 Vendor=05af Product=0802 Version=0108
N: Name="USB K/B"
P: Phys=usb-0000:00:1d.0-1/input0
H: Handlers=kbd event3
B: EV=120003
B: KEY=10000 7 ff87207a c14057ff febeffdf ffefffff ffffffff fffffffe
B: LED=1f

I: Bus=0003 Vendor=05af Product=0802 Version=0108
N: Name="USB K/B"
P: Phys=usb-0000:00:1d.0-1/input1
H: Handlers=kbd event4
B: EV=3
B: KEY=1f 0 20000 3878 d801d101 1e0000 0 0 0

root@constellation proc #
</code>

I know that eventually I have to add stuff to /etc/X11/xorg.conf but at this point, I would just like something in /dev that I can cat and get lines of giberish :-)

Do I need to create a UDEV device or what?

TIA

MarkL


Last edited by mlivingstone on Sat Aug 27, 2005 7:52 am; edited 1 time in total
Back to top
View user's profile Send private message
DNAspark99
Guru
Guru


Joined: 03 Sep 2004
Posts: 321

PostPosted: Sat Aug 27, 2005 7:30 am    Post subject: Reply with quote

what about /dev/input/mice ? as far as I understand it, any connected mouse should register movement here, it's the device i use in my xorg.conf mouse section on my laptop, and both the touchpad and usb mouse work through it. If it doesn't register movement there...check your kernel config for the required harware support
Back to top
View user's profile Send private message
mlivingstone
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2005
Posts: 125
Location: Gold Coast, Australia

PostPosted: Sat Aug 27, 2005 7:50 am    Post subject: Reply with quote

Hi DNAspark99,

For some reason, the serial mouse just won't work that way so I have given up on it (spent too much time today!)

In the mean time, I scratched round and found the Targus USB mouse which came with the port expander and with a bit of searching got it going with evdev protocol.

I turned on the USB mouse stuff, the event interface na did the following to /etc/X11/xorg.conf:

<code>

Section "InputDevice" #Internal Alps Touchpad

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse"

End Section

Section "InputDevice" Targus USB Mouse
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "evdev"
Option "Device" "/dev/mouse2"
Option "Dev Name" "PS/2+USB Mouse"
Option "Dev Phys" "usb-0000:00:1d.2-1/input0"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "CorePointer"
EndSection

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

</code>

Thanks anyway!

MarkL
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum