LINUX.ORG.RU

Сообщения foodfast

 

Все виды условий цикла while в bash'е

Форум — Development

Сабж. Где глянуть? На tldp.org есть только для if.

Плохо искал. Ответ: Bash Conditional Expressions. Как было сказано в комментариях, обрабатываются эти условия встроенными командами баша '[[' и 'test' а while'у уже передается логическое значение, как я понял.

 , , ,

foodfast
()

Pocketbook 602 Pro, проблема подключения

Форум — General

Здравствуйте! Имею проблему с подключением ридера к ноутбуку, lubuntu не видит ни память ридера ни флешку, прошу направить в правильном направлении куда копать. Заранее спасибо! P.S. Раньше, вроде бы, все работало, после каких действий перестало работать, сказать не могу.

  • Pocketbook 602 Pro
  • Lubuntu 13.04

uname -a

3.8.0-29-generic #42-Ubuntu SMP Tue Aug 13 19:40:39 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

lsusb

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 147e:1002 Upek 
Bus 002 Device 003: ID 5986:02d2 Acer, Inc

lsusb после подключения

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 147e:1002 Upek 
Bus 002 Device 003: ID 5986:02d2 Acer, Inc
lspci после подключения
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 IDE interface: Intel Corporation 7 Series Chipset Family 4-port SATA Controller [IDE mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
00:1f.5 IDE interface: Intel Corporation 7 Series Chipset Family 2-port SATA Controller [IDE mode] (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 630M] (rev ff)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
03:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
0c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 07)

dmesg | tail

[25160.715831] usb 3-4: device not accepting address 14, error -62
[25160.827720] usb 3-4: new high-speed USB device number 15 using xhci_hcd
[25165.820354] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[25171.016766] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[25171.220391] usb 3-4: device not accepting address 15, error -62
[25171.332257] usb 3-4: new high-speed USB device number 16 using xhci_hcd
[25176.324937] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[25181.521233] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
[25181.724943] usb 3-4: device not accepting address 16, error -62
[25181.724992] hub 3-0:1.0: unable to enumerate USB device on port 4
И еще,

( USB 2.0 )

Давно заметил, это у меня отвалился как-то один USB 2.0-хост, как починить тоже не знаю.

foodfast
()

RSS подписка на новые темы