Author Topic: USB Mouse?  (Read 48431 times)

offroadgeek

  • Administrator
  • Hero Member
  • *****
  • Posts: 1419
    • View Profile
    • https://www.oesf.org
USB Mouse?
« Reply #45 on: February 05, 2005, 09:58:27 pm »
This is absolutely amazing!  I installed the latest ipk and have my optical intellimouse plugged into the downstream port on my btc mini usb keyboard, and the mouse works great (as does the keyboard).  

When I first got my 6000, I thought the docking cradle was way too big, but now I realize it:s perfect height and angle to use the 6000 with a usb keyboard and mouse!

Thank you, thank you!
Search the OESF Wiki
C1000 w/Cacko 1.23 beta (from Streamline) / 760 pdaxrom rc9 / 6000L (thanks Santa's elf!) / 5500 - OZ 3.3.5 / SIMpad SL4
1GB, 256mb SanDisk CF / 2x 1GB, 512mb, 256mb, 128mb SanDisk SD
Ambicom WL100C-CF wifi / Socket 56k CF modem / AmbiCom BT2000-CF (x2)
Pocketop keyboard, Piel Frama case (1000 & 5500), PDAir case (760 & 1000)
sip:536093@fwd.pulver.com
| OESF | ELSI | Zaurus User Group | ZaurusThemes |

nilch

  • Hero Member
  • *****
  • Posts: 668
    • View Profile
    • http://
USB Mouse?
« Reply #46 on: February 07, 2005, 05:40:03 pm »
makes me wish I had bought a USB keyboard with a downstream USB port too (one I had seen had two ports), but I was doubtful that it would work at all on the Zaurus with a mouse attached. Hence I had bought a keyboard with no extra ports at all.

Makes me repeat to myself - take risks, experiment, only  then will you learn.
New no more-C1000 / 5000D (sold my 6000 and 750) | Cacko ROM 1.23 on C1000 | 256 MB CF | 2GB PNY SD card | Socket Networker WiFi CF Card | USB Host cable from StreamlineCPUS | Mini Microphone (for voice recording) |

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
USB Mouse?
« Reply #47 on: February 09, 2005, 01:42:10 pm »
On the fasdt kernel issue:
I'm working on a version w/ hid support. It is easy enough to compile, its just getting it to run that is the problem.
I'll start a thread on z6k general discussions. This should not be too hard to figure out.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

mjb

  • Newbie
  • *
  • Posts: 9
    • View Profile
USB Mouse?
« Reply #48 on: February 09, 2005, 09:56:37 pm »
Quote
makes me wish I had bought a USB keyboard with a downstream USB port too (one I had seen had two ports), but I was doubtful that it would work at all on the Zaurus with a mouse attached. Hence I had bought a keyboard with no extra ports at all.

Makes me repeat to myself - take risks, experiment, only  then will you learn.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=66038\"][{POST_SNAPBACK}][/a][/div]
I'm using a two port USB hub - $4 at compgeeks - with a mini optical mouse - $6 at compgeeks - and a small usb keyboard - $17 at newegg. This setup works very well with my 6000 in landscape mode.
  [ Invalid Attachment ]
I'll be using it to create web pages while I bicycle tour in Europe next summer. This setup weighs just over 2 pounds, and replaces about 10 pounds of laptop and accessories!
 

gtJormungand

  • Newbie
  • *
  • Posts: 38
    • View Profile
USB Mouse?
« Reply #49 on: March 04, 2005, 08:04:13 am »
Quote
which I would like to use with a usb Twiddler 2 from Handykey, a combined chording keyboard and trackpoint mouse.
The Twiddler is something I want to try with a Zaurus, but I need to wait for a couple more weeks before purchasing a 3000 so I'll actually have USB capability.  I'm hoping it'll work well enough.

edit - picture removed!
« Last Edit: March 25, 2005, 09:33:01 am by gtJormungand »

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
USB Mouse?
« Reply #50 on: March 07, 2005, 12:54:08 am »
Back to the 6000 fast kernel thing. It can be done by re doing the kernel from guylhems sources. add (hard, not as modules) the mouse and keyboard stuff ...when you get to the usb drivers leave the hid and mouse and kbd stuff to compile as modules...then just pop in your kernel and use the sharp modules already there.  I compiled in the hitachi ohci, and so have to remove that module from the z.

usbmouse w/ fast kernel is viable.
« Last Edit: March 07, 2005, 12:54:47 am by adf »
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
USB Mouse?
« Reply #51 on: March 24, 2005, 09:55:34 am »
usbmouse w/ fast kernel is viable... and in fact it works great :-)

Today I made my wireless (bluetooth) mouse work on my 6000W with some little tweaking. I will post intructions and pictures soon. I'm still working on my wireless (bluetooth) keyboard - after an initial success, I am experiencing (again) the keyboard mapping problems. Damn!

However the idea of a 6000 with wireless peripherals is so sweet !

PS: The best idea at the moment is to remove keybdev, use evdev, read from /dev/input/event0 and send back the codes (ala irk), but I'll also try to fix the keyboard mapping.

Guylhem

mitchrl

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • http://
USB Mouse?
« Reply #52 on: March 26, 2005, 06:18:23 am »
Extending the scheme where I am autoloading keyhelper to remap keys on my usb keyboard by using hotplug events here is the same thing for inputhelper. By using the following script named 'usbmouse' and placing it in /etc/hotplug/usb:

