From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: rs_rlab@mail.ru, 9fans@cse.psu.edu Subject: Re: [9fans] usb or lp From: Kenji Okamoto Date: Tue, 30 Nov 2004 09:56:13 +0900 In-Reply-To: <583088821.20041129152150@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 0ef1eafc-eace-11e9-9e20-41e7f4b1d025 > In my case writing endpoint is 1, I see it when run usb/usbd -v -d. > I have only 2 endpoints. When I try bind (in old or new) I get this: >=20 > term% bind /dev/usb0/1/ep1data /n/lp > bind ep1data /n/lp: inconsistent mount After echo -n 'ep 1 bulk w 64 32' >/dev/usb0/1/ctl ? > Binding ep2data take same result. >=20 > Any ideas. No, sorry. In my HP psc2550, working version is as follows: term% cd /dev/usb3 term% ls -l d-r-xr-xr-x M 37 diorite diorite 0 Nov 1 13:50 0 d-r-xr-xr-x M 37 diorite diorite 0 Nov 1 13:50 1 --rw-rw-rw- M 37 diorite diorite 0 Nov 1 13:50 new --rw-rw-rw- M 37 diorite diorite 0 Nov 1 13:50 port term% ls -l 1 --rw-rw-rw- M 37 diorite diorite 0 Nov 1 13:50 1/ctl --r--r--r-- M 37 diorite diorite 0 Nov 1 13:50 1/ep1data --r--r--r-- M 37 diorite diorite 0 Nov 1 13:50 1/ep2data ---w--w--w- M 37 diorite diorite 0 Nov 1 13:50 1/ep3data --r--r--r-- M 37 diorite diorite 0 Nov 1 13:50 1/ep4data --r--r--r-- M 37 diorite diorite 0 Nov 1 13:50 1/ep5data --r--r--r-- M 37 diorite diorite 0 Nov 1 13:50 1/ep7data --r--r--r-- M 37 diorite diorite 0 Nov 1 13:50 1/ep8data --rw-rw-rw- M 37 diorite diorite 0 Nov 1 13:50 1/setup --r--r--r-- M 37 diorite diorite 0 Nov 1 13:50 1/status term% cd 1 term% cat status Enabled 0x00ccff 0 0x00ccff 170 bytes 26 blocks 1 0x00ccff 0 bytes 0 blocks 2 0x00ccff 0 bytes 0 blocks 3 0x020107 0 bytes 0 blocks 4 0x020107 0 bytes 0 blocks 5 0x500608 0 bytes 0 blocks 7 0x00d4ff 0 bytes 0 blocks 8 0x00d4ff 0 bytes 0 blocks term%=20 In this case the above 3 0x020107 is for data output endpoint. I hope this may help you... > Yes I know, my English is terrible, try understand me :) Add me, too. Thanks for your help to my understanding of WinXP world. I felt it's the world for money though.=E2=98=BA Kenji