Re: [DIGImend-devel] Please Let Me know how to make driver
Brought to you by:
spb_nick
|
From: Masaru H. <mh...@ne...> - 2015-01-22 11:40:52
|
Hello Nick Thanks for waiting for my reply. Tests are over. I have atatced the result. M1000L,M708,M860 are work fine. Thanks. Other products will be collected the data. If you have information how to modify source code, please let me know. best regards, Masaru Hirano Neoblast Inc. On 2015年01月01日 01:19, Nikolai Kondrashov wrote: > Hi Masaru, > > On 12/30/2014 12:44 PM, Masaru Hirano wrote: >> Thanks for your new driver. >> Ugee-1000-L works fine. > > Good. How did you verify it exactly? > Could you please provide evtest dumps of the pen coords test? > Did you have any special X.org configuration, like using the WizardPen > driver? > >> According to change of this case. >> I could found 4 changes by sources. >> But I can not adopt for other model. >> Please teach me how to fit for other models. >> All the product uses UC-LOGIC > > I assumed that all your models have the UC-Logic vendor ID (0x5543) and > either > the 0x45 or 0x81 product ID. If that's so, the driver should attempt to > handle > all of them and no further code change should be necessary. > > Do you have tablets with other VID:PID pairs? > >> So I have tried same way. >> Ugee-M708 model >> But this model does not work correctry. >> Please teach me how to add other model. >> M708 Model diagnostic files are attathched. >> This case strange output >> $xinput list > xinputlist.txt >> UC-LOIC is strange. > > "UC-LOIC" is a typo on behalf of the manufacturer. It's what they've put > into > their device and string descriptors themselves. > >> $ xinput list >> ⎡ Virtual core pointer id=2 [master pointer >> (2)] >> ⎜ ↳ UC-LOIC TABLET 1060 id=10 [slave >> pointer (2)] >> ⎜ ↳ UC-LOIC TABLET 1060 id=11 [slave >> pointer (2)] >> ⎜ ↳ UC-LOIC TABLET 1060 id=12 [slave >> pointer (2)] >> >> I have tried M708 model diagnostic. > > Were these diagnostic files collected with the driver installed? The tablet > should work fine as the coordinate range seems to be full and correct. > Do you, > by any chance, still use the WizardPen driver? Could you please provide > evtest > dumps of the pen coords test for this tablet as well? > > Nick > > On 12/30/2014 12:44 PM, Masaru Hirano wrote: >> Hello Nick >> >> Thanks for your new driver. >> Ugee-1000-L works fine. >> >> According to change of this case. >> I could found 4 changes by sources. >> But I can not adopt for other model. >> Please teach me how to fit for other models. >> All the product uses UC-LOGIC >> >> 1.hid-huion.c >> these two codes are added. >> >> line228: >> case USB_DEVICE_ID_UGEE_TABLET_81: >> line229: >> case USB_DEVICE_ID_UGEE_TABLET_45: >> >> 2.hid-hion.c >> these two codes are added. >> line275: >> { HID_USB_DEVICE(USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UGEE_TABLET_81) }, >> >> line276: >> { HID_USB_DEVICE(USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UGEE_TABLET_45) }, >> >> 3.hid-ids.h >> these two codes are added. >> line:22 >> #define USB_DEVICE_ID_UGEE_TABLET_81 0x0081 >> line:22 >> #define USB_DEVICE_ID_UGEE_TABLET_45 0x0045 >> >> So I have tried same way. >> Ugee-M708 model >> But this model does not work correctry. >> Please teach me how to add other model. >> M708 Model diagnostic files are attathched. >> This case strange output >> $xinput list > xinputlist.txt >> UC-LOIC is strange. >> >> $ xinput list >> ⎡ Virtual core pointer id=2 [master pointer >> (2)] >> ⎜ ↳ UC-LOIC TABLET 1060 id=10 [slave >> pointer (2)] >> ⎜ ↳ UC-LOIC TABLET 1060 id=11 [slave >> pointer (2)] >> ⎜ ↳ UC-LOIC TABLET 1060 id=12 [slave >> pointer (2)] >> >> I have tried M708 model diagnostic. >> >> According to these way >> http://digimend.github.io/support/howto/trbl/diagnostics/ >> >> >> 1.Identify original model >> $ lsusb >> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> Bus 007 Device 002: ID 5543:0081 UC-Logic Technology Corp. >> Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 006 Device 003: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse >> Bus 006 Device 002: ID 0518:0001 EzKEY Corp. USB to PS2 Adaptor v1.09 >> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> >> VID=5543 >> PID=0081 >> >> $ T=5543:0081 >> >> 2.Retrieve USB descriptors >> 1)sudo lsusb -v -d $T > descriptors.txt >> Bus 007 Device 002: ID 5543:0081 UC-Logic Technology Corp. >> Device Descriptor: >> bLength 18 >> bDescriptorType 1 >> bcdUSB 1.10 >> bDeviceClass 0 (Defined at Interface level) >> bDeviceSubClass 0 >> bDeviceProtocol 0 >> bMaxPacketSize0 64 >> idVendor 0x5543 UC-Logic Technology Corp. >> idProduct 0x0081 >> bcdDevice 0.00 >> iManufacturer 5 UC-LOIC >> iProduct 6 TABLET 1060 >> iSerial 0 >> bNumConfigurations 1 >> ^C >> >> 2) sudo usbhid-dump -ed -m $T > hid_report_descriptors.txt >> Bus 007 Device 002: ID 5543:0081 UC-Logic Technology Corp. >> Device Descriptor: >> bLength 18 >> bDescriptorType 1 >> bcdUSB 1.10 >> bDeviceClass 0 (Defined at Interface level) >> bDeviceSubClass 0 >> bDeviceProtocol 0 >> bMaxPacketSize0 64 >> idVendor 0x5543 UC-Logic Technology Corp. >> idProduct 0x0081 >> bcdDevice 0.00 >> iManufacturer 5 UC-LOIC >> iProduct 6 TABLET 1060 >> iSerial 0 >> bNumConfigurations 1 >> Configuration Descriptor: >> ^C >> >> >> 3.Collect raw input samples >> sudo usbhid-dump -es -m $T | tee frame_wheel_srolling.txt >> 007:002:000:STREAM 1418797530.559580 >> 07 80 84 01 75 01 00 00 >> >> 007:002:000:STREAM 1418797530.565550 >> 07 80 8B 01 6F 01 00 00 >> >> 007:002:000:STREAM 1418797530.573564 >> 07 80 94 01 68 01 00 00 >> >> 007:002:000:STREAM 1418797530.579546 >> 07 81 A0 01 5F 01 89 00 >> ^C >> >> 4.PEN >> $ sudo usbhid-dump -es -m $T | tee pen_coords.txt >> >> 4-1)Pen-Coordinate >> 07 80 82 55 F7 5A 00 00 >> >> 007:002:000:STREAM 1418797673.689610 >> 07 80 89 55 E0 5A 00 00 >> >> 007:002:000:STREAM 1418797673.695597 >> 07 80 91 55 C7 5A 00 00 >> >> 007:002:000:STREAM 1418797673.699593 >> 07 80 98 55 AD 5A 00 00 >> >> 007:002:000:STREAM 1418797673.705596 >> 07 80 9E 55 93 5A 00 00 >> ^C >> >> 4-2)Pen-Tiltangle >> $ sudo usbhid-dump -es -m $T | tee pen_tilt.txt >> Not Supported and skip >> >> >> 4-3)Pen-Pressure >> sudo usbhid-dump -es -m $T | tee pen_pressure.txt >> >> 007:002:000:STREAM 1418797836.355686 >> 07 80 2A 56 48 2D 00 00 >> >> 007:002:000:STREAM 1418797836.477668 >> 07 80 41 56 48 2D 00 00 >> >> 007:002:000:STREAM 1418797836.509667 >> 07 80 58 56 48 2D 00 00 >> >> 007:002:000:STREAM 1418797836.535662 >> 07 80 6B 56 48 2D 00 00 >> ^C >> >> 4-4)Pen-Buttons >> sudo usbhid-dump -es -m $T | tee pen_buttons.txt >> >> 007:002:000:STREAM 1418797957.023720 >> 07 80 9D 3C 37 2B 00 00 >> >> 007:002:000:STREAM 1418797957.169706 >> 07 80 BD 3C 37 2B 00 00 >> >> 007:002:000:STREAM 1418797957.547704 >> 07 80 BD 3C 56 2B 00 00 >> >> 007:002:000:STREAM 1418797957.831697 >> 07 80 DC 3C 56 2B 00 00 >> >> 007:002:000:STREAM 1418797957.855690 >> 07 80 FC 3C 56 2B 00 00 >> >> 007:002:000:STREAM 1418797957.871695 >> 07 80 16 3D 56 2B 00 00 >> >> 007:002:000:STREAM 1418797957.913699 >> 07 80 2E 3D 56 2B 00 00 >> >> >> 5 Frame Controls >> 5-1)Frame Controls Dials >> sudo usbhid-dump -es -m $T | tee frame_dials.txt >> >> Not Supported and skip >> >> 5-1)Frame Controls Buttons >> $ sudo usbhid-dump -es -m $T | tee frame_buttons.txt >> >> >> 007:002:002:STREAM 1418798804.272982 >> 03 04 3D 00 00 00 00 00 >> >> 007:002:002:STREAM 1418798804.792976 >> 03 00 00 00 00 00 00 00 >> >> 007:002:002:STREAM 1418798806.040974 >> 03 01 16 00 00 00 00 00 >> >> 007:002:002:STREAM 1418798806.496976 >> 03 00 00 00 00 00 00 00 >> >> 007:002:002:STREAM 1418798807.552979 >> 03 02 56 00 00 00 00 00 >> ^C >> >> >> 6.Mouse >> 6-1)Mouse-Coordinates >> $ sudo usbhid-dump -es -m $T | tee mouse_coords.txt >> Not Supported and skip >> >> 6-2)Mouse-Buttons >> $ sudo usbhid-dump -es -m $T | tee mouse_buttons.txt >> Not Supported and skip >> >> >> 6-3)Mouse-Wheel >> $ sudo usbhid-dump -es -m $T | tee mouse_wheel.txt >> Not Supported and skip >> >> 7.huion-probe >> 7-1)Identify original model >> $ lsusb > identmodel.txt >> Bus 007 Device 002: ID 5543:0081 UC-Logic Technology Corp. >> bus=7 >> device=2 >> >> 7-2)huion-probe >> $ sudo huion-probe 7 2 > ~/huionprobe.txt >> >> M 55 00 43 00 2D 00 4C 00 4F 00 49 00 43 00 00 00 >> P 54 00 41 00 42 00 4C 00 45 00 54 00 20 00 31 00 30 00 36 00 30 00 >> S 64 0E 03 40 9C C0 5D 03 00 FF 07 A0 0F 08 00 >> S 65 04 03 20 A0 >> S 6E 04 03 30 00 >> S 79 28 03 44 00 46 00 53 00 2D 00 55 00 49 00 20 00 46 00 34 00 30 00 >> 31 00 2D 00 32 00 30 00 31 00 31 00 31 00 30 00 32 00 >> S 7A 08 03 01 08 00 00 00 00 >> >> 7-2)huion-decode >> $ sudo huion-probe 6 3 | huion-decode > ~/huiondecode.txt >> Manufacturer: UC-LOIC? >> Product: TABLET 1060 >> Max X: 40000 >> Max Y: 24000 >> Max pressure: 2047 >> Resolution: 4000 >> Internal model: DFS-UI F401-2011102 >> >> >> 7-2)Calculation >> Active Area 10"x6" >> MaxX / Width = MaxY / Height = Resolution >> >> *40000/Width =4000 >> hence Width=10 >> >> *24000/Height=4000 >> hence Height=6 >> >> Best regards, >> Masaru Hirano >> Neoblast Inc. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On 2014年12月15日 02:00, Nikolai Kondrashov wrote: >>> Hi Masaru, >>> >>> On 11/06/2014 07:30 AM, Masaru Hirano wrote: >>>> Hello Nick >>>> >>>> Thanks for your support. >>>> We are Ugee distributer in japan. >>>> Please let us know how to make driver. >>>> >>>> We would like to build ugee tablet driver. >>>> VID=5543 >>>> PID=0081 >>>> These are all fine. >>>> VID=5543 >>>> PID=0045 >>>> These are not work fine. >>>> Calibration does not been succeed. >>> >>> I've made a very simple change to the digimend-kernel-drivers package, >>> which >>> has a slight possibility of making them work. I've simply added both >>> of the >>> product IDs you sent to the list of devices supported by the hid-huion >>> driver, >>> so it would treat them exactly as Huion tablets. >>> >>> The change is available in the "ugee" branch on GitHub, which you can >>> download >>> here: >>> https://github.com/DIGImend/digimend-kernel-drivers/archive/ugee.zip >>> >>> Please try building, installing and using the driver with your >>> tablets. We >>> might just be lucky and they might work. >>> >>> Nick >>> >>> On 11/06/2014 07:30 AM, Masaru Hirano wrote: >>>> Hello Nick >>>> >>>> Thanks for your support. >>>> We are Ugee distributer in japan. >>>> Please let us know how to make driver. >>>> >>>> We would like to build ugee tablet driver. >>>> VID=5543 >>>> PID=0081 >>>> These are all fine. >>>> VID=5543 >>>> PID=0045 >>>> These are not work fine. >>>> Calibration does not been succeed. >>>> >>>> If you give me some procedure and tools for making tablet and tablet >>>> monitor driver. >>>> I would like to make. >>>> Under ubuntu studio 14.04 >>>> >>>> File 1: >>>> VID=5543 >>>> PID=0081 >>>> are work fine. >>>> >>>> File 2: >>>> We would like to build for them. >>>> >>>> We are small company of system integrator for creative buginners. >>>> So we need to provide no wacom tablet and ubuntu-studio 14.04 for >>>> cost effective in Japan. >>>> >>>> Ofcource when we made new driver, we will share for everyone. >>>> >>>> Best regards, >>>> Masaru Hirano >>>> Neoblast Inc. >>>> >>>> On 2014年11月05日 18:24, Nikolai Kondrashov wrote: >>>>> On 11/05/2014 11:22 AM, Nikolai Kondrashov wrote: >>>>>> We would appreciate it, if you could provide us with a list of Ugee >>>>>> tablets >>>>>> which you found working with our tablets >>>>> >>>>> I meant "our drivers", of course. >>>>> >>>>> Nick >>>>> >>>>> On 11/05/2014 11:22 AM, Nikolai Kondrashov wrote: >>>>>> Hello Masaru, >>>>>> >>>>>> I'm very glad to hear that another tablet distributor is choosing to >>>>>> contribute their effort to making Linux drivers for their tablets. >>>>>> >>>>>> This year Yiynova helped with drivers for their tablets as well, and >>>>>> now have >>>>>> a bunch of models supported. >>>>>> >>>>>> We would appreciate it, if you could provide us with a list of Ugee >>>>>> tablets >>>>>> which you found working with our tablets, along with their USB >>>>>> VID:PID >>>>>> pairs, >>>>>> so we can add them to the list and advertise their support. >>>>>> >>>>>> Regarding the so far unsupported tablets, I would also like to know >>>>>> their >>>>>> names and VID:PID pairs, along with their parameters (if those are >>>>>> unavailable >>>>>> on the web). I would also like to know which hardware they're based >>>>>> on, if >>>>>> possible. Is it UC-Logic, Waltop, anything else? >>>>>> >>>>>> This would get us started. >>>>>> >>>>>> Thank you. >>>>>> >>>>>> Sincerely, >>>>>> Nick >>>>>> >>>>>> On 11/05/2014 03:42 AM, Masaru Hirano wrote: >>>>>>> Hello developper >>>>>>> >>>>>>> We are neoblast inc japan. >>>>>>> We are one of Ugee Distributer. >>>>>>> >>>>>>> There are few driver for ugee. >>>>>>> Most of product work by digemend kernel driver. >>>>>>> But some product (tablet monitor, sketch=pad) do not work. >>>>>>> http://ugee.net/index.asp >>>>>>> >>>>>>> We use ubuntu-studio 14.04. >>>>>>> >>>>>>> Digemend kernel driver are not enough for us. >>>>>>> There are no friver for tablet monitor for ubuntu 14.04. >>>>>>> >>>>>>> We would like to build by ourseleves. >>>>>>> Please let us know how to make kernel driver. >>>>>>> >>>>>>> best regards, >>>>>>> Masaru Hirano >>>>>>> neoblast inc. >>>>> >>>>> >>>>> >>> >>> >>> >> > > > -- ========================================= Masaru Hirano Neoblast Inc. Tokiwadai1-67-5-704, Itabashi-ku, Tokyo, Japan ZIP:174-0071 E-Mail:mh...@ne... Tel:+81-3-4570-7345 Mob:+81-70-6575-1732 Fax:+81-20-4623-9249 ========================================= |