انجمنهای فارسی اوبونتو
کمک و پشتیبانی => سختافزار => نویسنده: ariaphy در 19 شهریور 1397، 11:05 قظ
-
سلام سیستم من موقع بالا اومدن پیغام device descriptor read/64, error -110 رو میده. این مشکل مربوط به چه چیزی هست و چطور میتونم برطرفش کنم؟ ممنون میشم راهنمایی کنین
-
سلام سیستم من موقع بالا اومدن پیغام device descriptor read/64, error -110 رو میده. این مشکل مربوط به چه چیزی هست
سلام
در واقع این مشکل مربوط به توزیع شما نمی شه و مربوط به این می شه که توان کافی به پورت های شما نمی رسه و می تونه ناشی از اتصالات زیاد به پورت های USB و ... باشه.
چطور میتونم برطرفش کنم؟
لطفاً به سوالات زیر جواب بدین تا بتونیم راحت تر مشکل رو حل کنیم :
سیستمتون لپ تاپ هستش یا رومیزی ؟
به پورت USB سیستمتون چی وصله (هارد اکسترنال و ...) ؟
BIOS به آخرین نسخه آپدیت شده ؟
در ضمن خروجی این دستورات رو هم بذارین :
sudo dmesg
sudo dmidecode
lsusb
lspci
-
سلام سیستم من موقع بالا اومدن پیغام device descriptor read/64, error -110 رو میده. این مشکل مربوط به چه چیزی هست
سلام
در واقع این مشکل مربوط به توزیع شما نمی شه و مربوط به این می شه که توان کافی به پورت های شما نمی رسه و می تونه ناشی از اتصالات زیاد به پورت های USB و ... باشه.
چطور میتونم برطرفش کنم؟
لطفاً به سوالات زیر جواب بدین تا بتونیم راحت تر مشکل رو حل کنیم :
سیستمتون لپ تاپ هستش یا رومیزی ؟
به پورت USB سیستمتون چی وصله (هارد اکسترنال و ...) ؟
BIOS به آخرین نسخه آپدیت شده ؟
در ضمن خروجی این دستورات رو هم بذارین :
sudo dmesg
sudo dmidecode
lsusb
lspci
دوست عزیز سیستم من لپتاپ hp probook 450 g1 هست.
هیچ چیزی به صورت اکسترنال وصل نیست حتی ماوسم رو هم جدا کردم ولی بازم ارور میداد.
بایوس رو هم به آخرین نسخه آپدیت کردم L74 01.47 ورژن بایوس من هست
sudo dmesg:
https://paste.ubuntu.ir/fewr
گویا گرافیک هم مشکل داره :o
sudo dmidecode:
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
32 structures occupying 1628 bytes.
Table at 0x89E3F000.
Handle 0x000C, DMI type 0, 24 bytes
BIOS Information
Vendor: Hewlett-Packard
Version: L74 Ver. 01.47
Release Date: 07/30/2018
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 6592 kB
Characteristics:
PCI is supported
PC Card (PCMCIA) is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
EDD is supported
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
ACPI is supported
USB legacy is supported
Smart battery is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 1.47
Firmware Revision: 18.244
Handle 0x000D, DMI type 1, 27 bytes
System Information
Manufacturer: Hewlett-Packard
Product Name: HP ProBook 450 G1
Version: A3008CD10003
Serial Number: 2CE41126Q6
UUID: 4F6CBB7F-AE66-11E3-9673-CE39E75C1B10
Wake-up Type: Power Switch
SKU Number: G6V04ES#ABV
Family: 103C_5336AN G=N L=BUS B=HP S=PRO
Handle 0x000E, DMI type 2, 16 bytes
Base Board Information
Manufacturer: Hewlett-Packard
Product Name: 1942
Version: KBC Version 12.F4
Serial Number: PDWTL1B2D6F282
Asset Tag: Not Specified
Features:
Board is a hosting board
Board is replaceable
Location In Chassis:
Chassis Handle: 0x000F
Type: Unknown
Contained Object Handles: 0
Handle 0x000F, DMI type 3, 17 bytes
Chassis Information
Manufacturer: Hewlett-Packard
Type: Notebook
Lock: Not Present
Version: Not Specified
Serial Number: 2CE41126Q6
Asset Tag:
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Other
Security Status: Other
OEM Information: 0x00000000
Handle 0x0000, DMI type 4, 42 bytes
Processor Information
Socket Designation: U3E1
Type: Central Processor
Family: Core i5
Manufacturer: Intel(R) Corporation
ID: C3 06 03 00 FF FB EB BF
Signature: Type 0, Family 6, Model 60, Stepping 3
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz
Voltage: 0.8 V
External Clock: 100 MHz
Max Speed: 2500 MHz
Current Speed: 2500 MHz
Status: Populated, Enabled
Upgrade: Socket LGA1150
L1 Cache Handle: 0x0002
L2 Cache Handle: 0x0003
L3 Cache Handle: 0x0004
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Part Number: Not Specified
Core Count: 2
Core Enabled: 2
Thread Count: 4
Characteristics:
64-bit capable
Handle 0x0001, DMI type 7, 19 bytes
Cache Information
Socket Designation: Unknown
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 32 kB
Maximum Size: 32 kB
Supported SRAM Types:
Asynchronous
Installed SRAM Type: Asynchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 8-way Set-associative
Handle 0x0002, DMI type 7, 19 bytes
Cache Information
Socket Designation: Unknown
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 32 kB
Maximum Size: 32 kB
Supported SRAM Types:
Asynchronous
Installed SRAM Type: Asynchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Instruction
Associativity: 8-way Set-associative
Handle 0x0003, DMI type 7, 19 bytes
Cache Information
Socket Designation: Unknown
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 256 kB
Maximum Size: 256 kB
Supported SRAM Types:
Asynchronous
Installed SRAM Type: Asynchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Unified
Associativity: 8-way Set-associative
Handle 0x0004, DMI type 7, 19 bytes
Cache Information
Socket Designation: Unknown
Configuration: Enabled, Not Socketed, Level 3
Operational Mode: Write Back
Location: Internal
Installed Size: 3072 kB
Maximum Size: 3072 kB
Supported SRAM Types:
Asynchronous
Installed SRAM Type: Asynchronous
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Unified
Associativity: 12-way Set-associative
Handle 0x0014, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Ctrl0Port0
Internal Connector Type: SAS/SATA Plug Receptacle
External Reference Designator: Primary HDD Bay
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA
Handle 0x0015, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Ctrl0Port5
Internal Connector Type: SAS/SATA Plug Receptacle
External Reference Designator: Docking Station Upgrade Bay
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA
Handle 0x0016, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Ctrl0Port4
Internal Connector Type: SAS/SATA Plug Receptacle
External Reference Designator: eSATA
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA
Handle 0x0017, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Ctrl0Port3
Internal Connector Type: SAS/SATA Plug Receptacle
External Reference Designator: Docking Station eSATA
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA
Handle 0x0018, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Ctrl0Port2
Internal Connector Type: SAS/SATA Plug Receptacle
External Reference Designator: mSATA
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA
Handle 0x0019, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Ctrl0Port1
Internal Connector Type: SAS/SATA Plug Receptacle
External Reference Designator: Upgrade Bay
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA
Handle 0x001B, DMI type 9, 13 bytes
System Slot Information
Designation: PCI SLOT1
Type: 32-bit PCI
Current Usage: Available
Length: Long
ID: 1
Characteristics:
3.3 V is provided
PME signal is supported
SMBus signal is supported
Handle 0x0011, DMI type 10, 6 bytes
On Board Device Information
Type: Video
Status: Enabled
Description: 64
Handle 0x001A, DMI type 11, 5 bytes
OEM Strings
String 1: FBYTE#3Y6E6J6S6a7J7M7Q7W7d7j7saw.73;
String 2: BUILDID#13WWR3AD301#SABV#DABV;
String 3: ABS 70/71 79 7A 7B 7C
String 4: CSM v01.5B
String 5: HP_Mute_LED_0_0
String 6: www.hp.com
Handle 0x001E, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Abbreviated
Installable Languages: 14
en-US
da-DK
nl-NL
fi-FI
fr-FR
de-DE
it-IT
ja-JP
no-NO
pt-PT
es-ES
sv-SE
zh-CN
zh-TW
Currently Installed Language: en-US
Handle 0x0006, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x0007, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: SODIMM
Set: None
Locator: Top - Slot 1 (top)
Bank Locator: BANK 0
Type: DDR3
Type Detail: Synchronous
Speed: 1600 MHz
Manufacturer: Micron
Serial Number: 442848DF
Asset Tag: 9876543210
Part Number: 4KTF25664HZ-1G6E1
Rank: Unknown
Configured Clock Speed: Unknown
Handle 0x0009, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: SODIMM
Set: None
Locator: Top - Slot 2 (under)
Bank Locator: BANK 2
Type: DDR3
Type Detail: Synchronous
Speed: 1600 MHz
Manufacturer: Elpida
Serial Number: 9B7217C4
Asset Tag: 9876543210
Part Number: EBJ40UG8EFU0-GN-F
Rank: Unknown
Configured Clock Speed: Unknown
Handle 0x000B, DMI type 19, 31 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0017FFFFFFF
Range Size: 6 GB
Physical Array Handle: 0x0006
Partition Width: 2
Handle 0x0008, DMI type 20, 35 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0007FFFFFFF
Range Size: 2 GB
Physical Device Handle: 0x0007
Memory Array Mapped Address Handle: 0x000B
Partition Row Position: 1
Interleave Position: 1
Interleaved Data Depth: 1
Handle 0x000A, DMI type 20, 35 bytes
Memory Device Mapped Address
Starting Address: 0x00080000000
Ending Address: 0x0017FFFFFFF
Range Size: 4 GB
Physical Device Handle: 0x0009
Memory Array Mapped Address Handle: 0x000B
Partition Row Position: 1
Interleave Position: 2
Interleaved Data Depth: 1
Handle 0x001C, DMI type 22, 26 bytes
Portable Battery
Location: Primary
Manufacturer: 13-42
Name: FP06047
Design Capacity: 47520 mWh
Design Voltage: 10800 mV
SBDS Version: 1.1
Maximum Error: Unknown
SBDS Serial Number: 8E03
SBDS Manufacture Date: 2013-09-24
SBDS Chemistry: LION
OEM-specific Information: 0x00000000
Handle 0x0010, DMI type 32, 20 bytes
System Boot Information
Status: No errors detected
Handle 0x0012, DMI type 41, 11 bytes
Onboard Device
Reference Designation: 64
Type: Video
Status: Enabled
Type Instance: 1
Bus Address: 0000:00:02.0
Handle 0x0013, DMI type 41, 11 bytes
Onboard Device
Reference Designation: WLAN
Type: Ethernet
Status: Enabled
Type Instance: 1
Bus Address: 0000:04:00.0
Handle 0x0005, DMI type 131, 64 bytes
OEM-specific Type
Header and Data:
83 40 05 00 31 00 00 00 00 00 00 00 00 00 00 00
F8 00 4B 8C 00 00 00 00 01 20 00 00 00 00 09 00
BB 05 16 00 00 00 00 00 E5 03 FF FF 00 00 00 00
04 0C 00 00 20 00 00 00 76 50 72 6F 00 00 00 00
Handle 0x001D, DMI type 137, 12 bytes
OEM-specific Type
Header and Data:
89 0C 1D 00 01 00 F0 03 F0 FF 00 00
Handle 0xFFFD, DMI type 127, 4 bytes
End Of Table
lsusb:
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04f2:b3c8 Chicony Electronics Co., Ltd
Bus 001 Device 003: ID 138a:003f Validity Sensors, Inc. VFS495 Fingerprint Reader
Bus 001 Device 014: ID 1c4f:0065 SiGma Micro
Bus 001 Device 013: ID 0cf3:311f Atheros Communications, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lspci:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d4)
00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d4)
00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d4)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M]
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
04:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
-
با توجه به این خط از خروجی :
usb 1-12: device descriptor read/64, error -110
من بعید می دونم مشکل از گرافیک باشه به احتمال زیاد مشکل از توان انتقالی به پورت ها هستش.
اول باتری لپ تاپتون رو خارج کنین و سیم شارژر رو هم خارج کنین (هیچ ورودی برقی به سیستم وصل نباشه).
بعدش تمام اتصالات usb رو قطع کنین
10 دقیقه صبر کنین تا به همین وضعیت باقی بمونه (بدون باتری و یا اتصال شارژر)
بعد از 10 دقیقه باتری رو دوباره وصل کنین و سیستم رو روشن کنین ببینین باز هم این مشکل وجود داره یا نه اگه وجود داشت خروجی این دستور رو هم بذارین :
sudo lsusb -v
cat /sys/module/usbcore/parameters/autosuspend
-
با توجه به این خط از خروجی :
usb 1-12: device descriptor read/64, error -110
من بعید می دونم مشکل از گرافیک باشه به احتمال زیاد مشکل از توان انتقالی به پورت ها هستش.
اول باتری لپ تاپتون رو خارج کنین و سیم شارژر رو هم خارج کنین (هیچ ورودی برقی به سیستم وصل نباشه).
بعدش تمام اتصالات usb رو قطع کنین
10 دقیقه صبر کنین تا به همین وضعیت باقی بمونه (بدون باتری و یا اتصال شارژر)
بعد از 10 دقیقه باتری رو دوباره وصل کنین و سیستم رو روشن کنین ببینین باز هم این مشکل وجود داره یا نه اگه وجود داشت خروجی این دستور رو هم بذارین :
sudo lsusb -v
cat /sys/module/usbcore/parameters/autosuspend
ممنون از پاسخگویی
باتری روی مادر بورد رو هم دربیارم؟
آها راستی باتری لپتاپم هم مشکل داره. دستور hardinfo باتری رو شناسایی نمیکنه. قبلا که ویندوز داشتم موقع بوت شدن پیغام میداد که باتریت خرابه عوضش کن. اما دقیقا یادم نیست متن پیغام چی بوده
-
باتری لپ تاپتون جدا نمی شه ؟
چون من مدل لپ تاپتون رو سرچ زدم ، باتری خارجی آوردش فکر کردم باتری جدا می شه.
ممکنه این مشکل ناشی از همین ایراد باتری باشه که باعث می شه توان به درستی به پورت ها نرسه.
اگه باتری جدا نمی شه لپ تاپتون رو ببرین تعمیرگاه تا به باتریش یه نگاه بندازن اگه مشکل باتری حل بشه ممکنه مشکل device descriptor هم حل بشه.
در ضمن به عنوان راه دیگه، سیستم رو با این پارامتر کرنل بالا بیارین و چک کنین ببینین مشکل حل شده یا نه :
usbcore.autosuspend_delay_ms=-1
اگه حل نشده بود این خروجی ها رو بذارین :
cat /proc/cmdline
sudo lsusb -v
cat /sys/module/usbcore/parameters/autosuspend
-
باتری لپ تاپتون جدا نمی شه ؟
چون من مدل لپ تاپتون رو سرچ زدم ، باتری خارجی آوردش فکر کردم باتری جدا می شه.
ممکنه این مشکل ناشی از همین ایراد باتری باشه که باعث می شه توان به درستی به پورت ها نرسه.
اگه باتری جدا نمی شه لپ تاپتون رو ببرین تعمیرگاه تا به باتریش یه نگاه بندازن اگه مشکل باتری حل بشه ممکنه مشکل device descriptor هم حل بشه.
در ضمن به عنوان راه دیگه، سیستم رو با این پارامتر کرنل بالا بیارین و چک کنین ببینین مشکل حل شده یا نه :
usbcore.autosuspend_delay_ms=-1
اگه حل نشده بود این خروجی ها رو بذارین :
cat /proc/cmdline
sudo lsusb -v
cat /sys/module/usbcore/parameters/autosuspend
aria@HP:~$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.9.0-8-amd64 root=UUID=4904d03c-826b-4c4e-83f9-03881ddebc43 ro quiet
aria@HP:~$ cat /sys/module/usbcore/parameters/autosuspend
سلام پوزش میخوام بابت تاخیر در مورد باتری درست فکر کردین باتری جدا میشه و کارایی که گفتین رو انجام دادم ولی تغییری نکرد.
یعنی usbcore.autosuspend_delay_ms=-1
رو به گراب اضافه کنم؟
خروجی دستوراتی که گفتین اینها هستن:
https://paste.ubuntu.ir/biho
aria@HP:~$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.9.0-8-amd64 root=UUID=4904d03c-826b-4c4e-83f9-03881ddebc43 ro quiet
aria@HP:~$ cat /sys/module/usbcore/parameters/autosuspend
2
-
پارامتر کرنل رو درست اضافه نکردین ، اگه درست اضافه کرده باشین تو محتوی /proc/cmdline باید به عنوان پارامتر بوت نیشون داده بشه.
اینجا (https://forum.ubuntu-ir.org/index.php/topic,148391.msg1158317.html#msg1158317) نحوه ی درست ست کردن پارامتر کرنل رو خدمتتون کامل توضیح دادم فقط الان چون پارامتر فرق داره اون خط GRUB_CMDLINE_LINUX_DEFAULT باید به صورت زیر باشه :
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend_delay_ms=-1"
و بعدش هم آپدیت کانفیگ گراب فراموش نشه :
sudo update-grub
حالا بعد ست کردن درست پارامتر کرنل این خروجی ها رو بذارین و در ضمن چک کنین ببینین مشکل حل شده یا نه ؟:
cat /proc/cmdline
sudo lsusb -v
cat /sys/module/usbcore/parameters/autosuspend
-
پارامتر کرنل رو درست اضافه نکردین ، اگه درست اضافه کرده باشین تو محتوی /proc/cmdline باید به عنوان پارامتر بوت نیشون داده بشه.
مرسی از شما
گراب رو به صورت زیر تغییر دادم:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend_delay_ms=-1"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
بعد آپدیتش کردم اما خروجی cat /proc/cmdline به صورت زیر هست:
BOOT_IMAGE=/vmlinuz-4.9.0-8-amd64 root=UUID=4904d03c-826b-4c4e-83f9-03881ddebc43 ro quiet
جایی رو اشتباه کردم؟
-
خواهش می کنم
فایل گراب که به درستی ویرایش شده (تغییرات رو ذخیره هم کردین ؟) ، خروجی این دستورات رو بدین تا ببینیم مشکل از کجا می تونه باشه :
sudo update-grub
cat /boot/grub/grub.cfg
-
خواهش می کنم
فایل گراب که به درستی ویرایش شده (تغییرات رو ذخیره هم کردین ؟) ، خروجی این دستورات رو بدین تا ببینیم مشکل از کجا می تونه باشه :
sudo update-grub
cat /boot/grub/grub.cfg
بله ذخیره کردم
sudo update-grub
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.9.0-8-amd64
Found initrd image: /boot/initrd.img-4.9.0-8-amd64
Found linux image: /boot/vmlinuz-4.9.0-7-amd64
Found initrd image: /boot/initrd.img-4.9.0-7-amd64
done
cat /boot/grub/grub.conf
cat: /boot/grub/grub.conf: No such file or directory
-
دستور دوم رو اشتباه وارد کردین پسوند اون فایل .cfg هستش شما .conf زدین.
-
دستور دوم رو اشتباه وارد کردین پسوند اون فایل .cfg هستش شما .conf زدین.
پوزش
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 4904d03c-826b-4c4e-83f9-03881ddebc43
else
search --no-floppy --fs-uuid --set=root 4904d03c-826b-4c4e-83f9-03881ddebc43
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 4904d03c-826b-4c4e-83f9-03881ddebc43
else
search --no-floppy --fs-uuid --set=root 4904d03c-826b-4c4e-83f9-03881ddebc43
fi
insmod png
if background_image /usr/share/desktop-base/softwaves-theme/grub/grub-4x3.png; then
set color_normal=white/black
set color_highlight=black/white
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4904d03c-826b-4c4e-83f9-03881ddebc43' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 753dad10-cdd8-4ae5-a52c-3197f958c9da
else
search --no-floppy --fs-uuid --set=root 753dad10-cdd8-4ae5-a52c-3197f958c9da
fi
echo 'Loading Linux 4.9.0-8-amd64 ...'
linux /vmlinuz-4.9.0-8-amd64 root=UUID=4904d03c-826b-4c4e-83f9-03881ddebc43 ro quiet splash usbcore.autosuspend_delay_ms=-1
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.9.0-8-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-4904d03c-826b-4c4e-83f9-03881ddebc43' {
menuentry 'Debian GNU/Linux, with Linux 4.9.0-8-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-8-amd64-advanced-4904d03c-826b-4c4e-83f9-03881ddebc43' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 753dad10-cdd8-4ae5-a52c-3197f958c9da
else
search --no-floppy --fs-uuid --set=root 753dad10-cdd8-4ae5-a52c-3197f958c9da
fi
echo 'Loading Linux 4.9.0-8-amd64 ...'
linux /vmlinuz-4.9.0-8-amd64 root=UUID=4904d03c-826b-4c4e-83f9-03881ddebc43 ro quiet splash usbcore.autosuspend_delay_ms=-1
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.9.0-8-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.9.0-8-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-8-amd64-recovery-4904d03c-826b-4c4e-83f9-03881ddebc43' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 753dad10-cdd8-4ae5-a52c-3197f958c9da
else
search --no-floppy --fs-uuid --set=root 753dad10-cdd8-4ae5-a52c-3197f958c9da
fi
echo 'Loading Linux 4.9.0-8-amd64 ...'
linux /vmlinuz-4.9.0-8-amd64 root=UUID=4904d03c-826b-4c4e-83f9-03881ddebc43 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.9.0-8-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.9.0-7-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-7-amd64-advanced-4904d03c-826b-4c4e-83f9-03881ddebc43' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 753dad10-cdd8-4ae5-a52c-3197f958c9da
else
search --no-floppy --fs-uuid --set=root 753dad10-cdd8-4ae5-a52c-3197f958c9da
fi
echo 'Loading Linux 4.9.0-7-amd64 ...'
linux /vmlinuz-4.9.0-7-amd64 root=UUID=4904d03c-826b-4c4e-83f9-03881ddebc43 ro quiet splash usbcore.autosuspend_delay_ms=-1
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.9.0-7-amd64
}
menuentry 'Debian GNU/Linux, with Linux 4.9.0-7-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.0-7-amd64-recovery-4904d03c-826b-4c4e-83f9-03881ddebc43' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 753dad10-cdd8-4ae5-a52c-3197f958c9da
else
search --no-floppy --fs-uuid --set=root 753dad10-cdd8-4ae5-a52c-3197f958c9da
fi
echo 'Loading Linux 4.9.0-7-amd64 ...'
linux /vmlinuz-4.9.0-7-amd64 root=UUID=4904d03c-826b-4c4e-83f9-03881ddebc43 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-4.9.0-7-amd64
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
-
پارامترها به درستی ست شدن ولی برای بوت گرفتن با این پارامترها لازمه که شما یه دور سیستم رو ری استارت کنین.
بعد ری استارت چک کنین ببینین مشکل همچنان وجود داره یا نه و اگه بعد ری استارت همچنان وجود داشت خروجی این دستورات رو بذارین:
sudo dmesg
cat /proc/cmdline
sudo lsusb -v
cat /sys/module/usbcore/parameters/autosuspend
-
پارامترها به درستی ست شدن ولی برای بوت گرفتن با این پارامترها لازمه که شما یه دور سیستم رو ری استارت کنین.
بعد ری استارت چک کنین ببینین مشکل همچنان وجود داره یا نه و اگه بعد ری استارت همچنان وجود داشت خروجی این دستورات رو بذارین:
sudo dmesg
cat /proc/cmdline
sudo lsusb -v
cat /sys/module/usbcore/parameters/autosuspend
https://paste.ubuntu.ir/kgsl
BOOT_IMAGE=/vmlinuz-4.9.0-8-amd64 root=UUID=4904d03c-826b-4c4e-83f9-03881ddebc43 ro quiet splash usbcore.autosuspend_delay_ms=-1
https://paste.ubuntu.ir/zddg
2
مشکل همچنان پابرجاست
-
این یکی پارامترهای بوت رو هم تست کنین :
usbcore.autosuspend=-1 usbcore.old_scheme_first=y
در واقع خط کامند گراب به این صورت می شه :
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1 usbcore.old_scheme_first=y"
حالا کانفیگ گراب رو آپدیت کنین و بعد ری استارت چک کنین مشکل پابرجاست یا نه ، اگه همچنان وجود داشت خروجی این دستورات رو بدین :
cat /sys/module/usbcore/parameters/autosuspend /sys/module/usbcore/parameters/old_scheme_first
sudo lsusb -v
cat /proc/cmdline