Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: USB stick schrijft gegevens langzaam over  (gelezen 4547 keer)

Guus

  • Gast
USB stick schrijft gegevens langzaam over
« Gepost op: 2007/07/06, 14:12:35 »
Hey allememaal,

Ik heb gemerkt dat de USB schrijfsnelheden van Ubuntu/Kubuntu tegenvallen. Ik moet bijvoorbeeld meer dan een half uur wachten om een iso van 600 MB naar mijn USB stick te schrijven. In Windows duurt dit doorgaans 2-4 minuten.

De usb stick zelf is 1 GB

Hoe kan ik de schrijfsnelheid verbeteren?

guus@guus-laptop:~$ lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 1005:b113 Apacer Technology, Inc. Handy Steno 2.0 (256MB)
Bus 001 Device 002: ID 0461:4d01 Primax Electronics, Ltd Comfort Keyboard
Bus 001 Device 001: ID 0000:0000
Alvast bedankt,
~Guus

USB stick schrijft gegevens langzaam over
« Reactie #1 Gepost op: 2007/07/06, 19:54:18 »
Wat mij opvalt dat als ik kopieer dat het langzamer gaat dan als ik knip/plak doe.
Misschien is dit ook met een USB zo....?

Verder zou ik het niet weten?!

Offline Pjotr

  • Lid
    • Makkelijke Linuxtips
USB stick schrijft gegevens langzaam over
« Reactie #2 Gepost op: 2007/07/06, 19:56:55 »
Vreemd, die lage snelheid.... het lijkt erop, alsof je USB poorten op 1.1 snelheid draaien en niet op 2.0. Of dat je USB-staaf door Linux wordt "herkend" als een USB 1.1 apparaat in plaats van als een USB 2.0 apparaat.

Ik weet alleen niet, hoe je dat kunt controleren. Iemand anders?

USB stick schrijft gegevens langzaam over
« Reactie #3 Gepost op: 2007/07/06, 20:09:41 »
Met het programma USB Viewer kan je alle gegevens zien van je USB apparaten.
Het zit in Synaptic.

Met vriendelijke groet,

Gijs
In der Beschränkung zeigt sich der Meister.


USB stick schrijft gegevens langzaam over
« Reactie #5 Gepost op: 2007/07/07, 14:28:39 »
Mijn speed staat op 480Mb/s van de USB stick en is rechtstreeks op de PC controller aangesloten een EHCI USB controller met een snelheid van 480Mb/s, allebei USB 2.0.
Wellicht heb je een andere USB controller nodig(een USB 2.0).(kosten ongeveer 15 euro)


Met vriendelijke groet,

Gijs
In der Beschränkung zeigt sich der Meister.

USB stick schrijft gegevens langzaam over
« Reactie #6 Gepost op: 2007/07/07, 14:31:05 »
Blijkbaar ziet ubuntu usb 1.1 controllers, geen 2.0. Staat usb 2.0 aan in de bios van de computer? Helpt het als je een andere usb poort probeert?

Het helpt als je de uitvoer van de volgende commando's hier toont, bij voorkeur als de usb stick is aangesloten.  (Copy & paste ze in een terminal (Applications-->Accessories-->Terminal), steeds gevolgd door enter).


dmesg | grep ehci -i


dmesg | grep usb -i


lspci -v | grep usb -i


lsusb -v


[edit: maakt het verschil als je boot met de usb-stick aangesloten?]

Guus

  • Gast
USB stick schrijft gegevens langzaam over
« Reactie #7 Gepost op: 2007/07/07, 16:57:55 »
dmesg | grep echi -i: geen resultaten (verschijnt niks)

dmesg | grep usb -i:

guus@guus-laptop:~$ dmesg | grep usb -i
[    5.252000] usbcore: registered new interface driver usbfs
[    5.252000] usbcore: registered new interface driver hub
[    5.252000] usbcore: registered new device driver usb
[    5.252000] USB Universal Host Controller Interface driver v3.0
[    5.252000] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
[    5.252000] usb usb1: configuration #1 chosen from 1 choice
[    5.252000] hub 1-0:1.0: USB hub found
[    5.356000] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
[    5.356000] usb usb2: configuration #1 chosen from 1 choice
[    5.356000] hub 2-0:1.0: USB hub found
[    5.596000] usb 1-1: new full speed USB device using uhci_hcd and address 2
[    5.768000] usb 1-1: configuration #1 chosen from 1 choice
[    6.012000] usb 1-2: new low speed USB device using uhci_hcd and address 3
[    6.164000] usb 1-2: configuration #1 chosen from 1 choice
[    6.168000] usbcore: registered new interface driver libusual
[    6.176000] Initializing USB Mass Storage driver...
[    6.176000] scsi2 : SCSI emulation for USB Mass Storage devices
[    6.176000] usbcore: registered new interface driver usb-storage
[    6.176000] USB Mass Storage support registered.
[    6.176000] usb-storage: device found at 2
[    6.176000] usb-storage: waiting for device to settle before scanning
[    6.268000] usbcore: registered new interface driver hiddev
[    6.300000] input: USB HID v1.00 Mouse [HID 0461:4d01] on usb-0000:00:1d.0-2
[    6.300000] usbcore: registered new interface driver usbhid
[    6.300000] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
[   11.176000] usb-storage: device scan complete
[   11.180000] scsi 2:0:0:0: Direct-Access              USB FLASH DRIVE  34CD PQ: 0 ANSI: 0 CCS
lspci -v | grep usb -i:

