On Thursday 04 January 2007 22:08, Alan Stern wrote:
> However there is one significant difference between Linux and Windows
> which may go some way toward explaining the write-protect values.  To make
> Linux work like Windows in this regard, apply the patch below.  You should
OK, that patch certainly got it to a good start:
Jan  5 20:28:59 quanxi kernel: usb 1-2: new high speed USB device using 
ehci_hcd and address 2
Jan  5 20:28:59 quanxi kernel: usb 1-2: Product: Nu Drive
Jan  5 20:28:59 quanxi kernel: usb 1-2: Manufacturer:
Jan  5 20:28:59 quanxi kernel: usb 1-2: SerialNumber: 075A141402A5
Jan  5 20:28:59 quanxi kernel: usb 1-2: configuration #1 chosen from 1 choice
Jan  5 20:28:59 quanxi kernel: scsi0 : SCSI emulation for USB Mass Storage 
devices
Jan  5 20:29:04 quanxi kernel:   Vendor:           Model: Nu Drive          
Rev: PMAP
Jan  5 20:29:04 quanxi kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 00
Jan  5 20:29:04 quanxi kernel:   Vendor:           Model: Nu Drive          
Rev: PMAP
Jan  5 20:29:04 quanxi kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 00

But there it ends - and of course I can't mount /dev/sd[ab]1? (fails with
mount: special device /dev/sdb1 does not exist ). Perhaps the driver needs 
some similar changes further down?

usbmon output is as follows:
dfe691c0 802933544 C Ii:001:01 0 1 = 02
dfe691c0 802933560 S Ii:001:01 -115 2 <
d77b0740 802933582 S Ci:001:00 s a3 00 0000 0001 0004 4 <
d77b0740 802933595 C Ci:001:00 0 4 = 01050100
d77b0740 802933599 S Co:001:00 s 23 01 0010 0001 0000 0
d77b0740 802933601 C Co:001:00 0 0
d77b0740 802933608 S Ci:001:00 s a3 00 0000 0001 0004 4 <
d77b0740 802933610 C Ci:001:00 0 4 = 01050000
d94a8540 802965546 S Ci:001:00 s a3 00 0000 0001 0004 4 <
d94a8540 802965552 C Ci:001:00 0 4 = 01050000
d94a8540 802997545 S Ci:001:00 s a3 00 0000 0001 0004 4 <
d94a8540 802997552 C Ci:001:00 0 4 = 01050000
d94a8540 803029540 S Ci:001:00 s a3 00 0000 0001 0004 4 <
d94a8540 803029544 C Ci:001:00 0 4 = 01050000
d77b0440 803061544 S Ci:001:00 s a3 00 0000 0001 0004 4 <
d77b0440 803061550 C Ci:001:00 0 4 = 01050000
d77b0440 803061570 S Co:001:00 s 23 03 0004 0001 0000 0
d77b0440 803061573 C Co:001:00 0 0
d77b0440 803117543 S Ci:001:00 s a3 00 0000 0001 0004 4 <
d77b0440 803117812 C Ci:001:00 0 4 = 03051000
d5bd80c0 803173541 S Co:001:00 s 23 01 0014 0001 0000 0
d5bd80c0 803173549 C Co:001:00 0 0
d5bd80c0 803173563 S Ci:000:00 s 80 06 0100 0000 0040 64 <
d5bd80c0 803174065 C Ci:000:00 0 18 = 12010002 00000040 fe13211a 00010102 0301
d5bd80c0 803174088 S Co:001:00 s 23 03 0004 0001 0000 0
d5bd80c0 803174093 C Co:001:00 0 0
d5bd80c0 803229540 S Ci:001:00 s a3 00 0000 0001 0004 4 <
d5bd80c0 803229814 C Ci:001:00 0 4 = 03051000
d94a8540 803285539 S Co:001:00 s 23 01 0014 0001 0000 0
d94a8540 803285547 C Co:001:00 0 0
d94a8540 803285552 S Co:000:00 s 00 05 0004 0000 0000 0
d94a8540 803285815 C Co:000:00 0 0
d94a8540 803305537 S Ci:004:00 s 80 06 0100 0000 0012 18 <
d94a8540 803306064 C Ci:004:00 0 18 = 12010002 00000040 fe13211a 00010102 0301
d94a8540 803306083 S Ci:004:00 s 80 06 0200 0000 0009 9 <
d94a8540 803306563 C Ci:004:00 0 9 = 09022000 01010080 64
d94a8540 803306576 S Ci:004:00 s 80 06 0200 0000 0020 32 <
d94a8540 803307313 C Ci:004:00 0 32 = 09022000 01010080 64090400 00020806 
50000705 81020002 00070502 02000200
d77b0440 803307329 S Ci:004:00 s 80 06 0300 0000 00ff 255 <
d77b0440 803307563 C Ci:004:00 0 4 = 04030904
d77b0440 803307582 S Ci:004:00 s 80 06 0302 0409 00ff 255 <
d77b0440 803308442 C Ci:004:00 0 34 = 22034e00 75002000 44007200 69007600 
65002000 20002000 20002000 20002000
d77b0440 803308463 S Ci:004:00 s 80 06 0301 0409 00ff 255 <
d77b0440 803308938 C Ci:004:00 0 18 = 12032000 20002000 20002000 20002000 2000
d77b0440 803308953 S Ci:004:00 s 80 06 0303 0409 00ff 255 <
d77b0440 803309936 C Ci:004:00 0 26 = 1a033000 37003500 41003100 34003100 
34003000 32004100 3500
d77b0440 803310116 S Co:004:00 s 00 09 0001 0000 0000 0
d77b0440 803310317 C Co:004:00 0 0
d5bd80c0 808309457 S Ci:004:00 s a1 fe 0000 0000 0001 1 <
d5bd80c0 808309531 C Ci:004:00 0 1 = 01
d5bd80c0 808309660 S Bo:004:02 -115 31 = 55534243 01000000 24000000 80000612 
00000024 00000000 00000000 000000
d5bd80c0 808309781 C Bo:004:02 0 31 >
d5bd8a40 808309813 S Bi:004:01 -115 36 <
d5bd8a40 808309903 C Bi:004:01 0 36 = 00800001 1f000000 20202020 20202020 
4e752044 72697665 20202020 20202020
d5bd80c0 808309931 S Bi:004:01 -115 13 <
d5bd80c0 808310031 C Bi:004:01 0 13 = 55534253 01000000 00000000 00
d5bd80c0 808313722 S Bo:004:02 -115 31 = 55534243 02000000 24000000 80010612 
20000024 00000000 00000000 000000
d5bd80c0 808313781 C Bo:004:02 0 31 >
d77b00c0 808313808 S Bi:004:01 -115 36 <
d77b00c0 808313903 C Bi:004:01 0 36 = 00800001 1f000000 20202020 20202020 
4e752044 72697665 20202020 20202020
d5bd80c0 808313932 S Bi:004:01 -115 13 <
d5bd80c0 808314028 C Bi:004:01 0 13 = 55534253 02000000 00000000 00

> run both a normal test (with sd_mod loaded) and the tests above with this
Will do.

        Bye
                Vasek

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to