Hi, everyone My system is openindiana 151a9, and try to develop usbwcm module. When build success in illumos-gate, i place it to /kernel/drv/ and /kernel/strmod/ But when add driver, it appear these err msgs: mouette@openindiana:/kernel/drv# update_drv usbwcm devfsadm: driver failed to attach: usbwcm Warning: Driver (usbwcm) successfully added to system but failed to attach mouette@openindiana:/kernel/drv# devfsadm -i usbwcm -v devfsadm: driver failed to attach: usbwcm exit status = 1
When i plug this device(wacom intuos pen small(CTL-480/S)), dmesg looks like this device is assigned wrong driver(hid?) and my debug msgs in usbwcm.c is not showed: Feb 15 11:56:15 openindiana usba: [ID 912658 kern.info] USB 2.0 device (usb56a,30e) operating at full speed (USB 1.x) on USB 2.0 external hub: device@2, usb_mid2 at bus address 4 Feb 15 11:56:15 openindiana usba: [ID 349649 kern.info] Wacom Co.,Ltd. Intuos PS Feb 15 11:56:15 openindiana genunix: [ID 936769 kern.info] usb_mid2 is /pci@0,0/pci1043,1287@1d/hub@1/device@2 Feb 15 11:56:15 openindiana genunix: [ID 408114 kern.info] /pci@0 ,0/pci1043,1287@1d/hub@1/device@2 (usb_mid2) online Feb 15 11:56:15 openindiana usba: [ID 912658 kern.info] USB 2.0 interface (usbif56a,30e.config1.0) operating at full speed (USB 1.x) on USB 2.0 external hub: input@0, hid3 at bus address 4 Feb 15 11:56:15 openindiana usba: [ID 349649 kern.info] Wacom Co.,Ltd. Intuos PS Feb 15 11:56:15 openindiana genunix: [ID 936769 kern.info] hid3 is /pci@0 ,0/pci1043,1287@1d/hub@1/device@2/input@0 Feb 15 11:56:15 openindiana genunix: [ID 408114 kern.info] /pci@0 ,0/pci1043,1287@1d/hub@1/device@2/input@0 (hid3) online Feb 15 11:56:15 openindiana usba: [ID 912658 kern.info] USB 2.0 interface (usbif56a,30e.config1.1) operating at full speed (USB 1.x) on USB 2.0 external hub: input@1, hid4 at bus address 4 Feb 15 11:56:15 openindiana usba: [ID 349649 kern.info] Wacom Co.,Ltd. Intuos PS Feb 15 11:56:15 openindiana genunix: [ID 936769 kern.info] hid4 is /pci@0 ,0/pci1043,1287@1d/hub@1/device@2/input@1 Feb 15 11:56:15 openindiana genunix: [ID 408114 kern.info] /pci@0 ,0/pci1043,1287@1d/hub@1/device@2/input@1 (hid4) online Feb 15 11:56:15 openindiana usba: [ID 912658 kern.info] USB 2.0 interface (usbif56a,30e.config1.2) operating at full speed (USB 1.x) on USB 2.0 external hub: mouse@2, hid5 at bus address 4 Feb 15 11:56:15 openindiana usba: [ID 349649 kern.info] Wacom Co.,Ltd. Intuos PS Feb 15 11:56:15 openindiana genunix: [ID 936769 kern.info] hid5 is /pci@0 ,0/pci1043,1287@1d/hub@1/device@2/mouse@2 Feb 15 11:56:15 openindiana genunix: [ID 408114 kern.info] /pci@0 ,0/pci1043,1287@1d/hub@1/device@2/mouse@2 (hid5) online I notice that usbwcm is not auto-loaded, neet manually exec modload it, but it still not my debug msgs in dmesg. mouette@openindiana:/kernel/drv# modinfo | grep usbwcm 295 fffffffff868c000 37d0 - 1 usbwcm (USB Wacom STRMOD) ------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
