You are not logged in.

#1 2014-06-24 01:23:31

pyarch
Member
Registered: 2011-09-30
Posts: 169

Blink(1) doesn't get detected

Hi all,
Recently got a Blink(1)usb device but on archlinux it doesn't detect it. How do I say it doesn't detect is because the blink(1) has blink tool which can downloaded online and when I run it to list the blink devices it shows
"No blink(1) devices detected"
This device works on my office ubuntu machine and doesn't work on my personal archlinux.
Any ideas? what I need to do for it to work on Arch ?

Offline

#2 2014-06-24 02:23:28

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Blink(1) doesn't get detected

Does dmesg tell you that the device is being detected when you plug it in?

Offline

#3 2014-06-24 02:29:00

pyarch
Member
Registered: 2011-09-30
Posts: 169

Re: Blink(1) doesn't get detected

WonderWoofy wrote:

Does dmesg tell you that the device is being detected when you plug it in?

I don't think so because I did a watch on dmesg and when i plugged the blink(1) into usb i didn't see any update at all !

Last edited by pyarch (2014-06-24 02:31:12)

Offline

#4 2014-06-24 02:29:48

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Blink(1) doesn't get detected

...and so what does dmesg on ubuntu tell you when you plug it in there?

Offline

#5 2014-06-24 02:31:02

pyarch
Member
Registered: 2011-09-30
Posts: 169

Re: Blink(1) doesn't get detected

I am sorry i see  this

[ 6989.469144] usb 3-1: new full-speed USB device number 6 using xhci_hcd
[ 6989.644322] usb 3-1: config 1 interface 0 altsetting 0 has 2 endpoint descriptors, different from the interface descriptor's value: 1
[ 6989.647468] thingm 0003:27B8:01ED.0002: hidraw0: USB HID v1.01 Device [ThingM blink(1) mk2] on usb-0000:00:14.0-1/input0 

and this is what i see on the ubuntu machine

[10300.005404] usb 3-4: new full-speed USB device number 2 using xhci_hcd
[10300.023747] usb 3-4: config 1 interface 0 altsetting 0 has 2 endpoint descriptors, different from the interface descriptor's value: 1
[10300.024784] usb 3-4: New USB device found, idVendor=27b8, idProduct=01ed
[10300.024793] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[10300.024797] usb 3-4: Product: blink(1) mk2
[10300.024800] usb 3-4: Manufacturer: ThingM
[10300.024803] usb 3-4: SerialNumber: 20002BB5
[10300.055941] hidraw: raw HID events driver (C) Jiri Kosina
[10300.062792] usbcore: registered new interface driver usbhid
[10300.062799] usbhid: USB HID core driver
[10300.066304] thingm 0003:27B8:01ED.0001: hidraw0: USB HID v1.01 Device [ThingM blink(1) mk2] on usb-0000:00:14.0-4/input0

Last edited by pyarch (2014-06-24 02:33:58)

Offline

#6 2014-06-24 02:33:25

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Blink(1) doesn't get detected

Okay.  Now can you figure out what module is in use on ubuntu?  Is the module for this device in-tree or is it 3rd party?

Offline

#7 2014-06-24 02:35:00

pyarch
Member
Registered: 2011-09-30
Posts: 169

Re: Blink(1) doesn't get detected

WonderWoofy wrote:

Okay.  Now can you figure out what module is in use on ubuntu?  Is the module for this device in-tree or is it 3rd party?

I am sorry i didn't understand that ?

Offline

#8 2014-06-24 03:19:24

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Blink(1) doesn't get detected

Does the regular kernel provide a module for this?  Or is the module shipped with the blink(1) software? 

I am basically just wondering if maybe the Arch kernel doesn't have the kernel config option turned on.  I have never heard of anyone else using this piece of equipment, though, so I am leaning towards the idea of this not being included in the mainline kernel.


Edit: Oh, I see that it is using the hidraw module.  That doesn't seem to be included in the Arch package.

Edit2:

 zgrep -i "hidraw\|hid_raw" /proc/config.gz                                                                                                                                                   
CONFIG_HIDRAW=y

Hmmmm.... it does seem to be turned on in the kernel.  Just not as a module.

Last edited by WonderWoofy (2014-06-24 03:23:09)

Offline

#9 2014-06-24 05:36:32

pyarch
Member
Registered: 2011-09-30
Posts: 169

Re: Blink(1) doesn't get detected

is there something I should try now ?

Offline

#10 2014-07-01 02:59:18

pyarch
Member
Registered: 2011-09-30
Posts: 169

Re: Blink(1) doesn't get detected

Sorry for bumping the thread but any idea where I start debuging ? what info I need to acquire in order for me to proceed further in figuring out the solution for this problem ?

Offline

#11 2014-07-01 04:08:43

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: Blink(1) doesn't get detected

I know nothing of your device, but I've a few suggestions.
I checked and the Arch kernel driver  hid-thingm configured as a module.  Your device does show up as a raw HID device, so we know it is working.
I would suggest trying (as root) modprobe hid-thingm  and see what happens.  In the mean time, I am going to look at what udev does with this device.

Edit:  A look through the udev rules on my machine revealed nothing relevant to your device.  You might check if such a rule exists on Ubuntu.

Last edited by ewaller (2014-07-01 04:16:43)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#12 2014-07-02 02:25:53

pyarch
Member
Registered: 2011-09-30
Posts: 169

Re: Blink(1) doesn't get detected

ewaller wrote:

I know nothing of your device, but I've a few suggestions.
I checked and the Arch kernel driver  hid-thingm configured as a module.  Your device does show up as a raw HID device, so we know it is working.
I would suggest trying (as root) modprobe hid-thingm  and see what happens.  In the mean time, I am going to look at what udev does with this device.

Edit:  A look through the udev rules on my machine revealed nothing relevant to your device.  You might check if such a rule exists on Ubuntu.

Hi ewaller,
Thanks for the suggestion I did modprobe hid-thingm.
But still when I use the blink-tool to list the devices it says no blink(1) devices found.

Offline

#13 2014-07-13 04:14:39

pyarch
Member
Registered: 2011-09-30
Posts: 169

Re: Blink(1) doesn't get detected

I got some more info  I looked at the diff between the lsmod command on ubuntu before and after inserting the blink device and I got this :
hid_thingm
usbhid
hid

I did try to modprobe the above modules still doesn't work.
Anything else that I need to try ?

Last edited by pyarch (2014-07-13 04:15:01)

Offline

Board footer

Powered by FluxBB