[linux-usb-devel] udev vol_id reads the last sector

2006-03-07 Thread Pat LaVarre
Subject: Re: [usb-storage] Re: [PATCH pd39] New unusual_devices entry ... No matter what card I plug in, I never can read the last sector. When just mounting a filesystem, you usually don't even recognize the missing last sector, but vol_id (from udev package) explicitly checks the last sector, an

Re: [usb-storage] Re: [linux-usb-devel] [PATCH 2.6.14] Support to a new USB Flash Disk

2005-10-22 Thread Pat LaVarre
I can try to test it with ... proposed patch :-D Yes please. Do you have a reference where I can get more information about it? http://en.wikipedia.org/wiki/Binary-coded_decimal might be what you want. P: Vendor=10d6 ProdID=1100 Rev= 1.00 In plain hex, these three numbers are x 10D6 110

Re: [usb-storage] Re: [linux-usb-devel] [PATCH 2.6.14] Support to a new USB Flash Disk

2005-10-03 Thread Pat LaVarre
I include the entry to one usb flash disk that had problem here. I think is really good to include it on 2.6.14 since its very trivial and worked fine here. I'm not a big fan of doing the entire - range unless you have some idea that lots of devices in the range are affected. I

Re: [usb-storage] Re: [linux-usb-devel] [PATCH 2.6.14] Support to a new USB Flash Disk

2005-10-02 Thread Pat LaVarre
I include the entry to one usb flash disk that had problem here. I think is really good to include it on 2.6.14 since its very trivial and worked fine here. I'm not a big fan of doing the entire - range unless you have some idea that lots of devices in the range are affected. I didn't

[linux-usb-devel] Re: [usb-storage] Creating two disks from a usb-storage subdriver

2005-09-08 Thread Pat LaVarre
I also tried adding the US_FL_SCM_MULT_TARG flag to my device in unusual_devs.h. That resulted in 8 scsi disks appearing, no matter what the setting of max_lun is. Each disk was on lun 0 and had device numbers from 0-7. Fun, but unsurprising. Apparently that flag adds a three-bit address

Re: [linux-usb-devel] file_storage.c stalling the out bulk endpoint ,but not clearing the stall

2004-07-17 Thread Pat LaVarre
ACKed even before the storage request has been interpreted. Could/ should the device fill the OUT queue itself so that the hardware will NAK OUT til the firmware decides to ACK or STALL? Curiously yours, Pat LaVarre --- This SF.Net email is sp

Re: [linux-usb-devel] file_storage.c stalling the out bulkendpoint ,but not clearing the stall

2004-07-16 Thread Pat LaVarre
> language saying something like this: > > If the device is unable to guarantee that the Bulk-Out pipe > will STALL before all the data have been transferred, then it > must accept a total of dCBWDataTransf

Re: [linux-usb-devel] file_storage.c stalling the out bulk endpoint ,but not clearing the stall

2004-07-16 Thread Pat LaVarre
hat .pdf less difficult to read accurately, and I thank you again for including me in this interesting thread. *"Pat LaVarre" = x50 BBB --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE develo

Re: [linux-usb-devel] file_storage.c stalling the out bulk endpoint ,but not clearing the stall

2004-07-16 Thread Pat LaVarre
a flaw in the Bulk-only protocol. This should interest Pat LaVarre, Yes, thank you, hi. as you probably already realize, this falls under case (9) of your 13 cases. Note clearly, sorry, I'm mostly lost for lack of context. I guess I think you're telling me we have some positive H cor

[linux-usb-devel] Re: [usb-storage] Re: Linux 2.4.x mass storage problem?

2004-06-04 Thread Pat LaVarre
cludes today in 2.6.6 seeing an icon for /dev/cdrom on the desktop, linked to nothing, while /dev/scd1 and /dev/scd0 exist .... Pat LaVarre --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mob

[linux-usb-devel] Re: [usb-storage] Re: Clear_feature doesn't happenwhenget_descript or on pipe

2004-05-05 Thread Pat LaVarre
days available for this. The race begins, who first will offer pass thru of URB's from bash scripts ... Pat LaVarre http://linux-pel.blog-city.com/read/598228.htm --- This SF.Net email is sponsored by Sleepycat Software Learn developer

Re: [linux-usb-devel] Re: [usb-storage] Re: Clear_featuredoesn'th appen when get_descriptor on pipe

2004-05-05 Thread Pat LaVarre
, media-access may include an insertion spin-up, which commonly kicks up into fifteen whole seconds and beyond. Pat LaVarre --- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent

[linux-usb-devel] Re: [usb-storage] Re: Clear_feature doesn't happenwhenget_descrip tor on pipe

2004-05-05 Thread Pat LaVarre
nly, mass storage committee) compliance test should check for this violation. I expect it won't unless someone volunteers to help it (e.g. by making pass thru to USB from the Linux command line easy). Pat LaVarre --- This SF.Net email is

[linux-usb-devel] Re: [usb-storage] Re: PATCH: (as248) Special handling for Casio QVu nus ual_devs entry

