Author Topic: A Quick Issues For A Pdaxrom Newbie  (Read 4116 times)

robertcloud

  • Newbie
  • *
  • Posts: 23
    • View Profile
A Quick Issues For A Pdaxrom Newbie
« on: May 30, 2005, 12:41:24 am »
First, I would like to thank the pdaxrom team for making this beautiful rom.  

I am running a C1000 with RC10, and am having a couple of issues.

First, I would like to get my usb mouse to work.  I read where Laze posted

Quote
To enable mouse support edit startx and add "-mouse /dev/input/mouse0" in xserver args.

Im not very experienced with Linux and this went over my head.  Where can I edit startx to do this?  

Thanks for reading my post.
« Last Edit: May 30, 2005, 12:42:56 am by robertcloud »

cody

  • Newbie
  • *
  • Posts: 10
    • View Profile
A Quick Issues For A Pdaxrom Newbie
« Reply #1 on: May 30, 2005, 02:08:57 am »
Quick fix:

just type this when after you login to your zaurus

"startx -mouse /dev/input/mouse0""

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
A Quick Issues For A Pdaxrom Newbie
« Reply #2 on: May 30, 2005, 04:06:28 am »
keep in mind that it is either mouse or stylus,,to change you need to restart X
**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

robertcloud

  • Newbie
  • *
  • Posts: 23
    • View Profile
A Quick Issues For A Pdaxrom Newbie
« Reply #3 on: May 30, 2005, 11:57:47 am »
Quote
Quick fix:

just type this when after you login to your zaurus

"startx -mouse /dev/input/mouse0""
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82096\"][{POST_SNAPBACK}][/a][/div]

I am getting an error with this.  xserver does not
recognise xserver as an arguement.  any other solutions?

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
A Quick Issues For A Pdaxrom Newbie
« Reply #4 on: May 30, 2005, 02:57:15 pm »
my current workaround is to pop that line into the xserver args in /usr/X11R6/bin  and save it as startxm ( for mouse) this way if I want to use the mouse I start X with startxm  if not jist plain old startx
**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

robertcloud

  • Newbie
  • *
  • Posts: 23
    • View Profile
A Quick Issues For A Pdaxrom Newbie
« Reply #5 on: May 30, 2005, 03:26:48 pm »
Quote
my current workaround is to pop that line into the xserver args in /usr/X11R6/bin  and save it as startxm ( for mouse) this way if I want to use the mouse I start X with startxm  if not jist plain old startx
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82170\"][{POST_SNAPBACK}][/a][/div]

thank you adf, that was precisely what I was looking for.  My mouse now works.

Strangely enough, when I startxm, it starts as portrait mode.  When I click on 'rotate' in the menu, It rotates the screen as an upside down landscape.  The same thing happens when I rotate the clamshell into PDA form.

It is easy to fix with xrandr -o right but I just thought it was curious that it happened.
« Last Edit: May 30, 2005, 03:31:20 pm by robertcloud »

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
A Quick Issues For A Pdaxrom Newbie
« Reply #6 on: May 30, 2005, 05:02:59 pm »
LOL  I usually start in portrait, and so hadn't noticed
**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

mobilemike

  • Newbie
  • *
  • Posts: 12
    • View Profile
A Quick Issues For A Pdaxrom Newbie
« Reply #7 on: August 08, 2005, 08:33:59 pm »
Quote
my current workaround is to pop that line into the xserver args in /usr/X11R6/bin  and save it as startxm ( for mouse) this way if I want to use the mouse I start X with startxm  if not jist plain old startx
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82170\"][{POST_SNAPBACK}][/a][/div]

I tried to edit the file /usr/X11R6/bin/startx and I received a "permission denied" from -bash.  

This is what I did.  

I changed the line in startx to the following:  

serverargs="-mouse /dev/input/mouse0" in the file and saved it as startxm.  

The file saved, I exited X and used the command startxm at the prompt.

Update:  I did a chmod 755 to startxm and it solved the issue.  Now to figure out the portrait mode to landscape mode.

Update:  I fixed the portrait to landscape mode with the xrandr -0 right

Thanks for the very helpful information.

Update on the above:  I lose the mouse function when it suspends.  I have to exit and restart X, sometimes twice or even a full reboot because the zaurus will freeze.  

Also, can I add the 'xrandr -o right' to the server args so I don't have to send the command after startxm?

C-1000, pdaXROM, Kathrin-RC10.4
« Last Edit: August 09, 2005, 11:05:44 pm by mobilemike »
C-1000, pdaXrom, Kathrin RC14