LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-03-2014, 10:14 AM   #1
v3gard
LQ Newbie
 
Registered: Jan 2007
Location: Kristiansand, Norway
Distribution: Slackware
Posts: 21

Rep: Reputation: 0
Not able to communicate with device using usbmon


I posted a question at stackoverflow a few days ago where I asked for help regarding usbmon. My problem is that I have a USB HID device that I want to interface with on my Linux system that I am unable to communicate with through usbmon.

tl;dr; I have connected a HID device to my Linux system, loaded the usbmon driver, and found a file descriptor to my device. However, when I read the file for events, usbmon provides no output.

Any ideas?
 
Old 12-04-2014, 07:46 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by v3gard View Post
I posted a question at stackoverflow a few days ago where I asked for help regarding usbmon. My problem is that I have a USB HID device that I want to interface with on my Linux system that I am unable to communicate with through usbmon.

tl;dr; I have connected a HID device to my Linux system, loaded the usbmon driver, and found a file descriptor to my device. However, when I read the file for events, usbmon provides no output.

Any ideas?
Try running lsusb in your terminal.
Does lsusb see it?

Is it a game controller or camera?

If it's related to dual monitoring, sorry I can't help with that.

Last edited by Ztcoracat; 12-04-2014 at 07:48 PM.
 
Old 12-05-2014, 02:13 PM   #3
v3gard
LQ Newbie
 
Registered: Jan 2007
Location: Kristiansand, Norway
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: 0
Thanks for the reply.

Yes, I have run lsusb and verified that it has been detected. I mentioned that on my SO post in case you have not read it yet. It is not a camera nor game controller - but a Dream Cheeky Big Red Button. As a side note I have also verified that the device is working in Windows, where I have official drivers.

edit: relevant output from lsusb
Code:
Bus 004 Device 002: ID 1d34:000d Dream Cheeky Dream Cheeky Big Red Button

Last edited by v3gard; 12-05-2014 at 02:43 PM.
 
Old 12-05-2014, 04:50 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Your Welcome-

I wish I knew why usbmon isn't providing you with any output.

I see that the functions included are:
"Boom", "I-Inch Working", "Punch Up", "Web key" and "Take a Break"

That Dream Cheeky Big Red Button looks like a great way to stop your self from destroying your computer when it gives you stress or troubles.

Maybe try the dmesg | grep -i tty command and see if that provides output for you device?
http://www.linuxnix.com/2013/05/what...to-use-it.html

Maybe another member will know how to obtain output for that device.
I'm not familuar with this device, sorry:-
 
Old 12-06-2014, 06:02 AM   #5
v3gard
LQ Newbie
 
Registered: Jan 2007
Location: Kristiansand, Norway
Distribution: Slackware
Posts: 21

Original Poster
Rep: Reputation: 0
Dmesg doesn't report anything unfortunately except from when I connect or disconnect the device.

The official software for this device is really bad, haha. I plan on using the button as an emergency shutdown device for my server and attached devices.

Code:
[82446.764995] hid-generic 0003:1D34:000D.0007: hiddev0,hidraw0: USB HID v1.10 Device [Dream Link DL100B Dream Cheeky Generic Controller] on usb-0000:00:1d.1-1/input0
[82458.335473] usb 6-1: USB disconnect, device number 7
Even with debug mode on, I get nothing when I press the button on the device or open/close the lid.

Code:
<6>[82524.341936] usb 4-2: new low-speed USB device number 4 using uhci_hcd
<6>[82524.531791] hid-generic 0003:1D34:000D.0009: hiddev0,hidraw0: USB HID v1.10 Device [Dream Link DL100B Dream Cheeky Generic Controller] on usb-0000:00:1d.0-2/input0
[82550.585451] usb 4-2: USB disconnect, device number 4
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Standard Protocol to communicate with embedded device over 801.11a backbencher Linux - Networking 1 04-07-2013 09:00 AM
usbmon module not present but built-in as a module - Ubuntu 10.04 ieatbunnies Linux - Newbie 1 06-15-2010 03:51 PM
how to communicate with usb0 secretlydead Linux - Mobile 2 05-07-2009 09:32 AM
Can a PCI device communicate with another device attached to the bus system? bhagatindia Linux - Kernel 3 10-16-2008 12:44 AM
communicate via serial... how-to? adam_boz Linux - Newbie 4 10-22-2002 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration