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: Language: English
Info: Loading global config file: /home/servo/.six/global.cfg
Info: dev_jig = unused
Info: dev_dvdplayer = /dev/ttyS3
Info: dev_jittermeter = /dev/ttyS2
Info: dev_scope = /dev/ttyS0
Info: dev_barcode = /dev/ttyS1
Info: dev_inspection_usb_vendor = 0x04b4
Info: dev_inspection_usb_product = 0x8613
Info: dev_inspection_usb_device = 0x0003
Info: use_barcode = yes
Info: cprm_server_name = 172.16.100.3
Info: cprm_server_port = 59203
Info: time_server_name = 172.16.100.104
Info: factory_code = 317000
Info: event_code = 1
Info: log_dir = /home/servo/log/
Info: password = 0438372123
Info: debug = 0
Info: png_dir = /home/servo/share/pixmaps/
Info: iop_input = manual
Info: barcode_input = manual
Info: Config file loading succeed
Info: Loading config file: /home/servo/.six/pc_id.cfg
Info: line = BG1
Info: post = 9
Info: Config file loading succeed
Info: file /home/servo/log/dvd9g01s9_070405114155_n_init opened
****** siX (build Feb 16 2007 08:27:23) started at
2007/04/05 10:36:13 ******
Info: Init registry file /home/servo/.six/six.reg
Info: checking daily counters
Info: Loading model information file: /home/servo/.six/model.lst
Info: Model file loading succeed
Info: DVP-NS38  
Info: SR
Info: EC1
Info: 36300992
Info: 1002
Info: Loading file empty.png succeed
Info: Loading file start.png succeed
Info: Loading file pass.png succeed
Info: Loading file fail.png succeed
Info: Loading file disc_sl.png succeed
Info: Loading file disc_dl.png succeed
Info: Loading file disc_cd.png succeed
Info: Loading file disc_cd_dim.png succeed
Info: Loading file disc_rw.png succeed
Info: Loading file arrow_down_act.png succeed
Info: Loading file arrow_down_inact.png succeed
Info: Loading file arrow_up_act.png succeed
Info: Loading file arrow_up_inact.png succeed
Info: Loading file hand.png succeed
Info: Loading file plug.png succeed
Info: Loading file in_line_off.png succeed
Info: Loading file in_line_on.png succeed
Info: Connected to host 172.16.100.3 on port 59203
Info: Connected with DES-CBC3-MD5 encryption
Info: CPRM connected at: 2007/04/05 11:41:55 (net) /
2007/04/05 10:36:13 (local)
Info: Server certificates:
Info: Subject: /C=AU/ST=Some-State/O=Internet Widgits Pty
Ltd/CN=localhost
Info: Issuer: /C=AU/ST=Some-State/O=Internet Widgits Pty
Ltd/CN=localhost
Info: CPRM disconnected at: 2007/04/05 11:41:55 (net) /
2007/04/05 10:36:13 (local)
Info: open /dev/ttyS1
Info: open /dev/ttyS0
Info: open /dev/ttyS2
Info: open /dev/ttyS3
Info: Scope: ID: TEKTRONIX,TDS 210,0,CF:91.1CT FV:v2.03
TDS2MM:MMV:v1.04
Info: Scope: type: TDS 210
Info: Scope: module type: TDS2MM
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