Re: [gentoo-user] emerge --sync error

2006-04-18 Thread scwang
Now I find the problem is caused by utf-8.
My local changed from zh_CN.GB2312 to zh_CN.utf8 recently.
But I don't know how to correct.



-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]
PH.D Candidate
Laboratory of Computer Science, Institute of Software
Chinese Academy of Science

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge --sync error

2006-04-18 Thread scwang
There is something wrong about the network of my lab, then
the emerge --sync can't suceed. 
I noticed that rsync freezed at receiving file list, but
it didn't in fact and it just didn't print the process
of receiving the file list. This is a change in emerge system.
You can enable the original act of rsync by adding this line to
your /etc/make.conf:

   PORTAGE_RSYNC_EXTRA_OPTS = --progress


-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge --sync error

2006-04-17 Thread scwang

I can't emerge --sync after portage-2.1_pre7-r5 installed.
The process freezed on receiving file list.

I think it's the bug of portage-2.1_pre7-r5, so I downgraded
to portage-2.1_pre3-r1. 


-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] shell script

2006-04-17 Thread scwang
In a shellp script, let
   STRING=a.txt b.txt c.txt
And I want to delete a sub-string from $STRING, for example
b.txt, and then we got
   $STRING is a.txt c.txt

How to achieve it?


-- 
scwang
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] alps touchpad problem

2006-03-23 Thread scwang
AZixMapping doesn't work.
I think it's for mouse driver of x, not for synaptics drivers!


-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] alps touchpad problem

2006-03-22 Thread scwang
The following is touchpad part of my xorg.conf file:

# internal touchpad
Section InputDevice
Identifier  Alps Touchpad
Driver  synaptics
Option  Protocol  auto-dev
Option  Device/dev/input/mice
Option  LeftEdge 130
Option  RightEdge 950
Option  TopEdge 130
Option  BottomEdge 640
Option  FingerLow 7
Option  FingerHigh 8
Option  MaxTapTime 180
Option  MaxTapMove 110
Option  EmulateMidButtonTime 75
Option  VertScrollDelta 20
Option  HorizScrollDelta 20
Option  MinSpeed 0.60
Option  MaxSpeed 1.10
Option  AccelFactor 0.030
Option  EdgeMotionMinSpeed 200
Option  EdgeMotionMaxSpeed 200
Option  UpDownScrolling 1
Option  CircularScrolling 1
Option  CircScrollDelta 0.1 
Option  CircScrollTrigger 2
Option  SHMConfig on
Option  Emulate3Buttons on
EndSection

-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] why mplayer always set message to lanuage: zh_CN

2006-03-21 Thread scwang
Hi everybody:

When I compile mplayer, it always says that
Setting MPlayer messages to language: zh_CN

But I want to set it to english, how can I do this?

-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] why mplayer always set message to lanuage: zh_CN

2006-03-21 Thread scwang
On Wed, Mar 22, 2006 at 09:40:59AM +0800, [EMAIL PROTECTED] wrote:
 Hi everybody:
 
 When I compile mplayer, it always says that
   Setting MPlayer messages to language: zh_CN
 
 But I want to set it to english, how can I do this?
 
 -- 
 Wang ShaoChun(王绍春) [EMAIL PROTECTED]
 
 -- 
 gentoo-user@gentoo.org mailing list

I already solved this problem. This is because I set LINGUAS=zh_CN
in my /etc/make.conf file. I use the following to emerge mplayer:

LINGUAS= emerge mplayer

-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] alps touchpad problem

2006-03-21 Thread scwang
I use synaptics driver for my alps touchpad.
Everything else works finely except one thing:
my up scroll key scolls down and down up.

How to solve it?
-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems with domainname

2006-03-18 Thread scwang
On Sun, Mar 19, 2006 at 01:16:51AM -0300, Felipe Ribeiro wrote:
 Hi,
 
 I've already set my domain name (pixelsolutions.com.br) on /etc/hosts,
 /etc/conf.d/domainname and /etc/resolv.conf, but i still get the:
 
 This is mustang.(none) (Linux x86_64 2.6.15-gentoo-r7)
 
 when i start the system.
 
 What should i do?
 
 Regards,
 
 Felipe
 
 -- 
 gentoo-user@gentoo.org mailing list

In order to get a proper FQDN, you need to set up three files:
/etc/hosts, /etc/conf.d/hostanme, /etc/conf.d/domainname.

I also have the same problems as you in past, and one day I found
that the most tricky thing was that you must give a seperate line 
for your FQDN name in /etc/hosts!

This is a part of my /etc/hosts file:

127.0.0.1   localhost
127.0.0.1   lp.lcst.com lp

Good Luck!

-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] how to kernel update when executing emerge -u world?

2006-03-14 Thread scwang

Every time when I run emerge -u world, the kernel will be updated if 
it have some update.

I delete the kernel line in /var/lib/portage/world, but it doesn't 
help.

The most recent output of emerge -au world is as following:

