From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D0D251381F3 for ; Fri, 30 Nov 2012 18:04:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6FE9C21C1D7; Fri, 30 Nov 2012 18:03:49 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5DD9521C1EE for ; Fri, 30 Nov 2012 18:02:12 +0000 (UTC) Received: by mail-bk0-f53.google.com with SMTP id j5so360527bkw.40 for ; Fri, 30 Nov 2012 10:02:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding:content-type; bh=jDIrN8sy2wM5UPgfVDdXIuItANSt+dtb7ddyUlu8cVw=; b=WoYlhn8vBYm0pDfBCfhxB1HiDxbFm5C7hHGSl/AnlRZdtCAnFdodJ8+hTpiGjznNCV i9Rzj1VPiSC8br45eu3Rb0x5u85DnYOMep6nbmOS+ZyBdM3sxpvYffMQ7Xfhr4XZhvyY pIvluZpQyk3Ps/keDeADSPdwihMnTt0r5XkWawUYQ5c+wq+HXvXMBGFrGtN8SoWB/xuu 3lTySiFm3uIFrLPu5Sbcfl8QZFo9B/tLzlZOwxawnjzlYf9l072LQbkRYPaVuNWVQFw3 bk+6mS3chInIYhbgVk1Qxye4m+y/tbrVRBhZKF55BAoTwxISkONKCL2yDJo+CgR9DbJs ysCA== Received: by 10.205.139.16 with SMTP id iu16mr682207bkc.88.1354298530759; Fri, 30 Nov 2012 10:02:10 -0800 (PST) Received: from localhost.localnet (p4FC60D5D.dip0.t-ipconnect.de. [79.198.13.93]) by mx.google.com with ESMTPS id hm8sm4166670bkc.10.2012.11.30.10.02.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 30 Nov 2012 10:02:09 -0800 (PST) From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Cc: Jorge Almeida Subject: Re: [gentoo-user] serial in /sys Date: Fri, 30 Nov 2012 19:02:07 +0100 Message-ID: <1494103.IDmIk6UlpB@localhost> User-Agent: KMail/4.9.3 (Linux/3.4.19; KDE/4.9.3; x86_64; ; ) In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: 0eb8d72d-65a9-4230-8297-4614e0214366 X-Archives-Hash: 133d686861e3148da698622e3cc7574b Am Donnerstag, 29. November 2012, 17:57:46 schrieb Jorge Almeida: > Anyone knows how to dig into /sys to find the serial number of a device > (say, a USB pen)? I few days ago I found by trial and error something like > $ cat > /sys/devices/pci0000:00/0000:00:06.1/usb2/2-4/2-4:1.0/host13/target13:0:0/1 > 3:0:0:0/block/sdc/../../../../../serial which gave me E68911000519 > Now I can't find nothing of the sort. (Yes, I know the path changes > each time the > device is plugged in, but even so) > Any information that would put some order into this mess would be great. why not just use lsusb -v for usb devices? -- #163933