From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 30 Nov 2004 21:08:59 +0200 From: Sergey Reva Message-ID: <14816809671.20041130210859@mail.ru> To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] usb or lp In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 0f8fe360-eace-11e9-9e20-41e7f4b1d025 Hello 9fans, I find problem! New usb driver not configure file epXdata for writing or inputing, old driver do this. Why this happen? When I run usb/usbd -v -d I can see this: .... maxpkt 64 interval 0ms [OUT] [Bulk] #usbd know about direction on this endpoint .... maxpkt 64 interval 0ms [IN] [Bulk] But when I ls -l /dev/usb0/1 I get this: --r--r--r U 0 rlab rlab 0 Sep 13 22:55 /dev/usb0/1/ep1data #but not set direction for files --r--r--r U 0 rlab rlab 0 Sep 13 22:55 /dev/usb0/1/ep2data In old installation this looks like: ---w--w--w- U 0 rlab rlab 0 Sep 13 22:55 /dev/usb0/1/ep1data --r--r--r-- U 0 rlab rlab 0 Sep 13 22:55 /dev/usb0/1/ep2data When I set direction manually all works well: echo -n 'ep 1 bulk w 64 32' >/dev/usb0/1/ctl Thanks for help! Sergey -- http://rs-rlab.narod.ru mailto:rs_rlab@mail.ru