OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => OpenBSD => Topic started by: darkloran on April 25, 2006, 08:19:58 am

Title: About Usb...
Post by: darkloran on April 25, 2006, 08:19:58 am
hello,

  after digging a little i'm quite lost and cannot find how to activate USB to recognize my usb mouse or usb card reader.

i believe it was working 'automagically' last time i installed obsd on my c3k... after a quick view of OZ3.5.4.1-alpha2 i've come back to obsd current snapshot and i cannot find how to activate usb mouse. i'm really new to BSD and i've got short time before leaving for a week without internet access.

can comeone give me a few commands?

thanks in advance

Loran
Title: About Usb...
Post by: iamasmith on April 25, 2006, 08:36:53 am
I have noticed that very occasionally the USB host port doesn't recognise devices after a boot that should be recognised 'automagically' unless you made a special kernel with all the USB stuff disabled.

Try again after a reboot.

-Andy
Title: About Usb...
Post by: darkloran on April 25, 2006, 10:04:54 am
Quote
I have noticed that very occasionally the USB host port doesn't recognise devices after a boot that should be recognised 'automagically' unless you made a special kernel with all the USB stuff disabled.
well i had rebooted three times and i had no luck with USB so i was feeling i had forgotten to activate something. After your message i've rebooted once again and mouse is working automatically and usb card reader is detected    

maybe there is something i've done that makes usb 'not discovered', i'll try and check on next reboots  

thank you Andy.
Title: About Usb...
Post by: Sequethin on April 25, 2006, 02:55:22 pm
Quote
Quote
I have noticed that very occasionally the USB host port doesn't recognise devices after a boot that should be recognised 'automagically' unless you made a special kernel with all the USB stuff disabled.
well i had rebooted three times and i had no luck with USB so i was feeling i had forgotten to activate something. After your message i've rebooted once again and mouse is working automatically and usb card reader is detected    

maybe there is something i've done that makes usb 'not discovered', i'll try and check on next reboots  

thank you Andy.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124505\"][{POST_SNAPBACK}][/a][/div]


same sort of stuff happens with my axe card. when I reboot sometimes the nic isn't detected. hopefully fixed by 4.0
Title: About Usb...
Post by: iamasmith on April 26, 2006, 05:16:17 am
The good news is that most USB detection doesn't fail once the system has booted and detected correctly the first time. This may point to an initialization problem for the USB host port (i.e. the device isn't properly reset to a known state before an attempt is made to initialize it).

I gave up with my axe based USB NIC because I had a few problems with USB when it was plugged and unplugged a few times actually causing some instability... it was more cost effective for me to replace it with a good CF based wired NIC. This is why I chose to buy a Socket 10/100 CF card and adapt the driver to support it. 3.9 -current (not release) has my patch for this card now.

-Andy
Title: About Usb...
Post by: darkloran on April 30, 2006, 03:34:32 am
Quote
maybe there is something i've done that makes usb 'not discovered', i'll try and check on next reboots 
after rebooting a few times more... i feel that rebooting without a correct system halt (syncing of disks or this kind of stuff) is the situation in which the system won't recognize usb on boot.

just an hypthesis

loran
Title: About Usb...
Post by: jpmatrix on May 07, 2007, 05:45:57 pm
can someone tell us more about usb host not being recognized ?
sometimes my usb host cable is not recognized ; but this is very random...
i have to reboot to have it recognized again... any clue??
Title: About Usb...
Post by: mathemajikian on May 07, 2007, 06:20:07 pm
Quote
can someone tell us more about usb host not being recognized ?
sometimes my usb host cable is not recognized ; but this is very random...
i have to reboot to have it recognized again... any clue??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160731\"][{POST_SNAPBACK}][/a][/div]

Lately I've found that I've had to plug in the host cable after the system completely boots to have it recognize whatever it is that I want to use. If I swap the device which is connected I have to disconnect the cable from the back of the Z and reconnect it with the new device attached.  Didn't used to be like this. Something has been changed, but I'm not sure what.....
Title: About Usb...
Post by: FinnDinn on May 08, 2007, 08:06:23 am
In 4.0 my USB cable worked as USB host without a problem, but when I installed a March snapshot it stopped to work. After a few hours of confusion and searches I finally cut the cable's connector and discovered, that my USB cable was not actually a Z-compatible USB-host cable    (the two contacts were not soldered together). I soldered them together and after that it worked as before.
I did not check the unsoldered cable with Linux, but I think it wouldn't work. Looks like the older OpenBSD releases did not care about the connector, and probably the USB-handling changes have something to do with this.
Title: About Usb...
Post by: ZDevil on May 08, 2007, 03:48:59 pm
Quote
Lately I've found that I've had to plug in the host cable after the system completely boots to have it recognize whatever it is that I want to use. If I swap the device which is connected I have to disconnect the cable from the back of the Z and reconnect it with the new device attached.  Didn't used to be like this. Something has been changed, but I'm not sure what.....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160733\"][{POST_SNAPBACK}][/a][/div]

This also seems to happen to the stock rom and pdaX, IIRC. The usb host and the usb devices are recognized as two separate devices, and i also need to plug out and in the host cable to use other devices.
Title: About Usb...
Post by: jpmatrix on June 03, 2007, 06:14:55 am
still some strange behaviour of the usb host cable even with GENERIC#113...
it happens that it seems to be well recognized just after a root login (!)
for example once it is not recognized, i just logoff then open a root login and the cable is recognized when i plug it... so no need to reboot...
what could explain that???