Search found 14 matches

by mo_oin
Thu 21. Aug 2014, 10:41
Forum: Linux
Topic: PCAN on Android
Replies: 29
Views: 61539

Re: PCAN on Android

hi,
So please, to be sure, on your LG phone, run these commands first:

CODE: SELECT ALL
$ rmmod pcan
$ rm -f /dev/pcanusb*


Then give me the output file of this one:

CODE: SELECT ALL
$ ls -l /dev/pcanusb* >& lspcanusb_nopcan.txt


If no file found, load the pcan driver with insmod, then give me ...
by mo_oin
Wed 20. Aug 2014, 15:22
Forum: Linux
Topic: PCAN on Android
Replies: 29
Views: 61539

Re: PCAN on Android

Hi,
before i began i restarted my phone and as u expected the commands before insmod failed.
but after that everything went smooth. so i added the files.
and I did this after your instructions.
root@p880:/ #
root@p880:/ # echo "i 0x14 0x00" /dev/pca*
// tried also (echo "i 0x14 0x00" /dev ...
by mo_oin
Mon 18. Aug 2014, 16:07
Forum: Linux
Topic: PCAN on Android
Replies: 29
Views: 61539

Re: PCAN on Android

ok,
my boss was there and like always when the boss watches over u shoulder things start to work a bit better. ;)
compiling succeeded and he pointed out that there seems to be issues with the mayor/ minor number.
we looked up in the drivers and it has issues in /driver/src/pcan_fops_linux.c
on ...
by mo_oin
Mon 18. Aug 2014, 12:15
Forum: Linux
Topic: PCAN on Android
Replies: 29
Views: 61539

Re: PCAN on Android

hi,
i rebuilded and the 2 files are present. but when i make the module the previous error stays. so can i simply ignore the error and test the new module or what is to do now?

greez

ray
by mo_oin
Wed 13. Aug 2014, 12:19
Forum: Linux
Topic: PCAN on Android
Replies: 29
Views: 61539

Re: PCAN on Android

Hi,
i use

Code: Select all

export ARCH=arm
export CROSS_COMPILE=/path/to/android/gcc
should be the same as typing it with the make command, or not?

I will try it with again hopefully it solves problems.

greetings,

ray
by mo_oin
Tue 12. Aug 2014, 17:00
Forum: Linux
Topic: PCAN on Android
Replies: 29
Views: 61539

Re: PCAN on Android

Sorry for being sloppy. i wrote the initial "/" but out of curiosity i tried it now without the initial "/" and it worked also in the mknod command.
Well, the error messages are always the same:
sh:
echo "i 0x14 0x00" > /dev/pcanusb0
can't create /dev/pcanusb0: No such device

chown 0777 /dev ...
by mo_oin
Tue 12. Aug 2014, 14:56
Forum: Linux
Topic: PCAN on Android
Replies: 29
Views: 61539

Re: PCAN on Android

Hi,
and thankyou for ur help again!

i did everything in ur pre post again exept the config thing (i used the new command and it worked)

id gives back: uid=0(root) gid=0(root) context=u:r:init_shell:s0
(i guess i'm root)

but changing bitrate didnt work sadly.

i researched a bit and somehow my ...
by mo_oin
Mon 11. Aug 2014, 16:11
Forum: Linux
Topic: PCAN on Android
Replies: 29
Views: 61539

Re: PCAN on Android

Hi,
here the outputs:

rmmod pcan ->worked
rm -f /dev/pcan* ->worked
ls -l /dev/pcan* ->worked
output:
/dev/pcan*: No such file or directory

/proc/config.gz ->failed
output:
sh: /proc/config.gz:can't execute: Permission denied

uname -r ->worked
output:
3.1.10-CM
(in /proc/version: Linux ...
by mo_oin
Wed 6. Aug 2014, 14:43
Forum: Linux
Topic: PCAN on Android
Replies: 29
Views: 61539

Re: PCAN on Android

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
by mo_oin
Wed 6. Aug 2014, 14:27
Forum: Linux
Topic: PCAN on Android
Replies: 29
Views: 61539

Re: PCAN on Android

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.