00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #1) (rev 02) (prog-if 00 [UHCI])
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #2) (rev 02) (prog-if 00 [UHCI])
lsusb -v:

Bus 002 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed hub
  bMaxPacketSize0        64
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            2.06
  iManufacturer           3
  iProduct                2
  iSerial                 1
  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 Full speed hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
can't get hub descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)

Bus 001 Device 003: ID 0461:4d01 Primax Electronics, Ltd Comfort Keyboard
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0461 Primax Electronics, Ltd
  idProduct          0x4d01 Comfort Keyboard
  bcdDevice            4.41
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      50
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              10
cannot read device status, Operation not permitted (1)

Bus 001 Device 002: ID 1005:b113 Apacer Technology, Inc. Handy Steno 2.0 (256MB)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1005 Apacer Technology, Inc.
  idProduct          0xb113 Handy Steno 2.0 (256MB)
  bcdDevice            1.00
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              200mA
    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     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
can't get device qualifier: Operation not permitted
can't get debug descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed hub
  bMaxPacketSize0        64
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            2.06
  iManufacturer           3
  iProduct                2
  iSerial                 1
  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 Full speed hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
can't get hub descriptor: Operation not permitted
cannot read device status, Operation not permitted (1)
Verder maakt het geen verschil of je opstart met de usb stick aangesloten.

Ik weet niet hoe ik in de bios moet komen (geen toetsen aangegeven e.d, alleen het asus logo). Het is een asus laptop uit 2002

USB stick schrijft gegevens langzaam over
« Reactie #8 Gepost op: 2007/07/07, 18:34:19 »
Citaat van: Guus
Ik weet niet hoe ik in de bios moet komen (geen toetsen aangegeven e.d, alleen het asus logo). Het is een asus laptop uit 2002
Bij de meest gangbare biossen moet je tijdens het opstarten op de delete, F1 of F2 toets drukken.

N.B. Ubuntu identificeert de USb controllers als Intel 82801CA/CAM. Dit zijn normaal gesproken 1.1 controllers. Wat is het precieze laptop model? Misschien wordt de hardware niet goed herkent (onwaarschijnlijk maar wel mogelijk).

N.B.2. Ik zie dat ik hier exact dezelfde stick heb. Ik zal eens kijken hoe snel het hier wil werken :)

USB stick schrijft gegevens langzaam over
« Reactie #9 Gepost op: 2007/07/07, 21:51:50 »
Citaat van: thijssie
Wat mij opvalt dat als ik kopieer dat het langzamer gaat dan als ik knip/plak doe.
Alleen bij knippen/plakken op een en dezelfde schijf, omdat er dan geen data hoeft te worden verplaatst (alleen de 'inhoudsopgave' van de schijf wordt aangepast).

Anyway, schrijven van een 700MB iso naar apacer stick:

~ 2.5 min. (USB 2.0, EHCI)
~ 12 min.  (USB 1.1, OHCI)

Dan lijkt een schrijftijd van > 30 minuten ook voor USB 1.1 erg lang. (Misschien is UHCI niet erg efficient?!)

Is het gelukt in de bios te komen? Zo ja, dan niet willekeurig veranderingen gaan aanbrengen in de usb instellingen! Alleen usb 2.0 inschakelen, is er niet zo'n optie, dan niets veranderen.

Guus

  • Gast
USB stick schrijft gegevens langzaam over
« Reactie #10 Gepost op: 2007/07/07, 22:16:50 »
Het is me gelukt om in de BIOS te komen.  Het is een Award BIOS
Er stond niks in van USB.

Type is een Asus L3800 lapop

Wat betreft de snelheid, die heift de neiging om constant te veranderen (bv 3.2 MB -> 1.2 MB  -> 700 KB -> 300 KB -> 66 KB -> 120 KB -> 113  KB enz)