2004-04-14 Thread Pat LaVarre
1) Should we reserve a bit of the unusual_devs.h to say an entry is an entry known to be sometimes unnecessary? 2) I think by now here I have heard of devices reporting idVendor Casio or Lexar that change behaviour significantly, yet still duplicate idProduct (thought maybe not bcdRev). Pat

Re: [linux-usb-devel] Re: reduce max_sectors permanently or no

2004-03-24 Thread Pat LaVarre
t a credible argument to say bytes/cdb matters, I can't effectively argue with pointy-haired folk to help free more time/ people/ me to improve it. Pat LaVarre --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutor

Re: [linux-usb-devel] Re: reduce max_sectors permanently or no

2004-03-24 Thread Pat LaVarre
e off bytes/cdb for FS only and not also for HS? Pat LaVarre --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamenta

Re: [linux-usb-devel] Re: reduce max_sectors permanently or no

2004-03-22 Thread Pat LaVarre
olunteer to work towards making the whitelisting more automagic. Pat LaVarre --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn eve

[linux-usb-devel] Re: reduce max_sectors permanently or no

2004-03-18 Thread Pat LaVarre
e who want more performance tweak the fragment size up (to a reasonably large limit) if they want to try -- this could lead to device failures or better performance. Letting people shoot themselves in the foot is a long-standing tradition in Linux, but I don't want to leave the 'non-power us

[linux-usb-devel] reduce max_sectors permanently or no

2004-03-18 Thread Pat LaVarre
and tracks. In particular, as old protocols move into silicon out of gp cpu's, command/ status overhead temporarily shrinks to near zero. If you're not just kidding, then will you join me in crafting a series of relevant experiments? Then we can speak more directly from published obse

Re: [linux-usb-devel] Re: [usb-storage] PATCH: fix mode-sense handling for 10-byte commands

2004-01-15 Thread Pat LaVarre
e result, ouch. 3) Many compilers fail to produce the same machine code for both of these expressions of the same idea e.g. my 32-bit Linux desktop `gcc --version` 3.2.2 here now, when run as c.a.e. lately helpfully suggested: gcc -c -fomit-frame-pointer -O3 -Wall -W hi.c objdump -dS hi.o A frustrat

Re: [linux-usb-devel] SuperH UDC problem with stall

2003-10-31 Thread Pat LaVarre
perH's ability to cope with "flash" > BBB. Aye. Sounds like SuperH has to talk stall-free BBB. Anybody already shipping stall-free BBB in volume? I've never yet seen stall-free BBB be real. Pat LaVarre --- This SF

[linux-usb-devel] Re: SuperH UDC problem with stall

2003-10-31 Thread Pat LaVarre
ta in before expected by the host. Or maybe all hosts cope with such creativity in the device. I don't know. > I'm not filling with zeros at the moment but it would be a good idea. Good. Pat LaVarre --- This SF.net e

[linux-usb-devel] Re: SuperH UDC problem with stall

2003-10-28 Thread Pat LaVarre
ally indeterminate results. > > I've been having a discussion about this off-list with Pat LaVarre and > > David Brownell. Our general conclusion has been that although the > > no-stall option is better for the controller driver (since it doesn't have > >

[linux-usb-devel] Re: SuperH UDC problem with stall

2003-10-28 Thread Pat LaVarre
s storage spec) and > > this also makes it more reliable. > > It's impossible to implement all the commands. More realistic is your > other option, switching the gadget to use the no-stall option in the > Bulk-only spec. > > I've been having a discussi

[linux-usb-devel] RE: [usb-storage] Re: PATCH: exclude certain commands from emulated SCSI hosts

2003-04-09 Thread Pat LaVarre
... does that fit in here, or is that an N-th protocol? > possible to overspeed an ATA disk ... > proposed filtering ... > consensus ... not ... Also good to hear, thanks for talking, Pat LaVarre P.S. Please ignore Yahoo spam that follows, if any. __

[linux-usb-devel] RE: [usb-storage] Re: PATCH: exclude certain commands from emulated SCSI hosts

2003-03-24 Thread Pat LaVarre
o > > > punt all commands with an immediate failure if > > > they aren't marked "required". > > > > > That still _allows_ the driver to implement it > > > if it wants to, unlike your previous approach. In particular, passing CDB's thru s

[linux-usb-devel] RE: [usb-storage] Re: PATCH: exclude certain commands from emulated SCSI hosts

2003-03-24 Thread Pat LaVarre
is correct or not, nor indeed if I am reading the source file we mean. Click-thru ILLEGAL_REQUEST shows me three source files agree with me thinking by that jargon we mean x05. And more or less source files agree that by READ_6 READ_10 WRITE_10 we mean x 08 0A 2A. Cluelessly, cu

RE: [usb-storage] Re: [linux-usb-devel] Belkin Compact Flash card reader

2003-03-22 Thread Pat LaVarre
looks to me like fun newbie torture. > ... I trust reply-to-all is proper netiquette here. Cluelessly, curiously, thankfully yours, Pat LaVarre --- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register

