From mboxrd@z Thu Jan 1 00:00:00 1970 From: Csan Date: Sat, 06 Nov 2004 07:51:26 +0000 Subject: Re: Fwd: Re: wait_for_sysfs needs an update to handle the device properly Message-Id: <1099727486.418c827ed5eb1@mail.utca.hu> List-Id: References: <1098925336.41804518e7430@mail.utca.hu> In-Reply-To: <1098925336.41804518e7430@mail.utca.hu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Id=E9z=E9s Kay Sievers : > On Sat, Oct 30, 2004 at 09:00:37AM -0700, Greg KH wrote: > > On Sat, Oct 30, 2004 at 05:23:41AM +0200, Kay Sievers wrote: > > > On Fri, Oct 29, 2004 at 03:37:28AM +0200, Csan wrote: > > > > Id??z??s Kay Sievers : > > > > > On Fri, Oct 29, 2004 at 01:41:32AM +0200, Csan wrote: > > > >=20 > > > >=20 > > > > > Could you please > > > > > > > post the output of: > > > > > > >=20 > > > > > > > ls -l /sys/bus/usb/devices > > > > > >=20 > > > > > > # ls -l /sys/bus/usb/devices > > > > > > -r--r--r-- 1 root root 0 2004-10-29 01:10 /sys/bus/usb/devices > > >=20 > > > Greg, any idea how it can happen, that the usb subsys does not create > any > > > /sys/bus/usb/* entry at all? > >=20 > > Ick, no, I don't know how that could happen :( >=20 > So let's see if we come closer. :) >=20 > Hi Csan, Hi, > what kernel is that? That was the stock Debian kernel 2.6.8-1-686 > Did you apply any patches to it? No patches. > Any chance to try > a different version? Yes. The reason I've waited a few days before I reply to this has been that 2.6.9 hit the unstable repository and now I am running 2.6.9... and no improvement around here: # ls -l /sys/bus/usb/devices -r--r--r-- 1 root root 0 2004-11-06 07:05 /sys/bus/usb/devices > Which distribution? Debian, Debian, Debian... what else? - Check my sig ;) > Does reloading the driver: > rmmod ehci_hcd uhci_hcd > modprobe uhci_hcd >=20 > create anything in /sys/bus/usb/devices/*? Still nothing: # ls -l /sys/bus/usb/devices -r--r--r-- 1 root root 0 2004-11-06 08:17 /sys/bus/usb/devices Strangely enough, on a few other machines that I run 2.6, the subdir is pro= perly present: # ls -l /sys/bus/usb/devices/ lrwxrwxrwx 1 root root 53 2004-09-27 20:26 1-0:1.0 -> ../../../devices/pci0000:00/0000:00:01.2/usb1/1-0:1.0 lrwxrwxrwx 1 root root 45 2004-09-27 20:26 usb1 -> ../../../devices/pci0000:00/0000:00:01.2/usb1 # uname -r 2.6.2-1-586tsc # ls -l /sys/bus/usb/devices/ lrwxrwxrwx 1 root root 0 Nov 2 06:07 1-0:1.0 -> ../../../devices/pci0000:00/0000:00:07.2/usb1/1-0:1.0 lrwxrwxrwx 1 root root 0 Nov 2 06:07 2-0:1.0 -> ../../../devices/pci0000:00/0000:00:07.3/usb2/2-0:1.0 lrwxrwxrwx 1 root root 0 Nov 2 06:07 usb1 -> ../../../devices/pci0000:00/0000:00:07.2/usb1 lrwxrwxrwx 1 root root 0 Nov 2 06:07 usb2 -> ../../../devices/pci0000:00/0000:00:07.3/usb2 # uname -r 2.6.8-1-686-smp So the problem might seem to be of local origin, but then what would that b= e? I'm gonna try some older kernels (2.6.7) on this laptop... brb. ...and no, no change: # ls -l /sys/bus/usb/devices=20 -r--r--r-- 1 root root 0 2004-11-06 08:48 /sys/bus/usb/devices # uname -r 2.6.7-1-686 Regards, Csan alias J=E1nos Hol=E1nyi Debian Group leader - Association of Hungarian Linux Users URL: http://www.lme.hu/ Email: csani AT lme.linux.hu gpg --keyserver hkp://pgp.mit.edu --recv-keys 82CBB661 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id=12065&op=3Dclick _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel