Author Topic: Sl-c1000/c3100 Rc12 Test  (Read 35215 times)

Civil

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://
Sl-c1000/c3100 Rc12 Test
« Reply #45 on: October 09, 2005, 02:45:43 pm »
Quote
if eject internal HD manually before suspend, than resume will ok(and hd partitions mount)?
If 2 partitions was mounted - only 1 will be remounted... As without manual eject.
And MC hangs when you are trying to dir /mnt/ide2 (if only 1 partition was mounted - everything seems to be ok)
If you try to mount /dev/hda1 it hangs (after 5 or 6 min returns I/O Error)
Zaurus C-3100 ( Gentoo 2007.0 eabi, kernel 2.6.21.6)
http://www.zavrik.info - Russian Zaurus Site.

F_Sake

  • Newbie
  • *
  • Posts: 21
    • View Profile
Sl-c1000/c3100 Rc12 Test
« Reply #46 on: October 09, 2005, 07:46:20 pm »
A couple of things I have run in to.

1. For some reason, the system utils stop opening. I have no idea what causes this but shortly after the flash (and installing some IPKs) I could not open anything in the system menu.

2. Snes9x is throwing up a strange error. when first installed it says it can't find libstdc++.so.5 (dgen throws up the same error btw) so I look on the list in package manager see that libstdcxx is installed. I uninstall it and reinstall it. Dgen then quite happily works (yay) but snes9x now says it can't find libstdc++.so.6 and I have no idea where I can get that.

I use the Z for work so I have switched back to RC11 for the week. Will play with RC12 more next weekend.
SL-C1000 running pdaXrom RC11
1Gb Kingston CF card
256Mb PNY SD card
LA4100 Spectrum24 CF WLAN card
Blue Monkey Bluetooth CF card

scheck.r

  • Sr. Member
  • ****
  • Posts: 320
    • View Profile
    • http://
Sl-c1000/c3100 Rc12 Test
« Reply #47 on: October 09, 2005, 09:13:32 pm »
When using mplayer with these options:
mplayer -ao oss -vo bvdd:rotate=-1 -vm video.avi
How do I stop the video ?
I tried q as written in the mplayer's help, Ctrl-q, Cancel and other combinations but no go.

I am using ROX desktop combined with openbox(window manager) on C1000.
After the video playback, the desktop is not redrawn well, I have to pass over the screen with the stylus where the desktop is not redrawn to redraw it.

Running Snes9x(from unstable feed) outside X11 is awesome, very fast(still need libstdcxx.so.5 as mentionned earlier).

@F_Sake: the lidstdcxx from rc11 and rc12 feed provides libstdcxx.so.6, if you need libstdcxx.so.5 you have to install libstdcxx from an earlier feed(rc10 I think) so that you will have both of them installed even if they have the same name in the package manager(I think I installed it locally from my CF card using ipkg install The_libstdcxx_file_from_rc10.ipk)
« Last Edit: October 09, 2005, 09:15:19 pm by scheck.r »
SL-C1000 from PriceJapan(cheap and very fast shipping) with EA-70 power adapter, iRiver USB Host cable, PDAIR case, pentopia stylus, ultra clear screen-protector from shop.brando.com.hk only $3 for shipping worldwide
4GB Hitachi Microdrive, 1GB Kingston Elite Pro CF, 4GB Transcend 150x SD, Symbol Spectrum 4137 CF WiFi(low power)
PdaXrom pdaxii13 5.4.9 updated with Kkazakov13's feed. I owned a SL-6000L before

sashz

  • Sr. Member
  • ****
  • Posts: 388
    • View Profile
    • http://
Sl-c1000/c3100 Rc12 Test
« Reply #48 on: October 10, 2005, 12:04:44 am »
Quote
When using mplayer with these options:
mplayer -ao oss -vo bvdd:rotate=-1 -vm video.avi
How do I stop the video ?
I tried q as written in the mplayer's help, Ctrl-q, Cancel and other combinations but no go.

I am using ROX desktop combined with openbox(window manager) on C1000.
After the video playback, the desktop is not redrawn well, I have to pass over the screen with the stylus where the desktop is not redrawn to redraw it.

Running Snes9x(from unstable feed) outside X11 is awesome, very fast(still need libstdcxx.so.5 as mentionned earlier).

@F_Sake: the lidstdcxx from rc11 and rc12 feed provides libstdcxx.so.6, if you need libstdcxx.so.5 you have to install libstdcxx from an earlier feed(rc10 I think) so that you will have both of them installed even if they have the same name in the package manager(I think I installed it locally from my CF card using ipkg install The_libstdcxx_file_from_rc10.ipk)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=98778\"][{POST_SNAPBACK}][/a][/div]


for stop and leave mplayer press ESC key (Cancel) twice.
For refresh X11 screen run: xrefresh
I think better use simple script for mplayer with bvdd driver which will autorefresh X11 screen.
« Last Edit: October 10, 2005, 12:08:44 am by sashz »

