linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* m82xxhci USB driver problems
@ 2005-10-24 16:07 Alex Zeffertt
  2005-10-24 16:15 ` Vitaly Bordug
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Zeffertt @ 2005-10-24 16:07 UTC (permalink / raw)
  To: linuxppc-embedded

Hi list,

I'm trying to get the m82xxhci USB host controller driver working on
my MPC8272ADS board, and linux-2.4.25.

I can compile and modprobe the module.  When I insert a USB pen drive
I get the following message:

	# hub.c: new USB device m8xxhci-1, assigned address 4
	Manufacturer:
	Product: USB Disk Pro
	SerialNumber: 07531E630012
	scsi0 : SCSI emulation for USB Mass Storage devices

Which looks okay.  But after a long delay I get:
	
	# usb_control/bulk_msg: timeout
                                
Then after another delay:
	
	# usb-storage: host_reset() requested but not implemented
	#


Then after another delay:

	# scsi: device set offline - command error recover failed: host 0
	channel 0 id 0 lun 0

After this final message, but not before, the pen drive device appears
in /proc/bus/usb/devices:

	# cat /proc/bus/usb/devices
	T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 1
	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
	S:  Product=USB MPC8xx Root Hub
	S:  SerialNumber=f0011b60	
	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=255ms
	T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
	D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
	P:  Vendor=0d7d ProdID=0120 Rev= 1.00
	S:  Manufacturer=
	S:  Product=USB Disk Pro
	S:  SerialNumber=07531E630012
	C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
	I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=04 Prot=00
	Driver=usb-storage E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
	E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
	E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=1ms



Does anybody have any idea what could be causing this problem?  The
HCI is clearly able to communicate with the device because it
identifies it.  But I don't know why the timeout should occur!


Alex


PS A possibly related problem: I have built sd_mod.o as a module, and
I can modprobe sd_mod okay.  However, after I have run modprobe I
still do not see an "sd" block device in /proc/devices.  I have no
idea why though....

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: m82xxhci USB driver problems
  2005-10-24 16:07 m82xxhci USB driver problems Alex Zeffertt
@ 2005-10-24 16:15 ` Vitaly Bordug
  2005-10-25  8:51   ` Alex Zeffertt
  0 siblings, 1 reply; 3+ messages in thread
From: Vitaly Bordug @ 2005-10-24 16:15 UTC (permalink / raw)
  To: Alex Zeffertt; +Cc: linuxppc-embedded

Maybe there's something with SOF generation - check if RCCR[EIE] is set.
Just a pure guess...
Alex Zeffertt wrote:
> Hi list,
> 
> I'm trying to get the m82xxhci USB host controller driver working on
> my MPC8272ADS board, and linux-2.4.25.
> 
> I can compile and modprobe the module.  When I insert a USB pen drive
> I get the following message:
> 
> 	# hub.c: new USB device m8xxhci-1, assigned address 4
> 	Manufacturer:
> 	Product: USB Disk Pro
> 	SerialNumber: 07531E630012
> 	scsi0 : SCSI emulation for USB Mass Storage devices
> 
> Which looks okay.  But after a long delay I get:
> 	
> 	# usb_control/bulk_msg: timeout
>                                 
> Then after another delay:
> 	
> 	# usb-storage: host_reset() requested but not implemented
> 	#
> 
> 
> Then after another delay:
> 
> 	# scsi: device set offline - command error recover failed: host 0
> 	channel 0 id 0 lun 0
> 
> After this final message, but not before, the pen drive device appears
> in /proc/bus/usb/devices:
> 
> 	# cat /proc/bus/usb/devices
> 	T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 1
> 	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
> 	S:  Product=USB MPC8xx Root Hub
> 	S:  SerialNumber=f0011b60	
> 	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=255ms
> 	T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> 	D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> 	P:  Vendor=0d7d ProdID=0120 Rev= 1.00
> 	S:  Manufacturer=
> 	S:  Product=USB Disk Pro
> 	S:  SerialNumber=07531E630012
> 	C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
> 	I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=04 Prot=00
> 	Driver=usb-storage E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> 	E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> 	E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=1ms
> 
> 
> 
> Does anybody have any idea what could be causing this problem?  The
> HCI is clearly able to communicate with the device because it
> identifies it.  But I don't know why the timeout should occur!
> 
> 
> Alex
> 
> 
> PS A possibly related problem: I have built sd_mod.o as a module, and
> I can modprobe sd_mod okay.  However, after I have run modprobe I
> still do not see an "sd" block device in /proc/devices.  I have no
> idea why though....
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 
> 


-- 
Sincerely,
Vitaly

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: m82xxhci USB driver problems
  2005-10-24 16:15 ` Vitaly Bordug
@ 2005-10-25  8:51   ` Alex Zeffertt
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Zeffertt @ 2005-10-25  8:51 UTC (permalink / raw)
  To: Vitaly Bordug; +Cc: linuxppc-embedded

On Mon, 24 Oct 2005 20:15:08 +0400
Vitaly Bordug <vbordug@ru.mvista.com> wrote:

> Maybe there's something with SOF generation - check if RCCR[EIE] is
> set. Just a pure guess...

No, it is set.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-25  8:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-24 16:07 m82xxhci USB driver problems Alex Zeffertt
2005-10-24 16:15 ` Vitaly Bordug
2005-10-25  8:51   ` Alex Zeffertt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).