This forum covers PCAN-Linux and Linux development issues concerning our products
-
mo_oin
- Posts: 14
- Joined: Wed 6. Aug 2014, 11:08
Post
by mo_oin » Wed 6. Aug 2014, 11:24
Hi,
i tried to follow the provided Steps on your Tutorial here:
http://www.peak-system.com/forum/viewto ... 363&p=1122
But i stuck after compling the module and load it via the command "insmod" into the kernel.
I dont know why but insmod works fine but modprobe doesn't find the file.
In the Tutorial u use mknod to create a node, but on my phone its already there.
since i can't communicate via echo with /dev/pcanusb0, i guess i do/did something wrong
I added a picture with the /proc/pcan and the other steps:
thanks in advance
raimund
-
M.Maidhof
- Support

- Posts: 1753
- Joined: Wed 22. Sep 2010, 14:00
Post
by M.Maidhof » Wed 6. Aug 2014, 12:08
Hi,
please send us the output of ls -l /dev/ |grep pcan
regards
Michael
-
mo_oin
- Posts: 14
- Joined: Wed 6. Aug 2014, 11:08
Post
by mo_oin » Wed 6. Aug 2014, 12:22
output: -rw------- root root 12 2014-08-06 10:43 pcanusb0
-
M.Maidhof
- Support

- Posts: 1753
- Joined: Wed 22. Sep 2010, 14:00
Post
by M.Maidhof » Wed 6. Aug 2014, 13:03
Hi,
normally it should look like this:
crw-rw-rw- 1 root root 180, 0 Aug 6 12:00 pcanusb0
please generate a new node again with:
mknod /dev/pcan0 c 180 0
chmod 666 /dev/pcan0
and test with pcan0
-
mo_oin
- Posts: 14
- Joined: Wed 6. Aug 2014, 11:08
Post
by mo_oin » Wed 6. Aug 2014, 13:34
generating a new node worked. But changing rights didnt worked.
output: Unable to open /dev/pcan0: No such device
I dont really get it ... its even in the ls -la list:
crw------- root root 180, 0, 2014-08-06 13:26 pcan0
-
M.Maidhof
- Support

- Posts: 1753
- Joined: Wed 22. Sep 2010, 14:00
Post
by M.Maidhof » Wed 6. Aug 2014, 13:53
Hi,
so you are able to generate the device, but you are not able to change it. Looks like a permission problem. Sure you have full root access in your Android system?
can you please post the output of dmesg |grep pcan
regards
Michael
-
mo_oin
- Posts: 14
- Joined: Wed 6. Aug 2014, 11:08
Post
by mo_oin » Wed 6. Aug 2014, 14:27
eeerrmmm stupid question: is there a another root than root? my handy has a normal user "u0_a65" and with the command su it gets to root. seems normal to me i guess.
also it says it doesnt find the file and not denied access.
but de dmesg output was a plain 1.
-
M.Maidhof
- Support

- Posts: 1753
- Joined: Wed 22. Sep 2010, 14:00
Post
by M.Maidhof » Wed 6. Aug 2014, 14:30
Hi,
we don´t know your Android system, and how you have rooted it.....
-
mo_oin
- Posts: 14
- Joined: Wed 6. Aug 2014, 11:08
Post
by mo_oin » Wed 6. Aug 2014, 14:43
i use a lg optimus 4x hd aka p880. its a while since i rooted my phone but if i remember right i copied a su file in system/bin/. up to this day it worked perfect.
atm i use the iodak v10 kernel to get usb-otg support for my phone.
i hope this information helps