Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse
The following reply was made to PR usb/180657; it has been noted by GNATS. From: Yamagi Burmeister To: freebsd-gnats-sub...@freebsd.org Cc: Subject: Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse Date: Tue, 23 Jul 2013 19:57:38 +0200 An IRC diskussion shed some more light on this: The problems (can be seen in STALLs in usbdump output, see below) only arise when the keyboard is connected at boottime. When it's hotplugged at runtime everything is working fine. A misbehaving keyboard works fine when reset with "usbbconfig reset". The problems arise on the console and in X11. Some usbdumps: - broken behavior and moused(1) attached to the mouse endpoint: http://deponie.yamagi.org/freebsd/misc/filco_majestouch.txt - broken behavior with moused(1) not attached: http://deponie.yamagi.org/freebsd/misc/filco_majestouch2.txt - with the quirk applied everything is fine: http://deponie.yamagi.org/freebsd/misc/filco_majestouch3.txt I'll send the keyboard back and order a new one from a different retailer to rule out a hardware issue. Until then no more action should be taken. I'll report back in a few days. -- Homepage: www.yamagi.org XMPP: yam...@yamagi.org GnuPG/GPG: 0xEFBCCBCB ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse
The following reply was made to PR usb/180657; it has been noted by GNATS. From: Yamagi Burmeister To: h...@bitfrost.no Cc: freebsd-gnats-sub...@freebsd.org Subject: Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse Date: Tue, 23 Jul 2013 17:27:29 +0200 On Tue, 23 Jul 2013 17:23:50 +0200 Hans Petter Selasky wrote: > This is not the same device that you dumped the configuration descriptor > for. VID and PID values changed. Could you try: > > usbconfig -d 3.3 dump_curr_config_desc > > Thank you! > > --HPS > Here you are: ugen3.3: at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x003b bNumInterfaces = 0x0002 bConfigurationValue = 0x0001 iConfiguration = 0x bmAttributes = 0x00a0 bMaxPower = 0x0032 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x bAlternateSetting = 0x bNumEndpoints = 0x0001 bInterfaceClass = 0x0003 bInterfaceSubClass = 0x0001 bInterfaceProtocol = 0x0001 iInterface = 0x Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x10 RAW dump: 0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0x3e, 0x08 | 0x00 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x0001 bRefresh = 0x bSynchAddress = 0x Interface 1 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0001 bAlternateSetting = 0x bNumEndpoints = 0x0001 bInterfaceClass = 0x0003 bInterfaceSubClass = 0x0001 bInterfaceProtocol = 0x0002 iInterface = 0x Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x10 RAW dump: 0x00 | 0x09, 0x21, 0x10, 0x01, 0x00, 0x01, 0x22, 0xa6, 0x08 | 0x00 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0082 bmAttributes = 0x0003 wMaxPacketSize = 0x0008 bInterval = 0x0001 bRefresh = 0x bSynchAddress = 0x -- Homepage: www.yamagi.org XMPP: yam...@yamagi.org GnuPG/GPG: 0xEFBCCBCB ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse
The following reply was made to PR usb/180657; it has been noted by GNATS. From: Hans Petter Selasky To: Yamagi Burmeister Cc: freebsd-gnats-sub...@freebsd.org Subject: Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse Date: Tue, 23 Jul 2013 17:23:50 +0200 On 07/23/13 17:03, Yamagi Burmeister wrote: >> I would expect two interfaces here. Only one driver can attach to a >> single interface. Is your keyboard and mouse two separate devices >> through an external USB HUB? > > The keyboard is attached directly to the computer without any hub > between it. While the keyboard is just a keyboard (without any > additional features like usb ports) there is of course the > possibility that an user-invisible hub is build into it. > >> Is the ums and ukbd in the kernel? > > No, they're loaded as modules via /boot/loader.conf > >> Could you run one more with your quirk disabled and dual mouse/keyboard >> plugged in: >> >> usbconfig -d X.Y show_ifdrv > > Of course: > > % usbconfig -d 3.3 show_ifdrv > ugen3.3: at usbus3, cfg=0 md=HOST spd=LOW > (1.5Mbps) pwr=ON (100mA) > ugen3.3.0: ukbd0: 1.10/1.01, addr 3> > ugen3.3.1: ums1: addr 3> > > If more information is required feel free to ask. You could contact me > by ICQ, I should still be in your contact list. :) > > Ciao, > Yamagi > Hi, This is not the same device that you dumped the configuration descriptor for. VID and PID values changed. Could you try: usbconfig -d 3.3 dump_curr_config_desc Thank you! --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse
The following reply was made to PR usb/180657; it has been noted by GNATS. From: Yamagi Burmeister To: h...@bitfrost.no Cc: freebsd-gnats-sub...@freebsd.org Subject: Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse Date: Tue, 23 Jul 2013 17:03:16 +0200 > I would expect two interfaces here. Only one driver can attach to a > single interface. Is your keyboard and mouse two separate devices > through an external USB HUB? The keyboard is attached directly to the computer without any hub between it. While the keyboard is just a keyboard (without any additional features like usb ports) there is of course the possibility that an user-invisible hub is build into it. > Is the ums and ukbd in the kernel? No, they're loaded as modules via /boot/loader.conf > Could you run one more with your quirk disabled and dual mouse/keyboard > plugged in: > > usbconfig -d X.Y show_ifdrv Of course: % usbconfig -d 3.3 show_ifdrv ugen3.3: at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA) ugen3.3.0: ukbd0: ugen3.3.1: ums1: If more information is required feel free to ask. You could contact me by ICQ, I should still be in your contact list. :) Ciao, Yamagi -- Homepage: www.yamagi.org XMPP: yam...@yamagi.org GnuPG/GPG: 0xEFBCCBCB ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse
The following reply was made to PR usb/180657; it has been noted by GNATS. From: Yamagi Burmeister To: h...@bitfrost.no Cc: freebsd-gnats-sub...@freebsd.org Subject: Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse Date: Mon, 22 Jul 2013 17:51:50 +0200 Of course, here it is: ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0019 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x bmAttributes = 0x00e0 bMaxPower = 0x Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x bAlternateSetting = 0x bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 bInterfaceSubClass = 0x bInterfaceProtocol = 0x iInterface = 0x Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x000c bRefresh = 0x bSynchAddress = 0x -- Homepage: www.yamagi.org XMPP: yam...@yamagi.org GnuPG/GPG: 0xEFBCCBCB ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse
The following reply was made to PR usb/180657; it has been noted by GNATS. From: Hans Petter Selasky To: Yamagi Burmeister Cc: freebsd-gnats-sub...@freebsd.org Subject: Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse Date: Mon, 22 Jul 2013 17:57:56 +0200 On 07/22/13 17:51, Yamagi Burmeister wrote: > Of course, here it is: > > ugen0.2: at usbus0, cfg=0 md=HOST > spd=HIGH (480Mbps) pwr=SAVE (0mA) > > > Configuration index 0 > > bLength = 0x0009 > bDescriptorType = 0x0002 > wTotalLength = 0x0019 > bNumInterfaces = 0x0001 > bConfigurationValue = 0x0001 > iConfiguration = 0x > bmAttributes = 0x00e0 > bMaxPower = 0x > > Interface 0 >bLength = 0x0009 >bDescriptorType = 0x0004 >bInterfaceNumber = 0x >bAlternateSetting = 0x >bNumEndpoints = 0x0001 >bInterfaceClass = 0x0009 >bInterfaceSubClass = 0x >bInterfaceProtocol = 0x >iInterface = 0x > > Endpoint 0 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0081 > bmAttributes = 0x0003 > wMaxPacketSize = 0x0001 > bInterval = 0x000c > bRefresh = 0x > bSynchAddress = 0x > Hi, I would expect two interfaces here. Only one driver can attach to a single interface. Is your keyboard and mouse two separate devices through an external USB HUB? Is the ums and ukbd in the kernel? Could you run one more with your quirk disabled and dual mouse/keyboard plugged in: usbconfig -d X.Y show_ifdrv Thank you, --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse
The following reply was made to PR usb/180657; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-gnats-sub...@freebsd.org, Yamagi Burmeister Cc: Subject: Re: usb/180657: [PATCH] Filco Majestouch 2 keyboard recognized as keyboard and mouse Date: Mon, 22 Jul 2013 14:32:21 +0200 Hi, Could you also attach the so-called USB configuration descriptor to the PR? usbconfig -d X.Y dump_curr_config_desc Thank you! --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"