should I change the device  read&write mode  each time ? and how ?

the device bus number & device number changed every time !


2011/3/18 WuZhenda <[email protected]>

> hi,all
> I have ported the libusb &  hidapi  to the android,
>
> but when I use  ndk-build to operate the usb device on java platform,I
> always return false.
>
> so I do "chmod 666 /proc/bus/usb/002/001" cmd manually to make the device
> can be read & write ,  then it return OK.
>
> but I think when I mount the usbfs,I have made the  usb  can be read &
> write already by the cmd "mount usbfs none /proc/bus/usb -o devmode=0666".
>
>
> why?
>
>
>
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to