From: Kenji Okamoto <okamoto@granite.cias.osakafu-u.ac.jp>
To: rs_rlab@mail.ru, 9fans@cse.psu.edu
Subject: Re: [9fans] usb or lp
Date: Tue, 30 Nov 2004 09:56:13 +0900 [thread overview]
Message-ID: <d5d5affafb1ee880b018412f8e41ca9e@granite.cias.osakafu-u.ac.jp> (raw)
In-Reply-To: <583088821.20041129152150@mail.ru>
> 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:
>
> 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.
>
> 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%
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.☺
Kenji
next prev parent reply other threads:[~2004-11-30 0:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-28 8:54 Sergey Reva
2004-11-29 2:29 ` Kenji Okamoto
2004-11-29 3:00 ` Russ Cox
2004-11-29 13:21 ` Sergey Reva
2004-11-30 0:56 ` Kenji Okamoto [this message]
2004-11-30 15:07 ` Sape Mullender
2004-11-30 16:28 ` Sape Mullender
2004-11-30 19:08 ` Sergey Reva
2004-11-30 20:21 ` Sape Mullender
2004-12-01 17:20 ` Sape Mullender
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d5d5affafb1ee880b018412f8e41ca9e@granite.cias.osakafu-u.ac.jp \
--to=okamoto@granite.cias.osakafu-u.ac.jp \
--cc=9fans@cse.psu.edu \
--cc=rs_rlab@mail.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).