ES1371/SB128 + Joystick

Alexios Chouchoulas alexios at vennea.demon.co.uk
Wed Jul 25 01:59:32 EEST 2001


  Exei sthsei kaneis aplo analogiko joystick sthn SB128/ES1371 tou; Exw
akolouthisei tis sxetikes odhgies kai to mono problhma einai o ns558 driver
pou arneitai na kanei autodetect thn ES1371.

  Eriksa mia matia sto source tou driver kai den exei thn karta ekei mesa,
an kai *ypotithetai* oti thn yposthrizei. Prosethesa to vendor/device IDs
alla pali de doulepse. De nomizw oti afto exei sxesh pantws, giati
ypotithetai oti h es1371 kanei emulate to paradosiako joystick device sto
port 0x200.

# dmesg|grep -C3 joystick

PCI: Sharing IRQ 9 with 00:0f.0
es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x06
es1371: found es1371 rev 6 at io 0xe000 irq 9
es1371: features: joystick 0x200
ac97_codec: AC97 Audio codec, id: 0x8384:0x7609 (SigmaTel STAC9721/23)
Linux video capture interface: v1.00
bttv: driver version 0.7.57 loaded
--
isapnp: No Plug & Play device found
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
input0: Analog 2-axis 4-button joystick at gameport0.0 [TSC timer, 899 MHz
clock, 1020 ns res]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
isapnp: Scanning for PnP cards...

# cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
0200-0207 : es1371
0278-027a : parport0
02f8-02ff : serial(set)
03c0-03df : vesafb
03f6-03f6 : ide0
03f8-03ff : serial(set)
0678-067a : parport0
0cf8-0cff : PCI conf1
4000-40ff : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
5000-500f : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
  5000-5007 : via2-smbus
6000-607f : VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
  6000-607f : via686a
c000-cfff : PCI Bus #01
  c000-c0ff : 3Dfx Interactive, Inc. Voodoo 3
d000-d00f : VIA Technologies, Inc. Bus Master IDE
  d000-d007 : ide0
  d008-d00f : ide1
d400-d41f : VIA Technologies, Inc. UHCI USB
  d400-d41f : usb-uhci
d800-d81f : VIA Technologies, Inc. UHCI USB (#2)
  d800-d81f : usb-uhci
dc00-dc7f : Compex RL100-ATX 10/100
  dc00-dc7f : winbond-840
e000-e03f : Ensoniq ES1371 [AudioPCI-97]
  e000-e03f : es1371
e400-e4ff : Symbios Logic Inc. (formerly NCR) 53c875
  e400-e47f : ncr53c8xx

# cat /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 cua
  6 lp
  7 vcs
 10 misc
 13 input
 14 sound
 29 fb
 61 BaseRemoteCtl
 81 video_capture
128 ptm
136 pts
162 raw
180 usb

Block devices:
  3 ide0

# joycal /dev/js0
joycal: cannot open joystick device /dev/js0

(pragma logiko giati to /dev/js0 einai major:minor 15:0, pou den isxyei
ston 2.4.7 kernel pou xrhsimopoiw afth th stigmh sto desktop PC). Alla:

# joycal /dev/input/js0
joycal: cannot open joystick device /dev/input/js0

# ls -la /dev/js* /dev/*/js*
crw-rw----    1 root     root      13,   0 Jul 24 21:37 /dev/input/js0
crw-rw----    1 root     root      13,   1 Jul 24 21:37 /dev/input/js1
crw-rw----    1 root     root      13,   2 Jul 24 21:37 /dev/input/js2
crw-rw----    1 root     root      13,   3 Jul 24 21:37 /dev/input/js3
crw-rw----    1 root     root      15,   0 Nov  5  2000 /dev/js0
crw-rw----    1 root     root      15,   1 Nov  5  2000 /dev/js1
crw-rw----    1 root     root      15,   2 Nov  5  2000 /dev/js2
crw-rw----    1 root     root      15,   3 Nov  5  2000 /dev/js3


Exei kanenas exypnakias klikadoros (sic) kammia idea; :-)

A.

=----------------------------------------------= 64*>:00p258**44$$^>4$,1-:#v_v
| Alexios Chouchoulas, the Unpronounceable One | 4$#^; BEFUNGE97 ;^#_@#:-1$>#<
|        http://www.vennea.demon.co.uk/        | 4*2-*26g00*:-*58:<vg3/*48+*:$
=-----=[   `Eimai mia micri soupiera'   ]=-----= #@@@ooo:::...  .    .     .




More information about the Linux-greek-users mailing list