lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 09 Nov 2008 07:45:35 +1000
From:	Adam Nielsen <a.nielsen@...kadi.net>
To:	Jiri Slaby <jirislaby@...il.com>
CC:	LKML Mailinglist <linux-kernel@...r.kernel.org>
Subject: Re: hid class and sysfs/hwmon

>> If anyone can see why this might result in no sysfs files, please let me
>> know!  I previously had most of this code working with a platform_device
>> instead of the hid_device, which is what makes me wonder about
>> hdev->dev.kobj.  (Not sure how to test if that variable is accurate,
>> either.)  Or perhaps it has already been used elsewhere and it can only
>> be used once?
> 
> I suppose it's under /sys/bus/hid/devices/.../, isn't it?

Aha, yes!  I didn't even think of checking there.  I suppose this means 
I have to create another device (like a platform_device) in order to 
have the sysfs files appear in the correct place?

Is a platform_device the correct type to create, or is there another way?

Thanks,
Adam.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