Portál AbcLinuxu, 4. května 2025 02:11
Ovladač: | v jádře |
Umí to SmartMediaTM Card, Type I/II CompactFlashTM Card, MultiMediaTM Card, IBM MicrodriveTM , Secure DigitalTM Card a Memory Stick.
Více info + fotka u výrobce: http://apacer.com/apacer_english/product_html/mega_steno11.asp
Při připojení:
kernel: hub 1-0:1.0: new USB device on port 2, assigned address 5 kernel: SCSI subsystem initialized kernel: Initializing USB Mass Storage driver... kernel: scsi0 : SCSI emulation for USB Mass Storage devices kernel: Vendor: Apacer Model: Mega Steno Rev: 1.03 kernel: Type: Direct-Access ANSI SCSI revision: 02 scsi.agent[2557]: how to add device type= at /devices/pci0000:00/0000:00:11.2/usb1/1-2/1-2:1.0/host0/0:0:0:0 ?? kernel: Vendor: Apacer Model: Mega Steno Rev: 1.03 kernel: Type: Direct-Access ANSI SCSI revision: 02 scsi.agent[2572]: how to add device type= at /devices/pci0000:00/0000:00:11.2/usb1/1-2/1-2:1.0/host0/0:0:0:1 ?? kernel: Vendor: Apacer Model: Mega Steno Rev: 1.03 kernel: Type: Direct-Access ANSI SCSI revision: 02 kernel: WARNING: USB Mass Storage data integrity not assured kernel: USB Mass Storage device found at 5 kernel: drivers/usb/core/usb.c: registered new driver usb-storage kernel: USB Mass Storage support registered. scsi.agent[2587]: disk at /devices/pci0000:00/0000:00:11.2/usb1/1-2/1-2:1.0/host0/0:0:0:2 kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 kernel: Attached scsi removable disk sdb at scsi0, channel 0, id 0, lun 1 kernel: Attached scsi removable disk sdc at scsi0, channel 0, id 0, lun 2
Mountu s 8MB CompactFlash a mountu s 512MB CompactFlash:
kernel: SCSI device sda: 15680 512-byte hdwr sectors (8 MB) kernel: sda: Write Protect is off kernel: SCSI device sda: 15680 512-byte hdwr sectors (8 MB) kernel: sda: Write Protect is off kernel: sda: sda1 kernel: SCSI device sda: 1043968 512-byte hdwr sectors (535 MB) kernel: sda: Write Protect is off kernel: SCSI device sda: 1043968 512-byte hdwr sectors (535 MB) kernel: sda: Write Protect is off kernel: sda: sda1
Výstuplsusb
:
Bus 001 Device 005: ID 0d7d:0240 Apacer I/O Magic Drive Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0d7d Apacer idProduct 0x0240 I/O Magic Drive bcdDevice 1.00 iManufacturer 1 Apacer iProduct 2 Mega Steno iSerial 3 19220DA1018B bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 MaxPower 350mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type none wMaxPacketSize 64 bInterval 255 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type none wMaxPacketSize 64 bInterval 255 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type none wMaxPacketSize 2 bInterval 1 Language IDs: (length=4) 0409 English(US)
Pokud je již rozběhané usb, tak stačí připojit, měl by se natáhnout modul usb-storage.
Kernel by měl být zkompilován s následujícími volbami:
CONFIG_USB_STORAGE CONFIG_SCSI CONFIG_SCSI_MULTI_LUN (jinak je vidět jen jeden disk místo tří) CONFIG_BLK_DEV_SD
Po výměně média je potřeba 2x pustit mount, poprvý to nikdy neprojde (platí jen pro 2.4, pod 2.6 kernely už naprosto v pohodě).
Testováno na kernelu 2.4.20 a 2.6.0-test9 a jen s několika Compact Flash Type I kartami.
Dokument vytvořil: Michal Čihař, 23.4.2003 21:39 | Zobrazeno: 828×
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.