OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: robertcloud on May 30, 2005, 12:41:24 am

Title: A Quick Issues For A Pdaxrom Newbie
Post by: robertcloud 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.
Title: A Quick Issues For A Pdaxrom Newbie
Post by: cody 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""
Title: A Quick Issues For A Pdaxrom Newbie
Post by: adf 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
Title: A Quick Issues For A Pdaxrom Newbie
Post by: robertcloud 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?
Title: A Quick Issues For A Pdaxrom Newbie
Post by: adf 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
Title: A Quick Issues For A Pdaxrom Newbie
Post by: robertcloud 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.
Title: A Quick Issues For A Pdaxrom Newbie
Post by: adf on May 30, 2005, 05:02:59 pm
LOL  I usually start in portrait, and so hadn't noticed
Title: A Quick Issues For A Pdaxrom Newbie
Post by: mobilemike 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