Hi All,

Finally it becomes right. Based on Xiaofan Chen guide, I
found and solved the problem.

With udev libusb try to use /dev/bus/usb/BBB/DDD first
instead of /proc/bus/usb/BBB/DDD.

Setting the correct permission on /dev/bus/usb/ files makes
it work.

Thank!

> Hello
> 
> > > Hi,
> > > 
> > > 
> > > Alan Stern <[EMAIL PROTECTED]> &#65533;rta:
> > > 
> > > > On Wed, 4 Apr 2007, sza2 wrote:
> > > > 
> > > > > Hi All,
> > > > > 
> > > > > I made an USB device (Cypress based) which was working
> > > > > correctly over years with my user space driver.
> > > > > 
> > > > > However a few months ago I updated my system(s) to
Debian
> > > > > Etch and kernel 2.6.19+.
> > > > > 
> > > > > Currently I'm unable to use my soft as normal user
it is
> > > > > only possible with root privileges.
> > > > 
> > > > How do you know that?  What error message do you get? 
> > > What are the file 
> > > > permissions on the /proc/bus/usb/BBB/DDD file?
> > > 
> > > See below (/proc/bus/usb/xxx/xxx have permission 666)
> > 
> > Then what makes you think your program can't run as a
normal user?
> 
> Ok, see below, at the output. (could not claim interface:
> Operation not permitted). Again, the same program was
> working with an older system using hotplug.
> 
> > 
> > > > > The changing point can be the hotplug -> udev. I
setup udev
> > > > > rules, so the /proc/bus/usb/xxx/xxx have
permission 666.
> > > > > However it is not work.
> > > > 
> > > > Another thing that has changed is the way
> > > Set-Configuration requests are 
> > > > handled.  Does your program try to do one of them?
> > > 
> > > Maybe this can help to help:-)
> > 
> > Sending the source code doesn't help unless you also
> > provide the output 
> > from when you try to run the program.
> 
> 
> Sorry, I thought I included in subject field. I do it now
(however I think only the last 3 rows are interesting:

> Info: usb_control_init: device found: V:0x04b4 P:0x8613
D:0x0003
> Error: usb_control_init: could not claim interface:
> Operation not permitted
> Error: Failed items: 1
> 
> > 
> > Alan Stern


___________________________________________________________________________________________________________________
Mikroköltségek mikrovállalatoknak! Számlavezetési díj havi 490 Ft! - [origo] 
klikkbank mikrovállalati számlacsomag
http://cthandler.adverticum.net/?cturl=http%3A%2F%2Fwww.klikkbank.hu%2Fvallalati%2Ftermekek%2Fszamlacsomag%2Findex.html%3Flevelalja



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to