Portál AbcLinuxu, 12. května 2025 10:10
~ # lsmod|grep hci ehci_hcd 28136 0 uhci_hcd 21164 0 hci_usb 16028 0 bluetooth 45956 1 hci_usb ahci 17636 0 ohci1394 30800 0 ieee1394 86904 3 sbp2,eth1394,ohci1394 libata 89396 2 ahci,ata_piix scsi_mod 124168 5 usb_storage,sbp2,sd_mod,ahci,libata usbcore 112644 6 ehci_hcd,uhci_hcd,usb_storage,hci_usb,usbhidPo pripojení mi dmesg napíše
usb 1-2: new full speed USB device using uhci_hcd and address 2 usb 1-2: device descriptor read/64, error -110 usb 1-2: device descriptor read/64, error -110 usb 1-2: new full speed USB device using uhci_hcd and address 3 usb 1-2: device descriptor read/64, error -110 usb 1-2: device descriptor read/64, error -110 usb 1-2: new full speed USB device using uhci_hcd and address 4 usb 1-2: device descriptor read/8, error -110 usb 1-2: device descriptor read/8, error -110 usb 1-2: new full speed USB device using uhci_hcd and address 5 usb 1-2: device descriptor read/8, error -110 usb 1-2: device descriptor read/8, error -110Device sa samozrejme nevytvorí a foťák je tuhý, po odpojení kábla sa vôbec neprepne na display a pomôžu len vybraté baterky. Po troche laborovania som však prišiel na to ako ho pripojiť. Najprv som musel unloadnúť modul uhci_hcd (
rmmod uhci_hcd
), potom som pripojil foťák do usb portu a znova natiahol modul uhci_hcd (modprobe uhci_hcd)
Potom sa mi objavilo v dmesg toto:
.... usb 1-2: new full speed USB device using uhci_hcd and address 2 usb 1-2: configuration #1 chosen from 1 choice scsi4 : SCSI emulation for USB Mass Storage devices usb 3-1: new full speed USB device using uhci_hcd and address 2 usb 3-1: configuration #1 chosen from 1 choice Vendor: OLYMPUS Model: C745UZ Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sdb: 1023120 512-byte hdwr sectors (524 MB) sdb: Write Protect is off SCSI device sdb: 1023120 512-byte hdwr sectors (524 MB) sdb: Write Protect is off sdb: sdb1 sd 4:0:0:0: Attached scsi removable disk sdbVýpis čo sa dialo pred .... A foťák môžem mountnúť a používať. USB kľúč, ako aj mp3 player fungujú úplne bez problémov. Nechápem, prečo mi to nefunguje po pripojení ale takýtmo obštrukčným spôsobom. Pritom v minulosti mi to fungovalo bez problémov, matne si spomínam na Gentoo s jadrom 2.6.16. Dík za každý námet, ako by som mohol spojazdniť foťák bez obštrukcií s loadovaním a unloadovaním modulov.
Initializing USB Mass Storage driver... scsi2 : SCSI emulation for USB Mass Storage devices usbcore: registered new driver usb-storage USB Mass Storage support registered. usb-storage: device found at 6 usb-storage: waiting for device to settle before scanning Vendor: OLYMPUS Model: C745UZ Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sdb: 256000 512-byte hdwr sectors (131 MB) sdb: Write Protect is off sdb: Mode Sense: 18 00 00 08 sdb: assuming drive cache: write through SCSI device sdb: 256000 512-byte hdwr sectors (131 MB) sdb: Write Protect is off sdb: Mode Sense: 18 00 00 08 sdb: assuming drive cache: write through sdb: sdb1 sd 2:0:0:0: Attached scsi removable disk sdb
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.