Unable echo a device in /dev on Ubuntu 18.10
I am trying to echo an LCD screen attached to my system to confirm the device functions correctly. I am running Ubuntu 18.10.
This is the device as per the contents of /var/log/Xorg.0.log:
[ 15.828] (II) config/udev: Adding input device HID TOUCH HID Touch Panel (/dev/input/event4)
[ 15.828] (**) HID TOUCH HID Touch Panel: Applying InputClass "libinput tablet catchall"
[ 15.828] (**) HID TOUCH HID Touch Panel: Applying InputClass "Risintech HID touch device"
[ 15.828] (II) LoadModule: "risintech"
[ 15.829] (II) Loading /usr/lib/xorg/modules/input/risintech_drv.so
[ 15.832] (II) Module risintech: vendor="X.Org Foundation"
[ 15.832] compiled for 1.19.3, module version = 2.10.5
[ 15.832] Module class: X.Org XInput Driver
[ 15.832] ABI class: X.Org XInput driver, version 24.1
[ 15.832] (II) Using input driver 'risintech' for 'HID TOUCH HID Touch Panel'
[ 15.892] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 42 paused 0
[ 15.892] (**) HID TOUCH HID Touch Panel: always reports core events
[ 15.892] (**) risintech: HID TOUCH HID Touch Panel: Device: "/dev/input/event4"
[ 15.893] (II) Get Defalt Screen Config
[ 15.893] (**) Option "Screen_MaxX1" "4095"
[ 15.893] (**) Option "Screen_MinX1" "1204"
[ 15.893] (**) Option "Screen_MaxY1" "4095"
[ 15.893] (**) Option "Screen_MinY1" "0"
[ 15.893] (**) Option "Screen_MaxX2" "1204"
[ 15.893] (**) Option "Screen_MinX2" "0"
[ 15.893] (**) Option "Screen_MaxY2" "2275"
[ 15.893] (**) Option "Screen_MinY2" "0"
[ 15.899] (II) [1]1204 4095 0 4095
[ 15.899] (II) Init Screen configurtion pass
[ 15.899] (--) risintech: HID TOUCH HID Touch Panel: Vendor 0x1bfd Product 0x1688
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: Configuring as tablet
[ 15.899] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-9/1-9:1.0/0003:1BFD:1688.0002/input/input4/event4"
[ 15.899] (II) XINPUT: Adding extended input device "HID TOUCH HID Touch Panel" (type: TABLET, id 8)
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: Device Init
[ 15.899] (**) Option "Mode" "absolute"
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: initialized for absolute axes.
[ 15.899] (**) HID PANEL: Initialize
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) keeping acceleration scheme 1
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) acceleration profile 0
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) acceleration factor: 2.000
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) acceleration threshold: 4
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: Device ON
[ 15.900] (II) config/udev: Adding input device HID TOUCH HID Touch Panel (/dev/input/mouse1)
[ 15.900] (II) No input driver specified, ignoring this device.
[ 15.900] (II) This device may have been added with another device file.
I am unsure from the last few lines whether the device is functioning correctly (even though it appears to be from using a stylus on it).
To confirm I have tried:
echo "TESTING TESTING TESTING" > /dev/input/event4
However nothing appears on the LCD when I do so. Am I using the correct method to print something to the screen? Does the log all look ok?
This is part of a larger issue I have of trying to get LCDPROC to render on said LCD.
Thanks
linux ubuntu
add a comment |
I am trying to echo an LCD screen attached to my system to confirm the device functions correctly. I am running Ubuntu 18.10.
This is the device as per the contents of /var/log/Xorg.0.log:
[ 15.828] (II) config/udev: Adding input device HID TOUCH HID Touch Panel (/dev/input/event4)
[ 15.828] (**) HID TOUCH HID Touch Panel: Applying InputClass "libinput tablet catchall"
[ 15.828] (**) HID TOUCH HID Touch Panel: Applying InputClass "Risintech HID touch device"
[ 15.828] (II) LoadModule: "risintech"
[ 15.829] (II) Loading /usr/lib/xorg/modules/input/risintech_drv.so
[ 15.832] (II) Module risintech: vendor="X.Org Foundation"
[ 15.832] compiled for 1.19.3, module version = 2.10.5
[ 15.832] Module class: X.Org XInput Driver
[ 15.832] ABI class: X.Org XInput driver, version 24.1
[ 15.832] (II) Using input driver 'risintech' for 'HID TOUCH HID Touch Panel'
[ 15.892] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 42 paused 0
[ 15.892] (**) HID TOUCH HID Touch Panel: always reports core events
[ 15.892] (**) risintech: HID TOUCH HID Touch Panel: Device: "/dev/input/event4"
[ 15.893] (II) Get Defalt Screen Config
[ 15.893] (**) Option "Screen_MaxX1" "4095"
[ 15.893] (**) Option "Screen_MinX1" "1204"
[ 15.893] (**) Option "Screen_MaxY1" "4095"
[ 15.893] (**) Option "Screen_MinY1" "0"
[ 15.893] (**) Option "Screen_MaxX2" "1204"
[ 15.893] (**) Option "Screen_MinX2" "0"
[ 15.893] (**) Option "Screen_MaxY2" "2275"
[ 15.893] (**) Option "Screen_MinY2" "0"
[ 15.899] (II) [1]1204 4095 0 4095
[ 15.899] (II) Init Screen configurtion pass
[ 15.899] (--) risintech: HID TOUCH HID Touch Panel: Vendor 0x1bfd Product 0x1688
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: Configuring as tablet
[ 15.899] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-9/1-9:1.0/0003:1BFD:1688.0002/input/input4/event4"
[ 15.899] (II) XINPUT: Adding extended input device "HID TOUCH HID Touch Panel" (type: TABLET, id 8)
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: Device Init
[ 15.899] (**) Option "Mode" "absolute"
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: initialized for absolute axes.
[ 15.899] (**) HID PANEL: Initialize
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) keeping acceleration scheme 1
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) acceleration profile 0
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) acceleration factor: 2.000
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) acceleration threshold: 4
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: Device ON
[ 15.900] (II) config/udev: Adding input device HID TOUCH HID Touch Panel (/dev/input/mouse1)
[ 15.900] (II) No input driver specified, ignoring this device.
[ 15.900] (II) This device may have been added with another device file.
I am unsure from the last few lines whether the device is functioning correctly (even though it appears to be from using a stylus on it).
To confirm I have tried:
echo "TESTING TESTING TESTING" > /dev/input/event4
However nothing appears on the LCD when I do so. Am I using the correct method to print something to the screen? Does the log all look ok?
This is part of a larger issue I have of trying to get LCDPROC to render on said LCD.
Thanks
linux ubuntu
add a comment |
I am trying to echo an LCD screen attached to my system to confirm the device functions correctly. I am running Ubuntu 18.10.
This is the device as per the contents of /var/log/Xorg.0.log:
[ 15.828] (II) config/udev: Adding input device HID TOUCH HID Touch Panel (/dev/input/event4)
[ 15.828] (**) HID TOUCH HID Touch Panel: Applying InputClass "libinput tablet catchall"
[ 15.828] (**) HID TOUCH HID Touch Panel: Applying InputClass "Risintech HID touch device"
[ 15.828] (II) LoadModule: "risintech"
[ 15.829] (II) Loading /usr/lib/xorg/modules/input/risintech_drv.so
[ 15.832] (II) Module risintech: vendor="X.Org Foundation"
[ 15.832] compiled for 1.19.3, module version = 2.10.5
[ 15.832] Module class: X.Org XInput Driver
[ 15.832] ABI class: X.Org XInput driver, version 24.1
[ 15.832] (II) Using input driver 'risintech' for 'HID TOUCH HID Touch Panel'
[ 15.892] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 42 paused 0
[ 15.892] (**) HID TOUCH HID Touch Panel: always reports core events
[ 15.892] (**) risintech: HID TOUCH HID Touch Panel: Device: "/dev/input/event4"
[ 15.893] (II) Get Defalt Screen Config
[ 15.893] (**) Option "Screen_MaxX1" "4095"
[ 15.893] (**) Option "Screen_MinX1" "1204"
[ 15.893] (**) Option "Screen_MaxY1" "4095"
[ 15.893] (**) Option "Screen_MinY1" "0"
[ 15.893] (**) Option "Screen_MaxX2" "1204"
[ 15.893] (**) Option "Screen_MinX2" "0"
[ 15.893] (**) Option "Screen_MaxY2" "2275"
[ 15.893] (**) Option "Screen_MinY2" "0"
[ 15.899] (II) [1]1204 4095 0 4095
[ 15.899] (II) Init Screen configurtion pass
[ 15.899] (--) risintech: HID TOUCH HID Touch Panel: Vendor 0x1bfd Product 0x1688
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: Configuring as tablet
[ 15.899] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-9/1-9:1.0/0003:1BFD:1688.0002/input/input4/event4"
[ 15.899] (II) XINPUT: Adding extended input device "HID TOUCH HID Touch Panel" (type: TABLET, id 8)
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: Device Init
[ 15.899] (**) Option "Mode" "absolute"
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: initialized for absolute axes.
[ 15.899] (**) HID PANEL: Initialize
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) keeping acceleration scheme 1
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) acceleration profile 0
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) acceleration factor: 2.000
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) acceleration threshold: 4
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: Device ON
[ 15.900] (II) config/udev: Adding input device HID TOUCH HID Touch Panel (/dev/input/mouse1)
[ 15.900] (II) No input driver specified, ignoring this device.
[ 15.900] (II) This device may have been added with another device file.
I am unsure from the last few lines whether the device is functioning correctly (even though it appears to be from using a stylus on it).
To confirm I have tried:
echo "TESTING TESTING TESTING" > /dev/input/event4
However nothing appears on the LCD when I do so. Am I using the correct method to print something to the screen? Does the log all look ok?
This is part of a larger issue I have of trying to get LCDPROC to render on said LCD.
Thanks
linux ubuntu
I am trying to echo an LCD screen attached to my system to confirm the device functions correctly. I am running Ubuntu 18.10.
This is the device as per the contents of /var/log/Xorg.0.log:
[ 15.828] (II) config/udev: Adding input device HID TOUCH HID Touch Panel (/dev/input/event4)
[ 15.828] (**) HID TOUCH HID Touch Panel: Applying InputClass "libinput tablet catchall"
[ 15.828] (**) HID TOUCH HID Touch Panel: Applying InputClass "Risintech HID touch device"
[ 15.828] (II) LoadModule: "risintech"
[ 15.829] (II) Loading /usr/lib/xorg/modules/input/risintech_drv.so
[ 15.832] (II) Module risintech: vendor="X.Org Foundation"
[ 15.832] compiled for 1.19.3, module version = 2.10.5
[ 15.832] Module class: X.Org XInput Driver
[ 15.832] ABI class: X.Org XInput driver, version 24.1
[ 15.832] (II) Using input driver 'risintech' for 'HID TOUCH HID Touch Panel'
[ 15.892] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 42 paused 0
[ 15.892] (**) HID TOUCH HID Touch Panel: always reports core events
[ 15.892] (**) risintech: HID TOUCH HID Touch Panel: Device: "/dev/input/event4"
[ 15.893] (II) Get Defalt Screen Config
[ 15.893] (**) Option "Screen_MaxX1" "4095"
[ 15.893] (**) Option "Screen_MinX1" "1204"
[ 15.893] (**) Option "Screen_MaxY1" "4095"
[ 15.893] (**) Option "Screen_MinY1" "0"
[ 15.893] (**) Option "Screen_MaxX2" "1204"
[ 15.893] (**) Option "Screen_MinX2" "0"
[ 15.893] (**) Option "Screen_MaxY2" "2275"
[ 15.893] (**) Option "Screen_MinY2" "0"
[ 15.899] (II) [1]1204 4095 0 4095
[ 15.899] (II) Init Screen configurtion pass
[ 15.899] (--) risintech: HID TOUCH HID Touch Panel: Vendor 0x1bfd Product 0x1688
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: Configuring as tablet
[ 15.899] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-9/1-9:1.0/0003:1BFD:1688.0002/input/input4/event4"
[ 15.899] (II) XINPUT: Adding extended input device "HID TOUCH HID Touch Panel" (type: TABLET, id 8)
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: Device Init
[ 15.899] (**) Option "Mode" "absolute"
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: initialized for absolute axes.
[ 15.899] (**) HID PANEL: Initialize
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) keeping acceleration scheme 1
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) acceleration profile 0
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) acceleration factor: 2.000
[ 15.899] (**) HID TOUCH HID Touch Panel: (accel) acceleration threshold: 4
[ 15.899] (II) risintech: HID TOUCH HID Touch Panel: Device ON
[ 15.900] (II) config/udev: Adding input device HID TOUCH HID Touch Panel (/dev/input/mouse1)
[ 15.900] (II) No input driver specified, ignoring this device.
[ 15.900] (II) This device may have been added with another device file.
I am unsure from the last few lines whether the device is functioning correctly (even though it appears to be from using a stylus on it).
To confirm I have tried:
echo "TESTING TESTING TESTING" > /dev/input/event4
However nothing appears on the LCD when I do so. Am I using the correct method to print something to the screen? Does the log all look ok?
This is part of a larger issue I have of trying to get LCDPROC to render on said LCD.
Thanks
linux ubuntu
linux ubuntu
asked Dec 28 '18 at 20:14
gdogg371gdogg371
101
101
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You're attempting to write to an input device.
Adding input device HID TOUCH HID Touch Panel (/dev/input/event4)
is this a touch screen? If so, the specified input might actually be for the touch events on the screen.
add a comment |
I have never added a USB panel so can't give much help.
This looks like Xorg found a touch panel input only without an LCD display by the log. The /dev/input/event4 is an input normally checked with "cat" not "echo".
EDIT: Actually cat would probably show a lot of binary data so better to use "od" for "octal dump" and so get just ASCII.
od /dev/input/event4
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f491371%2funable-echo-a-device-in-dev-on-ubuntu-18-10%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You're attempting to write to an input device.
Adding input device HID TOUCH HID Touch Panel (/dev/input/event4)
is this a touch screen? If so, the specified input might actually be for the touch events on the screen.
add a comment |
You're attempting to write to an input device.
Adding input device HID TOUCH HID Touch Panel (/dev/input/event4)
is this a touch screen? If so, the specified input might actually be for the touch events on the screen.
add a comment |
You're attempting to write to an input device.
Adding input device HID TOUCH HID Touch Panel (/dev/input/event4)
is this a touch screen? If so, the specified input might actually be for the touch events on the screen.
You're attempting to write to an input device.
Adding input device HID TOUCH HID Touch Panel (/dev/input/event4)
is this a touch screen? If so, the specified input might actually be for the touch events on the screen.
answered Dec 29 '18 at 17:46
steelingsteeling
715
715
add a comment |
add a comment |
I have never added a USB panel so can't give much help.
This looks like Xorg found a touch panel input only without an LCD display by the log. The /dev/input/event4 is an input normally checked with "cat" not "echo".
EDIT: Actually cat would probably show a lot of binary data so better to use "od" for "octal dump" and so get just ASCII.
od /dev/input/event4
add a comment |
I have never added a USB panel so can't give much help.
This looks like Xorg found a touch panel input only without an LCD display by the log. The /dev/input/event4 is an input normally checked with "cat" not "echo".
EDIT: Actually cat would probably show a lot of binary data so better to use "od" for "octal dump" and so get just ASCII.
od /dev/input/event4
add a comment |
I have never added a USB panel so can't give much help.
This looks like Xorg found a touch panel input only without an LCD display by the log. The /dev/input/event4 is an input normally checked with "cat" not "echo".
EDIT: Actually cat would probably show a lot of binary data so better to use "od" for "octal dump" and so get just ASCII.
od /dev/input/event4
I have never added a USB panel so can't give much help.
This looks like Xorg found a touch panel input only without an LCD display by the log. The /dev/input/event4 is an input normally checked with "cat" not "echo".
EDIT: Actually cat would probably show a lot of binary data so better to use "od" for "octal dump" and so get just ASCII.
od /dev/input/event4
edited Jan 1 at 18:29
answered Dec 29 '18 at 16:53
beginner6789beginner6789
915
915
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f491371%2funable-echo-a-device-in-dev-on-ubuntu-18-10%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown