Re: [9fans] usb configuration

2014-03-05 Thread Nicolas Bercher

On 04/03/2014 12:28, Steve Simon wrote:

And I hate its scroll button,
but I love its three buttons!


I hate scroll buttons too.

I was very happy when I discovered the dell DY651A mouse:

http://www8.hp.com/uk/en/products/oas/product-detail.html?oid=403895#!tab=features

also branded as IBM M-U0013-o

-Steve


Thank you Steve.

Now, what is miss would be a mouse like the Dell DY651A + a lateral
scrolling wheel, maybe.

[The thing is that I took the habit of using scrolling wheels, maybe
this is a habit I can forget.  Forgetting such habits may help to do
better work in the sense that it would avoid compulsive maneuvers,
compulsive scroll here.  And let the good ideas flow.]

Nicolas



Re: [9fans] usb configuration

2014-03-04 Thread Nicolas Bercher

On 03/03/2014 18:41, Ramakrishnan Muthukrishnan wrote:

On Mon, Mar 3, 2014 at 11:02 PM, erik quanstrom quans...@quanstro.net wrote:

Meanwhile, I ordered a used Evoluent vertical mouse from ebay and hope
to get started with plan9 from userspace. I couldn't find any other
usable 3 button mouse in the market here in India.


lenovo sells a 3-button mouse with a scroll button.  the click
feature is seperate from the button so it's very usable.


This one?

http://support.lenovo.com/en_IN/product-and-parts/detail.page?LegacyDocID=MIGR-43954


Yes it is.  I have one.

And I hate its scroll button,
but I love its three buttons!

Nicolas



Re: [9fans] usb configuration

2014-03-04 Thread Steve Simon
 And I hate its scroll button,
 but I love its three buttons!

I hate scroll buttons too.

I was very happy when I discovered the dell DY651A mouse:

http://www8.hp.com/uk/en/products/oas/product-detail.html?oid=403895#!tab=features

also branded as IBM M-U0013-o

-Steve



Re: [9fans] usb configuration

2014-03-04 Thread Mark van Atten
Yes, I also use the DY651A, and like you am very happy with it.

I wasn't aware that it is also available under a different brand;
thanks for mentioning it.

Mark.



Re: [9fans] usb configuration

2014-03-03 Thread Richard Miller
 you beat me to it

Yes, we're obviously working in parallel.

I've also spotted that loaddevstr is very wrong.  First it reads into
a 128-byte buffer, when the spec says strings are up to 256 bytes
(including type and length codes).  Then it ignores the length code at
the beginning of the string and uses the number of bytes returned by
the Rgetdesc, which would explain why usb/probe often shows garbage
trailing characters in vendor and device identifiers.




Re: [9fans] usb configuration

2014-03-03 Thread erik quanstrom
so the keyboard is not working, and usbd gets the closedevice message,
but usb/kb doesn't exit.  could there be some confusion about which devices
belong to which hubs.

- erik


---
#l3: i40: 4Mbps port 0xfe00f900 tbdf 2.0.1 tu 1514 6805ca1f72f1
acpi: enable interrupt
/boot/usbd: /dev/usb/ep1.0 starting
/boot/usbd: opendev 0x439bd8 /dev/usb/ep1.0
/boot/usbd: /dev/usb/ep1.0: ports 2 maxpkt 64
/boot/usbd: hub 0x439b78 allocated: ports 2 pwrms 0 max curr 0 pwrm 0 cmp 0 
leds 0
/boot/usbd: /dev/usb/ep2.0 starting
/boot/usbd: opendev 0x439db8 /dev/usb/ep2.0
/boot/usbd: /dev/usb/ep2.0: ports 2 maxpkt 64
/boot/usbd: hub 0x439d58 allocated: ports 2 pwrms 0 max curr 0 pwrm 0 cmp 0 
leds 0
/boot/usbd: /dev/usb/ep2.0: port 1 attach sts 0x401
/boot/usbd: /dev/usb/ep2.0: port 1: attached status 0x403
/boot/usbd: opendev 0x439f38 /dev/usb/ep3.0
/boot/usbd; /dev/usb/ep2.0: port 1: maxpkt 64
/boot/usbd: /dev/usb/ep3.0 csp hub.0.1 vid 0x8087 did 0x0024 refs 1
none nil nil
conf: cval 1 attrib e0 0 mA
iface csp hub.0.0
  alt 0 attr 3 ival 12
  ep id 1 addr 129 dir in type intr itype 0 maxpkt 1 ntds 1
