* usbmc seems broken
@ 2010-01-22 16:40 Neil Kalo
2010-01-27 1:01 ` Andrew Morton
0 siblings, 1 reply; 5+ messages in thread
From: Neil Kalo @ 2010-01-22 16:40 UTC (permalink / raw)
To: linux-kernel
I cannot get usbtmc to work with my device. I am using fedora 12:
2.6.31.12-174.2.3.fc12.i686.PAE
Jan 22 15:40:26 localhost kernel: usb 4-1: new full speed USB device
using ohci_hcd and address 4
Jan 22 15:40:26 localhost kernel: usb 4-1: New USB device found,
idVendor=05e6, idProduct=2100
Jan 22 15:40:26 localhost kernel: usb 4-1: New USB device strings:
Mfr=2, Product=3, SerialNumber=1
Jan 22 15:40:26 localhost kernel: usb 4-1: Product: 2100 Multimeter
Jan 22 15:40:26 localhost kernel: usb 4-1: Manufacturer: KEITHLEY INSTRUMENTS
Jan 22 15:40:26 localhost kernel: usb 4-1: SerialNumber: 1160791
Jan 22 15:40:26 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
Jan 22 15:40:26 localhost kernel: usbtmc 4-1:1.0: can't read capabilities
If I compile the original Agilent module from
"http://www.home.agilent.com/upload/cmc_upload/All/usbtmc.html" It
works fine:
Jan 22 15:37:45 localhost kernel: usb 4-1: new full speed USB device
using ohci_hcd and address 3
Jan 22 15:37:45 localhost kernel: usb 4-1: New USB device found,
idVendor=05e6, idProduct=2100
Jan 22 15:37:45 localhost kernel: usb 4-1: New USB device strings:
Mfr=2, Product=3, SerialNumber=1
Jan 22 15:37:45 localhost kernel: usb 4-1: Product: 2100 Multimeter
Jan 22 15:37:45 localhost kernel: usb 4-1: Manufacturer: KEITHLEY INSTRUMENTS
Jan 22 15:37:45 localhost kernel: usb 4-1: SerialNumber: 1160791
Jan 22 15:37:45 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
Jan 22 15:37:45 localhost kernel: USBTMC: MKDEV
Jan 22 15:37:45 localhost kernel: USBTMC: CDEV_ADD f900000 1
Note that I do get one error line per module load, but this does not
prevent the device from working in my application:
Jan 22 15:38:21 localhost kernel: USBTMC: Unable to read data, error -110
This error also sometimes occurs with the standard kernel module, but
I never get a functioning connection to my device:
Jan 16 23:43:36 localhost kernel: usbtmc 1-4.1.1:1.0: can't read capabilities
Jan 16 23:52:31 localhost kernel: usbtmc 1-4.1.1:1.0: Unable to read
data, error -110
Where do I go from here?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: usbmc seems broken
2010-01-22 16:40 usbmc seems broken Neil Kalo
@ 2010-01-27 1:01 ` Andrew Morton
2010-01-27 1:59 ` Greg KH
0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2010-01-27 1:01 UTC (permalink / raw)
To: Neil Kalo; +Cc: linux-kernel, linux-usb, Steve Holland, Oliver Neukum
(cc's added)
On Fri, 22 Jan 2010 16:40:06 +0000
Neil Kalo <neilkalo@gmail.com> wrote:
> I cannot get usbtmc to work with my device. I am using fedora 12:
> 2.6.31.12-174.2.3.fc12.i686.PAE
>
> Jan 22 15:40:26 localhost kernel: usb 4-1: new full speed USB device
> using ohci_hcd and address 4
> Jan 22 15:40:26 localhost kernel: usb 4-1: New USB device found,
> idVendor=05e6, idProduct=2100
> Jan 22 15:40:26 localhost kernel: usb 4-1: New USB device strings:
> Mfr=2, Product=3, SerialNumber=1
> Jan 22 15:40:26 localhost kernel: usb 4-1: Product: 2100 Multimeter
> Jan 22 15:40:26 localhost kernel: usb 4-1: Manufacturer: KEITHLEY INSTRUMENTS
> Jan 22 15:40:26 localhost kernel: usb 4-1: SerialNumber: 1160791
> Jan 22 15:40:26 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
> Jan 22 15:40:26 localhost kernel: usbtmc 4-1:1.0: can't read capabilities
>
> If I compile the original Agilent module from
> "http://www.home.agilent.com/upload/cmc_upload/All/usbtmc.html" It
> works fine:
>
> Jan 22 15:37:45 localhost kernel: usb 4-1: new full speed USB device
> using ohci_hcd and address 3
> Jan 22 15:37:45 localhost kernel: usb 4-1: New USB device found,
> idVendor=05e6, idProduct=2100
> Jan 22 15:37:45 localhost kernel: usb 4-1: New USB device strings:
> Mfr=2, Product=3, SerialNumber=1
> Jan 22 15:37:45 localhost kernel: usb 4-1: Product: 2100 Multimeter
> Jan 22 15:37:45 localhost kernel: usb 4-1: Manufacturer: KEITHLEY INSTRUMENTS
> Jan 22 15:37:45 localhost kernel: usb 4-1: SerialNumber: 1160791
> Jan 22 15:37:45 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
> Jan 22 15:37:45 localhost kernel: USBTMC: MKDEV
> Jan 22 15:37:45 localhost kernel: USBTMC: CDEV_ADD f900000 1
>
> Note that I do get one error line per module load, but this does not
> prevent the device from working in my application:
> Jan 22 15:38:21 localhost kernel: USBTMC: Unable to read data, error -110
>
> This error also sometimes occurs with the standard kernel module, but
> I never get a functioning connection to my device:
> Jan 16 23:43:36 localhost kernel: usbtmc 1-4.1.1:1.0: can't read capabilities
> Jan 16 23:52:31 localhost kernel: usbtmc 1-4.1.1:1.0: Unable to read
> data, error -110
>
> Where do I go from here?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: usbmc seems broken
2010-01-27 1:01 ` Andrew Morton
@ 2010-01-27 1:59 ` Greg KH
2010-02-04 8:32 ` Neil Kalo
0 siblings, 1 reply; 5+ messages in thread
From: Greg KH @ 2010-01-27 1:59 UTC (permalink / raw)
To: Andrew Morton
Cc: Neil Kalo, linux-kernel, linux-usb, Steve Holland, Oliver Neukum
On Tue, Jan 26, 2010 at 05:01:25PM -0800, Andrew Morton wrote:
> (cc's added)
>
> On Fri, 22 Jan 2010 16:40:06 +0000
> Neil Kalo <neilkalo@gmail.com> wrote:
>
> > I cannot get usbtmc to work with my device. I am using fedora 12:
> > 2.6.31.12-174.2.3.fc12.i686.PAE
> >
> > Jan 22 15:40:26 localhost kernel: usb 4-1: new full speed USB device
> > using ohci_hcd and address 4
> > Jan 22 15:40:26 localhost kernel: usb 4-1: New USB device found,
> > idVendor=05e6, idProduct=2100
> > Jan 22 15:40:26 localhost kernel: usb 4-1: New USB device strings:
> > Mfr=2, Product=3, SerialNumber=1
> > Jan 22 15:40:26 localhost kernel: usb 4-1: Product: 2100 Multimeter
> > Jan 22 15:40:26 localhost kernel: usb 4-1: Manufacturer: KEITHLEY INSTRUMENTS
> > Jan 22 15:40:26 localhost kernel: usb 4-1: SerialNumber: 1160791
> > Jan 22 15:40:26 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
> > Jan 22 15:40:26 localhost kernel: usbtmc 4-1:1.0: can't read capabilities
This was a bug in this version of the driver.
Please upgrade to 2.6.32, the problem is fixed.
If you are curious, commit id d0a38365d9585bf3fb71f7c57fd532441a14f3e8
solved the problem.
Hope this helps,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: usbmc seems broken
2010-01-27 1:59 ` Greg KH
@ 2010-02-04 8:32 ` Neil Kalo
2010-02-24 2:18 ` Greg KH
0 siblings, 1 reply; 5+ messages in thread
From: Neil Kalo @ 2010-02-04 8:32 UTC (permalink / raw)
To: Greg KH
Cc: Andrew Morton, linux-kernel, linux-usb, Steve Holland,
Oliver Neukum
Upgraded to: 2.6.32.7-37.fc12.i686.PAE
Still no joy. Plugging in the meter gives:
Feb 4 08:27:04 localhost kernel: usb 4-1: new full speed USB device
using ohci_hcd and address 2
Feb 4 08:27:04 localhost kernel: usb 4-1: New USB device found,
idVendor=05e6, idProduct=2100
Feb 4 08:27:04 localhost kernel: usb 4-1: New USB device strings:
Mfr=2, Product=3, SerialNumber=1
Feb 4 08:27:04 localhost kernel: usb 4-1: Product: 2100 Multimeter
Feb 4 08:27:04 localhost kernel: usb 4-1: Manufacturer: KEITHLEY INSTRUMENTS
Feb 4 08:27:04 localhost kernel: usb 4-1: SerialNumber: 1160791
Feb 4 08:27:04 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
Feb 4 08:27:04 localhost kernel: usbcore: registered new interface
driver usbtmc
But "cat /dev/usbtmc0" gives:
cat: /dev/usbtmc0: Connection timed out
And in the logs:
Feb 4 08:27:35 localhost kernel: usbtmc 4-1:1.0: Unable to read data,
error -110
The very old driver still works:
Feb 4 08:31:02 localhost kernel: USBTMC: MKDEV
Feb 4 08:31:02 localhost kernel: USBTMC: CDEV_ADD f900000 1
Feb 4 08:31:02 localhost kernel: usbcore: registered new interface
driver USBTMC
[root@mc22 usbtmc-module]# cat /dev/usbtmc0
Minor Number Manufacturer Product Serial Number
001 KEITHLEY INSTRUMENTS 2100 Multimeter 1160791
On Wed, Jan 27, 2010 at 1:59 AM, Greg KH <greg@kroah.com> wrote:
> On Tue, Jan 26, 2010 at 05:01:25PM -0800, Andrew Morton wrote:
>> (cc's added)
>>
>> On Fri, 22 Jan 2010 16:40:06 +0000
>> Neil Kalo <neilkalo@gmail.com> wrote:
>>
>> > I cannot get usbtmc to work with my device. I am using fedora 12:
>> > 2.6.31.12-174.2.3.fc12.i686.PAE
>> >
>> > Jan 22 15:40:26 localhost kernel: usb 4-1: new full speed USB device
>> > using ohci_hcd and address 4
>> > Jan 22 15:40:26 localhost kernel: usb 4-1: New USB device found,
>> > idVendor=05e6, idProduct=2100
>> > Jan 22 15:40:26 localhost kernel: usb 4-1: New USB device strings:
>> > Mfr=2, Product=3, SerialNumber=1
>> > Jan 22 15:40:26 localhost kernel: usb 4-1: Product: 2100 Multimeter
>> > Jan 22 15:40:26 localhost kernel: usb 4-1: Manufacturer: KEITHLEY INSTRUMENTS
>> > Jan 22 15:40:26 localhost kernel: usb 4-1: SerialNumber: 1160791
>> > Jan 22 15:40:26 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
>> > Jan 22 15:40:26 localhost kernel: usbtmc 4-1:1.0: can't read capabilities
>
> This was a bug in this version of the driver.
>
> Please upgrade to 2.6.32, the problem is fixed.
>
> If you are curious, commit id d0a38365d9585bf3fb71f7c57fd532441a14f3e8
> solved the problem.
>
> Hope this helps,
>
> greg k-h
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: usbmc seems broken
2010-02-04 8:32 ` Neil Kalo
@ 2010-02-24 2:18 ` Greg KH
0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2010-02-24 2:18 UTC (permalink / raw)
To: Neil Kalo
Cc: Andrew Morton, linux-kernel, linux-usb, Steve Holland,
Oliver Neukum
On Thu, Feb 04, 2010 at 08:32:21AM +0000, Neil Kalo wrote:
> Upgraded to: 2.6.32.7-37.fc12.i686.PAE
>
> Still no joy. Plugging in the meter gives:
>
> Feb 4 08:27:04 localhost kernel: usb 4-1: new full speed USB device
> using ohci_hcd and address 2
> Feb 4 08:27:04 localhost kernel: usb 4-1: New USB device found,
> idVendor=05e6, idProduct=2100
> Feb 4 08:27:04 localhost kernel: usb 4-1: New USB device strings:
> Mfr=2, Product=3, SerialNumber=1
> Feb 4 08:27:04 localhost kernel: usb 4-1: Product: 2100 Multimeter
> Feb 4 08:27:04 localhost kernel: usb 4-1: Manufacturer: KEITHLEY INSTRUMENTS
> Feb 4 08:27:04 localhost kernel: usb 4-1: SerialNumber: 1160791
> Feb 4 08:27:04 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
> Feb 4 08:27:04 localhost kernel: usbcore: registered new interface
> driver usbtmc
>
> But "cat /dev/usbtmc0" gives:
> cat: /dev/usbtmc0: Connection timed out
>
> And in the logs:
> Feb 4 08:27:35 localhost kernel: usbtmc 4-1:1.0: Unable to read data,
> error -110
>
> The very old driver still works:
>
> Feb 4 08:31:02 localhost kernel: USBTMC: MKDEV
> Feb 4 08:31:02 localhost kernel: USBTMC: CDEV_ADD f900000 1
> Feb 4 08:31:02 localhost kernel: usbcore: registered new interface
> driver USBTMC
>
> [root@mc22 usbtmc-module]# cat /dev/usbtmc0
> Minor Number Manufacturer Product Serial Number
> 001 KEITHLEY INSTRUMENTS 2100 Multimeter 1160791
Care to try to figure out what is going wrong here and send a patch?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-02-24 3:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22 16:40 usbmc seems broken Neil Kalo
2010-01-27 1:01 ` Andrew Morton
2010-01-27 1:59 ` Greg KH
2010-02-04 8:32 ` Neil Kalo
2010-02-24 2:18 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox