How to connect an usb in kernel 3.8.13 without udev?
Hello,
on an application, I have following error after using lsusb: > export LIBUSB_DEBUG=9 > lsusb libusb: 0.000000 error [op_init] could not find usbfs unable to initialize libusb: -99 What should I do for not having this error? |
Hi, do you have a listing like this in /etc/fstab?
Code:
# load tmpfs Code:
cat /home/glenn/My_system/fstab-usb-t-shm >> /etc/fstab |
the result of "cat /etc/fstab" in my embedded system is
Quote:
echo "none /proc/bus/usb usbfs devgid=43,devmode=664 0 0" >> /etc/fstab and keep the line "tmpfs /dev/shm tmpfs mode=0777 0 0" ? "dmesg" result before the "lsusb" command was done Quote:
|
Quote:
I have no real knowlledge in Embeded systems. |
what was the group for you? I tried with
"none /proc/bus/usb usbfs devgid=100,devmode=664 0 0" >> /etc/fstab The error is still there. cat /etc/group of my system gave Code:
root:x:0: The "ls /proc/bus" give only pci ls /proc/bus Quote:
I will search if I am right, why this is the case and how to solve the missing proc/bus/usb. My system has no udev. Perhaps I must make few setups with line command. |
The libusb was not working.
It should be installed again. I could not do it (I dont know how to do it) But I found a way not to use libusb by buying a USB GPRS Modem which dont need usb_modeswitch.. because usb_modeswitch needs a working libusb (what I dont have). Topic closed. A workaround was found. |
All times are GMT -5. The time now is 04:09 AM. |