Код: Выделить всё
metrologiats:/etc # lsusb
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
Bus 001 Device 002: ID 046d:c043 Logitech, Inc. MX320 Laser Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 04b4:520a Cypress Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
metrologiats:/etc #
Всё делал согласно инструкции, сформировал фирмваре, пложил в нужный католог, компиляция прошла на удивление упешно,
Код: Выделить всё
How to INSTALL:
Firmware
You need to find the firmware for the oscilloscope (usually in the folder
/Driver on CD), convert it to .hex files, and make sure they get loaded
into the oscilloscope when it is connected.
Locate one of the following files, depending on the model of
your scope: DSO20901.SYS, DSO21001.SYS, DSO21501.SYS, DSO22501.SYS,
DSO520A1.SYS and put it in the folder with dsoextractfw utility.
Run the program dsoextractfw. It searches for the files listed above
in the current directory. If it finds any of them, it creates
two files named "DSOxxxx_firmware.hex" and "DSOxxxx_loader.hex". Move
these files to /usr/share/HantekDSO/ . Copy the file HantekDSO.rules to
/etc/udev/rules.d/ .
Now, the firmware should be loaded automatically when the DSO is connected
to an USB port. Once the firmware is loaded, the LED on the DSO starts to
flash red. You can now run the program hantekdso. The LED will blink green.
Make sure you have sufficient privilegies on the USB device or run as root
(probably not recommended in the long run).
Thanks to:
- Fredrik Jansson
вот что пишется в мессаджес
Код: Выделить всё
Aug 23 14:58:36 metrologiats kernel: usb 2-4: new high speed USB device using ehci_hcd and address 3
Aug 23 14:58:36 metrologiats kernel: usb 2-4: configuration #1 chosen from 1 choice
Aug 23 14:58:36 metrologiats kernel: usb 2-4: New USB device found, idVendor=04b4, idProduct=520a
Aug 23 14:58:36 metrologiats kernel: usb 2-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
не совсем понятно, как правильно назвать HantekDSO.rules , в моём случае они все имеют номера и написаны с маленькой буквы
Код: Выделить всё
metrologiats:/etc/udev/rules.d # ls -l
итого 268
-rw-r--r-- 1 root root 357 Июн 7 2008 40-alsa.rules
-rw-r--r-- 1 root root 2276 Июн 7 2008 40-bluetooth.rules
-rw-r--r-- 1 root root 484 Июн 6 2008 40-suse.rules
-rw-r--r-- 1 root root 250 Июн 6 2008 40-zaptel.rules
-rw-r--r-- 1 root root 4283 Июн 6 2008 50-udev-default.rules
-rw-r--r-- 1 root root 571 Июн 7 2008 51-lirc.rules
-rw-r--r-- 1 root root 268 Июн 7 2008 52-irda.rules
-rw-r--r-- 1 root root 115287 Июн 7 2008 55-libsane.rules
-rw-r--r-- 1 root root 190 Июн 6 2008 56-idedma.rules
-rw-r--r-- 1 root root 24908 Июн 7 2008 56-sane-backends-autoconfig.rules
-rw-r--r-- 1 serg users 1200 Апр 25 01:52 57-hantekdso.rules
-rw-r--r-- 1 serg users 1200 Апр 25 01:52 57-HantekDSO.rules
-rw-r--r-- 1 root root 119 Июн 6 2008 60-cdrom_id.rules
-rw-r--r-- 1 root root 1098 Июн 7 2008 60-pcmcia.rules
-rw-r--r-- 1 root root 1431 Июн 6 2008 60-persistent-input.rules
-rw-r--r-- 1 root root 3373 Июн 6 2008 60-persistent-storage.rules
-rw-r--r-- 1 root root 1222 Июн 6 2008 60-persistent-storage-tape.rules
-rw-r--r-- 1 root root 518 Июн 6 2008 61-persistent-storage-edd.rules
-rw-r--r-- 1 root root 918 Июн 6 2008 64-device-mapper.rules
-rw-r--r-- 1 root root 725 Июн 6 2008 64-md-raid.rules
-rw-r--r-- 1 root root 1421 Июн 7 2008 70-kpartx.rules
-rw-r--r-- 1 root root 2103 Июл 17 02:18 70-persistent-cd.rules
-rw-r--r-- 1 root root 814 Авг 6 09:54 70-persistent-net.rules
-rw-r--r-- 1 root root 390 Июн 6 2008 75-cd-aliases-generator.rules
-rw-r--r-- 1 root root 2405 Июн 6 2008 75-persistent-net-generator.rules
-rw-r--r-- 1 root root 823 Июн 7 2008 77-network.rules
-rw-r--r-- 1 root root 0 Авг 6 09:54 79-yast2-drivers.rules
-rw-r--r-- 1 root root 842 Июн 6 2008 80-drivers.rules
-rw-r--r-- 1 root root 46 Июн 7 2008 90-hal.rules
-rw-r--r-- 1 root root 234 Июн 6 2008 95-udev-late.rules
-rw-r--r-- 1 root root 153 Июн 7 2008 99-pcsc_lite.rules
-rw-r--r-- 1 serg users 1200 Апр 25 01:52 hantekdso.rules
-rwxrwxr-- 1 serg users 1200 Апр 25 01:52 HantekDSO.rules
metrologiats:/etc/udev/rules.d #
при запуске от рута или от пользователя просто пишет
metrologiats:/etc/udev/rules.d # hantekdso
Hantek DSO not found
Подскажите, в каком направлении искать ошибку?