Hamish Marson wrote:
> Has anyone had a Sony DSC P51 working as a mass storage device? I've
> tried PTP (Keeps throwing invalid command errors etc) with jphoto...
> And am trying to get it working as a mass stroage device, but although
> it is detected at the USB level, the iusb-storage module does nothing
> with it. Even though the vendor & deviceid are listed in the unusual
> devices include file of the kernel.
>
> Here's the /proc/bus/usb/devices entry
>
> [root@ballbreaker hotplug]# cat /proc/bus/usb/devices
> T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
> B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
> D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0000 ProdID=0000 Rev= 0.00
> S: Product=USB UHCI Root Hub
> S: SerialNumber=1860
> 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= 8 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=054c ProdID=0010 Rev= 4.10
> S: Manufacturer=Sony
> S: Product=Sony DSC
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=ff Prot=01 Driver=(none)
> E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
> E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
> [root@ballbreaker hotplug]#
>
>
> And the output from my log when I restart hotplug
>
> Aug 21 12:46:07 ballbreaker kernel: usb-uhci.c: $Revision: 1.268 $
> time 21:24:13 Mar 27 2002
> Aug 21 12:46:07 ballbreaker kernel: usb-uhci.c: High bandwidth mode
> enabled
> Aug 21 12:46:07 ballbreaker kernel: PCI: Found IRQ 5 for device 00:07.2
> Aug 21 12:46:07 ballbreaker kernel: usb-uhci.c: USB UHCI at I/O
> 0x1860, IRQ 5
> Aug 21 12:46:07 ballbreaker kernel: usb-uhci.c: Detected 2 ports
> Aug 21 12:46:07 ballbreaker kernel: usb.c: new USB bus registered,
> assigned bus number 1
> Aug 21 12:46:07 ballbreaker kernel: hub.c: USB hub found
> Aug 21 12:46:07 ballbreaker kernel: hub.c: 2 ports detected
> Aug 21 12:46:07 ballbreaker kernel: usb-uhci.c: v1.268:USB Universal
> Host Controller Interface driver
> Aug 21 12:46:07 ballbreaker kernel: hub.c: USB new device connect on
> bus1/1, assigned device number 2
> Aug 21 12:46:07 ballbreaker kernel: usb.c: USB device 2 (vend/prod
> 0x54c/0x10) is not claimed by any active driver.
> Aug 21 12:46:10 ballbreaker /etc/hotplug/usb.agent: ... no modules for
> USB product 0/0/0
> Aug 21 12:46:11 ballbreaker /etc/hotplug/usb.agent: ... no modules for
> USB product 54c/10/410
Hi all.
Looks like I can anser my own question... The third & fourth parameters
to the unusual device appears to be a version number. I copied the entry
for the F505 etc, and made a new one for the DSC P51, using the version
that was shown on the log line above (0x0410), and way hey up she came.
Here's the entry I've added
UNUSUAL_DEV( 0x054c, 0x0010, 0x0410, 0x0410,
"Sony",
"DSC P51",
US_SC_SCSI, US_PR_CB, NULL,
US_FL_SINGLE_LUN | US_FL_START_STOP | US_FL_MODE_XLATE ),
Any chance it could be added to the kernel sources Matthew? Also, can
this be added to the FAQ for other poor folks like myself.
TIA
Hamish,
--
I don't suffer from Insanity... | Linux User #16396
I enjoy every minute of it... |
|
http://www.travellingkiwi.com/ |
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users