sashz

  • Sr. Member
  • ****
  • Posts: 388
    • View Profile
    • http://
Sl-c1000/c3100 Rc12 Test
« Reply #49 on: October 10, 2005, 12:20:11 am »
XServer with fixed touchscreen mouse pointer:

download it on Zaurus, ungzip:

Code: [Select]
gzip -d Xfbdev.gz
leave X11 to console and backup old Xserver:

Code: [Select]
mv /usr/X11R6/bin/Xfbdev /usr/X11R6/bin/Xfbdev.oldcopy new :

Code: [Select]
cp Xfbdev /usr/X11R6/bin/Xfbdev
change attrib:

Code: [Select]
chmod 755 /usr/X11R6/bin/Xfbdev
run X11:

Code: [Select]
startx

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Sl-c1000/c3100 Rc12 Test
« Reply #50 on: October 10, 2005, 12:43:07 am »
I can confirm that touchscreen is fixed now.

Screen auto-rotation still doesn't work for non-root users.
Sash, how the X server detects hidge rotation? Where should I start looking at to find what the problem is?
-albertr

sashz

  • Sr. Member
  • ****
  • Posts: 388
    • View Profile
    • http://
Sl-c1000/c3100 Rc12 Test
« Reply #51 on: October 10, 2005, 12:59:47 am »
Quote
I can confirm that touchscreen is fixed now.

Screen auto-rotation still doesn't work for non-root users.
Sash, how the X server detects hidge rotation? Where should I start looking at to find what the problem is?
-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=98792\"][{POST_SNAPBACK}][/a][/div]

/usr/bin/chkhinge running when SysReq key (little switch for screen position detect) detected. Than it running xrandr for needed position. Try suid it.

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
Sl-c1000/c3100 Rc12 Test
« Reply #52 on: October 10, 2005, 02:56:59 am »
Basically non-root operation isn't that hard but it hasn't been a high priority for us so far - but based on the number requests for it we might look into it.
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

sashz

  • Sr. Member
  • ****
  • Posts: 388
    • View Profile
    • http://
Sl-c1000/c3100 Rc12 Test
« Reply #53 on: October 10, 2005, 06:28:40 am »
SL-C3100 users, please update pcmcia scripts from this attachment:

download it in Z
unpack:

Code: [Select]
tar xfz pcmcia.tar.gz
copy 3 files shared, ide, ide.opts to /etc/pcmcia

Code: [Select]
cp -a shared ide ide.opts /etc/pcmcia/
change attrib for file ide

Code: [Select]
chmod 755 /etc/pcmcia/ide
reboot Z

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Sl-c1000/c3100 Rc12 Test
« Reply #54 on: October 10, 2005, 11:03:30 am »
Quote
/usr/bin/chkhinge running when SysReq key (little switch for screen position detect) detected. Than it running xrandr for needed position. Try suid it.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=98793\"][{POST_SNAPBACK}][/a][/div]

Thanks. I was aware of chkhinge, but I didn't know it was called from the kernel code. I'll take a look and try to see why it doesn't work for non-root users.
-albertr
« Last Edit: October 10, 2005, 11:03:55 am by albertr »

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Sl-c1000/c3100 Rc12 Test
« Reply #55 on: October 10, 2005, 11:14:12 am »
Hmm, running `find . -name *.[chS] -exec grep chkhinge {} \; -ls` on sharp kernel source didn't bring anything. Any idea where  in the kernel chkhinge is being called from?
-albertr

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Sl-c1000/c3100 Rc12 Test
« Reply #56 on: October 10, 2005, 11:20:32 am »
Yes, `chmod u+s /usr/bin/chkhinge` gets screen auto-rotated for non-root users, thanks!
-albertr

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
Sl-c1000/c3100 Rc12 Test
« Reply #57 on: October 10, 2005, 12:18:09 pm »
albertr there is more problems related with non-root users - i will look into it later and will do some more testing.
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Sl-c1000/c3100 Rc12 Test
« Reply #58 on: October 10, 2005, 01:58:33 pm »
Yes, there're few binaries need to be setuid root, i.e. /sbin/cardctl.
Also, unless you want to permit users to write to /dev/apm_bios, /usr/bin/apm.x and /usr/bin/apmsleep need to be setuid root too.
Some of the shell scripts that need to be run as root, could be changed to invoke sudo first, i.e. "!/usr/bin/sudo /bin/sh".
-albertr

Borealid

  • Newbie
  • *
  • Posts: 46
    • View Profile
Sl-c1000/c3100 Rc12 Test
« Reply #59 on: October 10, 2005, 02:01:49 pm »
By the way, you also forgot to make "su" setuid.  This is kind of important, as su obviously can't let you become root unless it has root privileges itself...

This is the cause of "using fallback setuid method" messages.