RE: [usb-storage] Re: [linux-usb-devel] Belkin Compact Flash card reader

2003-03-21 Thread Pat LaVarre
-storage: Bulk data transfer result 0x3 > usb-storage: -- transport indicates command was aborted > usb-storage: scsi command aborted > usb-storage: *** thread sleeping. I presume "usb-storage: command_abort() called" here is key. That implies the timeout mentioned previously? Ho

RE: [usb-storage] Re: [linux-usb-devel] Belkin Compact Flash card reader

2003-03-21 Thread Pat LaVarre
ly has no SCSI pass thru i.e. no analogue of Linux SG_IO, for the bootable PDT's x 00 05 07 0E. > my recent suggestion that he try 8020 instead of > SCSI, where such padding is done. I replied before I received that, sorry. > > "L 4096" here might mean > > dCBWDataT

RE: [usb-storage] Re: [linux-usb-devel] Belkin Compact Flash card reader

2003-03-21 Thread Pat LaVarre
if we could more easily access translations to likely Usb bus traffic from Linux kernel log jargon. Specifically here now I wonder if "usb-storage: usb_stor_transfer_partial(): xfer 4096 bytes" means we copied In x1000 bytes before we saw trouble. > ... Curiously yours, Pat

RE: [usb-storage] Re: [linux-usb-devel] Fuji FinePix F401 - patch

2002-12-30 Thread Pat LaVarre
ow rare in 2.5/2.6 ... I'm not clear on why that means two-mode passthru isn't the best solution for 2.5/2.6 of usb/storage as it is for 2.4/2.5/2.6 of ide-scsi? I do personally speak from a history of writing SG-based apps that prefer raw data. Pat LaVarre -Original Mes

RE: [usb-storage] Re: [linux-usb-devel] Fuji FinePix F401 - patch

2002-12-30 Thread Pat LaVarre
for apps that do know what they are doing, but the default heavily filtered since so many apps can't cope with reality? And how are we going to cope when the 64-bit motherboards change the Windows Inquiry to be, perhaps, -x "12 0 0 0 20 0" -i x20 instead? Curiou

[linux-usb-devel] BBB defined by no ZLP Out

2002-12-12 Thread Pat LaVarre
l", never specified, way of speaking Scsi over Usb ... ... except then you must also remember that the de facto Microsoft Windows 95B redefinition of Usb forbade ZLP's (zero length packets) Out from the host. This approach boiled all of BBB chapter 6 down to one page. Pat LaVarre

[linux-usb-devel] BBB CSW In confused with Data In

2002-12-12 Thread Pat LaVarre
nce failure. Nor is forging a serial number. Hence the push to obsolete CBI. (At least, these are My reasons for Not fighting that push.) Cheers, Pat LaVarre -Original Message- From: BLACKSON Jim [mailto:[EMAIL PROTECTED]] Sent: Thu 12/12/2002 1:09 AM To: USB Developers; 'Mat

RE: [usb-storage] Re: [linux-usb-devel] Re: PATCH: usb-storage: make internal structs more consistent

2002-12-10 Thread Pat LaVarre
Lost me again, sorry. What reason do we have to believe that it is the device, not the host, that starts dropping data packets when we switch to Usb2 HS from Usb1 FS? Maybe it's host hardware, not the host software per se, that drops packets? Yours in breathtaking i

RE: [usb-storage] Re: [linux-usb-devel] Re: PATCH: usb-storage: make internal structs more consistent

2002-12-10 Thread Pat LaVarre
SW? When working with perfect devices, a host thinking that CSW In is Data In is a host that dropped a Data In packet. Curiously yours, Pat LaVarre -Original Message- From: Greg KH [mailto:[EMAIL PROTECTED]] Sent: Tue 12/10/2002 2:34 PM To:

[usb-storage] Re: [linux-usb-devel] Re: Hack to make DatafabKECF-USB work

2002-02-07 Thread Pat LaVarre
INQ data when asked for less ... > > Your device doesn't handle small requests, mine large. Yah. Welcome to the real world of device design by subcontract to people with whom you do not share fluency in any one human language. Pat LaVarre ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

[linux-usb-devel] Re: Scsi op x12 definitions

2002-02-06 Thread Pat LaVarre
fixes (1) but not (2), not (3), and not (4). Hope this helps, thanks in advance, cluelessly yours ... Pat LaVarre P.S. Please reply to me person-to-person if reply-to-all was Not correct netiquette here. Me, I'm listening to email reflected after having been sent to <[EMAIL PROTECTED]>.

[linux-usb-devel] Scsi op x23 definitions

2002-02-06 Thread Pat LaVarre
<http://google.yahoo.com/bin/query?p=sff+8070+pdf&hc=0&hs=0> query. 9) I'm wondering if here I have found one of the few other people on Earth who care who says what op x23 means when? Hope this helps, thanks in advance.Pat LaVarre <[EMAIL PROTECTED]> ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel