Re: USB Osciloscope
wine-1.0.1 Try to use 1.3.15 with a patch for it. phoenox@firebird:~/.wine/drive_c/DSO8000$ WINEDEBUG=+winedevice, +ntoskrnl,+usbhub wine ezusb.sys Do not run the driver manually. Put it in windows/system32/drivers and run your program under WINE, the driver will be loaded if your USB device is connected.
Re: USB Osciloscope
Hello, What WINE version do you try to use? What do you put to the WINE registry? Could you send me ezusb.sys and a starting WINE log with WINEDEBUG=+winedevice,+ntoskrnl,+usbhub ? Thanks, Alexander Here is the information you have requested. I had trouble emailing the driver, so I put them on my web server at www.robertsonrobots.com/ezusb.sys Thanks for the help, Archie wine-1.0.1 REGEDIT4 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\USB] [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\USB\Vid_3195Pid_0004] [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\USB\Vid_3195Pid_0004\5c1e6cce01] Capabilities=dword:0084 Class=DSO ClassGUID={4C696E6B-2049-6E73-7472-756D656E7473} CompatibleIDs=hex(7):55,53,42,5c,43,6c,61,73,73,5f,66,65,26,53,75,62,43,6c,61,\ 73,73,5f,30,33,26,50,72,6f,74,5f,30,30,00,55,53,42,5c,43,6c,61,73,73,5f,66,\ 65,26,53,75,62,43,6c,61,73,73,5f,30,33,00,55,53,42,5c,43,6c,61,73,73,5f,66,\ 65,00,00 ConfigFlags=dword: DeviceDesc=Link Instruments DSO-8502 Driver={4C696E6B-2049-6E73-7472-756D656E7473}\\0001 HardwareID=hex(7):55,53,42,5c,56,69,64,5f,33,31,39,35,26,50,69,64,5f,30,30,30,\ 34,26,52,65,76,5f,30,30,30,35,00,55,53,42,5c,56,69,64,5f,33,31,39,35,26,50,\ 69,64,5f,30,30,30,34,00,00 LocationInformation=DSO-8502 Mfg=Link Instruments Service=ezusb UINumber=dword: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\USB\Vid_3195Pid_0004\5c1e6cce01\Device Parameters] SymbolicName=\\??\\USB#Vid_3195Pid_0004#5c1e6cce01#{a5dcbf10-6530-11d2-901f-00c04fb951ed} [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\USB\Vid_3195Pid_0004\5c1e6cce01\LogConf] [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\USB\Vid_3195Pid_0004\5c1e6cce02] Capabilities=dword:0084 Class=DSO ClassGUID={4C696E6B-2049-6E73-7472-756D656E7473} CompatibleIDs=hex(7):55,53,42,5c,43,6c,61,73,73,5f,66,65,26,53,75,62,43,6c,61,\ 73,73,5f,30,33,26,50,72,6f,74,5f,30,30,00,55,53,42,5c,43,6c,61,73,73,5f,66,\ 65,26,53,75,62,43,6c,61,73,73,5f,30,33,00,55,53,42,5c,43,6c,61,73,73,5f,66,\ 65,00,00 ConfigFlags=dword: DeviceDesc=Link Instruments DSO-8502 Driver={4C696E6B-2049-6E73-7472-756D656E7473}\\ HardwareID=hex(7):55,53,42,5c,56,69,64,5f,33,31,39,35,26,50,69,64,5f,30,30,30,\ 34,26,52,65,76,5f,30,30,30,35,00,55,53,42,5c,56,69,64,5f,33,31,39,35,26,50,\ 69,64,5f,30,30,30,34,00,00 LocationInformation=DSO-8502 Mfg=Link Instruments Service=ezusb UINumber=dword: [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\USB\Vid_3195Pid_0004\5c1e6cce02\Device Parameters] SymbolicName=\\??\\USB#Vid_3195Pid_0004#5c1e6cce02#{a5dcbf10-6530-11d2-901f-00c04fb951ed} [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\USB\Vid_3195Pid_0004\5c1e6cce02\LogConf] REGEDIT4 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ezusb] ErrorControl=dword:0001 ImagePath=\system32driverezusb.sys\ Start=dword:0003 Type=dword:0001 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ezusb\Security] Security=hex:01,00,14,80,a0,00,00,00,ac,00,00,00,14,00,00,00,30,00,00,00,02,\ 00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\ 00,00,02,00,70,00,04,00,00,00,00,00,18,00,fd,01,02,00,01,01,00,00,00,00,00,\ 05,12,00,00,00,00,00,00,00,00,00,1c,00,ff,01,0f,00,01,02,00,00,00,00,00,05,\ 20,00,00,00,20,02,00,00,00,00,00,00,00,00,18,00,8d,01,02,00,01,01,00,00,00,\ 00,00,05,0b,00,00,00,20,02,00,00,00,00,1c,00,fd,01,02,00,01,02,00,00,00,00,\ 00,05,20,00,00,00,23,02,00,00,00,00,00,00,01,01,00,00,00,00,00,05,12,00,00,\ 00,01,01,00,00,00,00,00,05,12,00,00,00 phoenox@firebird:~/.wine/drive_c/DSO8000$ WINEDEBUG=+winedevice, +ntoskrnl,+usbhub wine ezusb.sys trace:winedevice:ServiceMain starting service LMountMgr trace:winedevice:load_driver loading driver LC:\\windows\\system32\ \drivers\\mountmgr.sys trace:ntoskrnl:IoCreateDevice (0x7ee8c480, 0, L\\Device\ \MountPointManager, 0, 0, 0, 0x7ec048ac) trace:ntoskrnl:IoCreateSymbolicLink L\\??\\MountPointManager - L\ \Device\\MountPointManager trace:ntoskrnl:IoCreateDevice (0x1117b0, 20, L\\Device\\Harddisk0, 0, 0, 0, 0x7ec047f8) trace:ntoskrnl:IoCreateSymbolicLink L\\??\\PhysicalDrive0 - L\ \Device\\Harddisk0 trace:ntoskrnl:IoCreateDevice (0x1117b0, 20, L\\Device\ \HarddiskVolume1, 0, 0, 0, 0x7ec3a540) trace:ntoskrnl:IoCreateSymbolicLink L\\DosDevices\\C: - L\\Device\ \HarddiskVolume1 trace:ntoskrnl:IoCreateSymbolicLink L\\??\ \Volume{----0043} - L\\Device\ \HarddiskVolume1 trace:ntoskrnl:IoCreateDevice (0x1117b0, 20, L\\Device\ \HarddiskVolume1, 0, 0, 0, 0x7ec3a568) trace:ntoskrnl:IoCreateDevice (0x1117b0, 20, L\\Device\ \HarddiskVolume2, 0, 0, 0, 0x7ec3a568) trace:ntoskrnl:IoCreateSymbolicLink L\\DosDevices\\D: - L\\Device\ \HarddiskVolume2 trace:ntoskrnl:IoCreateSymbolicLink L\\??\ \Volume{----0044} - L\\Device\ \HarddiskVolume2 trace:ntoskrnl:IoCreateDevice (0x1117b0, 20, L\\Device\ \HarddiskVolume1, 0, 0, 0, 0x7ec3a590)
Re: USB Osciloscope
On 3/1/11 5:09 PM, Archie Robertson wrote: I have a USB osciloscope (Link Instruments DSO 8002) that I am quite motivated to get working in wine. I have followed the instructions to install the USB patches. The osciloscope software works fine in demo mode, but it still cannot find the device. I have spent some time messing around with this, but I am new to wine, so I am a little lost. I am a half decent c programmer, so If somebody could point me in the right direction I should be able to get this working. There is a page on USB support on the Wine Wiki. Please feel free to read through it. Note that the last time I tried to get to the page with the USB patches, it was not available. Others here have expressed their willingness to improve USB non-storage device support. This has been a tough problem to solve. James McKenzie
Re: USB Osciloscope
Shachar == Shachar Shemesh shac...@shemesh.biz writes: I have a USB osciloscope (Link Instruments DSO 8002) that I am quite motivated to get working in wine. I have followed the instructions to install the USB patches. The osciloscope software works fine in demo mode, but it still cannot find the device. I have spent some time messing around with this, but I am new to wine, so I am a little lost. I am a half decent c programmer, so If somebody could point me in the right direction I should be able to get this working. I have gotten error message usbd.sys failed to load. I don't know if this program requires functions that wine does not support or I have just failed to install something correctly. I have attached lsusb and winedump -x output Any help would be greatly appreciated. Shachar usbd.sys sounds like a kernel driver. I'm not sure those are Shachar supported, even for USB. USB driver are not supported per se, but Alexander Morozov tried to build infrastructure for such driver loading. He provided patches and asked for discussion, but few to non feedback happened on this list. Also Damjan Jovanovic Jan 23 91/4337 USB architecture: driver loading question tried to take up the subject, again with no feedback. Linux users in the elektronic area would love to see Wine supporting USB drivers... Archie I have gotten error message usbd.sys failed to load. Try to get more information about that error. Is some kernel driver api missing? At some point I had at least usbd.sys loading, also the final device driver failed. Another approach: Can you look at the ezusb-imports of your application and compare against what linux-2.6.34.7-0.7/drivers/usb/serial/ezusb.xxx sipplies? Perhaps you can write a replacemment ezusb DLL. Bye -- Uwe Bonnesb...@elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt - Tel. 06151 162516 Fax. 06151 164321 --
Re: USB Osciloscope
On Wed, Mar 2, 2011 at 12:56 PM, Uwe Bonnes b...@elektron.ikp.physik.tu-darmstadt.de wrote: Shachar == Shachar Shemesh shac...@shemesh.biz writes: Also Damjan Jovanovic Jan 23 91/4337 USB architecture: driver loading question tried to take up the subject, again with no feedback. For the record, I haven't had much feedback on that driver loading question either, so I've had little to go on. But since I see many people are interested, I am increasing the priority of that project. Linux users in the elektronic area would love to see Wine supporting USB drivers... I've been waiting since 2004... Archie Damjan Jovanovic
Re: USB Osciloscope
On Tue, 2011-03-01 at 17:09 -0700, Archie Robertson wrote: so If somebody could point me in the right direction I should be able to get this working.
Re: USB Osciloscope
I have a USB osciloscope (Link Instruments DSO 8002) that I am quite motivated to get working in wine. I have followed the instructions to install the USB patches. The osciloscope software works fine in demo mode, but it still cannot find the device. I have spent some time messing around with this, but I am new to wine, so I am a little lost. I am a half decent c programmer, so If somebody could point me in the right direction I should be able to get this working. I have gotten error message usbd.sys failed to load. I don't know if this program requires functions that wine does not support or I have just failed to install something correctly. I have attached lsusb and winedump -x output Any help would be greatly appreciated. usbd.sys sounds like a kernel driver. I'm not sure those are supported, even for USB. I had a logic analyzer that I managed to get working (sort of - the GUI did not work well with Wine). It used the FTDI drivers, so I found Linux version of the same drivers, and created a winelib wrapper for them under the same name as the Windows version. Your driver seems to be for a driver called ezusb. Try finding linux drivers for them (ezusb linux drivers returned http://www.linux-usb.org/ezusb/, for example. There is also http://www.cypress.com/?id=4rID=29746). Hope this helps, Shachar -- Shachar Shemesh Lingnu Open Source Consulting Ltd. http://www.lingnu.com