انجمنهای فارسی اوبونتو
کمک و پشتیبانی => سختافزار => نویسنده: mrmrn در 11 تیر 1388، 12:15 قظ
-
بسم الله.
من چه اون موقع که از 8.10 استفاده میکردم و چه الان که از 9.04 استفاده میکنم چند تا مشکل دارم که برا خودمم عجیبه.
من یه لپتاپ (acer 5520 (AMD turion dual core 2.0GH ram:3 Hard:320 دارم.وقتی از live CD استفاده میکنم تاچ پد من کارمیکنه .وقتی هم که اوبونتو رو نصب میکنم اوایل کار میکنه ولی یهویی از کار می افته و دیگه نمیتونم ازش استفاده کنم.دکمه های کلیک راست و چپ هنوزم فعالن ولی خود تاچ پد نه!
مشکل دیگه اینه که کلید های میانبری که رو کیبرد لپتاپم تعبیه شده در 9.04 به طور باور نکردنی کار میکرد ولی اونها هم یه دفعه کاملا از کار افتادن و دیگه انگار نه انگار.نمیدونم اگه این از کار افتادنهای تدریجی بخواد ادامه پیدا کنه آخرش به کجا ختم میشه.؟
حالا من باید چه کار کنم تا از این هچل در بیام؟fi به نظرتون راهی هست؟
-
منم دقیقا این مشکل رو دارم.نه تاچ پد دارم و نه کیبورد! کلا هیچی!
تنها راهی که پیدا کردم اینه که اول با ویندوز میام بالا و بعد ریست میکنم با ابونتو بوت میکنم.اینجوری هیچ مشکلی ندارم! ولی خوب روش بد،مسخره و خسته کننده است.
اگر راهی پیدا کردی لطفا خبر بده.
-
https://wiki.ubuntu.com/DebuggingTouchpadDetection (https://wiki.ubuntu.com/DebuggingTouchpadDetection)
-
من که اینو نفهمیدم!
خیلی سخته! راه بهتری نیست؟ ترمینال چیه؟
بابا من 2 هفته است که اوبونتو ریختم.
کیبورد هم ندارم.اون رو چیکار کنم؟
-
درود
با اجازهی HardyLaity عزیز. ببین دوست عزیز این کارها رو باید انجام بدی:
اول ی ترمینال از مسیر Application > Accessories > Terminal باز کن بعد باید مرحلههای زیر رو دنبال کنی
این خط رو تو ترمینال بزن
cd /var/lib/acpi-support/; grep '.' *-* > ~/laptop
حالا یکی یکی خطهای پایین رو اجرا کن
uname -a > ~/uname-a
cat /proc/version_signature > ~/version_signature
sudo lspci -vvnn > ~/lspci-vvnn
lshal > ~/lshal
اینجا باید با توجه به موردی که برات پیش اومده جلو بری:
*اگر تاچپد از اول کار نمیکنه باید خط پایین رو اجرا کنی
dmesg > ~/dmesg
*اگر تاچپد بعد از مدتی از کار میایسته
dmesg > ~/dmesg_boot
cp /var/log/Xorg.0.log ~/Xorg.0.log
باید صبر کنی تا تاچپد از کار بیافته
کلیدهای Ctrl+Alt+F1 رو بزنی تا وارد محیط خط فرمانی بشی
حالا باز خطهای پایین رو اجرا کن
LANG=C
dmesg > ~/dmesg
diff -ns ~/dmesg_boot ~/dmesg > ~/dmesg_diff
cp /var/log/Xorg.0.log ~/Xorg.0.log_tmp
diff -ns ~/Xorg.0.log ~/Xorg.0.log_tmp > ~/Xorg.0.log_diff
*اگر ی قسمتی از تاچپد مثل اسکرول یا کلیک یا حرکتش دیگه کار نمیکنه
cat /proc/bus/input/devices > ~/devices
dmesg > ~/dmesg
-
با سلام و تشکر از آقا فرشید و hardi laity
اول بگم که من هنوز این چیزایی که گفتین رو عملی نکردم.ولی فایل xorg رو میزارم.اصلا توش چیزی به نام تاچ پد وجود نداره.
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Wed May 27 03:15:36 PDT 2009
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "on"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
اون قسمت که در باره تاچ پد هست رو خودم دستی اضافه کردم.نمیدونم اصلا کار خوبی بود یا نه؟
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "on"
EndSection
جالب اینه که بعد از یه بار ریست مشکل کلیدهی میانبر حل شد.
-
بسم الله.
من راه حلی که آقا فرشید و hardi laity عزیز فرموده بودن رو مطالعه و اجرا کردم.ولی این چه سودی داره؟
اگه اشتباه نکنم این فرامین چندتا فایل رو تو پوشه Home میریزه که باید اونا رو به یه آدرسی فرستاد.این چیزی که شما بعنوان راه حل مطرح کردین در واقع یه جور Bug report است نه یه راه حل که مشکل ما رو حل کنه.
-
جان Bug report ???
-
جان Bug report ???
سلام.
bug report نیست مگه؟ :-X
این چیزی که فرشیدجان نوشته بودن دقیقا ترجمه همون لینکی بود که hardi laity زحمتشو کشیده بودن.
تو اون صفحه نوشته بود که:
This page is part of the debugging series - pages with debugging details for a variety of Ubuntu packages.
Introduction
Problems with touchpad detection typically fall into one off these categories:
1. Your touchpad doesn't work at all.
2. Your touchpad stops working after a while.
3. Some features of your touchpad like scrolling, tapping, dragging don't work (as expected).
How to file a bug report
Touchpad related bugs should initially be filed against xserver-xorg-input-synaptics. If the bug turns out to be a kernel bug or a bug in another package, bug triagers can assign the bug additionally to that package and mark the xserver-xorg-input-synaptics task as invalid.
General information
For all bug categories the following general information should be provided:
1.
What brand and model is your laptop, open a terminal/console and enter the following command:
$ cd /var/lib/acpi-support/; grep '.' *-* > ~/laptop
What features does your touchpad have: horizontal and vertical scrolling, tapping, dragging, ...
2.
Open a terminal/console and enter the following commands (minimal information as described in KernelTeamBugPolicies):
$ uname -a > ~/uname-a
$ cat /proc/version_signature > ~/version_signature
$ sudo lspci -vvnn > ~/lspci-vvnn
3.
If using Ubuntu 8.10 or later, run $ lshal > ~/lshal and attach ~/lshal.
4.
Attach ~/laptop, ~/uname-a, ~/version_signature and ~/lspci-vvnn to the bug report as separate attachments.
In case your touchpad doesn't work at all
1.
Provide the general information.
2.
Enter the following command in a terminal/console:
$ dmesg > ~/dmesg
3.
Attach ~/dmesg and your /var/log/Xorg.0.log to the bug report in separate attachments.
In case your touchpad stops working after a while
1.
Provide the general information.
2.
Direct after logging in to GNOME, KDE or Xfce open a terminal and enter the following commands:
$ dmesg > ~/dmesg_boot
$ cp /var/log/Xorg.0.log ~/Xorg.0.log
3. Wait until your touchpad stops working.
4. Open a Virtual Terminal by pressing Ctrl-Alt-F1.
5.
Enter the following commands:
$ LANG=C
$ dmesg > ~/dmesg
$ diff -ns ~/dmesg_boot ~/dmesg > ~/dmesg_diff
$ cp /var/log/Xorg.0.log ~/Xorg.0.log_tmp
$ diff -ns ~/Xorg.0.log ~/Xorg.0.log_tmp > ~/Xorg.0.log_diff
6.
Attach ~/dmesg_boot, ~/dmesg_diff, ~/Xorg.0.log and ~/Xorg.0.log_diff to the bug report in separate attachments.
In case some features of your touchpad like scrolling, tapping, dragging don't work (as expected)
1.
Provide the general information.
2.
Open a terminal and enter the following commands:
$ cat /proc/bus/input/devices > ~/devices
$ dmesg > ~/dmesg
3.
Attach your /var/log/Xorg.0.log, ~/devices and ~/dmesg to the bug report in separate attachments.
من اون قسمت رو که نوشتم این یه جور bug report است رو میخواستم سوالی بنویسم که اینجوری از آب در اومد.
حالا این هرچی که هست یه سری فایل تولید میکنه.کار دیگه ای هم میکنه؟
پ.ن:اون جاهایی که پررنگ کردم چی پس
-
ببین از این بابت که میگی ی کلی فایل درست میکنه آره منم همین رو توجه کردم اما عنوان لینک رو هم نگاه کنی دیباگ تاچپد هست نه باگ ریپورت...
-
فرشید جان سلام.
آره حرف شما درست است ولی من بخاطر همون خطهایی که قرمزشون کردم بنظرم اومد که بیشتر شبیه bugreport است.الان من 5 تا فایل تو پوشه home دارم.خب چکار کنم.اینا رو به آدرسی که داده بفرستم؟که چی؟اصلا یه سوال دیگه،وقتی گفته debugging یعنی چی.یعنی بعد انجام اون دستورا باید تاچ پد راه بیفته یا اینکه باید...؟
حالا اینارو بیخیال.هر چی هست باشه.موضوع اینه که هنوز تاچ پد من کار نمیکنه.
-
بیا این یکی (http://ubuntuforums.org/showthread.php?t=344103) رو امتحان کن. آخر صفحه اول ی راهی گفته شده که خیلیها هم اومدن گفتن کار داده...
امیدوارم این دیگه بهکار بیاد ;)
-
سلام.تولد امیرالمومنین رو به همه تبریک میگم.
فرشید جان ممنون.حسابی از دست من به زحمت افتادی.من اینی رو که گفتین عملی میکنم ولی دارم میرم سفر چند روز دیگه جوابشو میزنم.بازم ممنون.
-
سلام دوستان عزیز
من اینکار که آقا فرشید گفته بود و زحمت ترجمه رو کشیده بودن رو کردم ولی فرجی نشد!
در ضمن من کیبورد هم ندارم! بابا این ابونتو چقدر سخته!
-
سلام دوستان عزیز
من اینکار که آقا فرشید گفته بود و زحمت ترجمه رو کشیده بودن رو کردم ولی فرجی نشد!
در ضمن من کیبورد هم ندارم! بابا این ابونتو چقدر سخته!
کاشکی اون راه جدیده که تو ۳پست پیش پیدا کرده بودم اجرا میکردی اون خیلی بهتر میآد ;)
-
سلام دوستان عزیز
من اینکار که آقا فرشید گفته بود و زحمت ترجمه رو کشیده بودن رو کردم ولی فرجی نشد!
در ضمن من کیبورد هم ندارم! بابا این ابونتو چقدر سخته!
کاشکی اون راه جدیده که تو ۳پست پیش پیدا کرده بودم اجرا میکردی اون خیلی بهتر میآد ;)
حتما اونم امتحان میکنم. ;)
-
بیا این یکی (http://ubuntuforums.org/showthread.php?t=344103) رو امتحان کن. آخر صفحه اول ی راهی گفته شده که خیلیها هم اومدن گفتن کار داده...
امیدوارم این دیگه بهکار بیاد ;)
سلام فرشید جان.من خوندمش ولی مثل اینکه گفته بودن این راه تو ورژنای قبلی جواب میداده و تو ورژنای جدید اون فایلی که گفته دستکاریش کنین کلا ساختارش تغییر کرده؟
حالا من خودم یه راه براش پیدا کردم که فعلا انگلیسیشو اینجا میزنم بعد اگه جواب گرفتم اونوقت با جزئیات مینویسمش:
3.3. Configuring a Touchpad
Many laptops use a Synaptics TouchPad (or an Alps GlidePoint, which can use the same driver). By default, a touchpad will emulate a PS/2 mouse, so it should work fine with the default driver, but if you use the Synaptics-specific driver, you can exquisitely fine-tune the touchpad's extended features.
3.3.1. How Do I Do That?
You will need to manually edit the X server configuration file, /etc/X11/xorg.conf, to make two changes.
It's a good idea to get into the habit of making a backup of configuration files before modifying them, just in case something goes wrong:
# cp /etc/X11/Xorg.conf /etc/X11/Xorg.conf.backup
First, add an InputDevice line to the ServerLayout section:
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "TouchPad0" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Next, add a new InputDevice section (you can add this to any part of the file that is not between Section and EndSection lines):
Section "InputDevice"
Identifier "Touchpad0"
Driver "synaptics"
Option "SHMConfig" "on"
EndSection
When you restart the X server by restarting the system or pressing Ctrl-Alt-Backspace (save any work first!), the Synaptics driver will be loaded with a default configuration that will permit you to:
• Click the left mouse button by tapping one finger in the middle area or by tapping the upper-left corner.
• Drag with the left mouse button by tapping and then dragging one finger (touch-release-touch, then drag).
• Click the middle mouse button by tapping two fingers in the middle area or by tapping the upper-right corner (this will usually perform a fast-paste of selected text).
• Click the right mouse button by tapping three fingers in the middle area or by tapping the lower-right corner.
• Scroll up and down by running your finger up and down the right side (if supported by your application).
• Scroll left and right by running your finger across the bottom (if supported by your application). Some web browsers, such as Firefox, use this for history navigation (left for previous page, right for next page).
These default options work well for most users, but the driver is incredibly customizable. It's also one of the few X drivers that can be adjusted without restarting the X server, through the use of the synclient program.
Running synclient with the -l option will list the current driver settings:
$ synclient -l
Parameter settings:
LeftEdge = 1900
RightEdge = 5400
TopEdge = 1900
BottomEdge = 4000
FingerLow = 25
FingerHigh = 30
MaxTapTime = 180
MaxTapMove = 220
MaxDoubleTapTime = 180
ClickTime = 100
FastTaps = 0
EmulateMidButtonTime = 75
VertScrollDelta = 100
HorizScrollDelta = 100
MinSpeed = 0.09
MaxSpeed = 0.18
AccelFactor = 0.0015
EdgeMotionMinZ = 30
EdgeMotionMaxZ = 160
EdgeMotionMinSpeed = 1
EdgeMotionMaxSpeed = 400
EdgeMotionUseAlways = 0
UpDownScrolling = 1
LeftRightScrolling = 1
UpDownRepeat = 1
LeftRightRepeat = 1
ScrollButtonRepeat = 100
TouchpadOff = 0
GuestMouseOff = 0
LockedDrags = 0
RTCornerButton = 2
RBCornerButton = 3
LTCornerButton = 0
LBCornerButton = 0
TapButton1 = 1
TapButton2 = 2
TapButton3 = 3
CircularScrolling = 0
CircScrollDelta = 0.1
CircScrollTrigger = 0
CircularPad = 0
PalmDetect = 1
PalmMinWidth = 10
PalmMinZ = 200
CoastingSpeed = 0
These parameters are fully explained in the manpage for synaptics, but the most commonly altered values are described in Table 3-3.
Table 3-3. Commonly altered Synaptics driver values
Options Description Reason for change
LeftEdge, TopEdge, RightEdge, BottomEdge Define the border between edge/corner and middle regions of the touchpad Used to shrink or expand the regions used for scrolling and corner-taps.
PalmDetect, PalmMinWidth, PalmMinZ Configure the touchpad to ignore broad touches Prevents accidental touches of the user's palm from registering as touchpad events. PalmDetect enables/disables, PamMinWidth sets the minimum touch diameter that will be considered a palm, and PalmMinZ is the minimum pressure required to register a palm.
RTCornerButton, LTCornerButton, LBCornerButton, RBCornerButton Define the mouse-button clicks that will be registered when the user touches the corner of the keypad By default, the top-right corner can be tapped to produce a middle mouse click, and the bottom-right corner can be tapped to produce a right mouse click. If you are finding that these clicks are being accidentally registered, set these button values to zero (0); alternately, you can select a specific button you wish to associate with a corner tap (1=left, 2=middle, 3=right, 4=down, 5=up, 6=left, 7=right)
TapButton1, TapButton2, TapButton3 Define the mouse-button clicks that will be registered when the user taps in the middle region of the touchpad with one, two, or three fingers If you find that you accidentally tap the touchpad with more fingers than you intend to use, you can change the two- and three-finger tap buttons. To disable a tap altogether, set the appropriate value to 0.
VertScrollDelta, HorizScrollDelta Define the amount of finger motion required to register a scroll event. Set these values to adjust the scroll rates, or set them to 0 to disable scrolling altogether. Note that smaller values increase sensitivity. If you're finding that Firefox keeps moving back and forth in its History when you accidentally sweep your finger across the touchpad, try setting HorizScrollDelta to 0.
MaxTapTime Defines the maximum time (in milliseconds) in which to detect a tap (which is interpreted as a left mouse click). If tap-to-click drives you bonkers, set this to 0. Otherwise, you can use it to adjust how sensitive your touchpad is to tapping.
To test an option value, use the synclient program:
$ synclient VertScrollDelta=10
$ synclient PalmDetect=0
If you need to find position or pressure values for these options, you can use the monitor (-m) option of synclient to experiment:
$ synclient -m 100
time x y z f w l r u d m multi gl gm gr gdx gdy
0.000 3277 2899 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0
1.247 3687 3172 65 1 5 0 0 0 0 0 00000000 0 0 0 0 0
1.351 3402 3070 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0
1.871 3926 3650 62 1 4 0 0 0 0 0 00000000 0 0 0 0 0
1.975 4337 3339 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0
2.495 3932 3133 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0
2.599 3816 3245 1 1 9 0 0 0 0 0 00000000 0 0 0 0 0
2.703 3810 3286 1 1 7 0 0 0 0 0 00000000 0 0 0 0 0
2.807 3923 3224 1 1 14 0 0 0 0 0 00000000 0 0 0 0 0
2.911 3923 3224 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0
8.423 4018 3986 131 2 5 0 0 0 0 0 00000000 0 0 0 0 0
8.527 4104 3933 134 2 5 0 0 0 0 0 00000000 0 0 0 0 0
8.631 4653 3827 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0
...(
Ctrl-C to terminate)...
In this output, the following options indicate:
x, y, and z
Position and pressure of touch.
f
Finger count.
w
Finger width.
l, r, u, d, m, and multi
Button state (most touchpads have only the l and r buttons). 0 indicates the button is up; 1 indicates the button is down.
All columns starting with g
Guest (secondary) pointing device information, such as a finger button.
Once you have tweaked the values to suit your needs, add your preferred values to the Synaptics InputDevice section of the /etc/X11/xorg.conf file, using the Option keyword:
Section "InputDevice"
Identifier "Touchpad0"
Driver "synaptics"
Option "SHMConfig" "on"
Option "VertScrollDelta" "10"
Option "PalmDetect" "0"
EndSection
These settings will then take effect when the system is restarted.
3.3.2. How Does It Work?
The Synaptics TouchPad (or Alps GlidePad) device is connected through a PS/2 or USB interface and contains a microcontroller, touch sensor, buttons, and interface electronics. The firmware is programmed to emulate a standard mouse unless (or until) the device driver sends it codes to switch it into native mode.
The Synaptics driver works with the microcontroller in the touchpad to translate user activity into standard mouse signals. There are only 16 types of events that are reported to the X server: button down and button up for buttons 1 through 7, and horizontal and vertical motion. All of the possible tap, press, and slide gestures are translated into combinations of these 16 events.
For example, touching the pad with one finger on the right side (X position greater than RightEdge, and Y position between TopEdge and BottomEdge), and then moving your finger up more than VertScrollDelta units will be interpreted as a vertical scroll action, which will result in a button-down event on button 4, followed by a button-up event on button 4 (this corresponds to rotating the scroll wheel forward one click on a standard mouse).
Not all touchpad models have the hardware or firmware to provide all of the features supported by the driver; for example, most models do not have all of the possible buttons, and some lack multiple-finger or finger-width detection.
3.3.3. What About...
3.3.3.1. ...using a touchpad and a mouse at the same time?
This can be done if the Synaptics device is defined in addition to a traditional mouse, as recommended in the X11 configuration shown in this lab.
3.3.3.2. ...disabling the touchpad automatically when I'm typing?
Even with palm detection, some typists and touchpads register false information during typing (especially true with certain laptop case designs, which transmit case stress to the touchpad). To help in these situations, the Synaptics software includes the syndaemon program, which will automatically disable the touchpad when the keyboard is in use. To start this daemon, simply type its name as a command:
$ syndaemon
3.3.4. Where Can I Learn More?
• The manpages for synaptics, synclient, and syndaemon
• The driver home page: http://web.telia.com/~u89404340/touchpad/
در آخر یه لینک داده که توش درایور تاچ پد هستش.اینجا لینکشو میزارم که تر تمیز تر باشه:http://web.telia.com/~u89404340/touchpad/index.html#Download (http://web.telia.com/~u89404340/touchpad/index.html#Download)