home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.slackware      I think its the one without Selinux crap      87,272 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 86,074 of 87,272   
   Joseph Rosevear to root   
   Re: Help me resolve a USB problem   
   24 Nov 22 19:10:58   
   
   From: Mail@JoesLife.org   
      
   On Mon, 7 Nov 2022 20:25:49 -0000 (UTC), root wrote:   
      
   > I run at night. When I finish I come home and connect my Garmin 305   
   > Forerunner to track my results. Last Thursday when I connected the   
   > Garmin I found the USB device was busy. After a few tries of connecting   
   > and disconnecting I wanted to go to sleep so I left the problem for   
   > Friday morning.   
   >   
   > Friday morning the Garmin connected without any problems.   
   >   
   > After running last night the Garmin would not connect again.   
   >   
   > This time I tracked the problem down to what happens when the Garmin is   
   > connected: now a directory  /sys/bus/usb/drivers/garmin_gps is created.   
   > Prior to this that directory was not present.   
   >   
   > In 15.2, USB devices lock up USB storage and you have to (open) unbind   
   > that lockup with a command such as:   
   >   
   > echo -n SOMETHING >/sys/bus/usb/drivers/SOMEWHERE/unbind   
   >   
   > For my Garmin device SOMETHING is (usually) 1-11:1.0:   
   > and the SOMEWHERE was usb. Now SOMEWHERE has to be garmin_gps.   
   >   
   > My problem is that nothing was intentionally changed between Tuesday   
   > last and last Thursday in my system. Nor was anything changed between   
   > last Thursday night and last Friday morning, nor any change over the   
   > weekend.   
   >   
   > What could possibly describe the intermittent changes to the USB device   
   > connection?   
      
   I'm wondering if you rebooted between attempts?   
      
   I don't know if that could cause it or not, but I'm wondering if it might   
   have something to do with the order in which the kernel recognizes and   
   names the devices.   
      
   I ran a test and I could not get a "device busy" response.  If a device   
   is mounted and you mount it again, it seems to work fine--it is just   
   mounted twice.  Do you see where I'm going with this?  An fstab file that   
   refers to devices by name will only trigger a mount at boot when the   
   kernel has given the device the same name as is in your fstab.  But as I   
   said I could not get a "device busy" response.   
      
   Hmmm.  Am I barking up the wrong tree?   
      
   -Joe   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca