Re: Multiple USB Endpoints

"Martin Owens" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
> That's a rather inflammatory statement.  Would you care to explain in
> more detail what it really means?

Sorry I didn't mean to be inflammatory, I mean that the way that some
phones change modes is not the same as the usb configurations and they
end up blocking features by reseting the device; I could put the
device into database only mode and kill the MSD access but that isn't
the right way to go about solving the problem.

> Not useful.  You can create the missing directory anywhere (it
> doesn't have to be under /proc) and populate it by doing:
>
>         mount -t usbfs none the-directory-name

OK, I'll have to type this up by hand as it's on a different machine:

T: Bus=01 Lev=01 Prnt=01 Port=00 Cn

t=01 Dev#=4 Spd=12 MxCh=0
D: Ver=1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=1
P: Vendor=0fca ProdIF=0006 Rev=1.06
D: Manufacturer=Research in Motion
S: Product=RIM Mass Storage Device
S: SerialNumner=[NOTDISCLOSED]
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=89(I) Atr=01(Bulk) MxPS=64 Ivl=0ms
E: Ad=0a(O) Atr=02(Bulk) MxPS=64 Ivl=0ms

That is in default mode 'Mass storage only' I'll have to type up the
second mode which changes the usb id:

T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=4 Spd=12 MxCh=0
D: Ver=1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=1
P: Vendor=0fca ProdIF=0006 Rev=1.06
D: Manufacturer=Research in Motion
S: Product=RIM Composite Device
S: SerialNumner=[NOTDISCLOSED]
C:* #Ifs=2 Cfg#=1 Atr=80 MxPwr=500mA
I:* If#=0 Alt=0 #EPs=8 Cls=ff(vend.) Sub=01 Prot=ff Driver=(none)
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=02(Bulk) MxPS=64 Ivl=0ms
E: Ad=04(O) Atr=2(Bulk) MxPS=64 Ivl=0ms
E: Ad=85(I) Atr=02(Bulk) MxPS=64 Ivl=0ms
E: Ad=06(O) Atr=02(Bulk) MxPS=64 Ivl=0ms
E: Ad=87(I) Atr=02(Bulk) MxPS=64 Ivl=0ms
E: Ad=08(O) Atr=02(Bulk) MxPS=64 Ivl=0ms
I:* If#=0 Alt=0 #EPs=2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=89(I) Atr=01(Bulk) MxPS=64 Ivl=0ms
E: Ad=0a(O) Atr=02(Bulk) MxPS=64 Ivl=0ms

As you can see it needs to be put in the second mode anyway, but there
is a third mode which is just the database stuff, without the mass
storage device. I believe the existing barry project is attempting to
claim all interfaces including the MSD one which is where it runs into
problems.

Regards, Martin Owens

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.