[bglug] usare usb pen 2.0

micron micron@madlab.it
Sab 29 Maggio 2004 18:14:49 CEST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nessuno di voi è riuscito a usare una penna/hd usb 2.0 sotto linux 
sfruttandolo al 100% ?
Purtroppo caricando il modulo ehci (l'unico che gestisce le periferiche usb 
2.0) la mia penna non è riconosciuta come un usb storage device, quindi non 
la vedo. L'unica soluzione è stata quella di non usare il modulo ehci, ma 
quello ohci; in questo modo la penna funziona regolarmente, ma la uso come 
una periferica usb 1.1 e non 2.0!!

Ecco l'output del kernel nelle due situazioni:

- -) Usando il modulo ohci:

May 29 17:47:00 melindo usb 3-1: new full speed USB device using address 2
May 29 17:47:00 melindo bus usb: add device 3-1
May 29 17:47:00 melindo bound device '3-1' to driver 'usb'
May 29 17:47:00 melindo bus usb: add device 3-1:1.0
May 29 17:47:00 melindo hub 3-1:1.0: USB hub found
May 29 17:47:00 melindo hub 3-1:1.0: 1 port detected
May 29 17:47:01 melindo bound device '3-1:1.0' to driver 'hub'
May 29 17:47:01 melindo usb 3-1.1: new full speed USB device using address 3
May 29 17:47:01 melindo bus usb: add device 3-1.1
May 29 17:47:01 melindo bound device '3-1.1' to driver 'usb'
May 29 17:47:01 melindo bus usb: add device 3-1.1:1.0
May 29 17:47:01 melindo Initializing USB Mass Storage driver...
May 29 17:47:01 melindo bus usb: add driver usb-storage
May 29 17:47:01 melindo scsi0 : SCSI emulation for USB Mass Storage devices
May 29 17:47:01 melindo Vendor: Sony      Model: Storage Media     Rev: 1.00
May 29 17:47:01 melindo Type:   Direct-Access                      ANSI SCSI 
revision: 02
May 29 17:47:01 melindo bus scsi: add device 0:0:0:0
May 29 17:47:01 melindo scsi.agent[20266]: how to add device type= 
at /devices/pci0001:01/0001:01:1b.1/usb3/3-1/3-1.1/3-1.1:1.0/host0/0:0:0:0 ??
May 29 17:47:01 melindo SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
May 29 17:47:01 melindo sda: assuming Write Enabled
May 29 17:47:01 melindo sda: assuming drive cache: write through
May 29 17:47:02 melindo /dev/scsi/host0/bus0/target0/lun0: p1
May 29 17:47:02 melindo Attached scsi removable disk sda at scsi0, channel 0, 
id 0, lun 0
May 29 17:47:02 melindo bound device '0:0:0:0' to driver 'sd'
May 29 17:47:02 melindo Attached scsi generic sg0 at scsi0, channel 0, id 0, 
lun 0,  type 0
May 29 17:47:02 melindo WARNING: USB Mass Storage data integrity not assured
May 29 17:47:02 melindo USB Mass Storage device found at 3
May 29 17:47:02 melindo bound device '3-1.1:1.0' to driver 'usb-storage'
May 29 17:47:02 melindo drivers/usb/core/usb.c: registered new driver 
usb-storage
May 29 17:47:02 melindo USB Mass Storage support registered.

- -) Usando il modulo ehci (ho anche abilitato il verbose dell'usb):

May 29 17:56:11 melindo ehci_hcd 0001:01:1b.2: GetStatus port 2 status 001803 
POWER sig=j  CSC CONNECT
May 29 17:56:11 melindo hub 1-0:1.0: port 2, status 501, change 1, 480 Mb/s
May 29 17:56:11 melindo hub 1-0:1.0: debounce: port 2: delay 100ms stable 4 
status 0x501
May 29 17:56:11 melindo ehci_hcd 0001:01:1b.2: port 2 high speed
May 29 17:56:11 melindo ehci_hcd 0001:01:1b.2: GetStatus port 2 status 001005 
POWER sig=se0  PE CONNECT
May 29 17:56:11 melindo usb 1-2: new high speed USB device using address 4
May 29 17:56:11 melindo usb 1-2: new device strings: Mfr=1, Product=3, 
SerialNumber=0
May 29 17:56:11 melindo drivers/usb/core/message.c: USB device number 4 
default language ID 0x409
May 29 17:56:11 melindo usb 1-2: Product: USB Embedded Hub
May 29 17:56:11 melindo usb 1-2: Manufacturer: Sony
May 29 17:56:11 melindo drivers/usb/core/usb.c: usb_hotplug
May 29 17:56:11 melindo bus usb: add device 1-2
May 29 17:56:11 melindo bound device '1-2' to driver 'usb'
May 29 17:56:11 melindo usb 1-2: registering 1-2:1.0 (config #1, interface 0)
May 29 17:56:11 melindo drivers/usb/core/usb.c: usb_hotplug
May 29 17:56:11 melindo bus usb: add device 1-2:1.0
May 29 17:56:11 melindo hub 1-2:1.0: usb_probe_interface
May 29 17:56:11 melindo hub 1-2:1.0: usb_probe_interface - got id
May 29 17:56:11 melindo hub 1-2:1.0: USB hub found
May 29 17:56:11 melindo hub 1-2:1.0: 1 port detected
May 29 17:56:11 melindo hub 1-2:1.0: compound device; port removable status: F
May 29 17:56:11 melindo hub 1-2:1.0: individual port power switching
May 29 17:56:11 melindo hub 1-2:1.0: individual port over-current protection
May 29 17:56:11 melindo hub 1-2:1.0: Single TT
May 29 17:56:11 melindo hub 1-2:1.0: TT requires at most 8 FS bit times
May 29 17:56:11 melindo hub 1-2:1.0: Port indicators are not supported
May 29 17:56:11 melindo hub 1-2:1.0: power on to power good time: 100ms
May 29 17:56:11 melindo hub 1-2:1.0: hub controller current requirement: 100mA
May 29 17:56:11 melindo hub 1-2:1.0: local power source is lost (inactive)
May 29 17:56:11 melindo hub 1-2:1.0: no over-current condition exists
May 29 17:56:11 melindo drivers/usb/host/ehci-sched.c: scheduled qh e6de7100 
usecs 7/0 period 256.0 starting 255.0 (gap 0)
May 29 17:56:11 melindo hub 1-2:1.0: enabling power on all ports
May 29 17:56:11 melindo bound device '1-2:1.0' to driver 'hub'

Al momento sto usando un kernel 2.6.3 con alcune patch...

Ciauz
	micron
- -- 
|§ micron<- ICQ #118796665
|§ GPG Key:
|§  ~ Keyserver: pgp.mit.edu
|§  ~ KeyID: 6D632BED

~ "Progress is merely a realisation of utopias" ~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAuLb5ADGi/m1jK+0RAv3MAJ0cC15pMl8BhpbZy/qzaw9Rkm1PIQCgrkeS
l75GJG+LQpayDet+jYbBy2A=
=GklE
-----END PGP SIGNATURE-----


Maggiori informazioni sulla lista bglug