/boot/usbd: /dev/usb/ep2.0: port 1: configed: /dev/usb/ep3.0
/boot/usbd: hub 0x43a858 allocated: ports 6 pwrms 100 max curr 0 pwrm 1 cmp 0 
leds 0
usb/hub... /boot/usbd: /dev/usb/ep3.0 port 1: sts - 0x0 - - 0x100
/boot/usbd: /dev/usb/ep3.0: port 2 attach sts 0x101
/boot/usbd: /dev/usb/ep3.0: port 2: attached status 0x103
/boot/usbd: opendev 0x43a8b8 /dev/usb/ep4.0
/boot/usbd; /dev/usb/ep3.0: port 2: maxpkt 8
/boot/usbd: /dev/usb/ep4.0 csp hub.0.0 vid 0x05ac did 0x1003 refs 1
Mitsumi ElectricB Hub in Apple Extended USB Keyboard none
conf: cval 1 attrib a0 50 mA
iface csp hub.0.0
  alt 0 attr 3 ival 255
  ep id 1 addr 129 dir in type intr itype 0 maxpkt 1 ntds 1
/boot/usbd: /dev/usb/ep3.0: port 2: configed: /dev/usb/ep4.0
/boot/usbd: hub 0x4291c8 allocated: ports 3 pwrms 100 max curr 50 pwrm 1 cmp 1 
leds 0
usb/hub... /boot/usbd: /dev/usb/ep4.0 port 1: sts - 0x0 - - 0x100
/boot/usbd: /dev/usb/ep4.0 port 2: sts - 0x0 - - 0x100
/boot/usbd: /dev/usb/ep4.0: port 3 attach sts 0x101
/boot/usbd: /dev/usb/ep4.0: port 3: attached status 0x103
/boot/usbd: opendev 0x429308 /dev/usb/ep5.0
/boot/usbd: /dev/usb/ep4.0: port 3: attach setaddress: transaction error
/boot/usbd: closedev 0x429308 /dev/usb/ep5.0
/boot/usbd: /dev/usb/ep3.0 port 2: sts p 0x101 - ep 0x103
/boot/usbd: /dev/usb/ep3.0 port 3: sts - 0x0 - - 0x100
/boot/usbd: /dev/usb/ep3.0 port 4: sts - 0x0 - - 0x100
/boot/usbd: /dev/usb/ep3.0 port 5: sts - 0x0 - - 0x100
/boot/usbd: /dev/usb/ep3.0 port 6: sts - 0x0 - - 0x100
/boot/usbd: /dev/usb/ep2.0 port 1: sts hp 0x401 - hep 0x403
/boot/usbd: /dev/usb/ep1.0: port 1 attach sts 0x401
/boot/usbd: /dev/usb/ep1.0: port 1: attached status 0x403
/boot/usbd: opendev 0x429308 /dev/usb/ep5.0
/boot/usbd; /dev/usb/ep1.0: port 1: maxpkt 64
/boot/usbd: /dev/usb/ep5.0 csp hub.0.1 vid 0x8087 did 0x0024 refs 1
none nil nil
conf: cval 1 attrib e0 0 mA
iface csp hub.0.0
  alt 0 attr 3 ival 12
  ep id 1 addr 129 dir in type intr itype 0 maxpkt 1 ntds 1
/boot/usbd: /dev/usb/ep1.0: port 1: configed: /dev/usb/ep5.0
/boot/usbd: hub 0x429c28 allocated: ports 6 pwrms 100 max curr 0 pwrm 1 cmp 0 
leds 0
usb/hub... /boot/usbd: /dev/usb/ep5.0 port 1: sts - 0x0 - - 0x100
/boot/usbd: /dev/usb/ep5.0: port 2 attach sts 0x101
/boot/usbd: /dev/usb/ep5.0: port 2: attached status 0x103
/boot/usbd: opendev 0x429e08 /dev/usb/ep6.0
/boot/usbd; /dev/usb/ep5.0: port 2: maxpkt 64
/boot/usbd: /dev/usb/ep6.0 csp hid.1.2 vid 0x0557 did 0x2221 refs 1
Winbond Electronics CorpB Hermon USB hidmouse Device none
conf: cval 1 attrib e0 100 mA
iface csp hid.1.2
  alt 0 attr 3 ival 10
  ep id 2 addr 130 dir in type intr itype 0 maxpkt 8 ntds 1
iface csp hid.1.1
  alt 0 attr 3 ival 10
  ep id 1 addr 129 dir in type intr itype 0 maxpkt 8 ntds 1
dev desc 21[9]:  09 21 00 01 00 01 22 4f 00
dev desc 21[9]:  09 21 00 01 00 01 22 40 00
/boot/usbd: /dev/usb/ep5.0: port 2: configed: /dev/usb/ep6.0
/boot/usbd: start: kb -N 0 -d
/boot/usbd: opendev 0x42b7e8 /dev/usb/ep6.0
kb: main: dev /dev/usb/ep6.0 ref 1
usb/kb... /boot/usbd: opendev 0x42ac08 /dev/usb/ep6.1
/boot/usbd: /dev/usb/ep6.1: maxpkt 8
/boot/usbd: /dev/usb/ep6.1: ntds 1
setting boot protocol
kb: #m/mousein: unknown device in # filename
/boot/usbd: /dev/usb/ep5.0 port 3: sts - 0x0 - - 0x100
/boot/usbd: /dev/usb/ep5.0 port 4: sts - 0x0 - - 0x100
/boot/usbd: /dev/usb/ep5.0 port 5: sts - 0x0 - - 0x100
/boot/usbd: /dev/usb/ep5.0 port 6: sts - 0x0 - - 0x100
/boot/usbd: /dev/usb/ep1.0 port 1: sts hp 0x401 - hep 0x403
/boot/usbd: fsadd usbdctl
sdE0: llba 976,773,168 512-byte sectors
  ST9500530NS SN04 

