Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Железо в Linux (http://forum.oszone.net/forumdisplay.php?f=29)
-   -   MultiMediaCard Reader on USB under Linux? (http://forum.oszone.net/showthread.php?t=36858)

h1ma 17-11-2002 08:17 254188

флешка SD memory Card, нашел в ядре опцию:
SanDisk SDDR-09 (and other SmartMedia) support, включил.
Теперь имеется:
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: eUSB Model: MultiMediaCard Rev:
Type: Direct-Access ANSI SCSI revision: 02
Как мне с этим работать?

ruslandh 17-11-2002 21:25 254189

Монтируй как скази-диск и работай.

h1ma 18-11-2002 07:39 254190

в том то все и дело, scsi0 отсутствует, что еще можно подмонтировать я без понятия.

ruslandh 18-11-2002 20:48 254191

h1ma
Usb имитируется SCSI - это стандартный прием

h1ma 19-11-2002 06:31 254192

хех, я вижу что это эмуляция scsi :)
я спрашиваю - какой девайс может это все держать, как его имя в /dev/, или как мне узнать это все, где смотреть? :)

ruslandh 19-11-2002 07:52 254193

Смотреть - usbvew,  dmesg
устройства - /dev/sda1 .... /dev/sdMN

h1ma 19-11-2002 10:27 254194

вобщем  перебрал /dev/sdaX,sdbX,sdcX,sddX,sdeX все: is not a valid block device.
usbview отсутствует, dmesg выдал:
uhci.c: root-hub INT complete: port1: 1a5 port2: 93 data: 4
hub.c: port 1, portstatus 303, change 0, 1.5 Mb/s
hub.c: port 2, portstatus 101, change 1, 12 Mb/s
hub.c: port 2 connection change
hub.c: port 2, portstatus 101, change 1, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 101, change 0, 12 Mb/s
hub.c: port 2, portstatus 103, change 0, 12 Mb/s
hub.c: USB new device connect on bus1/2, assigned device number 3
usb.c: kmalloc IF c308c760, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=5
usb.c: USB device number 3 default language ID 0x409
Manufacturer: SCM Microsystems Inc.
Product: eUSB MultiMediaCard Adapter
SerialNumber: 000000000000
usb-storage: act_altsettting is 0
usb-storage: id_index calculated to be: 65
usb-storage: Array length appears to be: 67
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xc6674c74 Out: 0xc6674c60 Int: 0x00000000 (Period 0)
usb-storage: New GUID 04e600060000000000000000
usb-storage: GetMaxLUN command result is 1, data is 0
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: *** thread sleeping.
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage: 12 00 00 00 ff 00 00 00 ac 43 54 c6
usb-storage: Bulk command S 0x43425355 T 0x1 Trg 0 LUN 0 L 255 F 128 CL 6
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_transfer_partial(): xfer 255 bytes
usb-storage: usb_stor_bulk_msg() returned 0 xferred 36/255
usb-storage: Bulk data transfer result 0x1
usb-storage: Attempting to get CSW...
usb-storage: clearing endpoint halt for pipe 0xc0010380
usb-storage: usb_stor_clear_halt: result=0
usb-storage: Attempting to get CSW (2nd try)...
usb-storage: Bulk status result = 0
usb-storage: Bulk status Sig 0x53425355 T 0x1 R 219 Stat 0x0
usb-storage: Fixing INQUIRY data to show SCSI rev 2
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
 Vendor:           Model:                   Rev:    
 Type:   Direct-Access                      ANSI SCSI revision: 02
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (1/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (2/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (3/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (4/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (5/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (6/0)
usb-storage: *** thread sleeping.
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Bad target number (7/0)
usb-storage: *** thread sleeping.
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
usb.c: usb-storage driver claimed interface c308c760

вот такая вот петрушка.

h1ma 22-11-2002 12:38 254195

все разобрался, забыл в ядре включить SCSI Disk support


Время: 03:45.

Время: 03:45.
© OSzone.net 2001-