#!/bin/bash
#
#
if [ "${ACTION}" = "add" ]; then
  export PATH=/home/QtPalmtop/bin:/root/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
  export LD_LIBRARY_PATH=/home/QtPalmtop/lib
  export QTDIR=/home/QtPalmtop
  export QPEDIR=/home/QtPalmtop
  sudo -u root qcop QPE/InputHelper 'handle()'
  echo "#!/bin/bash" > $REMOVER
  chmod 777 $REMOVER
  echo "export PATH=/home/QtPalmtop/bin:/root/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin" >> $REMOVER
  echo "export LD_LIBRARY_PATH=/home/QtPalmtop/lib" >> $REMOVER
  echo "export QTDIR=/home/QtPalmtop" >> $REMOVER
  echo "export QPEDIR=/home/QtPalmtop" >> $REMOVER
  echo "sudo -u root qcop QPE/InputHelper 'handle()'" >> $REMOVER
fi

mouse support is enabled when the usb mouse is attached and disabled when it is removed. Hope this helps.

Robert

rob_figlabs

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://www.figlabs.com
USB Mouse?
« Reply #53 on: June 13, 2005, 10:17:03 am »
I don't think an ipk ever got posted here, so I made one ( [ Invalid Attachment ] ). Just install it and go (I didn't need to reboot).  Thanks Cwaig - this is really neat!
Rob Charlton
Figlabs Ltd
Zaurus SL-C1000, SL-C3000 & SL-C3100 reseller
[img]http://www.figlabs.com/catalog/images/logoandname8.jpg\" border=\"0\" class=\"linked-sig-image\" /]

rjb

  • Newbie
  • *
  • Posts: 3
    • View Profile
USB Mouse?
« Reply #54 on: July 13, 2005, 04:20:01 pm »
Thanks for posting the link.  Just tried it with a Atek mouse (very small) and it works great.
Ron

poorman

  • Newbie
  • *
  • Posts: 13
    • View Profile
USB Mouse?
« Reply #55 on: July 24, 2005, 05:10:43 pm »
Oh well, USB mice work like a charm. However I fell into troubles with my PS/2 to USB convertor. It has both keyboard and mouse PS/2 ports. So you can use both devices on "one" USB port wIthout need of USB hub. It is usefull toy when you want to use friend's/customer's/etc keyboard and mouse. It's still more common that it will be PS/2 and not USB device.

Keyboard works well but mouse was dead. It identifies itself as

dmesg:
input0: Symbiose lab inc. Symbiose PS/2 Keyboard - PS/2 Mouse on usb1:8.0
input1: Symbiose lab inc. Symbiose PS/2 Keyboard - PS/2 Mouse on usb1:8.1

lsusb:
Bus 001 Device 008: ID 04b4:8081 Cypress Semiconductor Corp.

Once plugged to zaurus it loads hid.o module. I've loaded usbmouse as well but it wasn't working while usb mouse worked at the same time. I played with it few hours and saw it working few times. However I wasn't able to find why it sometimes works and sometimes not. Finally I've found that hid module must be released before usbmouse module is loaded.

It means sequence:
- plug PS/2 to USB convertor
- rmmod hid
- modprobe usbmouse

Later hid module can be loaded again without impact on PS/2 mouse functionality. Releasing of hid module doesn't have impact on keyboard or USB mouse functionality. It is also possible to use both ps/2 and usb mouse together if you find it usefull

What's strange is mouse wheel behaviour. Wheel works well on USB mouse but when the same mouse is connected via PS/2_to_USB convertor then wheel is dead. It seems to me as problem with (old) usbmouse driver on Zaurus because it works well on my desktop.

'cat /dev/input/mice' on desktop shows mess when wheel is rolled but on Zaurus it is silent (it reacts only on wheel click).

Any ideas?

Cheers, poorman

smammon

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
    • http://
USB Mouse?
« Reply #56 on: August 10, 2005, 03:53:54 pm »
Ok, this officially rocks!  Typing away on my ThinkOutside IR keyboard - thanks to Cwaig's irk driver - mousing around with my little USB Wireless mouse - thanks to Cwaigs USB_mouse driver.  

Craig, you are Da Man!

BTW get one of these cables - Goldx USB 5 way adapter

Thanks again!
SL-6000L
Numerous SD cards
Stowaway IR keyboard
Socket CF Low Power Ethernet
Socket CF 56k Modem

inode0

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
USB Mouse?
« Reply #57 on: August 10, 2005, 11:26:44 pm »
Has anyone else noticed

# ll /dev/usbmouse
lrwxrwxrwx  1 root root 48 Aug 10 21:14 /dev/usbmouse -> /home/matty/0217/rootfs/root_cramfs/dev/usb/mice

That seems an odd place to be pointing!

John

inode0

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
USB Mouse?
« Reply #58 on: August 11, 2005, 01:07:22 am »
Just tested the usb mouse fun under Xqt. Perhaps I don't have things quite set up right but it basically works. The X version of the mouse doesn't move until I click the crosshairs someplace. The most annoying thing at the moment is that moving the mouse keeps the Qtopia stuff at the bottom of the screen covering up the ICEwm stuff. It's a start though.

John