Re: [9fans] usb configuration

2014-03-03 Thread cinap_lenrek
yes, reading 18 bytes only works fine. its the case for 9front
since Jul 5, 2013:

http://code.google.com/p/plan9front/source/detail?r=9b01e8e632771c0ec2e28b32ddd28ed44b49a0f8path=/sys/src/cmd/nusb/lib/dev.c

--
cinap



Re: [9fans] usb configuration

2014-03-03 Thread Richard Miller
 its the case for 9front
 since Jul 5, 2013:

When you find and fix a bug which is applicable to Plan 9 in general,
it would be really really helpful to offer it as a patch, to avoid
the rest of us having to waste our time going over the same ground.

Or have we completely degenerated into a my fork is better than
yours contest?




Re: [9fans] usb configuration

2014-03-03 Thread cinap_lenrek
i answered your request to tell that we'r using that particular
change for quite a while now and havnt found any issues. thats
all.

--
cinap



Re: [9fans] usb configuration

2014-03-03 Thread erik quanstrom
On Mon Mar  3 10:25:14 EST 2014, cinap_len...@felloff.net wrote:
 i answered your request to tell that we'r using that particular
 change for quite a while now and havnt found any issues. thats
 all.

thanks, the answer was helpful.  

- erik



Re: [9fans] usb configuration

2014-03-03 Thread erik quanstrom
 Or have we completely degenerated into a my fork is better than
 yours contest?

i hope we haven't.  but i might be guilty myself.  unfortunately,
so many small, tight bugfixes go unapplied or rejected.  maybe
seems to count as rejection.  it's hard to keep up the spirit.

i don't blame anybody.  reviewing patches is hard, and thankless.
and speaking for myself, submitters are sure the world revolves around
their favorite patch.

but imho, plan 9 would be better for more patches being applied.
i'm willing to put my money where my mouth is.

- erik



Re: [9fans] usb configuration

2014-03-03 Thread Ramakrishnan Muthukrishnan
On Mon, Mar 3, 2014 at 9:07 PM, erik quanstrom quans...@quanstro.net wrote:
 Or have we completely degenerated into a my fork is better than
 yours contest?

 i hope we haven't.  but i might be guilty myself.  unfortunately,
 so many small, tight bugfixes go unapplied or rejected.  maybe
 seems to count as rejection.  it's hard to keep up the spirit.

 i don't blame anybody.  reviewing patches is hard, and thankless.
 and speaking for myself, submitters are sure the world revolves around
 their favorite patch.

 but imho, plan 9 would be better for more patches being applied.
 i'm willing to put my money where my mouth is.

I am glad, my RPi keyboard/mouse problems indirectly caused some very
nice discussions and debugging! Thanks to you and Richard! I finally
got a powered USB hub today, but I forgot my SD Card at work. (Bakul:
I could bootup Rasbian on my hardware.)

I will try out my RPi though I don't expect any miracles. I don't have
any more keyboard/mouse to try -- which means, this is more or less a
dead end for me at the moment. I will eagerly wait for a new release
image with fixes. (hint! hint!)

Meanwhile, I ordered a used Evoluent vertical mouse from ebay and hope
to get started with plan9 from userspace. I couldn't find any other
usable 3 button mouse in the market here in India.

-- 
  Ramakrishnan



Re: [9fans] usb configuration

2014-03-03 Thread erik quanstrom
 Meanwhile, I ordered a used Evoluent vertical mouse from ebay and hope
 to get started with plan9 from userspace. I couldn't find any other
 usable 3 button mouse in the market here in India.

lenovo sells a 3-button mouse with a scroll button.  the click
feature is seperate from the button so it's very usable.

- erik



Re: [9fans] usb configuration

2014-03-03 Thread Ramakrishnan Muthukrishnan
On Mon, Mar 3, 2014 at 11:02 PM, erik quanstrom quans...@quanstro.net wrote:
 Meanwhile, I ordered a used Evoluent vertical mouse from ebay and hope
 to get started with plan9 from userspace. I couldn't find any other
 usable 3 button mouse in the market here in India.

 lenovo sells a 3-button mouse with a scroll button.  the click
 feature is seperate from the button so it's very usable.

This one?

http://support.lenovo.com/en_IN/product-and-parts/detail.page?LegacyDocID=MIGR-43954

-- 
  Ramakrishnan



Re: [9fans] usb configuration

2014-03-03 Thread erik quanstrom
 This one?
 
 http://support.lenovo.com/en_IN/product-and-parts/detail.page?LegacyDocID=MIGR-43954

yes.

- erik