[ebuild U ] sys-process/procps-3.2.6 [3.2.5-r1] 
[ebuild U ] sys-fs/e2fsprogs-1.38-r1 [1.38] 
[ebuild U ] sys-libs/readline-5.1_p2 [5.0-r2] 
[ebuild U ] sys-devel/autoconf-2.59-r7 [2.59-r6] 
[ebuild U ] net-fs/samba-3.0.21b [3.0.14a-r2] 
[ebuild U ] sys-apps/shadow-4.0.14-r1 [4.0.7-r4] 
[ebuild U ] sys-apps/pam-login-4.0.14 [3.17] 
[ebuild  NS   ] sys-kernel/suspend2-sources-2.6.15-r8  
[ebuild U ] app-crypt/gnupg-1.4.2.2 [1.4.2.1] 
[ebuild U ] app-admin/webapp-config-1.50.10 [1.11] 
[ebuild  NS   ] mail-client/squirrelmail-1.4.6

As you can see from the output suspend2-sources will be emerged as
as new package and in another slot. How can I disable it?

My uname -a output is

Linux lp 2.6.15-suspend2-r6 #22 PREEMPT Sat Mar 11 19:05:36 CST 2006
i686 Pentium III (Coppermine) GenuineIntel GNU/Linux

-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] suspend2 problem

2006-03-09 Thread scwang
vesa driver is the last resort!


-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to enable glx

2006-03-09 Thread scwang
I enabled the glx, but it seems the speed is still slow.

$ glxinfo | grep rendering
direct rendering: Yes

The output of glxgears is about 130 FPS.
I use intel_agp.

$ lsmod 
mach64 54144  1 
drm75672  2 mach64
intel_agp  23324  1 
agpgart35016  2 drm,intel_agp

$ lspci

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge 
(rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge 
(rev 03)
00:04.0 Multimedia audio controller: ESS Technology ES1988 Allegro-1 (rev 12)
00:06.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] 
(rev 09)
00:06.1 Serial controller: Xircom Unknown device 00d3
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:0c.0 CardBus bridge: Texas Instruments PCI1420
00:0c.1 CardBus bridge: Texas Instruments PCI1420
00:0d.0 FireWire (IEEE 1394): NEC Corporation IEEE 1394 Host Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 
2x (rev 64)

Did I do it right?


-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] how to enable glx

2006-03-08 Thread scwang
I can't enable glx on my video card, the following is 
output of lspci in my system:

01:00.0 VGA compatible controller: ATI Technologies Inc Rage
Mobility P/M AGP 2x (rev 64)

My kerenl is linux-2.6.15-suspend2-r6.

Any hints about it?

Best Regards!

-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] suspend2 problem

2006-03-08 Thread scwang
My suspend2 works, but still have the following problem:

1. After resuming, x windows doesn't work well. 
The screen is dusky, and it comes back normally
only after I switch to console and then switch 
back to it.

2.It seems my dpms doesn't work anymore after resume.
Screen will become black but the backlight is still on.
(I use a laptop computer)

3.hibernate-ram can suspend to ram, but after resuming
my laptop will poweroff automatically.

I am using linux-2.6.15-suspend2-r6 kernel, and my lspci is 
as following:

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host
bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP
bridge (rev 03)
00:04.0 Multimedia audio controller: ESS Technology ES1988 Allegro-1
(rev 12)
00:06.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro
100] (rev 09)
00:06.1 Serial controller: Xircom Unknown device 00d3
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev
01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev
01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
00:0c.0 CardBus bridge: Texas Instruments PCI1420
00:0c.1 CardBus bridge: Texas Instruments PCI1420
00:0d.0 FireWire (IEEE 1394): NEC Corporation IEEE 1394 Host Controller
(rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility
P/M AGP 2x (rev 64)

By the way, doesn't any know what framebuffer driver is appropriate
for my computer? I tried versa, it works but the scroll of screen is
very slow. And now I am using ATI March 64 driver. 

I remeber when i use versa driver, x works for hibernate. But using
ATI Mach 64 driver, it doesn't.



Thank you!


-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to enable glx

2006-03-08 Thread scwang
On Wed, Mar 08, 2006 at 06:19:40PM -0800, Ryan Tandy wrote:
 [EMAIL PROTECTED] wrote:
  I can't enable glx on my video card, the following is 
  output of lspci in my system:
 
  01:00.0 VGA compatible controller: ATI Technologies Inc Rage
  Mobility P/M AGP 2x (rev 64)
 
  My kerenl is linux-2.6.15-suspend2-r6.
 
  Any hints about it?
 
  Best Regards!
 

 I had that card in my old Compaq laptop. You'll need an experimental
 driver from http://dri.sourceforge.net.
 
 HTH.
 -- 
 gentoo-user@gentoo.org mailing list

What driver?

-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]
PH.D Candidate
Laboratory of Computer Science, Institute of Software
Chinese Academy of Science
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] test

2006-02-14 Thread scwang
this is a test mail.
ignore
-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]
PH.D Candidate
Laboratory of Computer Science, Institute of Software
Chinsese Academy of Sciences

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] program lancher

2006-02-14 Thread scwang
Does any know another program lancher like gmrun, grun?


-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]
PH.D Candidate
Laboratory of Computer Science, Institute of Software
Chinsese Academy of Sciences

-- 
gentoo-user@gentoo.org mailing list