public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* Phis in /proc/bus/input/devices same for all devices?
@ 2007-02-21 21:24 CIJOML
  2007-02-21 22:06 ` [Bluez-users] " Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: CIJOML @ 2007-02-21 21:24 UTC (permalink / raw)
  To: bluez-users, marcel

Hi all,

I use 2.6.20-mh1 patch and would like to differ devices based on Phis, but it 
is the same for all devices??

I: Bus=0005 Vendor=045e Product=007c Version=0035
N: Name="Microsoft Five Button Mouse"
P: Phys=00:0D:88:8E:AB:2F
S: Sysfs=/class/input/input19
H: Handlers=mouse1 event6
B: EV=7
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=103

I: Bus=0005 Vendor=045e Product=007b Version=0039
N: Name="Microsoft Bluetooth keyboard"
P: Phys=00:0D:88:8E:AB:2F
S: Sysfs=/class/input/input20
H: Handlers=kbd event7
B: EV=12000b
B: KEY=10f80 44007 ffe01878 800d7ff febeffdf f3cfffff ffffffff fffffffe
B: ABS=700 0
B: LED=107

I: Bus=0005 Vendor=046d Product=b3e3 Version=2503
N: Name="Logitech Bluetooth Mediapad"
P: Phys=00:0D:88:8E:AB:2F
S: Sysfs=/class/input/input21
H: Handlers=kbd event8
B: EV=12000f
B: KEY=7fff 2c3027 bf004440 0 0 1 10f80 8807c007 ffe67bfa d9415fff febeffdf 
ffefffff ffffffff fffffffe
B: REL=40
B: ABS=301 0
B: LED=1f

Shouldn't be there it's BDADDR?

Thanks for reply

Michal

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-users] Phis in /proc/bus/input/devices same for all devices?
  2007-02-21 21:24 Phis in /proc/bus/input/devices same for all devices? CIJOML
@ 2007-02-21 22:06 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2007-02-21 22:06 UTC (permalink / raw)
  To: CIJOML; +Cc: bluez-users

Hi Michal,

> I use 2.6.20-mh1 patch and would like to differ devices based on Phis, but it 
> is the same for all devices??
> 
> I: Bus=0005 Vendor=045e Product=007c Version=0035
> N: Name="Microsoft Five Button Mouse"
> P: Phys=00:0D:88:8E:AB:2F
> S: Sysfs=/class/input/input19
> H: Handlers=mouse1 event6
> B: EV=7
> B: KEY=1f0000 0 0 0 0 0 0 0 0
> B: REL=103
> 
> I: Bus=0005 Vendor=045e Product=007b Version=0039
> N: Name="Microsoft Bluetooth keyboard"
> P: Phys=00:0D:88:8E:AB:2F
> S: Sysfs=/class/input/input20
> H: Handlers=kbd event7
> B: EV=12000b
> B: KEY=10f80 44007 ffe01878 800d7ff febeffdf f3cfffff ffffffff fffffffe
> B: ABS=700 0
> B: LED=107
> 
> I: Bus=0005 Vendor=046d Product=b3e3 Version=2503
> N: Name="Logitech Bluetooth Mediapad"
> P: Phys=00:0D:88:8E:AB:2F
> S: Sysfs=/class/input/input21
> H: Handlers=kbd event8
> B: EV=12000f
> B: KEY=7fff 2c3027 bf004440 0 0 1 10f80 8807c007 ffe67bfa d9415fff febeffdf 
> ffefffff ffffffff fffffffe
> B: REL=40
> B: ABS=301 0
> B: LED=1f
> 
> Shouldn't be there it's BDADDR?

please post this question to LKML. I am not sure that is the right
approach. Currently we fill in phys and uniq like this:

        strncpy(hid->phys, batostr(&src), 64);
        strncpy(hid->uniq, batostr(&dst), 64);

Maybe the input or HID subsystem should be changed to also export the
uniq values to udev.

Regards

Marcel



-------------------------------------------------------------------------
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
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-21 22:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-21 21:24 Phis in /proc/bus/input/devices same for all devices? CIJOML
2007-02-21 22:06 ` [Bluez-users] " Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox