|
From: | Dean Osborne |
Subject: | DataExplorer on Raspberry pi |
Date: | Tue, 8 Dec 2020 18:37:55 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 |
Hi
Having some problems installign USB drivers on Raspberry pi 400
on the
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@raspberrypi:~ $
I have run this script but its not working..
#!/bin/bash
#Install and launch Dataexplorer within raspbian
#By Ravel
#version 0.0001c
# b : added command to make pi part of usergroup uucp
# c : bumped dataexplorer version to 3.30
uname -a
cat /proc/cpuinfo | egrep 'model|Hardware|Revision'
cat /etc/debian_version
echo 'All the latest Raspbian images come pre-installed with Java'
; java -version
mkdir mydataexplorer ; cd mydataexplorer
#wget http://download.savannah.gnu.org/rel..._ARM_32.tar.gz
wget
http://download.savannah.nongnu.org/releases/dataexplorer/dataexplorer-3.4.4-bin_RaspbianLinux_ARM_32.tar.gz
wget http://download.savannah.gnu.org/rel...orer/README.en
wget
http://download.savannah.gnu.org/releases/dataexplorer/GNU_LINUX_SKYRC_UDEV_RULE/{50-SkyRC-Charger.rules,copyUdevRule.sh}
tar -xzvf dataexplorer-3.4.4-bin_RaspbianLinux_ARM_32.tar.gz
ls -l
ls -l /var/
sudo chgrp -R uucp /var/lock
sudo usermod -a -G uucp pi
chmod 700 copyUdevRule.sh
sudo ./copyUdevRule.sh
cat <<EOF
===============================
Non linux commands to come :
read and press OK, read en press OK again
close, close, menu <file><exit>
You will have exited DataExplorer
DEX will start in 10 seconds, stay there a few seconds and quit
===============================
EOF
sleep 10
cd DataExplorer/
./DataExplorer
cat <<EOF
===============================
Then plug the MC3000 usb cable into the raspi. Output should be
like this:"
=============================== example ===================
Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.531577] usb 1-1.2:
new full-speed USB device number 6 using dwc_otg
Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.635001] usb 1-1.2:
New USB device found, idVendor=0000, idProduct=0001
Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.635030] usb 1-1.2:
New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.635047] usb 1-1.2:
Product: STM32 Custm HID
Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.635063] usb 1-1.2:
Manufacturer: STMicroelectronics
Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.635079] usb 1-1.2:
SerialNumber: xxxxxx
Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.639794] input:
STMicroelectronics STM32 Custm HID as
/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:0000:0001.0003/input/input2
Feb 2 20:14:41 nameofyourdevice kernel: [ 3268.640506] hid-generic
0003:0000:0001.0003: input,hidraw2: USB HID v1.01 Device
[STMicroelectronics STM32 Custm HID] on
usb-3f980000.usb-1.2/input0
Feb 2 20:14:41 nameofyourdevice systemd-udevd[3598]: failed to
execute '/lib/udev/mtp-probe' 'mtp-probe
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2 1 6': No
such file or directory
=============================== end of example ============
EOF
echo "=================================================
==============="
echo "Press <ctrl><c> in a few seconds to exit
watching the system log"
echo "=================================================
==============="
sudo tail -f /var/log/syslog
echo "=================================================
==============="
echo "Another way to see if the MC3000 is there :"
echo "=================================================
==============="
lsusb -v | grep STMicroelectronics -B13 -A10
echo "=================================================
==============="
echo "Now you launch DEX with this command ./DataExplorer "
echo "Your turn to play"
echo "=================================================
==============="
cat <<EOF
When in DEX
Menu <device><device selection dialog><device
selection, port overview> clock on MC3000, then OK, then close
And bob is you uncle !
You can run DEX as usual"
EOF
echo "This is the end, of the script"
It downloads and installs okay but usb won't recognise device SkyRC MC3000
Any Help will be appreciated
Thanks
[Prev in Thread] | Current Thread | [Next in Thread] |