NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Bluetooth on current



Manuel Bouyer wrote:
> On Sat, Jun 09, 2018 at 07:00:50AM -0400, MLH wrote:
> > Manuel Bouyer wrote:
> > > On Fri, Jun 08, 2018 at 08:07:45PM -0400, MLH wrote:
> > > > My old Android phone which allowed writes to the removable sd card
> > > > was stolen and I had to get a new one, which only allows certain
> > > > things to be written there (not enough).
> > > > 
> > > > I can't find any MTP utilities that would allow access via usb that
> > > > work and I don't have wireless on the NetBSD box so have been
> > > > attempting to get bluetooth working (typically via OBEX).
> > > 
> > > 
> > > libmtp (and associated utilities) works for me on netbsd-7 ...
> > > It's slow if there is lots of files on the phone.
> > 
> > using
> > 
> > [ 297159.8136557] umodem0 at uhub2 port 1 configuration 1 interface 1
> > [ 297159.8136557] umodem0: SAMSUNG (0x4e8) SAMSUNG_Android (0x6860), rev 2.00/4.00, addr 4, iclass 2/2
> > [ 297159.8136557] umodem0: data interface 2, has no CM over data, has no break
> > [ 297159.8136557] umodem0: status change notification available
> > [ 297159.8136557] ucom0 at umodem0
> > 
> > or
> > 
> > [ 297385.7335674] ugen0 at uhub2 port 1
> > [ 297385.7335674] ugen0: motorola (0x22b8) Moto G (5) Plus (0x2e76), rev 2.00/3.18, addr 3
> > 
> > $ mtp-connect
> > 
> > No devices.
> > 
> > $ mtp-folders
> > Attempting to connect device(s)
> > mtp-folders: no devices found
> 
> Maybe because your phone is not in the right mode. On mine (which is
> not samsung, but is running a recent android), I can choose how the USB
> port should be used (charging only, connection sharing or file transfers).

The Samsung doesn't work when in either MTP or PTP mode with libmtp,
but note that the Samsung phone doesn't show a ugen when connected,
only ucom/umodem, so I suspect that might be the problem with that
phone.

Back to bluetooth, I wonder if there isn't some notification client
that has to connect to sdpd to confirm the transfer. On any other
bluetooth device when receiving, they pop up a requestor to confirm
the transfer. I don't see mention of anything in particular though.



Home | Main Index | Thread Index | Old Index