Portál AbcLinuxu, 9. listopadu 2025 12:28
Bus 001 Device 004: ID 058f:6391 Alcor Micro Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x058f Alcor Micro Corp.
idProduct 0x6391
bcdDevice 1.00
iManufacturer 1 Generic
iProduct 2 USB TO IDE Bridge
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
/dev/sda: setting standby to 60 (5 minutes) SG_IO: bad/missing sense data, sb[]: f0 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00a nic se nestane. Neví někdo, co s tím?
hdparm - get/set hard disk parameters - version v9.43, by Mark Lord. Usage: hdparm [options] [device ...] Options: -C Check drive power mode status -M Get/set acoustic management (0-254, 128: quiet, 254: fast) -S Set standby (spindown) timeout -y Put drive in standby mode -Y Put drive to sleep ...Po rebootu/připojení disku je potřeba to nastavit znovu, takže si udělej pravidlo pro udev.
Mám starý box na PATA HDD a přes ten SMART projde, a nový box co jsem koupil taky pro starý PATA disk co jsem vytáhl z PC přes ten SMART neprojde - nepodporovaný řadič
Samozřejmě oba řadiče fungují (zápis-čtení z HDD).
smartctl -a -d sat
Prepínačom "-d TYPE" sa dá zvoliť typ radiča. Možné hodnoty sú v man smartctl.
sdparm $DISK -C sync
sdparm $DISK -C stop
problem bol na zaciatku v tom, ze ihned po uspani sa vygeneroval event, ktory ich znova roztocil... (ergo cvakol a tocil dalej),
bolo treba custom udev rule, ktory tento jav potlacal, pre inspiraciu (moj pracoval podla vendor)
/etc/udev/rules.d/60-persistent-storage.rules:KERNEL!="sr*", ATTRS{vendor}!="ST350083", IMPORT{program}="/sbin/blkid -o udev -p $tempnode"
Vela zdaru,
Loso
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.