Author Topic: Joysticks On The Zaurus  (Read 17406 times)

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Joysticks On The Zaurus
« Reply #15 on: January 24, 2006, 06:55:40 pm »
Quote
$ jstest /dev/js0
Joystick (Logitech Logitech Dual Action) has 6 axes and 12 buttons. Driver version is 2.1.0.
Testing ... (interrupt to exit)
-------------------------------

I believe you have the joystick working. Try to see command line in another reply.

Otherwise you can use joy2key. I use it for games that does not suport joystick in zaurus.

Rename the file, without ".txt"

Give me your return.
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Joysticks On The Zaurus
« Reply #16 on: January 24, 2006, 06:57:21 pm »
Quote
Anybody have success with Heretic?


Try joy2key...
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Joysticks On The Zaurus
« Reply #17 on: January 24, 2006, 08:19:26 pm »
Seems like I'm missing a library file "libsl.qmid"
I used Tree!explorer and looked in /home/QtPalmtop//i18n/en/
Only file in there is ".directory"
Here's my output:
--------------------------------------------------------
$ snes9x-sdljoy -j -xs 320 -ys 240 flashback.smc
Display size = 480x640
could not open translation file /home/QtPalmtop//i18n/en/libsl.qmid
Initializing SDL JOYSTICK SUBSYSTEM...
Using standard joystick setting.
Joystick (Logitech Logitech Dual Action) has 6 axes and 12 buttons.
Ok.
Rate: 22050, Buffer size: 4096, 16-bit: yes, Stereo: yes, Encoded: no
QT_GetMachine: /proc/deviceinfo/product is 'SL-C3100
'
 detected machine is 'Sharp SL-5000D'
QT_GetRotation: Read spec from '/tmp/qtembedded-zaurus/QtEmbedded-0.spec'
 spec is 'Transformed:Rot270:Vga:0'
 Rot=3, Qvga=0
QT_SetVideoMode: argSize=480x640
QT_SetVideoMode: qteSize=640x480
QT_SetVideoMode: fbSize=480x640
QT_SetVideoMode: qteRotation=3
QT_SetVideoMode: userRotation=-1
QT_SetVideoMode: sdlRotation=0
QT_SetVideoMode: qteKeyRotation=3
QT_SetVideoMode: sdlKeyRotation=0
Error opening: flashback.smc
Display size = 480x640
----------------------------------------------------------------------
EDIT: I didn't know where to ungzip these 2 files in the "joy2key_z.tgz"
Thank you,
Jon
« Last Edit: January 24, 2006, 08:32:04 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

tombraider

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://atoah.com/zaurus/
Joysticks On The Zaurus
« Reply #18 on: January 26, 2006, 09:02:30 am »
Where do you nplace these files????  

Quote
Quote
$ jstest /dev/js0
Joystick (Logitech Logitech Dual Action) has 6 axes and 12 buttons. Driver version is 2.1.0.
Testing ... (interrupt to exit)
-------------------------------

I believe you have the joystick working. Try to see command line in another reply.

Otherwise you can use joy2key. I use it for games that does not suport joystick in zaurus.

Rename the file, without ".txt"

Give me your return.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112241\"][{POST_SNAPBACK}][/a][/div]
Learning Chinese?  Have a Mac?  Try Hanzi Master: Download for free

Tombraider's Zaurus C1000 Tips Web Site

SL-3200 from Conics.net: Sharp ROM| SL-C1000: Pdaxrom Beta 3

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Joysticks On The Zaurus
« Reply #19 on: January 26, 2006, 11:21:14 am »
Quote
Error opening: flashback.smc

You have trouble with these "rom".
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Joysticks On The Zaurus
« Reply #20 on: January 26, 2006, 11:26:15 am »
Quote
Where do you nplace these files???? 


Anywhere. Then run: ./joy2key -config kbd1
Did you se a file called ".joy2keyzrc" ?
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Joysticks On The Zaurus
« Reply #21 on: January 26, 2006, 12:43:34 pm »
sorry for the newb questions, but when I run /joy2key -config kbd1
I get "No such file or directory"
"joy2key_z.tgz" is in the root dir of my SD card
Should I place it on my internal hard drive, or can I change to my card directory, and run it from there?

flashback.smc did run from the frontend in Qtopia (Z Emu Frontend Ex)
Thank you,
Jon
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Joysticks On The Zaurus
« Reply #22 on: January 26, 2006, 01:33:17 pm »
Quote
sorry for the newb questions, but when I run /joy2key -config kbd1
I get "No such file or directory"
"joy2key_z.tgz" is in the root dir of my SD card
Should I place it on my internal hard drive, or can I change to my card directory, and run it from there?

flashback.smc did run from the frontend in Qtopia (Z Emu Frontend Ex)
Thank you,
Jon
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112521\"][{POST_SNAPBACK}][/a][/div]

if you have gtar >>
******************
su -
gtar -zxvf joy2key_z.tgz
cp joy2key-z /usr/local/bin/
chmod +x /usr/local/bin/joy2key
cp .joy2keykeyzrc /home/root
joy2key -config kbd1
******************

