nixp.ru v3.0

29 марта 2024,
пятница,
12:28:03 MSK

vkle написал 17 ноября 2005 года в 02:46 (705 просмотров) Ведет себя как мужчина; открыл 6 тем в форуме, оставил 28 комментариев на сайте.

Проблема вот в чем, втыкаю флешку или плеер в USB он определяется все пучком, но скорость записи несравнимо низкая 500-700Кб/с В чем дело? Ведь те же устройства прекрасно и быстро работают в Windows. Спасибо/

metal

Какое ядро?

vkle

2.6.13

SuSe Linux 10

Dr. Evil

lsmod — в студию!

что за плеер?

vkle

lsmod————>

ppp_deflate 6016 0

zlib_deflate 23960 1 ppp_deflate

bsd_comp 6144 0

ppp_async 10880 1

crc_ccitt 2176 1 ppp_async

ppp_generic 28052 7 ppp_deflate,bsd_comp,ppp_async

slhc 7296 1 ppp_generic

fglrx 251304 7

ipt_pkttype 1664 1

ipt_LOG 6912 11

ipt_limit 2304 11

cpufreq_ondemand 6044 1

cpufreq_userspace 4444 0

cpufreq_powersave 1792 0

acpi_cpufreq 6792 1

slusb 16736 0

speedstep_lib 4228 0

slamr 403016 2

freq_table 4612 1 acpi_cpufreq

snd_pcm_oss 59168 1

snd_mixer_oss 18944 3 snd_pcm_oss

snd_seq 51984 0

snd_seq_device 8588 1 snd_seq

button 7056 0

battery 10244 0

ac 5252 0

edd 9824 0

ip6t_REJECT 5504 3

ipt_REJECT 5632 3

ipt_state 1920 12

iptable_mangle 2688 0

iptable_nat 22228 0

iptable_filter 2816 1

ip6table_mangle 2304 0

ip_conntrack 42168 2 ipt_state,iptable_nat

ip_tables 19456 8 ipt_pkttype,ipt_LOG,ipt_limit,ipt_REJECT,ipt_state,iptable_mangle,iptable_nat,iptable_filter

joydev 9408 0

ip6table_filter 2688 1

ip6_tables 18176 3 ip6t_REJECT,ip6table_mangle,ip6table_filter

ipv6 242752 9 ip6t_REJECT

pcmcia 37176 0

ipw2200 171656 0

ieee80211 51140 1 ipw2200

yenta_socket 23820 2

rsrc_nonstatic 12800 1 yenta_socket

pcmcia_core 39952 3 pcmcia,yenta_socket,rsrc_nonstatic

ieee80211_crypt 5508 1 ieee80211

ohci1394 32820 0

ieee1394 97208 1 ohci1394

firmware_class 9856 2 pcmcia,ipw2200

e100 35456 0

mii 5504 1 e100

snd_intel8×0 33408 4

generic 4484 0 [permanent]

intel_agp 22044 1

agpgart 33096 2 fglrx,intel_agp

snd_ac97_codec 90876 1 snd_intel8×0

pci_hotplug 26164 0

ehci_hcd 32136 0

snd_ac97_bus 2432 1 snd_ac97_codec

uhci_hcd 32016 0

snd_pcm 93064 3 snd_pcm_oss,snd_intel8×0,snd_ac97_codec

snd_timer 24452 2 snd_seq,snd_pcm

snd 60420 10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_intel8×0,snd_ac97_codec,snd_pcm,snd_timer

soundcore 9184 4 snd

snd_page_alloc 10632 2 snd_intel8×0,snd_pcm

usbcore 112640 4 slusb,ehci_hcd,uhci_hcd

parport_pc 38980 0

lp 11460 0

parport 33864 2 parport_pc,lp

xfs 554776 1

exportfs 5632 1 xfs

ext3 130440 1

jbd 59940 1 ext3

dm_mod 54972 4

reiserfs 250480 3

fan 4996 0

ide_cd 39684 0

cdrom 36896 1 ide_cd

thermal 14472 0

processor 24252 2 acpi_cpufreq,thermal

piix 9988 0 [permanent]

ide_disk 17152 5

ide_core 122380 4 generic,ide_cd,piix,ide_disk

—————————————————————-

Плеер MPYO FY-200, но это происходит не только с плеером, но и с другими устройствами (флеш, mobile rack).

Почему-то устройство прикрепляется к драйверам uhci_hcd, хотя по идее должно к ehci_hcd (возможно я не прав)

Genie
Плеер MPYO FY-200, но это происходит не только с плеером, но и с другими устройствами (флеш, mobile rack).

Почему-то устройство прикрепляется к драйверам uhci_hcd, хотя по идее должно к ehci_hcd (возможно я не прав)

откуда уверенность, что именно этот модуль работает?

вывод lsusb -v для воткнутого устройства в студию.

