Re: Regarding g_mass_storage.ko module configuration.

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

 



On Fri, Jun 28, 2013 at 06:37:07PM +0200, humanshu bhatia wrote:
> Hello ,

Hi,
> 
> 
> I am using g_mass_storage for USB 3.0 testing for that I use below commands:
> 
> modprobe g_mass_storage file=/tmp/ramdisk/disk
> 
> kernel log output:
> 
> usb 1-4: New USB device found, idVendor=0525, idProduct=a4a5
> [ 8357.953299] usb 1-4: New USB device strings: Mfr=2, Product=3,
> SerialNumber=0
> [ 8357.953308] usb 1-4: Product: Mass Storage Gadget
> [ 8357.953316] usb 1-4: Manufacturer: Linux 2.6.38.6-26.rc1.fc15.x86_64
> with usb3380
> [ 8357.955923] g_mass_storage gadget: *high speed config* #1: Linux
> File-Backed Storage
> [ 8357.955962] g_mass_storage gadget: set_config: interface 0 (Mass Storage
> Function) requested delayed status
> [ 8357.955973] g_mass_storage gadget: delayed_status count 1
> [ 8357.956238] g_mass_storage gadget: usb_composite_setup_continue
> [ 8357.956260] g_mass_storage gadget: usb_composite_setup_continue:
> Completing delayed status
> [ 8357.957177] usb-storage 1-4:1.0: Quirks match for vid 0525 pid a4a5:
> 10000
> [ 8357.957260] scsi10 : usb-storage 1-4:1.0
> [ 8358.961494] scsi 10:0:0:0: Direct-Access     Linux    File-CD Gadget
> 0399 PQ: 0 ANSI: 2
> [ 8358.965791] sd 10:0:0:0: Attached scsi generic sg1 type 0
> [ 8358.966321] sd 10:0:0:0: [sdb] 3072000 512-byte logical blocks: (1.57
> GB/1.46 GiB)
> [ 8358.967106] sd 10:0:0:0: [sdb] Write Protect is off
> [ 8358.967124] sd 10:0:0:0: [sdb] Mode Sense: 0f 00 00 00
> [ 8358.969005] sd 10:0:0:0: [sdb] Write cache: enabled, read cache:
> enabled, doesn't support DPO or FUA
> [ 8359.007955]  sdb: unknown partition table
> [ 8359.010893] sd 10:0:0:0: [sdb] Attached SCSI removable disk
> 
> 
> 
> Results are not that much promising in high speed config of g_mass_storage
> , I have checked the
> f_mass_storage.c and there I found support is included for both super-speed
> and high-speed.
> 
> Please tell me how to use g_mass_storage for super speed.

The gadget goes to the highest speed it can find. g_mass_storage claims that
it can do SS. If your UDC can also do SS and the remote host as well then it
should establish a SS connection.

> 
> Thanks & Regards,
> Humanshu

Sebastian
--
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