PCMCIA and New External HD

Paulo J. Matos pocm at soton.ac.uk
Thu Nov 16 10:11:29 EST 2006


Hi all,

I bought recently an external Western Digital HD, and formatted it with ext3.
Noticed that I didn't have USB2 ports in my laptop and transfers were
really slow. So I bought a Sitecom USB2.0 PCcard which brings 2 USB2
ports.

My kernel is 2.6.18-gentoo-r2. I installed pcmciautils and
pcmcia-cs-cis. Enabled yenta and O2Micro initialization.
I connect my PCCard and everything just works:
lspci:
 - Native USB:
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #1) (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #3) (rev 02)

 - PCCard:
02:0a.0 CardBus bridge: O2 Micro, Inc. OZ6933/711E1
CardBus/SmartCardBus Controller (rev 02)
02:0a.1 CardBus bridge: O2 Micro, Inc. OZ6933/711E1
CardBus/SmartCardBus Controller (rev 02)

 - NewUSB from PCCard:
03:00.0 USB Controller: NEC Corporation USB (rev 43)
03:00.1 USB Controller: NEC Corporation USB (rev 43)
03:00.2 USB Controller: NEC Corporation USB 2.0 (rev 04)

(one wierd thing here is that it should be 2 USB2.0 and not 2 USB1 and 1 USB2)

>From dmesg:
dmesg:
Yenta: CardBus bridge found at 0000:02:0a.0 [10cf:10e6]
Yenta O2: res at 0x94/0xD4: ea/00
Yenta O2: enabling read prefetch/write burst
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000820
pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff
pcmcia: parent PCI bridge Memory window: 0xe8200000 - 0xe82fffff
pcmcia: parent PCI bridge Memory window: 0xf8000000 - 0xf80fffff
Yenta: CardBus bridge found at 0000:02:0a.1 [10cf:10e6]
Yenta: ISA IRQ mask 0x04b8, PCI irq 11
Socket status: 30000006
Yenta: Raising subordinate bus# of parent bus (#02) from #04 to #07
pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff
pcmcia: parent PCI bridge Memory window: 0xe8200000 - 0xe82fffff
pcmcia: parent PCI bridge Memory window: 0xf8000000 - 0xf80fffff

This is the card I got:
http://www.sitecom.com/product.php?productname=USB+2.0+Cardbus+Card+2+Port&productcode=CB-003&productid=24&subgroupid=19

In /sys/bus/usb/devices:
    |-- devices
    |   |-- 1-0:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb1/1-0:1.0
    |   |-- 1-1 -> ../../../devices/pci0000:00/0000:00:1d.0/usb1/1-1
    |   |-- 1-1:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0
    |   |-- 1-1:1.1 -> ../../../devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.1
    |   |-- 1-1:1.2 -> ../../../devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.2
    |   |-- 2-0:1.0 -> ../../../devices/pci0000:00/0000:00:1d.2/usb2/2-0:1.0
    |   |-- 3-0:1.0 ->
../../../devices/pci0000:00/0000:00:1e.0/0000:02:0a.0/0000:03:00.0/usb3/3-0:1.0
    |   |-- 4-0:1.0 ->
../../../devices/pci0000:00/0000:00:1e.0/0000:02:0a.0/0000:03:00.1/usb4/4-0:1.0
    |   |-- 5-0:1.0 ->
../../../devices/pci0000:00/0000:00:1e.0/0000:02:0a.0/0000:03:00.2/usb5/5-0:1.0
    |   |-- usb1 -> ../../../devices/pci0000:00/0000:00:1d.0/usb1
    |   |-- usb2 -> ../../../devices/pci0000:00/0000:00:1d.2/usb2
    |   |-- usb3 ->
../../../devices/pci0000:00/0000:00:1e.0/0000:02:0a.0/0000:03:00.0/usb3
    |   |-- usb4 ->
../../../devices/pci0000:00/0000:00:1e.0/0000:02:0a.0/0000:03:00.1/usb4
    |   `-- usb5 ->
../../../devices/pci0000:00/0000:00:1e.0/0000:02:0a.0/0000:03:00.2/usb5

So everything seems more or less ok. (for some reason mor 3 ports were
installed (2 USB1 and 1 USB2) but this card only has 2 USB2 ports.

If I connect my HD to a native port USB1.1 port:
Nov 16 13:07:28 euler hub 1-0:1.0: over-current change on port 2
Nov 16 13:07:33 euler usb 1-2: new full speed USB device using
uhci_hcd and address 3
Nov 16 13:07:33 euler usb 1-2: not running at top speed; connect to a
high speed hub
Nov 16 13:07:33 euler usb 1-2: configuration #1 chosen from 1 choice
Nov 16 13:07:33 euler usb-storage: USB Mass Storage device detected
Nov 16 13:07:33 euler usb-storage: -- associate_dev
Nov 16 13:07:33 euler usb-storage: Vendor: 0x1058, Product: 0x0701,
Revision: 0x0240
...
Nov 16 13:07:38 euler Vendor: WDC WD12  Model: 00UE-00KVT0       Rev: 0000
Nov 16 13:07:38 euler Type:   Direct-Access                      ANSI
SCSI revision: 00
...
Nov 16 13:12:48 euler usb 1-2: USB disconnect, address 3
Nov 16 13:12:48 euler usb-storage: storage_disconnect() called
Nov 16 13:12:48 euler usb-storage: usb_stor_stop_transport called
Nov 16 13:12:48 euler usb-storage: -- usb_stor_release_resources
Nov 16 13:12:48 euler usb-storage: -- sending exit command to thread
Nov 16 13:12:48 euler usb-storage: -- dissociate_dev
Nov 16 13:12:48 euler usb-storage: *** thread awakened.
Nov 16 13:12:48 euler usb-storage: -- exiting

However, if I connect it to one of my new USB2 ports the HD starts to
click. Yeah, there's a clicking sound in it and nothing happens,
nothing is shown in dmesg.

Any ideas of what can I do? Or what the problem might be?

Regards,
-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK



More information about the linux-pcmcia mailing list