usbb2k-api-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Usbb2k-api-dev] P4K Development


From: Adam J. P. Wood
Subject: Re: [Usbb2k-api-dev] P4K Development
Date: Sun, 12 Feb 2006 13:50:13 +0000
User-agent: KMail/1.9.1

Thanks for the reply,

I can't immediately see any difference between the usb-p1k and the usb-p4k. 
USB programming is not my thing but I'll keep looking. I have a feeling this 
could be very tricky.

For anyone else working on this here is a cat /proc/bus/usb/devices with a p4k 
plugged in:

T:  Bus=05 Lev=02 Prnt=02 Port=03 Cnt=03 Dev#=  6 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=6993 ProdID=b001 Rev= 0.00
S:  Manufacturer=Yealink Network Technology Ltd.
S:  Product=VOIP USB Phone
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=82(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=04(O) Atr=01(Isoc) MxPS=  16 Ivl=1ms
I:  If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=20ms

If anyone has better ideas about USB, I'm prepared to put the time in to try 
and make this work but I need some pointers on how to tell which phone is 
plugged in.

thanks,

Adam
On Sunday 12 February 2006 12:03, yasha wrote:
> Hello,
>
> sorry I have now not very lot of time to work on this project.
> There the dmsg output when I connect a usb-p1K:
>
> [4442678.279000] usb 1-1: new full speed USB device using uhci_hcd and
> address 2
> [4442679.363000] usbcore: registered new driver hiddev
> [4442679.377000] hiddev96: USB HID v1.00 Device [Yealink Network
> Technology Ltd. VOIP USB Phone           ] on usb-0000:00:1d.0-1
> [4442679.377000] usbcore: registered new driver usbhid
> [4442679.377000] drivers/usb/input/hid-core.c: v2.01:USB HID core driver
> [4442679.622000] usbcore: registered new driver snd-usb-audio
>
> and a cat /proc/bus/usb/devices:
>
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=6993 ProdID=b001 Rev= 0.00
> S:  Manufacturer=Yealink Network Technology Ltd.
> S:  Product=VOIP USB Phone
> C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00
> Driver=snd-usb-audio
> I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00
> Driver=snd-usb-audio
> I:  If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00
> Driver=snd-usb-audio
> E:  Ad=82(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00
> Driver=snd-usb-audio
> I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00
> Driver=snd-usb-audio
> E:  Ad=04(O) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> I:  If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
> E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=20ms
>
>
> And these is for the usb-p2k
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
> D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=6993 ProdID=b001 Rev= 1.10
> S:  Manufacturer=Yealink Network Technology Ltd.
> S:  Product=VOIP USB Phone
> S:  SerialNumber=????
> C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00
> Driver=snd-usb-audio
> I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00
> Driver=snd-usb-audio
> I:  If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00
> Driver=snd-usb-audio
> E:  Ad=88(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00
> Driver=snd-usb-audio
> I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00
> Driver=snd-usb-audio
> E:  Ad=08(O) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> I:  If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
> E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=20ms
>
>
> I hope that it will help you.
>
> Best regards,
> Olivier
>
> Le dimanche 12 février 2006 à 10:51 +0000, Adam J. P. Wood a écrit :




reply via email to

[Prev in Thread] Current Thread [Next in Thread]