AnsweredAssumed Answered

/dev/usbtmc1 not being created in Linux

Question asked by lm.guid on Sep 14, 2011
Latest reply on Sep 14, 2011 by daras
Hi,

I am having problem using the DSO1012A in Linux with the usbtmc.ko kernel module. The problem is, when I plug the device using the type-B USB connector on the back of the oscilloscope in a Linux machine running Ubuntu 10.04, kernel 2.6.32-33, the module is loaded but only the /dev/usbtmc0 is created. Since it's for internal driver communication the /dev/usbtmc1 should have been created as well. When I try to cat /dev/usbtmc0 in order to find out what devices are connected to the machine, I get a timeout as response. I tried creating /dev/usbtmc1 manually with mknod using the same major as usbtmc0, but still haven't got any success. I tried using the same major because I was not able to determine the appropriate major since grep -i usbtmc /proc/devices did not return anything. The oscilloscope is functioning properly since it works under Windows.

I run out of ideas on how to make it work. Any suggestions? I have attached the dmesg output relevant to this situation.

Thanks for your attention!


-- dmesg output
[ 2717.821584] usbcore: registered new interface driver usbtmc
[ 2926.500607] usb 3-3: new full speed USB device using ohci_hcd and address 2
[ 2926.682362] usb 3-3: configuration #1 chosen from 1 choice
[ 2926.751105] usbcore: registered new interface driver hiddev
[ 2926.761619] generic-usb 0003:0957:0586.0001: hiddev96,hidraw0: USB HID v1.00 Device [Agilent Technologies DSO1012A] on usb-0000:00:12.0-3/input0
[ 2926.761680] usbcore: registered new interface driver usbhid
[ 2926.761751] usbhid: v2.6:USB HID core driver
[ 2927.525029] usb 3-3: USB disconnect, address 2
[ 2928.796147] usb 3-3: new full speed USB device using ohci_hcd and address 3
[ 2928.972483] usb 3-3: configuration #1 chosen from 1 choice

Outcomes