кроме того, как монтируется устройство?

полную команду монтирования (либо строчку из /etc/fstab).

vkle

Bus 003 Device 001: ID 0000:0000

Device Descriptor:

bLength 18

bDescriptorType 1

bcdUSB 2.00

bDeviceClass 9 Hub

bDeviceSubClass 0 Unused

bDeviceProtocol 1 Single TT

bMaxPacketSize0 8

idVendor 0×0000

idProduct 0×0000

bcdDevice 2.06

iManufacturer 3 Linux 2.6.13-15-default ehci_hcd

iProduct 2 EHCI Host Controller

iSerial 1 0000:00:1d.7

bNumConfigurations 1

Configuration Descriptor:

bLength 9

bDescriptorType 2

wTotalLength 25

bNumInterfaces 1

bConfigurationValue 1

iConfiguration 0

bmAttributes 0xe0

Self Powered

Remote Wakeup

MaxPower 0mA

Interface Descriptor:

bLength 9

bDescriptorType 4

bInterfaceNumber 0

bAlternateSetting 0

bNumEndpoints 1

bInterfaceClass 9 Hub

bInterfaceSubClass 0 Unused

bInterfaceProtocol 0

iInterface 0

Endpoint Descriptor:

bLength 7

bDescriptorType 5

bEndpointAddress 0×81 EP 1 IN

bmAttributes 3

Transfer Type Interrupt

Synch Type None

Usage Type Data

wMaxPacketSize 0×0002 1x 2 bytes

bInterval 12

Hub Descriptor:

bLength 9

bDescriptorType 41

nNbrPorts 6

wHubCharacteristic 0×000a

No power switching (usb 1.0)

Per-port overcurrent protection

TT think time 8 FS bits

bPwrOn2PwrGood 10 * 2 milli seconds

bHubContrCurrent 0 milli Ampere

DeviceRemovable 0×00

PortPwrCtrlMask 0×00

Hub Port Status:

Port 1: 0000.0100 power

Port 2: 0000.0100 power

Port 3: 0001.0000 C_CONNECT

Port 4: 0000.0100 power

Port 5: 0000.0100 power

Port 6: 0000.0100 power

Bus 002 Device 018: ID 2735:1001

Device Descriptor:

bLength 18

bDescriptorType 1

bcdUSB 1.10

bDeviceClass 0 (Defined at Interface level)

bDeviceSubClass 0

bDeviceProtocol 0

bMaxPacketSize0 8

idVendor 0×2735

idProduct 0×1001

bcdDevice 1.00

iManufacturer 1 FY-200

iProduct 2 MPIO MSC

iSerial 3 1234

bNumConfigurations 1

Configuration Descriptor:

bLength 9

bDescriptorType 2

wTotalLength 32

bNumInterfaces 1

bConfigurationValue 1

iConfiguration 0

bmAttributes 0xc0

Self Powered

MaxPower 0mA

Interface Descriptor:

bLength 9

bDescriptorType 4

bInterfaceNumber 0

bAlternateSetting 0

bNumEndpoints 2

bInterfaceClass 8 Mass Storage

bInterfaceSubClass 6 SCSI

bInterfaceProtocol 80 Bulk (Zip)

iInterface 0

Endpoint Descriptor:

bLength 7

bDescriptorType 5

bEndpointAddress 0×03 EP 3 OUT

bmAttributes 2

Transfer Type Bulk

Synch Type None

Usage Type Data

wMaxPacketSize 0×0040 1x 64 bytes

bInterval 0

Endpoint Descriptor:

bLength 7

bDescriptorType 5

bEndpointAddress 0×83 EP 3 IN

bmAttributes 2

Transfer Type Bulk

Synch Type None

Usage Type Data

wMaxPacketSize 0×0040 1x 64 bytes

bInterval 0

—————————————————————————

vkle

Bus 002 Device 001: ID 0000:0000

Device Descriptor:

bLength 18

bDescriptorType 1

bcdUSB 1.10

bDeviceClass 9 Hub

bDeviceSubClass 0 Unused

bDeviceProtocol 0

bMaxPacketSize0 8

idVendor 0×0000

idProduct 0×0000

bcdDevice 2.06

iManufacturer 3 Linux 2.6.13-15-default uhci_hcd

iProduct 2 UHCI Host Controller

iSerial 1 0000:00:1d.1

bNumConfigurations 1

Configuration Descriptor:

bLength 9

bDescriptorType 2

wTotalLength 25

bNumInterfaces 1

bConfigurationValue 1

iConfiguration 0

bmAttributes 0xc0

Self Powered

MaxPower 0mA

Interface Descriptor:

bLength 9

bDescriptorType 4

bInterfaceNumber 0

bAlternateSetting 0

bNumEndpoints 1

bInterfaceClass 9 Hub

bInterfaceSubClass 0 Unused

bInterfaceProtocol 0