start your game and give to me your feedback.
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Joysticks On The Zaurus
« Reply #23 on: January 26, 2006, 04:43:20 pm »
I didn't have gtar, so I found this version from this forum. Post is dated June 2005.
(gtar_1.13.25-1_arm.ipk)
After I installed gtar, I followed your directions and below is my output.
"joy2key_z.tgz" is on my SD card. Is that causing a problem?
My SD card is formatted as FAT
--------------------------------
$ su -
# gtar -zxvf joy2key_z.tgz
tar (child): joy2key_z.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
gtar: Child returned status 2
gtar: Error exit delayed from previous errors
#
--------------------------------
Thank you,
Jon
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Joysticks On The Zaurus
« Reply #24 on: January 31, 2006, 09:40:24 am »
Quote
I didn't have gtar, so I found this version from this forum. Post is dated June 2005.
(gtar_1.13.25-1_arm.ipk)
After I installed gtar, I followed your directions and below is my output.
"joy2key_z.tgz" is on my SD card. Is that causing a problem?
My SD card is formatted as FAT
--------------------------------
$ su -
# gtar -zxvf joy2key_z.tgz
tar (child): joy2key_z.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
gtar: Child returned status 2
gtar: Error exit delayed from previous errors
#
--------------------------------
Thank you,
Jon
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112566\"][{POST_SNAPBACK}][/a][/div]


Did you renamed the file from joy2key_z.tgz.txt to joy2key_z.tgz ?
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Joysticks On The Zaurus
« Reply #25 on: January 31, 2006, 10:23:09 am »
I removed the *.txt extension. I'll try downloading it again.
I think it is corrupt, because I just tried winrar (in windows) and extracted "joy2key-z" & ".joy2keyzrc", but got this error from winrar:
!   E:\DL ect\Zaurus\Zaurus SL C3100\Apps\Games\joy2key_z.tgz: CRC failed in E:\DL ect\Zaurus\Zaurus SL C3100\Apps\Games\joy2key_z.tgz. The file is corrupt

I also used the "test archive" in winrar and got the same message.
Is winrar an acceptable method for checking downloaded *.tgz and/or *.ipk files for download corruption?

Thank you,
Jon
EDIT. I just downloaded it again, removed the *.txt extension in windows, and opened it in winrar and tested it. Winrar gives me the same corruption message about CRC failing in this file, as above.

2nd EDIT. I just tested several *.tgz files, that I have downloaded for my Zaurus, in Winrar, and Got "No errors found during test operation"

Does joy2key_z.tgz.txt need to be converted? Like in a newsreader "from text to bin", or something like that?
« Last Edit: January 31, 2006, 10:33:17 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Joysticks On The Zaurus
« Reply #26 on: February 01, 2006, 10:38:45 am »
Quote
I removed the *.txt extension. I'll try downloading it again.
I think it is corrupt, because I just tried winrar (in windows) and extracted "joy2key-z" & ".joy2keyzrc", but got this error from winrar:
!   E:\DL ect\Zaurus\Zaurus SL C3100\Apps\Games\joy2key_z.tgz: CRC failed in E:\DL ect\Zaurus\Zaurus SL C3100\Apps\Games\joy2key_z.tgz. The file is corrupt

I also used the "test archive" in winrar and got the same message.
Is winrar an acceptable method for checking downloaded *.tgz and/or *.ipk files for download corruption?

Thank you,
Jon
EDIT. I just downloaded it again, removed the *.txt extension in windows, and opened it in winrar and tested it. Winrar gives me the same corruption message about CRC failing in this file, as above.

2nd EDIT. I just tested several *.tgz files, that I have downloaded for my Zaurus, in Winrar, and Got "No errors found during test operation"

Does joy2key_z.tgz.txt need to be converted? Like in a newsreader "from text to bin", or something like that?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=113121\"][{POST_SNAPBACK}][/a][/div]


I does not use windows to open these file. Use gunzip and tar or gtar in your Z.
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Joysticks On The Zaurus
« Reply #27 on: February 02, 2006, 04:02:15 am »
here is how I did it, I took a Super Nintendo game controller and a usb keyboard, traced out the pins for the corrosponding keys(on the keyboard)then wired the buttons on the SNES controller to those points I traced on the keyboard, the small circuitry of the keyboard actually fitted into the SNES controller. End result is a SNES controller with a usb cable that sends keyboard data via usb to the zaurus. I payed $8.00 (usd) for the controller and $15.00 (usd) for the keyboard. Works perfectly!

will post pictiures and keyboard manufacturer on my site when I get some time. Along of course with details of what pins connect to what buttons.
« Last Edit: February 02, 2006, 04:04:08 am by bam »
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

zhaven444

  • Newbie
  • *
  • Posts: 4
    • View Profile
Joysticks On The Zaurus
« Reply #28 on: February 10, 2006, 09:50:06 am »
Successully make my joypad works in Cacko-lite 1.23.

1. I have installed input-modules-2.4.20_1.23-lite-1_arm.ipk, (ver 2.4.18 not work for me).

2. Then lsusb in console to get my joypad HID. My joybad is a Zeroplus vibration model, with ID#  0c12:0005.

3. Next add the ID# in /etc/hotplug/usb.handmap. I just copy one entry any one of joypad in the file and replace the 2nd and 3rd parameter with above, i.e. 0x0c12 0x0005

4. reboot my C1000 and it works in jstest and snes9x!  

BTW, here is a link of usb id list.

http://www.astro.ufsc.br/~andre/links/data.../kcmusb/usb.ids