Re: USB with SDHC card not recognized in 2.6.39 and 3.0rc4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 27 Jun 2011, Peter Rasmussen wrote:

> Following the directions in "Documentation/usb/usbmon.txt".
> 
> On 3.0rc4 I now did:
> # uname -r
> 3.0.0-rc4-smp
> # zcat /proc/config.gz|grep USB_MON
> CONFIG_USB_MON=y
> # mount -t debugfs none_debugs /sys/kernel/debug
> # ls /sys/kernel/debug/usb/usbmon
> 0s  0u  1s  1t  1u  2s  2t  2u  3s  3t  3u  4s  4t  4u  5s  5t  5u  6s  6t  6u  
> 7s  7t  7u
> 
> Then, when performing:
> # cat /proc/bus/usb/devices
> 
> I found that the following part changed when inserting the USB adapter (from 
> Transcend) that works on 2.6.38 :
> 
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=480  MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=058f ProdID=6335 Rev= 1.05
> S:  Manufacturer=Generic
> S:  Product=Mass Storage Device
> S:  SerialNumber=058F63356336
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
> I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> 
> Then doing the following while the USB adapter wasn't in:
> 
> cat /sys/kernel/debug/usb/usbmon/1u > /tmp/3.0.rc4.usb.1.mon.out
> 
> Inserting the adapter with the previously mentioned 8GB SDHC card, waiting a 
> minute or so and then removing it, I got the file that I have attached to this 
> email.
> 
> I hope this helps, or please get back to me, eg. should I also do it with 
> 2.6.38?

The usbmon trace looks perfectly okay.  No errors as far as I can see.

Let's try some additional debugging.  Run each of the following 
commands under both 2.6.38 and 3.0-rc4 (with the Transcend adapter and 
SDHC card plugged in), and post the output:

	dd if=/dev/sda count=1 | hexdump -C

	fdisk -l /dev/sda

	dd if=/dev/sda1 count=1 | hexdump -C

	file -s /dev/sda1

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux