Discussion:
[Bitpim-devel] write permissions to 003/003
Jon Smirl
2004-01-20 01:54:45 UTC
Permalink
I figured out that I needed the .7-test2 version to get usb support. Now I'm
stuck at this wirte permissions problem. Not sure why I am hitting it since I'm
running as root. Interface 3 is part of the usb-audio support, it is probably
open by that driver.

Interface/class/subsclass/protocol for my phone
0 2 2 1
0 a 0 0
2 1 1 0
3 1 2 0
4 1 2 0
5 ff 1 ff
6 ff 2 ff
8 a 2 ff

[***@smirl jonsmirl]# bitpim
usb_set_debug: Setting debugging level to 255 (on)
usb_os_init: Found USB VFS at /proc/bus/usb
field alarm needs an id
field ringtone needs an id
field changeserial needs an id
field snoozedelay needs an id
Saving phonebook
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_busses: Skipping non bus directory devices
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 003 on 003
skipped 4 class/vendor specific interface descriptors
skipped 5 class/vendor specific interface descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 2 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 003 on 002
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 002
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
getting configvalue
value is 1 now about to set config
config set
claiming 1
Check that you have permissions to write to 003/003 and, if you don't, that you
set up hotplug (http://linux-hotplug.sourceforge.net/) correctly.
USB error: could not claim interface 1: Device or resource busy




=====
Jon Smirl
***@yahoo.com

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
Jon Smirl
2004-01-20 02:03:45 UTC
Permalink
/proc/bus/usb/device for the phone.

T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1
P: Vendor=22b8 ProdID=2821 Rev= 0.01
S: Manufacturer=Motorola Inc.
S: Product=Motorola T720c
C:* #Ifs= 8 Cfg#= 1 Atr=c0 MxPwr= 20mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=32ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E: Ad=8a(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=0b(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=audio
I: If#= 3 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=audio
I: If#= 3 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio
E: Ad=84(I) Atr=0d(Isoc) MxPS= 16 Ivl=1ms
I: If#= 3 Alt= 2 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio
E: Ad=84(I) Atr=0d(Isoc) MxPS= 16 Ivl=1ms
I: If#= 3 Alt= 3 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio
E: Ad=84(I) Atr=0d(Isoc) MxPS= 16 Ivl=1ms
I: If#= 4 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=audio
I: If#= 4 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio
E: Ad=07(O) Atr=0d(Isoc) MxPS= 16 Ivl=1ms
I: If#= 4 Alt= 2 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio
E: Ad=07(O) Atr=0d(Isoc) MxPS= 16 Ivl=1ms
I: If#= 4 Alt= 3 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=audio
E: Ad=07(O) Atr=0d(Isoc) MxPS= 16 Ivl=1ms
I: If#= 5 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=01 Prot=ff Driver=(none)
I: If#= 6 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=02 Prot=ff Driver=(none)
I: If#= 8 Alt= 0 #EPs= 1 Cls=0a(data ) Sub=02 Prot=ff Driver=(none)
E: Ad=8a(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms


=====
Jon Smirl
***@yahoo.com

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

Loading...