iInterface 0

Endpoint Descriptor:

bLength 7

bDescriptorType 5

bEndpointAddress 0×81 EP 1 IN

bmAttributes 3

Transfer Type Interrupt

Synch Type None

Usage Type Data

wMaxPacketSize 0×0002 1x 2 bytes

bInterval 255

Hub Descriptor:

bLength 9

bDescriptorType 41

nNbrPorts 2

wHubCharacteristic 0×000a

No power switching (usb 1.0)

Per-port overcurrent protection

bPwrOn2PwrGood 1 * 2 milli seconds

bHubContrCurrent 0 milli Ampere

DeviceRemovable 0×00

PortPwrCtrlMask 0×00

Hub Port Status:

Port 1: 0000.0103 power enable connect

Port 2: 0000.0100 power

Bus 001 Device 001: ID 0000:0000

Device Descriptor:

bLength 18

bDescriptorType 1

bcdUSB 1.10

bDeviceClass 9 Hub

bDeviceSubClass 0 Unused

bDeviceProtocol 0

bMaxPacketSize0 8

idVendor 0×0000

idProduct 0×0000

bcdDevice 2.06

iManufacturer 3 Linux 2.6.13-15-default uhci_hcd

iProduct 2 UHCI Host Controller

iSerial 1 0000:00:1d.0

bNumConfigurations 1

Configuration Descriptor:

bLength 9

bDescriptorType 2

wTotalLength 25

bNumInterfaces 1

bConfigurationValue 1

iConfiguration 0

bmAttributes 0xc0

Self Powered

MaxPower 0mA

Interface Descriptor:

bLength 9

bDescriptorType 4

bInterfaceNumber 0

bAlternateSetting 0

bNumEndpoints 1

bInterfaceClass 9 Hub

bInterfaceSubClass 0 Unused

bInterfaceProtocol 0

iInterface 0

Endpoint Descriptor:

bLength 7

bDescriptorType 5

bEndpointAddress 0×81 EP 1 IN

bmAttributes 3

Transfer Type Interrupt

Synch Type None

Usage Type Data

wMaxPacketSize 0×0002 1x 2 bytes

bInterval 255

Hub Descriptor:

bLength 9

bDescriptorType 41

nNbrPorts 2

wHubCharacteristic 0×000a

No power switching (usb 1.0)

Per-port overcurrent protection

bPwrOn2PwrGood 1 * 2 milli seconds

bHubContrCurrent 0 milli Ampere

DeviceRemovable 0×00

PortPwrCtrlMask 0×00

Hub Port Status:

Port 1: 0000.0100 power

Port 2: 0000.0100 power

—————————————————————————

Вот он lsusb -v. Я был прав насчет модуля?

vkle

/dev/hda1 / reiserfs acl,user_xattr 1 1

/dev/hda2 /usr reiserfs acl,user_xattr 1 2

/dev/hda6 swap swap pri=42 0 0

devpts /dev/pts devpts mode=0620,gid=5 0 0

proc /proc proc defaults 0 0

usbfs /proc/bus/usb usbfs noauto 0 0

sysfs /sys sysfs noauto 0 0

/dev/dvdrecorder /media/dvdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

/dev/system/code /code reiserfs defaults 1 2

/dev/system/distr /distr ext3 defaults 1 2

/dev/system/trash /trash xfs defaults 1 2

none /subdomain subdomainfs noauto 0 0

Dr. Evil

vkle, мать какая?

у тебя, по-видимому, только один usb 2.0 порт

vkle

У меня ноут BENQ JoyBook 5100G. Я тоже сначала подумл что один порт, но вот на USB 2.0 не работает ни на одном =(

Dr. Evil

посмотрев здесь, ты узнаешь, что у тебя три порта USB 2.0.

Пллер какой? модель? он USB 2.0

Genie


Bus 002 Device 018: ID 2735:1001  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0  
  bDeviceProtocol         0  
  bMaxPacketSize0         8
  idVendor           0x2735  
  idProduct          0x1001  
  bcdDevice            1.00
  iManufacturer           1 FY-200  
  iProduct                2 MPIO MSC
  iSerial                 3 1234

странно, но тут говорится, что плейер — usb 1.1 …

и в опциях монтирования указывай async и noatime.

можно попробовать загружать модуль ehci несколько ранее ohci/uhci, вполне возможно, что и будет эффект…

vkle

Я попробую изменить опции монтирования, посмотрим, что получится. Загружать модули пораньше — тоже идея, но я не знаю как это моет повлиять.

То, что плеер 1.1 я это видел, но в Windows все работает это меня и смущает.

vkle

Интересный эффект, все нормально работает но (!) umount выполняется долго. Это результат работы флага async?

Genie

да, потому как при записи на флешку происходит кеширование файлов.

поэтому перед отмонтированием делается сброс буферов на диск.

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.