ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] хорошие и плохие флэши
Date: Thu, 2 Oct 2003 19:14:44 +0400
Message-ID: <20031002151444.GB27820@master.mivlgu.local> (raw)
In-Reply-To: <200310021800.14081.dikov@imbg.org.ua>

[-- Attachment #1: Type: text/plain, Size: 2406 bytes --]

On Thu, Oct 02, 2003 at 06:00:14PM +0300, Dmitry Kovalsky wrote:
> <skip>
> > Пожалуйста, покажите содержимое /proc/bus/usb/devices при
> > подключенном устройстве, а также вывод dmesg после загрузки
> > usb-storage.
> 
> [root@violet etc]# cat /proc/bus/usb/devices
> T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
> B:  Alloc=  0/800 us ( 0%), #Int=  1, #Iso=  0
> D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 2.04
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
> T:  Bus=03 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  8 Spd=480 MxCh= 1
> D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
> P:  Vendor=3538 ProdID=0021 Rev= 0.01
> S:  Manufacturer=Generic
> S:  Product=USB Embedded Hub
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms
> T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00 ну и т.д.

Я же просил не "и т.д.", а данные для идентификации устройства.
Просто в большинстве случаев этот файл режут неправильно (по
звёздам), поэтому и просил весь. Начало записи в этом файле -
строка, начинающаяся с "T:"; требуется вся запись для флэшки.

> dmesg по моменту подключения флэшки пишет 
> hub.c: new USB device 00:02.2-4, assigned address 12
> hub.c: USB hub found
> hub.c: 1 port detected
> 
> а после того как завелся usb-storage (когда я запускаю usbview)
> hub.c: new USB device 00:02.2-4.1, assigned address 13
> scanner.c: probe_scanner: User specified USB scanner -- Vendor:Product - 
> 55f:219
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 13
> 
> я чегото не пойму 
> если флэшки все одинаковые то почемы они по разному детектятся
> 
> Все IDE  винты используют же один драйвер!!!

С USB хуже. Сейчас в драйвере usb-storage поддерживается 7
протоколов и 11 способов передачи команд в устройство. Кроме того,
там есть таблица, в которой перечислены устройства, имеющие какие-то
особенности, не дающие работать с ними стандартным образом - в
настоящий момент в этой таблице 87 записей.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-10-02 15:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-02 13:50 Dmitry Kovalsky
2003-10-02 14:20 ` Sergey Vlasov
2003-10-02 15:00   ` Dmitry Kovalsky
2003-10-02 15:14     ` Sergey Vlasov [this message]
2003-10-02 15:43       ` Dmitry Kovalsky
2003-10-02 18:54         ` Mikhail Arkhipov
2003-10-18  5:02 ` [Comm] " Oleg N. Kayunov
2003-10-18  7:19   ` Alexander Kubatkin
2003-10-18  9:42     ` [Comm] " Sergey S. Skulachenko
2003-10-19 19:53     ` [Comm] " Oleg N. Kayunov
2003-10-20  4:58       ` Alexander Kubatkin
2003-10-21  4:58         ` Oleg N. Kayunov
2003-10-21  5:00         ` Oleg N. Kayunov
2003-10-21  7:03           ` Alexander Kubatkin
2003-10-22  2:48         ` Oleg N. Kayunov
2003-10-22  5:29           ` Alexander Kubatkin
2003-10-22  7:56             ` Oleg N. Kayunov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031002151444.GB27820@master.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git